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

Disassembly:
mov ecx, dword [0x8cbf38]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 8]
cmp eax, dword [ecx + 8]
jbe 0x578883
sub esp, 0x88
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x98]
mov ebx, dword [esp + 0x94]
mov ebp, dword [esp + 0x90]
jmp 0x57809d
mov ecx, eax
mov eax, esi
mov edi, edx
mov edx, ebx
mov ebx, edi
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x84], ecx
test eax, eax
je 0x578501
mov dword [esp + 0x40], edx
mov dword [esp + 0x80], ebp
mov dword [esp], ecx
mov dword [esp + 4], eax
lea edx, [0x6ffd38]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
call fcn.004802a0
movzx eax, byte [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
test al, al
je 0x5784e7
mov dword [esp + 0x34], ecx
mov dword [esp + 0x68], edx
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x48]
lea esi, [eax + ebp]
mov edi, dword [esp + 0x40]
cmp edi, esi
jb 0x578126
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x54]
jmp 0x578171
mov dword [esp + 0x30], eax
mov dword [esp + 0x64], ebx
mov ecx, dword [esp + 0x80]
mov dword [esp], ecx
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp + 0xc], eax
lea ecx, [0x62f320]
mov dword [esp + 0x10], ecx
call fcn.00451aa0
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x7c], ebp
mov edi, edx
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], esi
mov ecx, dword [esp + 0x7c]
lea edx, [ecx + ebp]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.0046c7b0
mov eax, dword [esp + 0x34]
test eax, eax
je 0x578209
mov ecx, dword [esp + 0x68]
cmp byte [ecx], 0x24
jne 0x57820d
mov edx, dword [esp + 0x44]
inc edx
mov ebx, dword [esp + 0x48]
cmp ebx, edx
jb 0x5781b4
mov ebp, dword [esp + 0x7c]
jmp 0x5781f2
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x62f320]
mov dword [esp + 0x10], eax
call fcn.00451aa0
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x68]
mov ebp, eax
mov ebx, edi
mov eax, dword [esp + 0x34]
mov byte [edx + ebp - 1], 0x24
dec eax
mov esi, eax
neg eax
sar eax, 0x1f
and eax, 1
add eax, ecx
jmp 0x578093
mov ecx, dword [esp + 0x68]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00578890
movzx eax, byte [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
test al, al
je 0x578484
mov dword [esp + 0x24], edx
mov dword [esp + 0x5c], ecx
mov eax, dword [esp + 0x10]
test eax, eax
jl 0x57844c
mov ebx, eax
shl ebx, 1
lea ebp, [ebx + 1]
mov esi, dword [esp + 0xbc]
cmp esi, ebp
jle 0x578434
cmp esi, ebx
jbe 0x578879
mov ebx, dword [esp + 0xb8]
lea edi, [ebx + eax*8]
mov edi, dword [edi]
test edi, edi
jge 0x578281
mov eax, dword [esp + 0x48]
mov ebp, dword [esp + 0x44]
mov edi, dword [esp + 0x7c]
jmp 0x578801
mov dword [esp + 0x3c], edi
mov edi, dword [esp + 0xa4]
test edi, edi
je 0x578352
cmp esi, ebp
jbe 0x578870
lea ebp, [ebx + eax*8 + 4]
mov ebp, dword [ebp]
mov ebx, dword [esp + 0xac]
cmp ebx, ebp
jb 0x578867
mov esi, dword [esp + 0x3c]
cmp ebp, esi
jb 0x57885e
sub ebp, esi
mov eax, dword [esp + 0x44]
lea ecx, [eax + ebp]
sub ebx, esi
neg ebx
sar ebx, 0x1f
and esi, ebx
lea ebx, [edi + esi]
mov esi, dword [esp + 0x48]
cmp esi, ecx
jae 0x578323
mov dword [esp + 0x48], ebp
mov dword [esp + 0x78], ebx
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebp
lea eax, [0x62f320]
mov dword [esp + 0x10], eax
call fcn.00451aa0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x7c], eax
mov esi, edi
mov eax, dword [esp + 0x44]
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x7c]
add eax, edx
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
call fcn.0046c7b0
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x7c]
jmp 0x578415
cmp esi, ebp
jbe 0x578855
lea ebp, [ebx + eax*8 + 4]
mov ebp, dword [ebp]
mov edi, dword [esp + 0xb4]
cmp edi, ebp
jb 0x57884c
mov edi, dword [esp + 0x3c]
cmp ebp, edi
jb 0x578843
sub ebp, edi
mov dword [esp + 0x3c], ebp
mov eax, dword [esp + 0x44]
lea ebx, [eax + ebp]
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, edi
mov edi, dword [esp + 0xb0]
add ebp, edi
mov edi, dword [esp + 0x48]
cmp edi, ebx
jae 0x5783e7
mov dword [esp + 0x74], ebp
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edi
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xc], eax
lea ecx, [0x62f320]
mov dword [esp + 0x10], ecx
call fcn.00451aa0
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x74]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], ebx
mov ecx, dword [esp + 0x7c]
add eax, ecx
mov dword [esp], eax
mov dword [esp + 4], ebp
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
call fcn.0046c7b0
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x7c]
mov ebx, dword [esp + 0xb8]
mov esi, dword [esp + 0xbc]
mov ebp, ecx
mov edi, edx
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x24]
jmp 0x578801
mov ebx, dword [esp + 0xb8]
mov eax, dword [esp + 0x48]
mov ebp, dword [esp + 0x44]
mov edi, dword [esp + 0x7c]
jmp 0x578801
mov ebx, dword [esp + 0x8c]
mov ebp, dword [ebx + 0x18]
mov dword [esp + 0x70], ebp
mov esi, dword [ebx + 0x1c]
mov dword [esp + 0x3c], esi
mov edi, dword [esp + 8]
mov dword [esp + 0x60], edi
mov eax, dword [esp + 0xc]
mov dword [esp + 0x28], eax
mov dword [esp + 0x4c], eax
xor eax, eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x4c]
jmp 0x5785a5
mov eax, dword [esp + 0x44]
inc eax
mov ecx, dword [esp + 0x48]
cmp ecx, eax
jb 0x57849d
mov ecx, eax
mov eax, dword [esp + 0x7c]
mov edi, dword [esp + 0x48]
jmp 0x5784cf
mov edx, dword [esp + 0x7c]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x62f320]
mov dword [esp + 0x10], eax
call fcn.00451aa0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov byte [ecx + eax - 1], 0x24
mov esi, dword [esp + 0x34]
mov ebx, edi
mov edx, ecx
mov ebp, eax
mov eax, dword [esp + 0x68]
jmp 0x578093
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x80]
lea esi, [ebx + eax]
cmp edx, esi
jae 0x578541
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
lea ecx, [0x62f320]
mov dword [esp + 0x10], ecx
call fcn.00451aa0
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x84]
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x48], edx
mov dword [esp + 0x44], esi
mov dword [esp + 0x80], ebp
add ebx, ebp
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0046c7b0
mov eax, dword [esp + 0x80]
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0xcc], eax
add esp, 0x88
ret
inc ecx
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x8c]
mov edi, dword [esp + 0x60]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x2c]
cmp ebx, esi
jge 0x5787d9
lea ecx, [ebp + ebx*8]
cmp dword [ecx + 4], eax
je 0x5785be
xor ecx, ecx
jmp 0x5785ef
mov ecx, dword [ecx]
mov dword [esp], edi
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00406eb0
movzx eax, byte [esp + 0xc]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x70]
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x60]
mov ecx, eax
mov eax, dword [esp + 0x28]
test cl, cl
je 0x578633
mov ecx, ebx
shl ebx, 1
lea edx, [ebx + 1]
mov edi, dword [esp + 0xbc]
cmp edi, edx
jle 0x578627
cmp edi, ebx
jbe 0x57883a
mov dword [esp + 0x38], edx
mov ebx, dword [esp + 0xb8]
lea edx, [ebx + ecx*8]
mov edx, dword [edx]
test edx, edx
jl 0x57858d
jmp 0x578648
mov ebx, dword [esp + 0xb8]
jmp 0x57858d
mov ecx, ebx
mov ebx, dword [esp + 0xb8]
mov edi, dword [esp + 0xbc]
jmp 0x57858d
mov ebp, dword [esp + 0xa4]
test ebp, ebp
je 0x578717
mov eax, dword [esp + 0x38]
cmp edi, eax
jbe 0x578833
lea esi, [ebx + ecx*8 + 4]
mov ecx, dword [esi]
mov esi, dword [esp + 0xac]
cmp esi, ecx
jb 0x57882c
cmp ecx, edx
jb 0x578825
sub ecx, edx
mov eax, dword [esp + 0x44]
lea ebx, [eax + ecx]
sub esi, edx
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and edx, esi
add edx, ebp
mov esi, dword [esp + 0x48]
cmp esi, ebx
jae 0x5786e8
mov dword [esp + 0x48], ecx
mov dword [esp + 0x78], edx
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
mov dword [esp + 0xc], ecx
lea eax, [0x62f320]
mov dword [esp + 0x10], eax
call fcn.00451aa0
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x78]
mov dword [esp + 0x7c], eax
mov esi, edi
mov eax, dword [esp + 0x44]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], esi
mov ebp, dword [esp + 0x7c]
add eax, ebp
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.0046c7b0
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x7c]
jmp 0x5787e5
mov eax, dword [esp + 0x38]
cmp edi, eax
jbe 0x57881e
lea esi, [ebx + ecx*8 + 4]
mov ecx, dword [esi]
mov esi, dword [esp + 0xb4]
cmp esi, ecx
jb 0x578817
cmp ecx, edx
jb 0x578810
sub ecx, edx
mov dword [esp + 0x3c], ecx
mov eax, dword [esp + 0x44]
lea esi, [eax + ecx]
neg ecx
sar ecx, 0x1f
and ecx, edx
mov edx, dword [esp + 0xb0]
add ecx, edx
mov edx, dword [esp + 0x48]
cmp edx, esi
jae 0x5787a9
mov dword [esp + 0x6c], ecx
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], edx
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xc], eax
lea ecx, [0x62f320]
mov dword [esp + 0x10], ecx
call fcn.00451aa0
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x7c], eax
mov edx, edi
mov eax, dword [esp + 0x44]
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], edx
mov ebx, dword [esp + 0x7c]
add eax, ebx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
call fcn.0046c7b0
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x7c]
jmp 0x5787e5
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x7c]
mov ebx, dword [esp + 0xb8]
mov esi, dword [esp + 0xbc]
mov ebp, eax
mov edi, edx
mov edx, dword [esp + 0x24]
mov eax, ecx
mov ecx, dword [esp + 0x5c]
mov esi, edx
mov ebx, eax
mov edx, ebp
mov ebp, edi
mov eax, ecx
jmp 0x578093
mov eax, edx
call fcn.0046bf90
mov edx, esi
call fcn.0046bf50
mov ecx, edi
call fcn.0046bf30
mov eax, edx
call fcn.0046bf90
mov edx, esi
call fcn.0046bf70
mov ecx, edi
call fcn.0046bf30
mov eax, ebx
mov ecx, edi
call fcn.0046bf30
mov eax, edi
mov ecx, ebp
call fcn.0046bf90
mov ecx, ebp
mov edx, edi
call fcn.0046bf50
mov eax, ebp
mov ecx, esi
call fcn.0046bf30
mov eax, esi
mov ecx, ebp
call fcn.0046bf90
mov ecx, ebp
mov edx, ebx
call fcn.0046bf70
mov eax, ebp
mov ecx, esi
call fcn.0046bf30
mov eax, ebx
mov ecx, esi
call fcn.0046bf30
nop
call fcn.0046aab0
jmp fcn.00578050