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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x38]
cmp eax, dword [ecx + 8]
jbe 0x5c1901
sub esp, 0xb8
mov ecx, dword [esp + 0xc8]
test ecx, ecx
je 0x5c0d81
nop
movzx edx, byte [0x7bd150]
test dl, dl
je 0x5c0d35
mov edx, dword [esp + 0xc8]
mov dword [0x7bd154], edx
mov ebx, dword [0x7e34c0]
test ebx, ebx
jne 0x5c0d21
mov eax, dword [esp + 0xcc]
mov dword [0x7bd158], eax
jmp 0x5c0d43
lea edi, [0x7bd158]
mov eax, dword [esp + 0xcc]
call fcn.00463860
jmp 0x5c0d43
mov eax, dword [esp + 0xcc]
mov edx, dword [esp + 0xc8]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
mov ecx, dword [esp + 0x80]
test ecx, ecx
je 0x5c0d77
nop
movzx ebx, byte [ecx + 0xf]
mov ebp, ebx
and ebx, 0x1f
xchg ebp, eax
test al, 0x20
xchg ebp, eax
jne 0x5c0d73
or ebx, 0x80
mov ebp, eax
jmp 0x5c0d95
mov ebp, eax
xor ebx, ebx
xor ecx, ecx
xor eax, eax
jmp 0x5c0d95
mov edx, dword [esp + 0xc8]
mov ebp, dword [esp + 0xcc]
xor ebx, ebx
xor ecx, ecx
xor eax, eax
nop
mov esi, ebx
and ebx, 0x1f
cmp ebx, 0x16
jne 0x5c0dcc
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 + 0xc8]
mov ebp, dword [esp + 0xcc]
mov esi, ebx
nop
mov ebx, esi
and esi, 0x1f
lea edi, [esi - 2]
nop
cmp edi, 4
ja 0x5c0de2
mov edi, 2
jmp 0x5c0e02
lea edi, [esi - 7]
cmp edi, 4
ja 0x5c0df1
mov edi, 7
jmp 0x5c0e02
lea edi, [esi - 0xd]
cmp edi, 1
ja 0x5c0e00
mov edi, 0xd
jmp 0x5c0e02
mov edi, esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x34], edi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], ecx
test ebx, ebx
je 0x5c0e36
test ebx, 0x200
jne 0x5c0e36
mov dword [esp + 0x4c], eax
lea eax, [0x676140]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x4c]
jmp 0x5c0e70
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.004c53c0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc8]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0xcc]
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x34]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x6c]
cmp edi, 2
jne 0x5c0ff9
cmp esi, 3
ja 0x5c0e9f
cmp esi, 2
jne 0x5c0e8c
mov eax, dword [eax]
mov ecx, eax
sar eax, 0x1f
jmp 0x5c0eca
cmp esi, 3
jne 0x5c18c6
movsx eax, byte [eax]
mov ecx, eax
sar eax, 0x1f
jmp 0x5c0eca
cmp esi, 4
jne 0x5c0eae
movsx eax, word [eax]
mov ecx, eax
sar eax, 0x1f
jmp 0x5c0eca
cmp esi, 5
jne 0x5c0ebc
mov eax, dword [eax]
mov ecx, eax
sar eax, 0x1f
jmp 0x5c0eca
cmp esi, 6
jne 0x5c18c6
mov ecx, dword [eax]
mov eax, dword [eax + 4]
test eax, eax
jge 0x5c0fc7
mov edx, dword [esp + 0xbc]
mov edx, dword [edx]
movzx edx, byte [edx + 0xb]
test dl, dl
jne 0x5c0fc7
mov dword [esp + 0x20], ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov eax, dword [esp + 0xc0]
mov dword [esp], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 4], eax
call fcn.004096f0
mov eax, dword [esp + 8]
lea ecx, [0x5f0dc0]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.00409640
mov eax, dword [esp + 8]
lea ecx, [0x5f0680]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
lea eax, [0x629509]
mov dword [esp], eax
mov dword [esp + 4], 0x24
lea eax, [esp + 0x88]
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 + 0xdc], eax
mov dword [esp + 0xe0], ecx
add esp, 0xb8
ret
mov edx, dword [esp + 0xd0]
mov dword [esp], edx
mov edx, dword [esp + 0xd4]
mov dword [esp + 4], edx
mov edx, dword [esp + 0xd8]
mov dword [esp + 8], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
call fcn.004c4e50
jmp 0x5c1693
cmp edi, 7
jne 0x5c1086
cmp esi, 9
ja 0x5c102e
cmp esi, 7
jne 0x5c1012
mov eax, dword [eax]
xor edx, edx
jmp 0x5c1054
cmp esi, 8
jne 0x5c101e
movzx eax, byte [eax]
xor edx, edx
jmp 0x5c1054
cmp esi, 9
jne 0x5c188c
movzx eax, word [eax]
xor edx, edx
jmp 0x5c1054
cmp esi, 0xa
jne 0x5c1039
mov eax, dword [eax]
xor edx, edx
jmp 0x5c1054
cmp esi, 0xb
jne 0x5c1047
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, ecx
jmp 0x5c1054
cmp esi, 0xc
jne 0x5c188c
mov eax, dword [eax]
xor edx, edx
mov ecx, dword [esp + 0xd0]
mov dword [esp], ecx
mov ecx, dword [esp + 0xd4]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xd8]
mov dword [esp + 8], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
call fcn.004c4e50
jmp 0x5c1693
cmp edi, 0xd
jne 0x5c11fb
cmp esi, 0xd
jne 0x5c109e
movss xmm0, dword [eax]
cvtss2sd xmm0, xmm0
jmp 0x5c10ab
cmp esi, 0xe
jne 0x5c1852
movsd xmm0, qword [eax]
xorps xmm1, xmm1
ucomisd xmm1, xmm0
jbe 0x5c11b7
mov eax, dword [esp + 0xbc]
mov eax, dword [eax]
movzx eax, byte [eax + 0xb]
test al, al
jne 0x5c11b7
movsd qword [esp + 0x44], xmm0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov eax, dword [esp + 0xc0]
mov dword [esp], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 4], eax
call fcn.004096f0
mov eax, dword [esp + 8]
lea ecx, [0x5f0dc0]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
movsd xmm0, qword [esp + 0x44]
movsd qword [esp + 0x54], xmm0
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.00409640
mov eax, dword [esp + 8]
lea ecx, [0x5efb00]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
lea eax, [0x62952d]
mov dword [esp], eax
mov dword [esp + 4], 0x24
lea eax, [esp + 0x88]
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 + 0xdc], eax
mov dword [esp + 0xe0], ecx
add esp, 0xb8
ret
movsd qword [esp], xmm0
call fcn.0045c720
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xd0]
mov dword [esp], edx
mov edx, dword [esp + 0xd4]
mov dword [esp + 4], edx
mov edx, dword [esp + 0xd8]
mov dword [esp + 8], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
call fcn.004c4e50
jmp 0x5c1693
cmp edi, 1
jne 0x5c12c0
mov ebp, dword [esp + 0xbc]
mov edx, dword [ebp]
movzx edx, byte [edx + 0xb]
test dl, dl
je 0x5c12b2
cmp esi, 1
je 0x5c1237
mov ecx, dword [esp + 0x68]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.004c1aa0
mov eax, dword [esp + 0x6c]
movzx eax, byte [eax]
test al, al
je 0x5c1278
mov eax, dword [esp + 0xd0]
mov dword [esp], eax
mov eax, dword [esp + 0xd4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xd8]
mov dword [esp + 8], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 1
call fcn.004c4e50
jmp 0x5c1693
mov eax, dword [esp + 0xd0]
mov dword [esp], eax
mov eax, dword [esp + 0xd4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xd8]
mov dword [esp + 8], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
call fcn.004c4e50
jmp 0x5c1693
mov edx, dword [esp + 0xc8]
mov ebp, dword [esp + 0xcc]
cmp edi, 0x18
jne 0x5c14ba
mov edi, dword [esp + 0xbc]
mov edi, dword [edi]
movzx edi, byte [edi + 0xb]
xchg edi, eax
test al, al
xchg edi, eax
je 0x5c14ba
cmp esi, 0x18
jne 0x5c12ec
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x5c1308
mov ecx, dword [esp + 0x68]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.004c52e0
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x5c1317
mov eax, 1
lea ecx, [0x6732a4]
mov dword [esp + 0x38], eax
mov dword [esp + 0x70], ecx
mov edx, dword [esp + 0xd8]
test edx, edx
je 0x5c1341
test edx, 0x200
jne 0x5c1341
lea ebx, [0x676140]
mov ebp, dword [esp + 0xd0]
jmp 0x5c136b
mov eax, dword [esp + 0xd0]
mov dword [esp], eax
mov ecx, dword [esp + 0xd4]
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 eax, dword [ebx + 0x18]
mov dword [esp], ebp
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x70]
mov dword [esp], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
call fcn.004afc50
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
test edx, edx
je 0x5c1488
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov eax, dword [esp + 0xc0]
mov dword [esp], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 4], eax
call fcn.004096f0
mov eax, dword [esp + 8]
lea ecx, [0x5f0dc0]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x5c1426
mov ebx, dword [eax + 4]
jmp 0x5c1428
mov ebx, eax
mov dword [esp + 0x90], ebx
mov eax, dword [esp + 0x78]
mov dword [esp + 0x94], eax
lea eax, [0x6264b6]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
lea eax, [esp + 0x88]
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 + 0xdc], eax
mov dword [esp + 0xe0], ecx
add esp, 0xb8
ret
mov edx, dword [esp + 0xd0]
mov dword [esp], edx
mov edx, dword [esp + 0xd4]
mov dword [esp + 4], edx
mov edx, dword [esp + 0xd8]
mov dword [esp + 8], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
call fcn.004c4e50
jmp 0x5c1693
mov dword [esp + 0x64], ecx
mov eax, dword [esp + 0x2c]
mov edx, dword [eax + 0x78]
mov dword [esp], ecx
call edx
mov eax, dword [esp + 4]
cmp dword [esp + 8], 0xd
je 0x5c14d9
xor eax, eax
jmp 0x5c14f8
mov dword [esp], eax
lea eax, [0x61e84b]
mov dword [esp + 4], eax
mov dword [esp + 8], 0xd
call fcn.00402a50
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5c1500
xor ecx, ecx
jmp 0x5c1530
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x60]
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
cmp dword [esp + 8], 6
jne 0x5c152e
cmp dword [eax], 0x626d754e
jne 0x5c152e
cmp word [eax + 4], 0x7265
sete cl
jmp 0x5c1530
xor ecx, ecx
test cl, cl
je 0x5c16b0
mov eax, dword [esp + 0xc8]
lea ecx, [0x5fdc40]
cmp eax, ecx
jne 0x5c183c
mov eax, dword [esp + 0xcc]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0x40
call fcn.004afc50
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
test edx, edx
je 0x5c1666
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x74], ebp
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov eax, dword [esp + 0xc0]
mov dword [esp], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 4], eax
call fcn.004096f0
mov eax, dword [esp + 8]
lea ecx, [0x5f0dc0]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x5c1604
mov ebx, dword [eax + 4]
jmp 0x5c1606
mov ebx, eax
mov dword [esp + 0x90], ebx
mov eax, dword [esp + 0x74]
mov dword [esp + 0x94], eax
lea eax, [0x62a0ac]
mov dword [esp], eax
mov dword [esp + 4], 0x26
lea eax, [esp + 0x88]
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 + 0xdc], eax
mov dword [esp + 0xe0], ecx
add esp, 0xb8
ret
mov edx, dword [esp + 0xd0]
mov dword [esp], edx
mov edx, dword [esp + 0xd4]
mov dword [esp + 4], edx
mov edx, dword [esp + 0xd8]
mov dword [esp + 8], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
call fcn.004c4e50
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
add esp, 0xb8
ret
mov ecx, dword [esp + 0xd8]
test ecx, ecx
je 0x5c16da
test ecx, 0x200
jne 0x5c16da
mov ecx, dword [esp + 0x3c]
test ecx, ecx
mov edx, ecx
lea eax, [0x676140]
mov ecx, dword [esp + 0xd0]
jmp 0x5c1706
mov eax, dword [esp + 0xd0]
mov dword [esp], eax
mov eax, dword [esp + 0xd4]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004c53c0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x3c]
test edx, edx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x28], eax
je 0x5c1724
test edx, 0x200
jne 0x5c1724
lea edx, [0x676140]
mov ebx, dword [esp + 0x68]
jmp 0x5c1748
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004c53c0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, eax
mov ebx, ecx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x24], edx
lea edi, [esp + 0x98]
xor eax, eax
call fcn.00463a88
mov ecx, dword [esp + 0xc0]
mov dword [esp], ecx
mov ecx, dword [esp + 0xc4]
mov dword [esp + 4], ecx
call fcn.004096f0
mov ecx, dword [esp + 8]
lea edx, [0x5f0dc0]
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], ecx
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x5c179d
mov eax, dword [ecx + 4]
jmp 0x5c179f
mov eax, ecx
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x24]
test eax, eax
je 0x5c17be
mov edx, dword [eax + 4]
jmp 0x5c17c0
mov edx, eax
mov dword [esp + 0xa8], edx
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0xcc]
mov dword [esp + 0xb4], eax
lea eax, [0x62e67b]
mov dword [esp], eax
mov dword [esp + 4], 0x41
lea eax, [esp + 0x98]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 4
mov dword [esp + 0x10], 4
call fcn.004cb520
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], ecx
add esp, 0xb8
ret
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x5f0700]
mov dword [esp + 8], eax
call fcn.00409340
lea eax, [0x5fc1a0]
mov dword [esp], eax
call fcn.0040bdb0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x13
lea ecx, [0x621412]
mov dword [eax], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 8], ecx
lea ecx, [0x5f5160]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00435790
lea eax, [0x5fc1a0]
mov dword [esp], eax
call fcn.0040bdb0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x12
lea ecx, [0x620a95]
mov dword [eax], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 8], ecx
lea ecx, [0x5f5160]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00435790
lea eax, [0x5fc1a0]
mov dword [esp], eax
call fcn.0040bdb0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x11
lea ecx, [0x620287]
mov dword [eax], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 8], ecx
lea ecx, [0x5f5160]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00435790
nop
call fcn.00462450
jmp fcn.005c0cc0