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

Disassembly:
mov ecx, dword [0x7da588]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x57a035
sub esp, 0x74
mov eax, dword [esp + 0x78]
cmp byte [eax + 0x49], 0xff
je 0x579902
lea eax, [0x79b390]
mov dword [esp], eax
call fcn.00473ce0
lea eax, [0x5d5960]
cmp dword [esp + 4], eax
jne 0x579885
mov ebx, dword [esp + 8]
jmp 0x579897
lea eax, [0x5eaaa0]
mov dword [esp], eax
call fcn.0040d1f0
mov ebx, dword [esp + 4]
mov dword [esp + 0x64], ebx
mov edx, dword [ebx + 0x2c]
mov ecx, dword [esp + 0x9c]
cmp ecx, edx
jg 0x5798b4
ja 0x57a02f
mov dword [ebx + 0x28], ecx
jmp 0x5798fb
lea eax, [0x5dd620]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.0044ffa0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x64]
mov dword [edx + 0x28], ecx
mov dword [edx + 0x2c], ecx
mov ecx, dword [0x7da640]
test ecx, ecx
je 0x5798f6
call fcn.0046be80
mov dword [edi], eax
mov ebx, dword [edx + 0x24]
mov dword [edi + 4], ebx
mov dword [edx + 0x24], eax
mov ebx, edx
mov edx, dword [ebx + 0x28]
xor eax, eax
jmp 0x579933
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
add esp, 0x74
ret
mov ebp, dword [ebx + 0x24]
mov dword [ebp + eax*4], 0xffffffff
inc eax
cmp eax, edx
jge 0x579943
mov ecx, dword [ebx + 0x28]
cmp eax, ecx
jb 0x579927
jmp 0x57a02a
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x579992
nop
mov dword [ebx + 0x14], eax
mov eax, dword [0x7da640]
test eax, eax
jne 0x579962
mov eax, dword [esp + 0x80]
jmp 0x579976
call fcn.0046be80
mov eax, dword [esp + 0x80]
mov dword [edi], eax
mov ecx, dword [ebx + 0x18]
mov dword [edi + 4], ecx
mov dword [ebx + 0x18], eax
mov byte [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
lea eax, [ebx + 0x14]
lea ecx, [0x6593e4]
jmp 0x579a12
mov eax, dword [esp + 0x84]
test eax, eax
je 0x5799d4
nop
mov ecx, dword [esp + 0x88]
mov dword [ebx + 4], ecx
mov ecx, dword [esp + 0x8c]
mov dword [ebx + 8], ecx
mov ecx, dword [0x7da640]
test ecx, ecx
je 0x5799c8
call fcn.0046be80
mov dword [edi], eax
mov ecx, dword [ebx]
mov dword [edi + 4], ecx
mov dword [ebx], eax
lea ecx, [0x65942c]
mov eax, ebx
jmp 0x579a12
nop
mov eax, dword [esp + 0x94]
mov dword [ebx + 0x10], eax
mov eax, dword [0x7da640]
test eax, eax
jne 0x5799f2
mov eax, dword [esp + 0x90]
jmp 0x579a06
call fcn.0046be80
mov eax, dword [esp + 0x90]
mov dword [edi], eax
mov ecx, dword [ebx + 0xc]
mov dword [edi + 4], ecx
mov dword [ebx + 0xc], eax
lea eax, [ebx + 0xc]
lea ecx, [0x659408]
mov dword [esp + 0x60], eax
mov dword [esp + 0x20], ecx
mov edx, dword [ecx + 0x20]
mov dword [esp], eax
mov ebx, dword [esp + 0x98]
mov dword [esp + 4], ebx
call edx
mov eax, dword [esp + 8]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x28], ecx
cmp eax, 0xffffffff
jne 0x579a4b
mov edx, 0xffffffff
xor ebx, ebx
jmp 0x579a7e
mov eax, dword [esp + 0x20]
mov edx, dword [eax + 0x20]
mov ebx, dword [esp + 0x60]
mov dword [esp], ebx
mov ebp, dword [esp + 0x98]
lea esi, [ebp + ecx]
mov dword [esp + 4], esi
call edx
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, eax
mov ebx, ecx
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], edx
mov ebp, dword [esp + 0x98]
test ebp, ebp
jne 0x579a9a
mov esi, eax
mov edi, 0xffffffff
jmp 0x579acf
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x14]
mov edx, dword [esp + 0x60]
mov dword [esp], edx
mov dword [esp + 4], ebp
call ecx
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x98]
mov esi, dword [esp + 0x34]
mov edi, ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x3c], eax
mov edx, dword [esp + 0x78]
mov eax, dword [edx + 0xc]
mov dword [esp + 0x70], eax
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 4]
cmp eax, ecx
jbe 0x57a01f
mov dword [esp + 0x38], ecx
mov dword [esp + 0x40], edi
lea eax, [ecx + ecx*8]
test ebp, ebp
je 0x579aff
xor eax, eax
jmp 0x579b3d
mov ecx, dword [esp + 0x70]
mov ecx, dword [ecx]
mov eax, dword [ecx + eax*4 + 8]
mov ecx, dword [esp + 0x3c]
mov dword [esp], ecx
mov dword [esp + 4], edi
mov byte [esp + 8], al
call fcn.00578840
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x98]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x40]
test al, al
je 0x579b7e
mov eax, dword [edx + 0x28]
test eax, eax
jne 0x579b4c
xor eax, eax
jmp 0x579b80
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x10]
mov edx, dword [esp + 0x60]
mov dword [esp], edx
call ecx
movzx eax, byte [esp + 4]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x98]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x40]
jmp 0x579b80
xor eax, eax
test al, al
jne 0x579b8d
mov eax, dword [esp + 0x3c]
jmp 0x579c4a
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x18]
mov ebx, dword [esp + 0x60]
mov dword [esp], ebx
mov dword [esp + 4], edx
call ecx
movzx eax, byte [esp + 8]
test al, al
je 0x579c5f
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x28]
mov edx, dword [esp + 0x98]
add ecx, edx
mov dword [esp + 0x5c], ecx
mov edx, dword [esp + 0x20]
mov ebx, dword [edx + 0x20]
mov ebp, dword [esp + 0x60]
mov dword [esp], ebp
mov dword [esp + 4], ecx
call ebx
mov eax, dword [esp + 0xc]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 0x20]
mov ebx, dword [esp + 0x5c]
lea ebp, [ebx + eax]
mov esi, dword [esp + 8]
mov dword [esp + 0x34], esi
mov edi, dword [esp + 0x60]
mov dword [esp], edi
mov dword [esp + 4], ebp
call edx
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x14]
mov edx, dword [esp + 8]
mov dword [esp + 0x2c], edx
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x24], ebx
mov ebp, dword [esp + 0x60]
mov dword [esp], ebp
mov esi, dword [esp + 0x5c]
mov dword [esp + 4], esi
call ecx
mov eax, dword [esp + 8]
mov edi, dword [esp + 0xc]
mov ecx, dword [esp + 0x78]
mov edx, dword [ecx + 0x3c]
mov ecx, edx
mov esi, dword [esp + 0x34]
mov ebp, dword [esp + 0x5c]
mov ebx, dword [esp + 0x24]
mov edx, dword [esp + 0x78]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x44]
jmp 0x579d7f
xor eax, eax
test al, al
je 0x579d30
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0x28]
mov edx, dword [esp + 0xa4]
lea ebx, [edx + ecx]
mov ebp, dword [eax + 0x24]
mov esi, dword [esp + 0xa8]
cmp esi, ebx
jb 0x579c91
mov edi, dword [esp + 0xa0]
jmp 0x579cdd
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x6c], ebp
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
mov dword [esp + 0xc], ecx
lea eax, [0x5dd620]
mov dword [esp + 0x10], eax
call fcn.00450060
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0xa4]
mov ebp, dword [esp + 0x6c]
mov edi, eax
mov esi, ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x6c], edi
mov dword [esp + 0x58], esi
lea eax, [edi + edx*4]
mov dword [esp], eax
mov dword [esp + 4], ebp
shl ecx, 2
mov dword [esp + 8], ecx
call fcn.0046c780
mov eax, dword [esp + 0x64]
mov dword [esp], eax
call fcn.00579770
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0xb4], eax
add esp, 0x74
ret
mov eax, dword [esp + 0x64]
mov dword [esp], eax
call fcn.00579770
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
add esp, 0x74
ret
mov dword [esp + 0x28], edi
mov edi, esi
mov esi, dword [esp + 0x34]
mov dword [esp + 0x34], ebp
mov ebp, edx
mov edx, dword [esp + 0x78]
mov edx, ecx
mov ecx, ebx
mov ebx, edx
mov edx, dword [esp + 0x78]
mov dword [esp + 0x3c], eax
mov edx, dword [edx + 0xc]
mov eax, dword [edx + 4]
cmp ecx, eax
jae 0x57a014
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x58], ebp
mov dword [esp + 0x30], esi
mov edx, dword [edx]
lea eax, [ecx + ecx*8]
lea ecx, [edx + eax*4]
movzx ecx, byte [ecx]
lea ebx, [edx + eax*4]
mov dword [esp + 0x68], ebx
mov ebx, dword [edx + eax*4 + 4]
mov dword [esp + 0x54], ebx
cmp cl, 5
ja 0x579e9c
mov dword [esp + 0x50], edi
cmp cl, 2
ja 0x579e45
cmp cl, 1
jbe 0x579e0c
mov eax, dword [edx + eax*4 + 8]
mov edx, dword [esp + 0x64]
mov ecx, dword [edx + 0x28]
cmp eax, ecx
jge 0x579de9
jae 0x57a00f
mov ecx, dword [edx + 0x24]
mov dword [ecx + eax*4], ebp
mov eax, dword [esp + 0x3c]
mov esi, edi
mov edi, dword [esp + 0x28]
mov ebp, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
jmp 0x579d61
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.0057a640
mov ebx, dword [esp + 8]
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x28]
mov ebp, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
jmp 0x579d61
cmp cl, 3
jne 0x579f90
mov eax, dword [edx + eax*4 + 8]
mov ecx, dword [esp + 0x3c]
mov dword [esp], ecx
mov dword [esp + 4], edi
mov byte [esp + 8], al
call fcn.00578840
movzx eax, byte [esp + 0xc]
test al, al
je 0x579f89
mov ebx, dword [esp + 0x54]
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x28]
mov ebp, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
jmp 0x579d61
cmp cl, 7
ja 0x579ef1
cmp cl, 6
jne 0x579ec9
mov eax, dword [esp + 0x3c]
mov esi, edi
mov edi, dword [esp + 0x28]
mov ebp, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
jmp 0x579d61
lea eax, [edx + eax*4]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.005741a0
cmp dword [esp + 8], 0xffffffff
je 0x579fc8
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0x58]
mov esi, dword [esp + 0x30]
jmp 0x579f26
cmp cl, 8
jne 0x579f0f
mov edi, dword [edx + eax*4 + 0x10]
mov edx, dword [edx + eax*4 + 0xc]
test edi, edi
jbe 0x579ffc
cmp dword [edx], esi
je 0x579f26
jmp 0x579fcf
cmp cl, 9
je 0x579f26
cmp cl, 0xa
jne 0x579fe4
cmp esi, 0xa
je 0x579fdd
mov edx, dword [esp + 0x28]
test edx, edx
je 0x579fd6
add edx, ebp
mov ebp, dword [esp + 0x34]
cmp ebp, 0xffffffff
jne 0x579f45
mov eax, ebp
mov ecx, dword [esp + 0x5c]
jmp 0x579f80
mov dword [esp + 0x4c], edx
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x20]
mov ebx, dword [esp + 0x60]
mov dword [esp], ebx
mov ebp, dword [esp + 0x5c]
lea esi, [edx + ebp]
mov dword [esp + 4], esi
call ecx
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
mov edx, dword [esp + 0x4c]
mov esi, dword [esp + 0x30]
mov ebp, eax
mov ecx, ebx
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x54]
mov edi, dword [esp + 0x5c]
jmp 0x579d61
xor eax, eax
jmp 0x579c61
cmp cl, 4
jne 0x579fc1
mov edx, dword [esp + 0x64]
mov ebx, dword [edx + 0x28]
test ebx, ebx
je 0x579fb7
mov ebx, dword [edx + 0x24]
mov dword [ebx], 0
mov ecx, dword [edx + 0x28]
cmp ecx, 1
jbe 0x57a005
mov eax, dword [edx + 0x24]
mov dword [eax + 4], ebp
mov eax, 1
jmp 0x579c61
xor eax, eax
jmp 0x579c61
xor eax, eax
jmp 0x579c61
xor eax, eax
jmp 0x579c61
xor eax, eax
jmp 0x579c61
xor eax, eax
jmp 0x579c61
lea eax, [0x5dd3e0]
mov dword [esp], eax
lea eax, [0x658710]
mov dword [esp + 4], eax
call fcn.004391b0
xor eax, eax
mov ecx, eax
call fcn.0046bef0
mov eax, 1
call fcn.0046bef0
call fcn.0046bf00
mov edx, eax
mov eax, ecx
mov ecx, edx
call fcn.0046bef0
mov edx, eax
mov eax, ecx
mov ecx, edx
call fcn.0046bef0
call fcn.0046bef0
call fcn.0046bf30
nop
call fcn.0046aa70
jmp fcn.00579840