Function at 0x5c0920
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 0x5c1561
sub esp, 0xb8
mov ecx, dword [esp + 0xc8]
test ecx, ecx
je 0x5c09e1
nop
movzx edx, byte [0x7bc410]
test dl, dl
je 0x5c0995
mov edx, dword [esp + 0xc8]
mov dword [0x7bc414], edx
mov ebx, dword [0x7e2780]
test ebx, ebx
jne 0x5c0981
mov eax, dword [esp + 0xcc]
mov dword [0x7bc418], eax
jmp 0x5c09a3
lea edi, [0x7bc418]
mov eax, dword [esp + 0xcc]
call fcn.00463860
jmp 0x5c09a3
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 0x5c09d7
nop
movzx ebx, byte [ecx + 0xf]
mov ebp, ebx
and ebx, 0x1f
xchg ebp, eax
test al, 0x20
xchg ebp, eax
jne 0x5c09d3
or ebx, 0x80
mov ebp, eax
jmp 0x5c09f5
mov ebp, eax
xor ebx, ebx
xor ecx, ecx
xor eax, eax
jmp 0x5c09f5
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 0x5c0a2c
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 + 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 0x5c0a42
mov edi, 2
jmp 0x5c0a62
lea edi, [esi - 7]
cmp edi, 4
ja 0x5c0a51
mov edi, 7
jmp 0x5c0a62
lea edi, [esi - 0xd]
cmp edi, 1
ja 0x5c0a60
mov edi, 0xd
jmp 0x5c0a62
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 0x5c0a96
test ebx, 0x200
jne 0x5c0a96
mov dword [esp + 0x4c], eax
lea eax, [0x675c20]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x4c]
jmp 0x5c0ad0
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.004c53d0
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 0x5c0c59
cmp esi, 3
ja 0x5c0aff
cmp esi, 2
jne 0x5c0aec
mov eax, dword [eax]
mov ecx, eax
sar eax, 0x1f
jmp 0x5c0b2a
cmp esi, 3
jne 0x5c1526
movsx eax, byte [eax]
mov ecx, eax
sar eax, 0x1f
jmp 0x5c0b2a
cmp esi, 4
jne 0x5c0b0e
movsx eax, word [eax]
mov ecx, eax
sar eax, 0x1f
jmp 0x5c0b2a
cmp esi, 5
jne 0x5c0b1c
mov eax, dword [eax]
mov ecx, eax
sar eax, 0x1f
jmp 0x5c0b2a
cmp esi, 6
jne 0x5c1526
mov ecx, dword [eax]
mov eax, dword [eax + 4]
test eax, eax
jge 0x5c0c27
mov edx, dword [esp + 0xbc]
mov edx, dword [edx]
movzx edx, byte [edx + 0xb]
test dl, dl
jne 0x5c0c27
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, [0x5f0d80]
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, [0x5f0640]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
lea eax, [0x629455]
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.004cb530
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.004c4e60
jmp 0x5c12f3
cmp edi, 7
jne 0x5c0ce6
cmp esi, 9
ja 0x5c0c8e
cmp esi, 7
jne 0x5c0c72
mov eax, dword [eax]
xor edx, edx
jmp 0x5c0cb4
cmp esi, 8
jne 0x5c0c7e
movzx eax, byte [eax]
xor edx, edx
jmp 0x5c0cb4
cmp esi, 9
jne 0x5c14ec
movzx eax, word [eax]
xor edx, edx
jmp 0x5c0cb4
cmp esi, 0xa
jne 0x5c0c99
mov eax, dword [eax]
xor edx, edx
jmp 0x5c0cb4
cmp esi, 0xb
jne 0x5c0ca7
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, ecx
jmp 0x5c0cb4
cmp esi, 0xc
jne 0x5c14ec
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.004c4e60
jmp 0x5c12f3
cmp edi, 0xd
jne 0x5c0e5b
cmp esi, 0xd
jne 0x5c0cfe
movss xmm0, dword [eax]
cvtss2sd xmm0, xmm0
jmp 0x5c0d0b
cmp esi, 0xe
jne 0x5c14b2
movsd xmm0, qword [eax]
xorps xmm1, xmm1
ucomisd xmm1, xmm0
jbe 0x5c0e17
mov eax, dword [esp + 0xbc]
mov eax, dword [eax]
movzx eax, byte [eax + 0xb]
test al, al
jne 0x5c0e17
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, [0x5f0d80]
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, [0x5efac0]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
lea eax, [0x629479]
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.004cb530
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.004c4e60
jmp 0x5c12f3
cmp edi, 1
jne 0x5c0f20
mov ebp, dword [esp + 0xbc]
mov edx, dword [ebp]
movzx edx, byte [edx + 0xb]
test dl, dl
je 0x5c0f12
cmp esi, 1
je 0x5c0e97
mov ecx, dword [esp + 0x68]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.004c1ab0
mov eax, dword [esp + 0x6c]
movzx eax, byte [eax]
test al, al
je 0x5c0ed8
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.004c4e60
jmp 0x5c12f3
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.004c4e60
jmp 0x5c12f3
mov edx, dword [esp + 0xc8]
mov ebp, dword [esp + 0xcc]
cmp edi, 0x18
jne 0x5c111a
mov edi, dword [esp + 0xbc]
mov edi, dword [edi]
movzx edi, byte [edi + 0xb]
xchg edi, eax
test al, al
xchg edi, eax
je 0x5c111a
cmp esi, 0x18
jne 0x5c0f4c
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x5c0f68
mov ecx, dword [esp + 0x68]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.004c52f0
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x5c0f77
mov eax, 1
lea ecx, [0x672d88]
mov dword [esp + 0x38], eax
mov dword [esp + 0x70], ecx
mov edx, dword [esp + 0xd8]
test edx, edx
je 0x5c0fa1
test edx, 0x200
jne 0x5c0fa1
lea ebx, [0x675c20]
mov ebp, dword [esp + 0xd0]
jmp 0x5c0fcb
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.004c53d0
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.004afc60
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 0x5c10e8
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, [0x5f0d80]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x5c1086
mov ebx, dword [eax + 4]
jmp 0x5c1088
mov ebx, eax
mov dword [esp + 0x90], ebx
mov eax, dword [esp + 0x78]
mov dword [esp + 0x94], eax
lea eax, [0x62641e]
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.004cb530
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.004c4e60
jmp 0x5c12f3
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 0x5c1139
xor eax, eax
jmp 0x5c1158
mov dword [esp], eax
lea eax, [0x61e7d9]
mov dword [esp + 4], eax
mov dword [esp + 8], 0xd
call fcn.00402a50
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5c1160
xor ecx, ecx
jmp 0x5c1190
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 0x5c118e
cmp dword [eax], 0x626d754e
jne 0x5c118e
cmp word [eax + 4], 0x7265
sete cl
jmp 0x5c1190
xor ecx, ecx
test cl, cl
je 0x5c1310
mov eax, dword [esp + 0xc8]
lea ecx, [0x5fdc00]
cmp eax, ecx
jne 0x5c149c
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.004afc60
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 0x5c12c6
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, [0x5f0d80]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x5c1264
mov ebx, dword [eax + 4]
jmp 0x5c1266
mov ebx, eax
mov dword [esp + 0x90], ebx
mov eax, dword [esp + 0x74]
mov dword [esp + 0x94], eax
lea eax, [0x629ff8]
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.004cb530
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.004c4e60
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
add esp, 0xb8
ret
mov ecx, dword [esp + 0xd8]
test ecx, ecx
je 0x5c133a
test ecx, 0x200
jne 0x5c133a
mov ecx, dword [esp + 0x3c]
test ecx, ecx
mov edx, ecx
lea eax, [0x675c20]
mov ecx, dword [esp + 0xd0]
jmp 0x5c1366
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.004c53d0
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 0x5c1384
test edx, 0x200
jne 0x5c1384
lea edx, [0x675c20]
mov ebx, dword [esp + 0x68]
jmp 0x5c13a8
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.004c53d0
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, [0x5f0d80]
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], ecx
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x5c13fd
mov eax, dword [ecx + 4]
jmp 0x5c13ff
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 0x5c141e
mov edx, dword [eax + 4]
jmp 0x5c1420
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, [0x62e59b]
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.004cb530
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, [0x5f06c0]
mov dword [esp + 8], eax
call fcn.00409340
lea eax, [0x5fc160]
mov dword [esp], eax
call fcn.0040bdb0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x13
lea ecx, [0x62136d]
mov dword [eax], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 8], ecx
lea ecx, [0x5f5120]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00435790
lea eax, [0x5fc160]
mov dword [esp], eax
call fcn.0040bdb0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x12
lea ecx, [0x620a15]
mov dword [eax], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 8], ecx
lea ecx, [0x5f5120]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00435790
lea eax, [0x5fc160]
mov dword [esp], eax
call fcn.0040bdb0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x11
lea ecx, [0x620207]
mov dword [eax], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 8], ecx
lea ecx, [0x5f5120]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00435790
nop
call fcn.00462450
jmp fcn.005c0920