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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x5c]
cmp eax, dword [ecx + 8]
jbe 0x5c5b86
sub esp, 0xdc
mov eax, 0
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], eax
mov byte [esp + 0x1b], 0
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], 0
mov eax, dword [esp + 0xe0]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov ebx, dword [edx + 0x2c]
test ebx, ebx
je 0x5c50b2
mov edx, dword [edx + 0x2c]
movzx edx, byte [edx + 0x68]
test dl, dl
je 0x5c50b2
mov edx, 1
jmp 0x5c50b6
movzx edx, byte [ecx + 0x14]
mov dword [esp + 0x64], ecx
mov byte [eax + 4], dl
mov edx, dword [ecx]
mov ebx, dword [edx + 0x1c]
mov dword [esp + 0x1c], ebx
test ebx, ebx
xchg ebp, ebx
setne bl
xchg ebp, ebx
mov edx, dword [edx + 0x20]
mov dword [esp + 0x20], edx
test edx, edx
xchg esi, ebx
setne bl
xchg esi, ebx
or esi, ebp
xchg esi, eax
mov byte [esp + 0x1a], al
xchg esi, eax
xchg esi, eax
test al, al
xchg esi, eax
jne 0x5c50f4
xor ebp, ebp
jmp 0x5c5180
lea eax, [0x614380]
mov dword [esp], eax
call fcn.0040b5f0
mov eax, dword [esp + 4]
lea ecx, [0x5e3920]
mov dword [eax], ecx
mov ecx, dword [0x816df0]
test ecx, ecx
jne 0x5c5121
mov ecx, dword [esp + 0x64]
mov dword [eax + 4], ecx
jmp 0x5c5131
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x64]
call fcn.0045e5d0
mov eax, ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x1c]
mov dword [esp], edx
mov dword [esp + 8], eax
call fcn.0049dbc0
mov eax, dword [esp + 0xc]
lea ecx, [0x6566c8]
mov dword [esp + 0xd8], ecx
mov dword [esp + 0xd4], eax
mov byte [esp + 0x1b], 1
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
movzx esi, byte [esp + 0x1a]
mov ebp, eax
mov eax, dword [esp + 0xe0]
mov dword [esp + 0x34], ebp
xor edi, edi
xor edi, edi
xchg edi, eax
mov byte [esp + 0x18], al
xchg edi, eax
jmp 0x5c519a
mov edi, ebp
mov byte [esp + 0x18], cl
mov ecx, dword [esp + 0x64]
xchg edi, eax
mov byte [esp + 0x17], al
xchg edi, eax
mov eax, dword [ecx + 0x74]
mov dword [esp], eax
call fcn.005b73b0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x58], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x74], edx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x5c], ebx
mov ebp, dword [esp + 4]
mov dword [esp + 0x70], ebp
mov esi, dword [esp + 8]
mov dword [esp + 0x40], esi
mov edi, dword [esp + 8]
mov dword [esp + 0x44], edi
mov esi, dword [esp + 8]
mov dword [esp + 0x48], esi
mov esi, dword [esp + 8]
mov dword [esp + 0x54], esi
mov esi, dword [esp + 8]
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 8]
mov dword [esp + 0x50], esi
mov esi, dword [esp + 8]
mov dword [esp + 0x4c], esi
mov esi, dword [esp + 0xc]
mov dword [esp + 0x24], esi
mov edi, dword [esp + 4]
mov dword [esp + 0x6c], edi
mov ebp, dword [esp + 8]
mov dword [esp + 0x38], ebp
mov ebp, dword [esp + 0x34]
test ebp, ebp
je 0x5c525f
mov dword [esp], ebp
mov eax, dword [esp + 0x20]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 4], ecx
call fcn.0049dac0
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x74]
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x6c]
test esi, esi
je 0x5c532b
test eax, eax
je 0x5c5274
mov ebp, dword [eax + 4]
mov eax, ebp
mov ebp, dword [esp + 0x34]
je 0x5c527f
mov ebp, dword [esp + 0x78]
mov ebp, dword [ebp + 4]
jmp 0x5c5283
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x68], eax
lea edi, [esp + 0xa4]
xor eax, eax
call fcn.0045e87a
lea ecx, [0x638220]
mov dword [esp + 0xa4], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0xa8], ecx
mov edi, ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], ebp
mov dword [esp + 0xb8], ebx
nop
movzx ecx, byte [0x816aa9]
test cl, cl
je 0x5c531f
nop
lea eax, [0x64d956]
mov dword [esp], eax
mov dword [esp + 4], 0x34
lea ecx, [esp + 0xa4]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 3
mov dword [esp + 0x10], 3
call fcn.004ea0f0
xor eax, eax
mov edx, dword [esp + 0x74]
mov ebx, dword [esp + 0x5c]
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x64]
mov ecx, dword [esp + 0x58]
mov ebp, dword [esp + 0x34]
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
lea eax, [0x69fa50]
cmp edx, eax
jne 0x5c538a
mov eax, dword [ecx]
mov ebp, dword [ecx + 4]
mov ebx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x68], ecx
lea eax, [0x69fa50]
mov ebp, dword [esp + 0x34]
mov ecx, ebx
mov ebx, dword [esp + 0x5c]
jmp 0x5c53b0
mov ecx, 0
mov eax, 0
mov dword [esp + 0x30], eax
mov eax, 0
mov dword [esp + 0x2c], eax
mov eax, 0
mov dword [esp + 0x68], eax
lea eax, [0x69fa50]
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x30]
mov dword [esp + 0x94], eax
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x98], ebp
mov dword [esp + 0x9c], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0xa0], ecx
je 0x5c5887
test esi, esi
jne 0x5c5b45
movzx eax, byte [0x816aa9]
test al, al
je 0x5c5492
mov dword [esp], edi
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
call fcn.005bb730
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00408eb0
mov eax, dword [esp + 8]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea ecx, [0x60d840]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
nop
movzx eax, byte [0x816aa9]
test al, al
je 0x5c5486
nop
lea eax, [0x645988]
mov dword [esp], eax
mov dword [esp + 4], 0x1c
lea ecx, [esp + 0x7c]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004ea0f0
lea ecx, [0x60d840]
mov ebx, dword [esp + 0x5c]
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x6c]
movzx eax, byte [esp + 0x17]
test al, al
je 0x5c54a3
lea eax, [0x6a2e8c]
jmp 0x5c54b1
lea eax, [0x6a2e8c]
cmp edi, eax
jne 0x5c5a9b
mov ecx, dword [esp + 0x70]
test ecx, ecx
je 0x5c57aa
mov edx, dword [ecx + 8]
cmp edx, 0x9efdc81d
ja 0x5c561f
cmp edx, 0xee9413f
jbe 0x5c5573
cmp edx, 0x69a2c8c5
jne 0x5c550f
lea edx, [0x6a2e5c]
cmp edi, edx
jne 0x5c5502
lea esi, [0x69fa28]
lea ebx, [0x656990]
movzx ecx, byte [esp + 0x18]
xor ebp, ebp
jmp 0x5c5832
test ecx, ecx
lea edx, [0x6a2e74]
jmp 0x5c57b0
cmp edx, 0x9efdc81d
jne 0x5c5566
lea edx, [0x6a2e74]
cmp edi, edx
jne 0x5c555f
mov eax, dword [esp + 0xe0]
mov dword [esp], eax
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
call fcn.005c81e0
mov esi, dword [esp + 8]
mov ebx, dword [esp + 0xc]
lea eax, [0x6a2e8c]
lea edx, [0x6a2e5c]
mov edi, dword [esp + 0x6c]
movzx ecx, byte [esp + 0x18]
mov ebp, 1
jmp 0x5c5832
test ecx, ecx
jmp 0x5c57b0
test ecx, ecx
lea edx, [0x6a2e74]
jmp 0x5c57b0
cmp edx, 0x28d5a11
jne 0x5c55c7
lea edx, [0x6a2db4]
cmp edi, edx
jne 0x5c55c3
mov eax, dword [esp + 0xe0]
mov dword [esp], eax
mov ecx, dword [esp + 0x44]
mov dword [esp + 4], ecx
call fcn.005c7300
mov esi, dword [esp + 8]
mov ebx, dword [esp + 0xc]
lea eax, [0x6a2e8c]
lea edx, [0x6a2e5c]
mov edi, dword [esp + 0x6c]
movzx ecx, byte [esp + 0x18]
mov ebp, 1
jmp 0x5c5832
test ecx, ecx
jmp 0x5c5614
cmp edx, 0xee9413f
jne 0x5c5612
cmp edi, eax
jne 0x5c560e
mov eax, dword [esp + 0xe0]
mov dword [esp], eax
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], ecx
call fcn.005c7cc0
mov esi, dword [esp + 8]
mov ebx, dword [esp + 0xc]
lea eax, [0x6a2e8c]
lea edx, [0x6a2e5c]
mov edi, dword [esp + 0x6c]
movzx ecx, byte [esp + 0x18]
xor ebp, ebp
jmp 0x5c5832
test ecx, ecx
jmp 0x5c5614
test ecx, ecx
lea edx, [0x6a2e74]
jmp 0x5c57b0
cmp edx, 0xa833b76b
ja 0x5c56e9
cmp edx, 0x9f5a1761
jne 0x5c5688
lea edx, [0x6a2dcc]
cmp edi, edx
jne 0x5c567b
mov eax, dword [esp + 0xe0]
mov dword [esp], eax
mov ecx, dword [esp + 0x48]
mov dword [esp + 4], ecx
call fcn.005c7ba0
mov esi, dword [esp + 8]
mov ebx, dword [esp + 0xc]
lea eax, [0x6a2e8c]
lea edx, [0x6a2e5c]
mov edi, dword [esp + 0x6c]
movzx ecx, byte [esp + 0x18]
mov ebp, 1
jmp 0x5c5832
test ecx, ecx
lea edx, [0x6a2e2c]
jmp 0x5c57a2
cmp edx, 0xa833b76b
jne 0x5c56dc
lea edx, [0x6a2e2c]
cmp edi, edx
jne 0x5c56d5
mov eax, dword [esp + 0xe0]
mov dword [esp], eax
mov ecx, dword [esp + 0x4c]
mov dword [esp + 4], ecx
call fcn.005c86a0
mov esi, dword [esp + 8]
mov ebx, dword [esp + 0xc]
lea eax, [0x6a2e8c]
lea edx, [0x6a2e5c]
mov edi, dword [esp + 0x6c]
movzx ecx, byte [esp + 0x18]
xor ebp, ebp
jmp 0x5c5832
test ecx, ecx
jmp 0x5c57a2
test ecx, ecx
lea edx, [0x6a2e2c]
jmp 0x5c57a2
cmp edx, 0xcaf0565e
jne 0x5c5743
lea edx, [0x6a2e14]
cmp edi, edx
jne 0x5c5739
mov eax, dword [esp + 0xe0]
mov dword [esp], eax
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], ecx
call fcn.005c5b90
mov esi, dword [esp + 8]
mov ebx, dword [esp + 0xc]
lea eax, [0x6a2e8c]
lea edx, [0x6a2e5c]
mov edi, dword [esp + 0x6c]
mov ecx, 1
mov ebp, 1
jmp 0x5c5832
test ecx, ecx
lea edx, [0x6a2ebc]
jmp 0x5c579c
cmp edx, 0xd47d69d1
jne 0x5c5794
lea edx, [0x6a2ebc]
cmp edi, edx
jne 0x5c5790
mov eax, dword [esp + 0xe0]
mov dword [esp], eax
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], ecx
call fcn.005c8090
mov esi, dword [esp + 8]
mov ebx, dword [esp + 0xc]
lea eax, [0x6a2e8c]
lea edx, [0x6a2e5c]
mov edi, dword [esp + 0x6c]
movzx ecx, byte [esp + 0x18]
xor ebp, ebp
jmp 0x5c5832
test ecx, ecx
jmp 0x5c579c
test ecx, ecx
lea edx, [0x6a2ebc]
lea edx, [0x6a2e2c]
lea edx, [0x6a2e74]
jmp 0x5c57b0
lea edx, [0x6a2e74]
je 0x5c57b7
mov ebp, dword [ecx + 4]
jmp 0x5c57b9
mov ebp, ecx
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x84], ebp
mov eax, dword [esp + 0x38]
mov dword [esp + 0x88], eax
nop
lea ecx, [0x64b43b]
mov dword [esp], ecx
mov dword [esp + 4], 0x2b
lea edx, [esp + 0x84]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004ea0f0
lea eax, [0x6a2e8c]
lea edx, [0x6a2e5c]
mov edi, dword [esp + 0x6c]
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x5c]
movzx ecx, byte [esp + 0x18]
xor ebp, ebp
test esi, esi
jne 0x5c5982
mov ebx, dword [esp + 0xe0]
movzx esi, byte [ebx + 4]
xchg esi, eax
test al, al
xchg esi, eax
je 0x5c587d
test cl, cl
je 0x5c587d
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x5c587d
mov byte [esp + 0x19], cl
mov eax, dword [esp + 0x64]
mov dword [esp], eax
call fcn.005bfd70
lea eax, [0x6a2e8c]
movzx ecx, byte [esp + 0x19]
lea edx, [0x6a2e5c]
mov ebx, dword [esp + 0xe0]
mov ebp, 1
jmp 0x5c5190
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov byte [esp + 8], 0
call fcn.005c4850
mov eax, dword [esp + 0xc]
test eax, eax
je 0x5c5960
mov dword [esp + 0x60], eax
mov ecx, dword [eax]
mov edx, dword [eax + 0xc]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x74]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x10], edx
call fcn.005c88d0
mov eax, dword [esp + 0x60]
mov ecx, dword [eax]
mov edx, dword [eax + 0xc]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov byte [esp + 8], 1
call fcn.005c4850
mov eax, dword [esp + 0x28]
test eax, eax
je 0x5c58ff
mov ecx, eax
mov edx, dword [esp + 0x68]
jmp 0x5c590c
mov eax, dword [esp + 0x64]
mov edx, dword [eax + 0x74]
mov ecx, dword [edx + 0x10]
mov edx, dword [edx + 0x14]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], edx
lea eax, [0x69fa50]
mov dword [esp], eax
lea ecx, [esp + 0x94]
mov dword [esp + 4], ecx
call fcn.00409020
mov eax, dword [esp + 0xe0]
mov dword [esp], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
call fcn.005c78c0
lea eax, [0x6a2e8c]
lea edx, [0x6a2e5c]
mov ebx, dword [esp + 0xe0]
movzx ebp, byte [esp + 0x17]
movzx ecx, byte [esp + 0x18]
jmp 0x5c5190
movzx eax, byte [0x816aa9]
test al, al
je 0x5c5a66
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x24], esi
mov dword [esp], edi
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
call fcn.005bb730
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00408eb0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x5c59ce
mov esi, dword [ecx + 4]
jmp 0x5c59d0
mov esi, ecx
lea edi, [esp + 0xbc]
mov edx, eax
xor eax, eax
call fcn.0045e87a
lea ecx, [0x638220]
mov dword [esp + 0xbc], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0xc0], ecx
lea ecx, [0x60d840]
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], edx
mov dword [esp + 0xcc], esi
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0xd0], ecx
nop
movzx edx, byte [0x816aa9]
test dl, dl
je 0x5c5a60
nop
lea eax, [0x64f5fa]
mov dword [esp], eax
mov dword [esp + 4], 0x44
lea eax, [esp + 0xbc]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 3
mov dword [esp + 0x10], 3
call fcn.004ea0f0
mov ecx, dword [esp + 0x5c]
mov ebx, ecx
mov esi, dword [esp + 0x24]
mov dword [esp + 0xe4], esi
mov dword [esp + 0xe8], ebx
movzx eax, byte [esp + 0x1a]
test al, 1
je 0x5c5a94
and eax, 0xfffffffe
mov byte [esp + 0x1b], al
mov eax, dword [esp + 0xd4]
mov dword [esp], eax
call fcn.0049d970
add esp, 0xdc
ret
mov eax, dword [esp + 0x70]
test eax, eax
je 0x5c5aa8
mov ebp, dword [eax + 4]
jmp 0x5c5aaa
mov ebp, eax
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x8c], ebp
mov eax, dword [esp + 0x38]
mov dword [esp + 0x90], eax
nop
lea eax, [0x64d71f]
mov dword [esp], eax
mov dword [esp + 4], 0x33
lea eax, [esp + 0x8c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004ea0f0
lea eax, [0x69fa28]
mov dword [esp + 0xe4], eax
lea eax, [0x656990]
mov dword [esp + 0xe8], eax
movzx eax, byte [esp + 0x1a]
test al, 1
je 0x5c5b3e
and eax, 0xfffffffe
mov byte [esp + 0x1b], al
mov eax, dword [esp + 0xd4]
mov dword [esp], eax
call fcn.0049d970
add esp, 0xdc
ret
mov dword [esp + 0xe4], edx
mov dword [esp + 0xe8], ebx
movzx eax, byte [esp + 0x1a]
test al, 1
je 0x5c5b73
and eax, 0xfffffffe
mov byte [esp + 0x1b], al
mov eax, dword [esp + 0xd4]
mov dword [esp], eax
call fcn.0049d970
add esp, 0xdc
ret
call fcn.0045d190
jmp fcn.005c5040