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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x2c]
cmp eax, dword [ecx + 8]
jbe 0x5c69b2
sub esp, 0xac
mov eax, dword [esp + 0xb8]
movzx ecx, byte [eax + 0x10]
test cl, cl
jne 0x5c61c4
mov dword [esp], eax
lea ecx, [0x63ccf3]
mov dword [esp + 4], ecx
mov dword [esp + 8], 6
call fcn.005ba7e0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x5c617d
mov dword [esp + 0x60], eax
mov dword [esp + 0x40], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00466360
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test ecx, ecx
jne 0x5c6136
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xb8]
mov dword [esp], eax
call fcn.005ba900
mov eax, dword [esp + 8]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x68], ecx
lea edx, [0x60d840]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.00447550
mov eax, dword [esp + 0xc]
mov dword [esp + 0x8c], eax
lea ecx, [0x632c40]
mov dword [esp], ecx
mov edx, dword [esp + 0x44]
mov dword [esp + 4], edx
mov dword [esp + 8], 0
call fcn.0040c160
mov eax, dword [esp + 0xc]
mov dword [esp + 0x88], eax
mov ecx, dword [0x7ef258]
lea edx, [0x60ea20]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 8], ecx
call fcn.0040e0b0
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov dword [esp + 0x58], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x28], eax
lea edx, [0x631220]
mov dword [esp], edx
call fcn.0040b5f0
mov eax, dword [esp + 4]
mov dword [eax + 0x10], 8
lea ecx, [0x63d23b]
mov dword [eax + 0xc], ecx
mov dword [eax + 0x14], 2
mov ecx, dword [0x816df0]
test ecx, ecx
jne 0x5c609a
mov ecx, dword [esp + 0x88]
mov dword [eax + 0x1c], ecx
jmp 0x5c60ad
lea edi, [eax + 0x1c]
mov ecx, eax
mov eax, dword [esp + 0x88]
call fcn.0045e5d0
mov eax, ecx
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x3c]
mov dword [eax + 8], ecx
mov dword [esp], 0
mov edx, dword [esp + 0x60]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 8], edx
lea edx, [0x69d698]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 1
mov edx, dword [esp + 0x58]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x18], edx
call fcn.0044aab0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x64]
mov dword [edi + 4], ecx
mov ecx, dword [0x816df0]
test ecx, ecx
jne 0x5c6113
mov dword [edi], eax
jmp 0x5c6118
call fcn.0045e5d0
mov ecx, dword [esp + 0x44]
test ecx, ecx
jle 0x5c61f0
mov eax, dword [esp + 0x68]
xor edx, edx
mov ebx, dword [esp + 0x8c]
jmp 0x5c66ca
lea eax, [0x615300]
mov dword [esp], eax
call fcn.0040b5f0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x4a
lea ecx, [0x64fa9e]
mov dword [eax], ecx
mov dword [esp + 0xbc], 0
lea ecx, [0x69f4b0]
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], eax
add esp, 0xac
ret
lea eax, [0x615300]
mov dword [esp], eax
call fcn.0040b5f0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x3c
lea ecx, [0x64eb5d]
mov dword [eax], ecx
mov dword [esp + 0xbc], 0
lea ecx, [0x69f4b0]
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], eax
add esp, 0xac
ret
mov eax, dword [0x7efab0]
mov ecx, dword [0x7efab4]
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
add esp, 0xac
ret
mov ecx, dword [esp + 0x3c]
lea ebx, [ecx - 0x64]
cmp ebx, 0x63
ja 0x5c632f
mov eax, dword [esp + 0xb4]
movzx ebx, byte [eax + 0xa7]
inc ebx
mov byte [eax + 0xa7], bl
cmp bl, 5
ja 0x5c62e8
mov ebx, dword [0x7ef230]
test ebx, ebx
jne 0x5c6236
mov ebx, dword [eax + 8]
test ebx, ebx
je 0x5c6234
mov ebx, dword [ebx + 0x14]
jmp 0x5c6236
xor ebx, ebx
test ebx, ebx
je 0x5c6269
mov eax, dword [ebx]
mov dword [esp], ecx
mov ebp, dword [esp + 0x88]
mov dword [esp + 4], ebp
mov edx, ebx
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
test eax, eax
jne 0x5c62c8
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0x3c]
cmp ecx, 0x64
jne 0x5c6299
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x5c6287
mov edx, dword [ecx + 0x10]
test edx, edx
je 0x5c6287
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0xb4]
mov edx, dword [eax + 0x64]
test edx, edx
je 0x5c6299
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0xb4]
mov byte [eax + 0xa5], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
add esp, 0xac
ret
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], ebx
add esp, 0xac
ret
lea eax, [0x615300]
mov dword [esp], eax
call fcn.0040b5f0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x2b
lea ecx, [0x64b568]
mov dword [eax], ecx
mov dword [esp + 0xbc], 0
lea ecx, [0x69f4b0]
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], eax
add esp, 0xac
ret
mov ecx, dword [esp + 0xb4]
mov edx, dword [ecx + 4]
mov ebx, dword [esp + 0xb8]
mov ebx, dword [ebx]
mov ebp, dword [edx]
movzx ebx, byte [ebx + 2]
cmp dword [edx + 4], 4
jne 0x5c635a
cmp dword [ebp], 0x44414548
sete dl
jmp 0x5c635c
xor edx, edx
mov byte [esp + 0x27], bl
mov byte [esp + 0x26], dl
test bl, 1
je 0x5c6375
test dl, dl
jne 0x5c6375
test bl, 1
jmp 0x5c6423
mov dword [edi + 0x28], 0xffffffff
mov dword [edi + 0x2c], 0xffffffff
mov eax, dword [edi + 0x1c]
lea ecx, [0x632c40]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [0x63f031]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0xe
call fcn.0040fae0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
cmp dword [eax + 4], 1
je 0x5c63c4
movzx ecx, byte [esp + 0x27]
test cl, 1
mov ebx, dword [esp + 0x64]
jmp 0x5c6415
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], 0xa
mov dword [esp + 0xc], 0x3f
call fcn.004656a0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
test eax, eax
je 0x5c6403
movzx ecx, byte [esp + 0x27]
test cl, 1
mov ebx, dword [esp + 0x64]
jmp 0x5c6415
mov ebx, dword [esp + 0x64]
mov dword [ebx + 0x2c], ecx
mov dword [ebx + 0x28], edx
movzx ecx, byte [esp + 0x27]
test cl, 1
mov ecx, dword [esp + 0xb4]
movzx edx, byte [esp + 0x26]
mov edi, ebx
jne 0x5c6429
test dl, dl
je 0x5c6479
mov eax, dword [0x7efadc]
mov ecx, dword [0x7efad8]
mov dword [edi + 0x20], ecx
mov ecx, dword [0x816df0]
test ecx, ecx
jne 0x5c6447
mov dword [edi + 0x24], eax
jmp 0x5c6455
lea ecx, [edi + 0x24]
mov edx, edi
mov edi, ecx
call fcn.0045e5d0
mov edi, edx
mov dword [esp + 0xbc], edi
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
add esp, 0xac
ret
lea eax, [0x6270a0]
mov dword [esp], eax
call fcn.0040b5f0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x64]
mov edx, dword [ecx + 0x28]
mov ebx, dword [ecx + 0x2c]
mov dword [eax + 0x18], edx
mov dword [eax + 0x1c], ebx
mov edx, dword [esp + 0xb4]
lea edi, [edx + 0x14]
mov ebx, dword [0x816df0]
test ebx, ebx
jne 0x5c64ba
mov ebx, eax
xor eax, eax
call fcn.0045e86d
jmp 0x5c64e1
mov dword [esp + 0x84], eax
lea eax, [0x62bc00]
mov dword [esp], eax
mov dword [esp + 4], edi
call fcn.00410dd0
mov edx, dword [esp + 0xb4]
mov ebx, dword [esp + 0x84]
lea ecx, [0x6a3270]
mov dword [edx + 0x3c], ecx
mov ecx, dword [0x816df0]
test ecx, ecx
jne 0x5c64f9
mov dword [edx + 0x40], ebx
jmp 0x5c6503
lea edi, [edx + 0x40]
mov eax, ebx
call fcn.0045e5d0
mov ecx, dword [esp + 0x64]
mov ebx, dword [ecx + 0x28]
mov ebp, dword [ecx + 0x2c]
mov dword [edx + 0x78], ebx
mov dword [edx + 0x7c], ebp
lea ebx, [0x6a312c]
mov dword [ecx + 0x20], ebx
mov ebx, dword [0x816df0]
lea edi, [ecx + 0x24]
mov dword [esp + 0x80], edi
test ebx, ebx
jne 0x5c6535
mov dword [ecx + 0x24], edx
jmp 0x5c653c
mov eax, edx
call fcn.0045e5d0
mov eax, dword [edx + 4]
mov dword [esp], 8
lea ecx, [0x6563cc]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
call fcn.0043e530
mov eax, dword [esp + 0xb4]
movzx eax, byte [eax + 0x61]
test al, al
je 0x5c6693
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0x1c]
mov dword [esp], ecx
lea ecx, [0x63fbcb]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x10
call fcn.0058ca90
mov eax, dword [esp + 0xc]
cmp dword [esp + 0x10], 4
jne 0x5c6693
cmp dword [eax], 0x70697a67
jne 0x5c6693
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x6c], ecx
nop
lea edx, [0x63fbcb]
mov dword [esp], edx
mov dword [esp + 4], 0x10
call fcn.0058df60
lea eax, [0x62b840]
mov dword [esp], eax
mov ecx, dword [esp + 0x6c]
mov dword [esp + 4], ecx
call fcn.00410510
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x70], ecx
nop
lea edx, [0x63f031]
mov dword [esp], edx
mov dword [esp + 4], 0xe
call fcn.0058df60
lea eax, [0x62b840]
mov dword [esp], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
call fcn.00410510
mov eax, dword [esp + 0x64]
mov dword [eax + 0x28], 0xffffffff
mov dword [eax + 0x2c], 0xffffffff
lea ecx, [0x623f40]
mov dword [esp], ecx
call fcn.0040b5f0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x64]
mov edx, dword [ecx + 0x24]
mov ebx, dword [ecx + 0x20]
mov dword [eax], ebx
mov ebx, dword [0x816df0]
test ebx, ebx
jne 0x5c665b
mov dword [eax + 4], edx
jmp 0x5c6669
lea edi, [eax + 4]
mov ebx, eax
mov eax, edx
call fcn.0045e5d0
mov eax, ebx
lea edx, [0x6a2eec]
mov dword [ecx + 0x20], edx
mov edx, dword [0x816df0]
test edx, edx
jne 0x5c6681
mov dword [ecx + 0x24], eax
jmp 0x5c668d
mov edi, dword [esp + 0x80]
call fcn.0045e5d0
mov byte [ecx + 0x3d], 1
jmp 0x5c6697
mov ecx, dword [esp + 0x64]
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
add esp, 0xac
ret
mov ebp, dword [esp + 0x7c]
add ebp, 0x14
mov edx, ebx
mov ebx, ecx
mov ecx, eax
mov eax, ebp
mov dword [esp + 0x50], edx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x5c], ebx
lea edi, [esp + 0x98]
mov esi, eax
call fcn.0045ed5e
mov ecx, dword [esp + 0x98]
mov ebp, dword [esp + 0x9c]
mov dword [esp], ecx
mov dword [esp + 4], ebp
call fcn.0058df60
mov eax, dword [esp + 8]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x2c], ecx
cmp ecx, 7
jne 0x5c67cd
cmp dword [eax], 0x69617254
jne 0x5c67cd
cmp word [eax + 4], 0x656c
jne 0x5c67cd
cmp byte [eax + 6], 0x72
jne 0x5c67cd
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0x40]
test ecx, ecx
jne 0x5c6771
call fcn.0040c0e0
mov eax, dword [esp]
mov ecx, dword [0x816df0]
test ecx, ecx
jne 0x5c6763
mov ecx, dword [esp + 0x64]
mov dword [ecx + 0x40], eax
jmp 0x5c676f
mov ecx, dword [esp + 0x64]
lea edi, [ecx + 0x40]
call fcn.0045e5d0
mov ecx, eax
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
lea eax, [0x5c69c0]
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0xa4]
mov dword [esp], ecx
mov dword [esp + 4], edx
lea ecx, [esp + 0x90]
mov dword [esp + 8], ecx
call fcn.005bcb60
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x5c]
jmp 0x5c6998
lea eax, [0x632c40]
mov dword [esp], eax
mov ecx, dword [esp + 0x88]
mov dword [esp + 4], ecx
call fcn.0040fae0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
test ecx, ecx
je 0x5c67ff
mov ebx, dword [esp + 0x38]
jmp 0x5c68ab
mov ebx, dword [esp + 0x38]
test ebx, ebx
jle 0x5c68ab
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0xa4]
mov edi, dword [esp + 0x5c]
mov dword [edi + 4], ecx
lea ecx, [ebx - 1]
mov dword [esp + 0x34], ecx
neg ecx
sar ecx, 0x1f
and ecx, 8
add ecx, edi
mov dword [esp + 0x78], ecx
mov ebx, dword [0x816df0]
test ebx, ebx
jne 0x5c6843
mov dword [edi], eax
jmp 0x5c6848
call fcn.0045e5d0
lea eax, [0x632c40]
mov dword [esp], eax
mov ecx, dword [esp + 0x88]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x54]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0xc], edx
call fcn.00410170
mov edi, dword [esp + 0x10]
mov dword [edi + 4], 1
mov dword [edi + 8], 1
mov eax, dword [0x816df0]
test eax, eax
jne 0x5c6895
mov ecx, dword [esp + 0x5c]
mov dword [edi], ecx
jmp 0x5c689e
mov eax, dword [esp + 0x5c]
call fcn.0045e5d0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x78]
jmp 0x5c6998
lea ebp, [edx + 1]
mov esi, dword [esp + 0xa0]
mov edi, ebx
mov ebx, dword [esp + 0xa4]
cmp eax, ebp
jae 0x5c690d
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x74], esi
mov dword [esp + 0x30], edx
lea ebx, [0x60d840]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebp
call fcn.004476d0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ebp, [eax + 1]
mov ebx, dword [esp + 0x4c]
mov esi, dword [esp + 0x74]
mov edi, dword [esp + 0x38]
mov eax, edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], eax
lea ebp, [ecx + edx*8 + 4]
mov dword [ebp], ebx
mov ebx, dword [0x816df0]
lea edx, [ecx + edx*8]
test ebx, ebx
jne 0x5c6931
mov dword [edx], esi
jmp 0x5c693a
mov edi, edx
mov eax, esi
call fcn.0045e5d0
lea eax, [0x632c40]
mov dword [esp], eax
mov ecx, dword [esp + 0x88]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x54]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0xc], edx
call fcn.00410170
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x4c]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x48]
mov dword [edi + 8], eax
mov eax, dword [0x816df0]
test eax, eax
jne 0x5c6987
mov ecx, dword [esp + 0x78]
mov dword [edi], ecx
jmp 0x5c6990
mov eax, dword [esp + 0x78]
call fcn.0045e5d0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x50]
inc ebx
mov ebp, dword [esp + 0x44]
cmp ebp, ebx
jg 0x5c66bb
mov edi, dword [esp + 0x64]
jmp 0x5c61f0
call fcn.0045d190
jmp fcn.005c5f40