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

Disassembly:
mov ecx, dword [0x817cc4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x1c]
cmp eax, dword [ecx + 8]
jbe 0x57acc0
sub esp, 0x9c
lea eax, [0x5bf800]
mov dword [esp], eax
call fcn.0040bd60
mov eax, dword [esp + 4]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0xa0]
mov dword [esp], ecx
call fcn.0057b130
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
jmp 0x57a5fe
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
call fcn.0057b130
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
test al, al
je 0x57a67a
mov dword [esp + 0x34], edx
mov dword [esp + 0x58], ecx
mov dword [esp], ecx
mov dword [esp + 4], edx
mov byte [esp + 8], 0x23
call fcn.004030c0
mov ecx, dword [esp + 0xc]
cmp ecx, 0xffffffff
je 0x57a631
mov edx, dword [esp + 0x34]
cmp edx, ecx
jae 0x57a635
jmp 0x57acba
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x58]
jmp 0x57a699
test ecx, ecx
je 0x57a5e2
mov dword [esp + 0x34], ecx
mov dword [esp + 0x58], eax
mov dword [esp], eax
mov dword [esp + 4], ecx
mov byte [esp + 8], 0x3a
call fcn.004030c0
mov ecx, dword [esp + 0xc]
cmp ecx, 0xffffffff
je 0x57a6dd
mov edx, dword [esp + 0x34]
cmp edx, ecx
jb 0x57acb5
mov eax, dword [esp + 0x58]
mov ebx, ecx
mov ebp, eax
jmp 0x57a744
mov eax, dword [esp + 0x60]
mov dword [esp + 0xa4], eax
add esp, 0x9c
ret
dec ecx
mov edx, ecx
neg edx
sar edx, 0x1f
and edx, 1
add eax, edx
test ecx, ecx
je 0x57a6b7
movzx edx, byte [eax]
cmp dl, 0x20
je 0x57a68c
cmp dl, 9
je 0x57a68c
cmp dl, 0xa
je 0x57a68c
cmp dl, 0xd
je 0x57a68c
jmp 0x57a6b7
dec ecx
test ecx, ecx
je 0x57a5e2
movzx edx, byte [eax + ecx - 1]
cmp dl, 0x20
je 0x57a6b6
cmp dl, 9
je 0x57a6b6
cmp dl, 0xa
je 0x57a6b6
cmp dl, 0xd
je 0x57a6b6
jmp 0x57a63b
lea eax, [0x5b78e0]
mov dword [esp], eax
call fcn.0040bd60
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x10
lea ecx, [0x5da46c]
mov dword [eax], ecx
lea ecx, [0x6df5ec]
mov edx, dword [esp + 0x60]
mov dword [edx + 0x14], ecx
mov ecx, dword [0x817f20]
test ecx, ecx
je 0x57a722
call fcn.00466d20
mov dword [edi], eax
mov ecx, dword [edx + 0x18]
mov dword [edi + 4], ecx
mov dword [edx + 0x18], eax
mov dword [esp + 0xa4], edx
add esp, 0x9c
ret
dec ecx
mov esi, ecx
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, 1
add eax, esi
test ecx, ecx
je 0x57a76a
movzx esi, byte [eax]
xchg esi, eax
cmp al, 0x20
xchg esi, eax
je 0x57a733
xchg esi, eax
cmp al, 9
xchg esi, eax
je 0x57a733
xchg esi, eax
cmp al, 0xa
xchg esi, eax
je 0x57a733
xchg esi, eax
cmp al, 0xd
xchg esi, eax
je 0x57a733
jmp 0x57a76a
dec ecx
test ecx, ecx
je 0x57a78f
movzx esi, byte [eax + ecx - 1]
xchg esi, eax
cmp al, 0x20
xchg esi, eax
je 0x57a769
xchg esi, eax
cmp al, 9
xchg esi, eax
je 0x57a769
xchg esi, eax
cmp al, 0xa
xchg esi, eax
je 0x57a769
xchg esi, eax
cmp al, 0xd
xchg esi, eax
je 0x57a769
lea esi, [ebx + 1]
cmp edx, esi
jb 0x57acac
mov dword [esp + 0x24], ecx
mov dword [esp + 0x4c], eax
sub edx, ebx
dec edx
mov ebx, edx
neg edx
sar edx, 0x1f
and esi, edx
lea edx, [ebp + esi]
jmp 0x57a7d0
lea esi, [esp + 0x88]
call fcn.0046743e
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + 0x6c]
jmp 0x57aacf
test ebx, ebx
je 0x57a5e2
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x54], edx
mov dword [esp], edx
mov dword [esp + 4], ebx
mov byte [esp + 8], 0x20
call fcn.004030c0
mov ecx, dword [esp + 0xc]
cmp ecx, 0xffffffff
je 0x57a82e
mov edx, dword [esp + 0x2c]
cmp edx, ecx
jb 0x57aca7
lea eax, [ecx + 1]
cmp edx, eax
jb 0x57aca0
sub edx, ecx
dec edx
mov ebx, edx
neg edx
sar edx, 0x1f
and eax, edx
mov edx, dword [esp + 0x54]
lea ebp, [edx + eax]
jmp 0x57ac49
xor eax, eax
xor ecx, ecx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x30], edx
test eax, eax
je 0x57a953
cmp byte [ecx], 0x5b
je 0x57a852
xor ebx, ebx
xor ebp, ebp
xor esi, esi
jmp 0x57a959
mov dword [esp + 0x44], eax
mov dword [esp + 0x70], ecx
mov dword [esp], ecx
mov dword [esp + 4], eax
mov byte [esp + 8], 0x5d
call fcn.004030c0
mov ecx, dword [esp + 0xc]
cmp ecx, 0xffffffff
je 0x57abcc
mov edx, dword [esp + 0x44]
cmp edx, ecx
jb 0x57ac33
cmp ecx, 1
jb 0x57ac27
mov dword [esp + 0x40], ecx
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea eax, [ecx - 1]
mov dword [esp + 0x20], eax
mov edx, eax
neg eax
sar eax, 0x1f
and eax, 1
mov ebx, dword [esp + 0x70]
add eax, ebx
mov dword [esp + 0x48], eax
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
lea ebp, [0x57acd0]
mov dword [esp + 0x74], ebp
lea esi, [esp + 0x7c]
mov dword [esp + 0x78], esi
mov dword [esp], eax
mov dword [esp + 4], edx
lea esi, [esp + 0x74]
mov dword [esp + 8], esi
call fcn.0057b8f0
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x57ab23
mov edx, dword [esp + 0x40]
lea eax, [edx + 1]
mov ecx, dword [esp + 0x44]
cmp ecx, eax
jb 0x57ac22
sub ecx, edx
lea edx, [ecx - 1]
mov ebx, edx
neg edx
sar edx, 0x1f
and eax, edx
mov edx, dword [esp + 0x80]
mov ebp, dword [esp + 0x84]
mov esi, dword [esp + 0x7c]
mov ecx, edx
mov edx, dword [esp + 0x70]
add edx, eax
mov eax, ebx
mov ebx, ecx
mov ecx, edx
mov edx, dword [esp + 0x30]
jmp 0x57a959
xor ebx, ebx
xor ebp, ebp
xor esi, esi
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x60]
mov eax, dword [ecx + 0x1c]
test eax, eax
jne 0x57a9b6
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x5c], esi
call fcn.0040c7c0
mov eax, dword [0x817f20]
mov ecx, dword [esp]
test eax, eax
jne 0x57a990
mov edx, dword [esp + 0x60]
jmp 0x57a9a1
call fcn.00466d20
mov dword [edi], ecx
mov edx, dword [esp + 0x60]
mov ebx, dword [edx + 0x1c]
mov dword [edi + 4], ebx
mov dword [edx + 0x1c], ecx
mov ecx, edx
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x3c]
mov esi, dword [esp + 0x5c]
lea edi, [esp + 0x88]
xor eax, eax
call fcn.00466f5b
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebp
mov ecx, dword [esp + 0x60]
mov edx, dword [ecx + 0x1c]
lea ebx, [0x5b2c40]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 8], edx
mov ebp, dword [esp + 0x24]
mov dword [esp + 0xc], ebp
call fcn.004104a0
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 8]
mov ebx, dword [ecx + 4]
inc ebx
mov ebp, dword [ecx]
cmp edx, ebx
jae 0x57aa7c
mov dword [esp + 0x68], ecx
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x5c0f00]
mov dword [esp + 0x10], eax
call fcn.0044d390
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x68]
mov dword [ebx + 8], eax
mov eax, dword [0x817f20]
test eax, eax
je 0x57aa74
call fcn.00466d20
mov dword [edi], ecx
mov eax, dword [ebx]
mov dword [edi + 4], eax
mov dword [ebx], ecx
mov ebp, ecx
mov ecx, ebx
mov ebx, edx
mov dword [ecx + 4], ebx
mov eax, dword [0x817f20]
lea ecx, [ebx + ebx*4]
lea edi, [ebp + ecx*4 - 0x14]
test eax, eax
je 0x57a7b4
mov dword [esp + 0x64], edi
lea eax, [0x5c0f00]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x88]
mov dword [esp + 8], eax
call fcn.00410fa0
mov edi, dword [esp + 0x64]
jmp 0x57a7b4
dec ebx
mov ebp, ebx
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, 1
add edx, ebp
test ebx, ebx
je 0x57aaf5
movzx ebp, byte [edx]
xchg ebp, eax
cmp al, 0x20
xchg ebp, eax
je 0x57aabe
xchg ebp, eax
cmp al, 9
xchg ebp, eax
je 0x57aabe
xchg ebp, eax
cmp al, 0xa
xchg ebp, eax
je 0x57aabe
xchg ebp, eax
cmp al, 0xd
xchg ebp, eax
je 0x57aabe
jmp 0x57aaf5
dec ebx
test ebx, ebx
je 0x57a5e2
movzx ebp, byte [edx + ebx - 1]
xchg ebp, eax
cmp al, 0x20
xchg ebp, eax
je 0x57aaf4
xchg ebp, eax
cmp al, 9
xchg ebp, eax
je 0x57aaf4
xchg ebp, eax
cmp al, 0xa
xchg ebp, eax
je 0x57aaf4
xchg ebp, eax
cmp al, 0xd
xchg ebp, eax
je 0x57aaf4
jmp 0x57a7d5
mov dword [esp], 0
lea eax, [0x5dae72]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x12
mov eax, dword [esp + 0x48]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], eax
call fcn.00450d70
mov eax, dword [esp + 0x18]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x50], ecx
lea edx, [0x5b78e0]
mov dword [esp], edx
call fcn.0040bd60
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], ecx
mov ecx, dword [0x817f20]
test ecx, ecx
jne 0x57ab8a
mov ecx, dword [esp + 0x50]
jmp 0x57ab95
call fcn.00466d10
mov ecx, dword [esp + 0x50]
mov dword [edi], ecx
mov dword [eax], ecx
lea ecx, [0x6df5ec]
mov edx, dword [esp + 0x60]
mov dword [edx + 0x14], ecx
mov ecx, dword [0x817f20]
test ecx, ecx
je 0x57abbb
call fcn.00466d20
mov dword [edi], eax
mov ecx, dword [edx + 0x18]
mov dword [edi + 4], ecx
mov dword [edx + 0x18], eax
mov dword [esp + 0xa4], edx
add esp, 0x9c
ret
lea eax, [0x5b78e0]
mov dword [esp], eax
call fcn.0040bd60
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1a
lea ecx, [0x5ddfdf]
mov dword [eax], ecx
lea ecx, [0x6df5ec]
mov edx, dword [esp + 0x60]
mov dword [edx + 0x14], ecx
mov ecx, dword [0x817f20]
test ecx, ecx
je 0x57ac11
call fcn.00466d20
mov dword [edi], eax
mov ecx, dword [edx + 0x18]
mov dword [edi + 4], ecx
mov dword [edx + 0x18], eax
mov dword [esp + 0xa4], edx
add esp, 0x9c
ret
call fcn.00466dd0
mov eax, 1
xor ecx, ecx
call fcn.00466dd0
call fcn.00466d90
dec ebx
mov esi, ebx
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, 1
add ebp, esi
test ebx, ebx
je 0x57ac70
movzx esi, byte [ebp]
xchg esi, eax
cmp al, 0x20
xchg esi, eax
je 0x57ac38
xchg esi, eax
cmp al, 9
xchg esi, eax
je 0x57ac38
xchg esi, eax
cmp al, 0xa
xchg esi, eax
je 0x57ac38
xchg esi, eax
cmp al, 0xd
xchg esi, eax
je 0x57ac38
jmp 0x57ac70
dec ebx
test ebx, ebx
je 0x57ac95
movzx esi, byte [ebp + ebx - 1]
xchg esi, eax
cmp al, 0x20
xchg esi, eax
je 0x57ac6f
xchg esi, eax
cmp al, 9
xchg esi, eax
je 0x57ac6f
xchg esi, eax
cmp al, 0xa
xchg esi, eax
je 0x57ac6f
xchg esi, eax
cmp al, 0xd
xchg esi, eax
je 0x57ac6f
mov eax, ebx
mov edx, ecx
mov ecx, ebp
jmp 0x57a836
mov ecx, edx
call fcn.00466dd0
call fcn.00466d90
mov eax, esi
mov ecx, edx
call fcn.00466dd0
call fcn.00466d90
call fcn.00466d90
nop
call fcn.00465910
jmp fcn.0057a590