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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x54]
cmp eax, dword [ecx + 8]
jbe 0x5c70ff
sub esp, 0xd4
mov ecx, dword [esp + 0xe4]
test ecx, ecx
je 0x5c6621
nop
movzx edx, byte [0x7bd150]
test dl, dl
je 0x5c65d5
mov edx, dword [esp + 0xe4]
mov dword [0x7bd154], edx
mov ebx, dword [0x7e34c0]
test ebx, ebx
jne 0x5c65c1
mov eax, dword [esp + 0xe8]
mov dword [0x7bd158], eax
jmp 0x5c65e3
lea edi, [0x7bd158]
mov eax, dword [esp + 0xe8]
call fcn.00463860
jmp 0x5c65e3
mov eax, dword [esp + 0xe8]
mov edx, dword [esp + 0xe4]
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], eax
mov ecx, dword [esp + 0xa4]
test ecx, ecx
je 0x5c6617
nop
movzx ebx, byte [ecx + 0xf]
mov ebp, ebx
and ebx, 0x1f
xchg ebp, eax
test al, 0x20
xchg ebp, eax
jne 0x5c6613
or ebx, 0x80
mov ebp, eax
jmp 0x5c6635
mov ebp, eax
xor ebx, ebx
xor ecx, ecx
xor eax, eax
jmp 0x5c6635
mov edx, dword [esp + 0xe4]
mov ebp, dword [esp + 0xe8]
xor ebx, ebx
xor ecx, ecx
xor eax, eax
nop
mov esi, ebx
and ebx, 0x1f
cmp ebx, 0x16
jne 0x5c666c
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], esi
call fcn.004c2b50
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0xe4]
mov ebp, dword [esp + 0xe8]
mov esi, ebx
mov dword [esp + 0x40], esi
mov dword [esp + 0x70], eax
mov dword [esp + 0x6c], ecx
nop
nop
mov ebx, dword [esp + 0xf4]
test ebx, ebx
je 0x5c66a6
test ebx, 0x200
jne 0x5c66a6
lea edi, [0x676140]
mov edi, dword [esp + 0xec]
mov dword [esp + 0x68], edi
lea edi, [0x676140]
jmp 0x5c66d2
mov eax, dword [esp + 0xec]
mov dword [esp], eax
mov ecx, dword [esp + 0xf0]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.004c53c0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edi, eax
mov dword [esp + 0x68], ecx
mov dword [esp + 0x30], edi
mov eax, dword [edi + 0x28]
mov ecx, dword [esp + 0x68]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0xa0], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x74], ecx
mov edx, dword [esp + 0x30]
mov edx, dword [edx + 0x54]
mov ebx, dword [esp + 0x68]
mov dword [esp], ebx
call edx
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 8], eax
call fcn.004bfb90
mov eax, dword [esp + 0xc]
mov dword [esp + 0xa0], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x8c], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x54], edx
mov ebx, dword [esp + 0xec]
mov dword [esp], ebx
mov ebp, dword [esp + 0xf0]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0xf4]
mov dword [esp + 8], esi
mov byte [esp + 0xc], 1
call fcn.004c2fa0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x9c], ecx
mov edx, dword [esp + 0xf4]
test edx, edx
je 0x5c67a4
test edx, 0x200
jne 0x5c67a4
lea ebx, [0x676140]
mov ebp, dword [esp + 0xec]
jmp 0x5c67ce
mov eax, dword [esp + 0xec]
mov dword [esp], eax
mov ecx, dword [esp + 0xf0]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004c53c0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov ebx, eax
mov ebp, ecx
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.004c6120
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov byte [esp + 0xc], 1
call fcn.004c2fa0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x9c]
cmp dword [esp + 0x10], ecx
je 0x5c6810
xor eax, eax
jmp 0x5c682c
mov dword [esp], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00403770
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x40]
mov edx, ecx
and ecx, 0x1f
mov dword [esp + 0x60], ecx
test al, al
jne 0x5c6868
mov eax, dword [esp + 0xd8]
mov ebx, dword [eax]
movzx ebx, byte [ebx + 0xa]
test bl, bl
jne 0x5c686f
mov ebx, dword [esp + 0xf4]
mov ebp, dword [esp + 0xec]
mov esi, dword [esp + 0xf0]
jmp 0x5c6b68
mov eax, dword [esp + 0xd8]
cmp ecx, 0x11
je 0x5c6ad1
cmp ecx, 0x17
je 0x5c6ad1
mov ebx, dword [eax]
movzx ebx, byte [ebx + 0xb]
test bl, bl
je 0x5c6a01
cmp ecx, 0x15
jne 0x5c6930
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004c3670
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x5c6a01
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 4], eax
call fcn.004c6120
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0xec]
mov dword [esp], ebx
mov ebx, dword [esp + 0xf0]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xf4]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.004c43a0
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], 0
add esp, 0xd4
ret
lea eax, [0x5ecf40]
mov dword [esp], eax
call fcn.0040bdb0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xe4]
mov dword [eax], ecx
mov ecx, dword [0x7e34c0]
test ecx, ecx
jne 0x5c6961
mov ecx, dword [esp + 0xe8]
mov dword [eax + 4], ecx
jmp 0x5c6974
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0xe8]
call fcn.00463860
mov eax, ecx
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.00409770
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xd8]
mov dword [esp], ecx
mov ecx, dword [esp + 0xdc]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xe0]
mov dword [esp + 8], ecx
lea ecx, [0x5e9d60]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xec]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xf0]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xf4]
mov dword [esp + 0x1c], eax
call fcn.005c6560
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xf8], eax
mov dword [esp + 0xfc], ecx
add esp, 0xd4
ret
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov eax, dword [esp + 0xdc]
mov dword [esp], eax
mov eax, dword [esp + 0xe0]
mov dword [esp + 4], eax
call fcn.004096f0
mov eax, dword [esp + 8]
lea ecx, [0x5f0dc0]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x60]
mov dword [esp], eax
call fcn.004095e0
mov eax, dword [esp + 4]
lea ecx, [0x5f33c0]
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb8], eax
lea eax, [0x62d06d]
mov dword [esp], eax
mov dword [esp + 4], 0x33
lea eax, [esp + 0xac]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004cb520
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xf8], eax
mov dword [esp + 0xfc], ecx
add esp, 0xd4
ret
cmp ecx, 0x17
jne 0x5c6adf
mov ebx, dword [esp + 0x70]
mov ebp, dword [ebx + 4]
jmp 0x5c6afb
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004c3670
mov ebp, dword [esp + 0xc]
mov dword [esp + 0x3c], ebp
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 0x54]
mov edx, dword [esp + 0x8c]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 0x3c]
cmp dword [esp + 4], eax
jl 0x5c6bb5
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 4], eax
call fcn.004c6200
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004c2b50
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, edx
mov ebp, eax
mov esi, ecx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x7c], esi
mov dword [esp + 0x78], ebp
lea eax, [0x5f0dc0]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call fcn.0044a1a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x70]
mov ebp, dword [esp + 0x6c]
xor esi, esi
xor edi, edi
xor esi, esi
mov dword [esp + 0x50], esi
jmp 0x5c6d03
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 0x54]
mov ecx, dword [esp + 0x8c]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x60]
cmp ecx, 0x17
jne 0x5c6be2
mov ecx, dword [esp + 0x70]
mov ecx, dword [ecx + 4]
jmp 0x5c6c02
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 8], eax
call fcn.004c3670
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x38], ecx
lea edi, [esp + 0xbc]
xor eax, eax
call fcn.00463a8a
mov ecx, dword [esp + 0xdc]
mov dword [esp], ecx
mov ecx, dword [esp + 0xe0]
mov dword [esp + 4], ecx
call fcn.004096f0
mov ecx, dword [esp + 8]
lea edx, [0x5f0dc0]
mov dword [esp + 0xbc], edx
mov dword [esp + 0xc0], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp], ecx
call fcn.004095e0
mov ecx, dword [esp + 4]
lea edx, [0x5f05c0]
mov dword [esp + 0xc4], edx
mov dword [esp + 0xc8], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp], ecx
call fcn.004095e0
mov ecx, dword [esp + 4]
lea edx, [0x5f05c0]
mov dword [esp + 0xcc], edx
mov dword [esp + 0xd0], ecx
lea ecx, [0x62e916]
mov dword [esp], ecx
mov dword [esp + 4], 0x45
lea ecx, [esp + 0xbc]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 3
mov dword [esp + 0x10], 3
call fcn.004cb520
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0xf8], ecx
mov dword [esp + 0xfc], edx
add esp, 0xd4
ret
mov eax, dword [esp + 0x48]
lea esi, [eax + 1]
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x40]
mov edi, dword [esp + 0x70]
mov edi, edx
mov dword [esp + 0x50], ebx
mov eax, ebp
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x70]
mov ebp, dword [esp + 0x6c]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x88], eax
mov dword [esp + 0x48], esi
cmp ecx, 0x17
jne 0x5c6d1c
mov ecx, dword [ebx + 4]
jmp 0x5c6d4b
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call fcn.004c3670
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x70]
mov ebp, dword [esp + 0x6c]
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x4c]
cmp esi, ecx
jge 0x5c7041
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], esi
call fcn.004c2df0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov byte [esp + 0xc], 1
call fcn.004c2fa0
mov eax, dword [esp + 0x10]
mov dword [esp + 0xa0], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x84], ecx
mov edx, dword [esp + 0x78]
mov dword [esp], edx
mov ebx, dword [esp + 0x7c]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x44]
mov dword [esp + 8], ebp
mov esi, dword [esp + 0x48]
mov dword [esp + 0xc], esi
call fcn.004c2df0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x98], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x94], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x58], edx
mov ebx, dword [esp + 0x48]
mov ebp, ebx
sar ebx, 0x1f
mov dword [esp + 4], ebx
mov dword [esp], ebp
mov dword [esp + 8], 0xa
call fcn.004b7250
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], 0
mov edx, dword [esp + 0xdc]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0xe0]
mov dword [esp + 8], ebx
lea ebp, [0x674034]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
lea eax, [0x674038]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 1
call fcn.0044de80
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0xd8]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov eax, dword [esp + 0xa0]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x1c], eax
call fcn.005be770
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
test eax, eax
jne 0x5c6ed2
mov ebx, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x88]
jmp 0x5c6cdc
test ecx, ecx
je 0x5c6fa7
lea ecx, [0x674a68]
cmp ebx, ecx
jne 0x5c6fa7
mov eax, dword [edx + 4]
mov ebx, dword [esp + 0x4c]
lea ebp, [ebx + eax]
mov edx, dword [edx]
mov esi, dword [esp + 0x50]
cmp esi, ebp
jb 0x5c6f05
mov edi, dword [esp + 0x88]
jmp 0x5c6f54
mov dword [esp + 0x90], edx
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x88]
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
lea ecx, [0x5f0dc0]
mov dword [esp + 0x10], ecx
call fcn.0044a320
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x90]
mov ebx, dword [esp + 0x4c]
mov esi, ecx
mov edi, eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x34], esi
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x64], edi
lea ecx, [0x5f0dc0]
mov dword [esp], ecx
sub esi, ebx
xchg esi, ebx
neg ebx
xchg esi, ebx
shl ebx, 3
sar esi, 0x1f
and ebx, esi
add ebx, edi
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x4c]
sub ebp, ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
call fcn.004109e0
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x64]
jmp 0x5c6cdc
mov eax, dword [eax + 0x10]
mov dword [esp], ebp
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x4c]
inc edx
mov ebx, dword [esp + 0x50]
cmp ebx, edx
jb 0x5c6fcd
mov ebp, dword [esp + 0x88]
jmp 0x5c701c
mov dword [esp + 0x5c], ecx
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x5f0dc0]
mov dword [esp + 0x10], eax
call fcn.0044a320
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebp, eax
mov ebx, ecx
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x5c]
lea esi, [ebp + edx*8 - 4]
mov dword [esi], ecx
lea edi, [ebp + edx*8 - 8]
mov ecx, dword [0x7e34c0]
test ecx, ecx
jne 0x5c7037
mov dword [edi], eax
jmp 0x5c6cdc
call fcn.00463860
jmp 0x5c6cdc
mov eax, dword [esp + 0xec]
mov dword [esp], eax
mov eax, dword [esp + 0xf0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xf4]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x14], eax
call fcn.004c43a0
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x5c70e2
lea eax, [0x5f7920]
mov dword [esp], eax
call fcn.0040bdb0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x4c]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x50]
mov dword [edi + 8], eax
mov eax, dword [0x7e34c0]
test eax, eax
jne 0x5c70bb
mov eax, dword [esp + 0x88]
mov dword [edi], eax
jmp 0x5c70c7
mov eax, dword [esp + 0x88]
call fcn.00463860
lea eax, [0x674a68]
mov dword [esp + 0xf8], eax
mov dword [esp + 0xfc], edi
add esp, 0xd4
ret
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], 0
add esp, 0xd4
ret
call fcn.00462450
jmp fcn.005c6560