Function at 0x578b40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x93d128]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x579088
sub esp, 0x74
lea edi, [esp]
lea esi, [esp + 0x78]
call fcn.0045f82e
call fcn.00579f30
mov eax, dword [esp + 0x20]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x38], edx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov byte [esp + 8], 1
call fcn.0057b4a0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x8c]
mov dword [esp], edx
mov edx, dword [esp + 0x90]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x94]
mov dword [esp + 8], edx
mov dword [esp + 0x10], 4
call fcn.005729e0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
inc ecx
mov edx, dword [esp + 0x14]
cmp eax, ecx
jae 0x578c0d
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x74afe0]
mov dword [esp + 0x10], eax
call fcn.004488c0
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov byte [ecx + edx - 1], 0x2d
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
call fcn.005729e0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
inc ecx
mov edx, dword [esp + 0x14]
cmp eax, ecx
jae 0x578c71
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x74afe0]
mov dword [esp + 0x10], eax
call fcn.004488c0
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov byte [ecx + edx - 1], 0x2d
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
call fcn.005729e0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
inc ecx
mov edx, dword [esp + 0x14]
cmp eax, ecx
jae 0x578cd5
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x74afe0]
mov dword [esp + 0x10], eax
call fcn.004488c0
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x70], edx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x54], eax
mov byte [ecx + edx - 1], 0x54
nop
mov ebx, dword [esp + 0x2c]
mov dword [esp], ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 4], ebx
mov dword [esp + 8], 0x15180
mov dword [esp + 0xc], 0
call fcn.00457bb0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x70]
mov dword [esp], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 8], ecx
mov ecx, 0x91a2b3c5
imul ecx
mov eax, dword [esp + 0x50]
lea ecx, [eax + edx]
sar ecx, 0xb
sar eax, 0x1f
sub ecx, eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 2
call fcn.005729e0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
inc ecx
mov edx, dword [esp + 0x3c]
imul edx, edx, 0xe10
mov ebx, dword [esp + 0x50]
sub ebx, edx
mov edx, eax
mov eax, 0x88888889
mov ebp, edx
imul ebx
lea eax, [ebx + edx]
sar eax, 5
mov edx, ebx
sar ebx, 0x1f
sub eax, ebx
imul ebx, eax, 0x3c
mov esi, dword [esp + 0x14]
sub edx, ebx
mov dword [esp + 0x34], edx
cmp ebp, ecx
jae 0x578dcf
mov dword [esp + 0x40], eax
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x74afe0]
mov dword [esp + 0x10], eax
call fcn.004488c0
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ebp, eax
mov eax, dword [esp + 0x40]
mov byte [ecx + esi - 1], 0x3a
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
call fcn.005729e0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
inc ecx
mov edx, dword [esp + 0x14]
cmp eax, ecx
jae 0x578e2f
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x74afe0]
mov dword [esp + 0x10], eax
call fcn.004488c0
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov byte [ecx + edx - 1], 0x3a
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
call fcn.005729e0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
movzx ebx, byte [esp + 0x98]
test bl, bl
je 0x578eb4
mov dword [esp + 0x4c], ecx
lea edi, [esp + 0x5c]
lea esi, [esp + 0x78]
call fcn.0045f82e
mov ecx, dword [esp + 0x5c]
and ecx, 0x3fffffff
nop
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 0x90023
call fcn.00572d80
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x38]
test ebx, ebx
jne 0x578f0d
inc ecx
cmp edx, ecx
jae 0x578eef
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x74afe0]
mov dword [esp + 0x10], eax
call fcn.004488c0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov byte [ecx + eax - 1], 0x5a
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], edx
add esp, 0x74
ret
mov ebp, eax
mov eax, 0x88888889
mov esi, edx
imul ebx
add edx, ebx
sar edx, 5
sar ebx, 0x1f
mov edi, edx
sub edx, ebx
test edx, edx
jge 0x578f78
inc ecx
cmp esi, ecx
jae 0x578f6f
mov dword [esp + 0x58], ebx
mov dword [esp + 0x54], edi
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
lea eax, [0x74afe0]
mov dword [esp + 0x10], eax
call fcn.004488c0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x58]
mov edi, dword [esp + 0x54]
mov ebp, eax
mov esi, edx
mov byte [ecx + ebp - 1], 0x2d
sub ebx, edi
jmp 0x578fbe
inc ecx
cmp esi, ecx
jae 0x578fb7
mov dword [esp + 0x28], edx
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
lea eax, [0x74afe0]
mov dword [esp + 0x10], eax
call fcn.004488c0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebp, eax
mov esi, edx
mov edx, dword [esp + 0x28]
mov byte [ecx + ebp - 1], 0x2b
mov ebx, edx
mov dword [esp + 0x28], ebx
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
mov eax, ebx
mov ecx, 0x88888889
imul ecx
lea ecx, [edx + ebx]
sar ecx, 5
sar ebx, 0x1f
sub ecx, ebx
mov dword [esp + 0x58], ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 2
call fcn.005729e0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
inc edx
mov ebx, dword [esp + 0x14]
cmp ecx, edx
jae 0x579035
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x74afe0]
mov dword [esp + 0x10], eax
call fcn.004488c0
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov byte [edx + ebx - 1], 0x3a
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x58]
imul eax, eax, 0x3c
mov ecx, dword [esp + 0x28]
sub ecx, eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 2
call fcn.005729e0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], edx
add esp, 0x74
ret
call fcn.0045dcb0
jmp fcn.00578b40