Function at 0x5c61c0
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 0x5c6d5f
sub esp, 0xd4
mov ecx, dword [esp + 0xe4]
test ecx, ecx
je 0x5c6281
nop
movzx edx, byte [0x7bc410]
test dl, dl
je 0x5c6235
mov edx, dword [esp + 0xe4]
mov dword [0x7bc414], edx
mov ebx, dword [0x7e2780]
test ebx, ebx
jne 0x5c6221
mov eax, dword [esp + 0xe8]
mov dword [0x7bc418], eax
jmp 0x5c6243
lea edi, [0x7bc418]
mov eax, dword [esp + 0xe8]
call fcn.00463860
jmp 0x5c6243
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 0x5c6277
nop
movzx ebx, byte [ecx + 0xf]
mov ebp, ebx
and ebx, 0x1f
xchg ebp, eax
test al, 0x20
xchg ebp, eax
jne 0x5c6273
or ebx, 0x80
mov ebp, eax
jmp 0x5c6295
mov ebp, eax
xor ebx, ebx
xor ecx, ecx
xor eax, eax
jmp 0x5c6295
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 0x5c62cc
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], esi
call fcn.004c2b60
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 0x5c6306
test ebx, 0x200
jne 0x5c6306
lea edi, [0x675c20]
mov edi, dword [esp + 0xec]
mov dword [esp + 0x68], edi
lea edi, [0x675c20]
jmp 0x5c6332
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.004c53d0
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.004bfba0
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.004c2fb0
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 0x5c6404
test edx, 0x200
jne 0x5c6404
lea ebx, [0x675c20]
mov ebp, dword [esp + 0xec]
jmp 0x5c642e
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.004c53d0
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.004c6130
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.004c2fb0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x9c]
cmp dword [esp + 0x10], ecx
je 0x5c6470
xor eax, eax
jmp 0x5c648c
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 0x5c64c8
mov eax, dword [esp + 0xd8]
mov ebx, dword [eax]
movzx ebx, byte [ebx + 0xa]
test bl, bl
jne 0x5c64cf
mov ebx, dword [esp + 0xf4]
mov ebp, dword [esp + 0xec]
mov esi, dword [esp + 0xf0]
jmp 0x5c67c8
mov eax, dword [esp + 0xd8]
cmp ecx, 0x11
je 0x5c6731
cmp ecx, 0x17
je 0x5c6731
mov ebx, dword [eax]
movzx ebx, byte [ebx + 0xb]
test bl, bl
je 0x5c6661
cmp ecx, 0x15
jne 0x5c6590
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.004c3680
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x5c6661
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 4], eax
call fcn.004c6130
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.004c43b0
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 [0x7e2780]
test ecx, ecx
jne 0x5c65c1
mov ecx, dword [esp + 0xe8]
mov dword [eax + 4], ecx
jmp 0x5c65d4
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, [0x5e9d40]
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.005c61c0
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, [0x5f0d80]
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, [0x5f3380]
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb8], eax
lea eax, [0x62cf8d]
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.004cb530
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 0x5c673f
mov ebx, dword [esp + 0x70]
mov ebp, dword [ebx + 4]
jmp 0x5c675b
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.004c3680
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 0x5c6815
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 4], eax
call fcn.004c6210
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.004c2b60
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, [0x5f0d80]
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 0x5c6963
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 0x5c6842
mov ecx, dword [esp + 0x70]
mov ecx, dword [ecx + 4]
jmp 0x5c6862
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.004c3680
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, [0x5f0d80]
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, [0x5f0580]
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, [0x5f0580]
mov dword [esp + 0xcc], edx
mov dword [esp + 0xd0], ecx
lea ecx, [0x62e836]
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.004cb530
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 0x5c697c
mov ecx, dword [ebx + 4]
jmp 0x5c69ab
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call fcn.004c3680
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 0x5c6ca1
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], esi
call fcn.004c2e00
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.004c2fb0
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.004c2e00
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.004b7260
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, [0x673b10]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
lea eax, [0x673b14]
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.005be3d0
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 0x5c6b32
mov ebx, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x88]
jmp 0x5c693c
test ecx, ecx
je 0x5c6c07
lea ecx, [0x674548]
cmp ebx, ecx
jne 0x5c6c07
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 0x5c6b65
mov edi, dword [esp + 0x88]
jmp 0x5c6bb4
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, [0x5f0d80]
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, [0x5f0d80]
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 0x5c693c
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 0x5c6c2d
mov ebp, dword [esp + 0x88]
jmp 0x5c6c7c
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, [0x5f0d80]
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 [0x7e2780]
test ecx, ecx
jne 0x5c6c97
mov dword [edi], eax
jmp 0x5c693c
call fcn.00463860
jmp 0x5c693c
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.004c43b0
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x5c6d42
lea eax, [0x5f78e0]
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 [0x7e2780]
test eax, eax
jne 0x5c6d1b
mov eax, dword [esp + 0x88]
mov dword [edi], eax
jmp 0x5c6d27
mov eax, dword [esp + 0x88]
call fcn.00463860
lea eax, [0x674548]
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.005c61c0