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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5c42dc
sub esp, 0x74
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax + 0x3c]
mov edx, dword [eax + 0x40]
mov ebx, dword [eax + 0x44]
mov ebp, dword [eax + 0x48]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
call fcn.0057e710
mov eax, dword [esp + 0x14]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x5c], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x44], edx
mov ebx, dword [esp + 0x78]
cmp ebx, 2
jg 0x5c3eeb
cmp ebx, 1
jne 0x5c3af0
mov ebx, dword [0xac4fd8]
mov ebp, dword [esp + 0x7c]
mov esi, dword [ebp + 0x34]
mov ebp, dword [ebp + 0x30]
lea edi, [0xac4fd8]
cmp dword [edi + 4], esi
je 0x5c38b5
lea eax, [0x7b28c0]
mov dword [esp], eax
call fcn.0040c160
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x25
lea ecx, [0x8175d0]
mov dword [eax], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x8ac7c0]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
call fcn.004028f0
movzx eax, byte [esp + 0xc]
test al, al
je 0x5c3866
lea eax, [0x7bb820]
mov dword [esp], eax
call fcn.0040c160
mov eax, dword [esp + 4]
mov dword [esp + 0x70], eax
nop
mov ecx, dword [esp + 0x5c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 8], ecx
lea ecx, [0x77dc80]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.00582a10
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x20]
test eax, eax
jne 0x5c3ac8
test ebx, ebx
jne 0x5c3a79
mov eax, dword [esp + 0x70]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
test edx, edx
jne 0x5c3a5e
xor ecx, ecx
test ecx, ecx
jle 0x5c3a0f
mov ecx, dword [eax + 4]
test ecx, ecx
jle 0x5c39c0
lea eax, [0x7bb040]
mov dword [esp], eax
call fcn.0040c160
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 4]
mov dword [edi + 4], ecx
mov ecx, dword [0xaec8c0]
mov eax, dword [eax]
test ecx, ecx
jne 0x5c39b9
mov dword [edi], eax
lea eax, [0x7b5b60]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x74
ret
call fcn.00466130
jmp 0x5c398b
lea eax, [0x7b28c0]
mov dword [esp], eax
call fcn.0040c160
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x32
lea ecx, [0x81cee5]
mov dword [eax], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x8ac7c0]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
lea eax, [0x7b28c0]
mov dword [esp], eax
call fcn.0040c160
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x2a
lea ecx, [0x819b03]
mov dword [eax], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x8ac7c0]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
movzx ecx, byte [ecx]
test cl, cl
je 0x5c3a6f
mov ecx, 0xffffffff
jmp 0x5c3952
mov ecx, 1
jmp 0x5c3952
lea eax, [0x7b28c0]
mov dword [esp], eax
call fcn.0040c160
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x28
lea ecx, [0x818c4e]
mov dword [eax], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x8ac7c0]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
add esp, 0x74
ret
cmp ebx, 2
je 0x5c3b25
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x74
ret
lea eax, [0x7ffe80]
mov dword [esp], eax
call fcn.0040c160
mov eax, dword [esp + 4]
mov dword [esp + 0x6c], eax
nop
mov ecx, dword [esp + 0x5c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 8], ecx
lea ecx, [0x77bb00]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.00582a10
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x20]
test eax, eax
jne 0x5c3ec3
test ebx, ebx
jne 0x5c3e74
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax + 0x30]
mov dword [esp + 0x54], ecx
mov edx, dword [eax + 0x34]
mov dword [esp + 0x30], edx
mov eax, dword [eax + 0x38]
mov dword [esp + 0x3c], eax
lea ebx, [0x7c7c40]
mov dword [esp], ebx
call fcn.0040c160
mov eax, dword [esp + 4]
mov dword [esp + 0x68], eax
nop
mov ecx, dword [esp + 0x54]
mov dword [esp], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 8], ecx
lea ecx, [0x77db40]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.00582a10
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x20]
test eax, eax
jne 0x5c3e4c
test ebx, ebx
jne 0x5c3dfd
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
test edx, edx
jne 0x5c3de2
xor ecx, ecx
test ecx, ecx
jg 0x5c3c86
lea eax, [0x7b28c0]
mov dword [esp], eax
call fcn.0040c160
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x24
lea ecx, [0x816de0]
mov dword [eax], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x8ac7c0]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx]
mov ebx, dword [edx + 8]
test ebx, ebx
jne 0x5c3dc7
xor edx, edx
test edx, edx
jle 0x5c3c37
mov edx, dword [ecx + 4]
mov ebx, dword [edx + 8]
test ebx, ebx
jne 0x5c3dac
xor edx, edx
test edx, edx
jle 0x5c3c37
mov edx, dword [ecx + 8]
mov ebx, dword [edx + 8]
test ebx, ebx
jne 0x5c3d91
xor edx, edx
test edx, edx
jle 0x5c3c37
lea eax, [0x7baf20]
mov dword [esp], eax
call fcn.0040c160
mov edi, dword [esp + 4]
mov eax, dword [0xaec8c0]
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx]
test eax, eax
jne 0x5c3d85
mov dword [edi], edx
mov edx, dword [0xaec8c0]
mov eax, dword [ecx + 4]
test edx, edx
jne 0x5c3d72
mov dword [edi + 4], eax
mov edx, dword [0xaec8c0]
mov eax, dword [ecx + 8]
test edx, edx
jne 0x5c3d62
mov dword [edi + 8], eax
mov ecx, dword [0xaec8c0]
mov edx, dword [esp + 0x6c]
mov eax, dword [edx]
test ecx, ecx
jne 0x5c3d52
mov dword [edi + 0xc], eax
lea eax, [0x77d2c0]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x74
ret
lea ecx, [edi + 0xc]
mov edx, edi
mov edi, ecx
call fcn.00466130
mov edi, edx
jmp 0x5c3d24
lea ecx, [edi + 8]
mov edx, edi
mov edi, ecx
call fcn.00466130
mov edi, edx
jmp 0x5c3d11
lea edx, [edi + 4]
mov ebx, edi
mov edi, edx
call fcn.00466130
mov edi, ebx
jmp 0x5c3d01
mov eax, edx
call fcn.00466130
jmp 0x5c3cf1
movzx edx, byte [edx]
test dl, dl
je 0x5c3da2
mov edx, 0xffffffff
jmp 0x5c3cc1
mov edx, 1
jmp 0x5c3cc1
movzx edx, byte [edx]
test dl, dl
je 0x5c3dbd
mov edx, 0xffffffff
jmp 0x5c3cad
mov edx, 1
jmp 0x5c3cad
movzx edx, byte [edx]
test dl, dl
je 0x5c3dd8
mov edx, 0xffffffff
jmp 0x5c3c99
mov edx, 1
jmp 0x5c3c99
movzx ecx, byte [ecx]
test cl, cl
je 0x5c3df3
mov ecx, 0xffffffff
jmp 0x5c3c33
mov ecx, 1
jmp 0x5c3c33
lea eax, [0x7b28c0]
mov dword [esp], eax
call fcn.0040c160
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x28
lea ecx, [0x818bfe]
mov dword [eax], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x8ac7c0]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
add esp, 0x74
ret
lea eax, [0x7b28c0]
mov dword [esp], eax
call fcn.0040c160
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x28
lea ecx, [0x818c26]
mov dword [eax], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x8ac7c0]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
add esp, 0x74
ret
cmp ebx, 3
je 0x5c401b
cmp ebx, 4
jne 0x5c3af5
mov edx, dword [esp + 0x7c]
mov edx, dword [edx + 0x34]
test edx, edx
jne 0x5c3fcc
cmp eax, 0x20
je 0x5c3f60
lea eax, [0x7b28c0]
mov dword [esp], eax
call fcn.0040c160
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x23
lea ecx, [0x81654e]
mov dword [eax], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x8ac7c0]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
lea edx, [0x79faa0]
mov dword [esp], edx
mov dword [esp + 4], 0x20
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.0044a340
mov eax, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], 0x20
mov dword [esp + 8], 0x20
call fcn.004099d0
mov eax, dword [esp + 0xc]
lea ecx, [0x7ac380]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x74
ret
lea eax, [0x7b28c0]
mov dword [esp], eax
call fcn.0040c160
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x31
lea ecx, [0x81c8ac]
mov dword [eax], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x8ac7c0]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax + 0x30]
mov dword [esp + 0x58], ecx
mov edx, dword [eax + 0x34]
mov dword [esp + 0x34], edx
mov eax, dword [eax + 0x38]
mov dword [esp + 0x40], eax
lea ebx, [0x7b9040]
mov dword [esp], ebx
call fcn.0040c160
mov eax, dword [esp + 4]
mov dword [esp + 0x64], eax
nop
mov ecx, dword [esp + 0x58]
mov dword [esp], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 8], ecx
lea ecx, [0x7b6400]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.00582a10
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
test eax, eax
jne 0x5c428d
test ecx, ecx
jne 0x5c423e
mov eax, dword [esp + 0x64]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.005c2a00
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
test eax, eax
je 0x5c41ef
mov dword [esp + 0x50], ecx
mov dword [esp + 0x60], edx
mov dword [esp], edx
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x5c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x10], eax
call fcn.005725c0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
test eax, eax
je 0x5c41a0
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], ecx
lea eax, [0x7e5de0]
mov dword [esp], eax
call fcn.0040c160
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x60]
mov dword [eax], ecx
mov ecx, dword [0xaec8c0]
test ecx, ecx
jne 0x5c4176
mov ecx, dword [esp + 0x50]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 0xc], ecx
lea ecx, [0x7e02c0]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x74
ret
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x50]
call fcn.00466130
lea edi, [ecx + 8]
mov eax, dword [esp + 0x4c]
call fcn.00466130
lea edi, [ecx + 0xc]
mov eax, dword [esp + 0x48]
call fcn.00466130
mov eax, ecx
jmp 0x5c4148
lea eax, [0x7b28c0]
mov dword [esp], eax
call fcn.0040c160
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x2e
lea ecx, [0x81b58e]
mov dword [eax], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x8ac7c0]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
lea eax, [0x7b28c0]
mov dword [esp], eax
call fcn.0040c160
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x20
lea ecx, [0x8148b1]
mov dword [eax], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x8ac7c0]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
lea eax, [0x7b28c0]
mov dword [esp], eax
call fcn.0040c160
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x2a
lea ecx, [0x819b2d]
mov dword [eax], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x8ac7c0]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
lea eax, [0x7b28c0]
mov dword [esp], eax
call fcn.0040c160
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x35
lea ecx, [0x81db7a]
mov dword [eax], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x8ac7c0]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
call fcn.00464bd0
jmp fcn.005c37e0