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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x20]
cmp eax, dword [ecx + 8]
jbe 0x5c0916
sub esp, 0xa0
mov ecx, dword [esp + 0xb0]
test ecx, ecx
je 0x5bffd8
nop
movzx edx, byte [0x7bc410]
test dl, dl
je 0x5bff95
mov edx, dword [esp + 0xb0]
mov dword [0x7bc414], edx
mov ebx, dword [0x7e2780]
test ebx, ebx
jne 0x5bff81
mov eax, dword [esp + 0xb4]
mov dword [0x7bc418], eax
jmp 0x5bffa3
lea edi, [0x7bc418]
mov eax, dword [esp + 0xb4]
call fcn.00463860
jmp 0x5bffa3
mov eax, dword [esp + 0xb4]
mov edx, dword [esp + 0xb0]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x68]
test ecx, ecx
je 0x5bffce
nop
movzx ebx, byte [ecx + 0xf]
mov ebp, ebx
and ebx, 0x1f
xchg ebp, eax
test al, 0x20
xchg ebp, eax
jne 0x5bffca
or ebx, 0x80
mov ebp, eax
jmp 0x5bffec
mov ebp, eax
xor ebx, ebx
xor ecx, ecx
xor eax, eax
jmp 0x5bffec
mov edx, dword [esp + 0xb0]
mov ebp, dword [esp + 0xb4]
xor ebx, ebx
xor ecx, ecx
xor eax, eax
nop
mov esi, ebx
and ebx, 0x1f
cmp ebx, 0x16
jne 0x5c0023
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 + 0xb0]
mov ebp, dword [esp + 0xb4]
mov esi, ebx
nop
mov ebx, esi
and esi, 0x1f
lea edi, [esi - 2]
nop
cmp edi, 4
ja 0x5c0039
mov edi, 2
jmp 0x5c0059
lea edi, [esi - 7]
cmp edi, 4
ja 0x5c0048
mov edi, 7
jmp 0x5c0059
lea edi, [esi - 0xd]
cmp edi, 1
ja 0x5c0057
mov edi, 0xd
jmp 0x5c0059
mov edi, esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], ecx
test ebx, ebx
je 0x5c008d
test ebx, 0x200
jne 0x5c008d
mov dword [esp + 0x3c], eax
lea eax, [0x675c20]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x3c]
jmp 0x5c00c7
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 + 0xb0]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0xb4]
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x58]
cmp edi, 2
jne 0x5c0153
cmp esi, 3
ja 0x5c00f6
cmp esi, 2
jne 0x5c00e3
mov eax, dword [eax]
mov ecx, eax
sar eax, 0x1f
jmp 0x5c0121
cmp esi, 3
jne 0x5c08db
movsx eax, byte [eax]
mov ecx, eax
sar eax, 0x1f
jmp 0x5c0121
cmp esi, 4
jne 0x5c0105
movsx eax, word [eax]
mov ecx, eax
sar eax, 0x1f
jmp 0x5c0121
cmp esi, 5
jne 0x5c0113
mov eax, dword [eax]
mov ecx, eax
sar eax, 0x1f
jmp 0x5c0121
cmp esi, 6
jne 0x5c08db
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov edx, dword [esp + 0xb8]
mov dword [esp], edx
mov edx, dword [esp + 0xbc]
mov dword [esp + 4], edx
mov edx, dword [esp + 0xc0]
mov dword [esp + 8], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
call fcn.004c4880
jmp 0x5c06a8
cmp edi, 7
jne 0x5c01e0
cmp esi, 9
ja 0x5c0188
cmp esi, 7
jne 0x5c016c
mov eax, dword [eax]
xor edx, edx
jmp 0x5c01ae
cmp esi, 8
jne 0x5c0178
movzx eax, byte [eax]
xor edx, edx
jmp 0x5c01ae
cmp esi, 9
jne 0x5c08a1
movzx eax, word [eax]
xor edx, edx
jmp 0x5c01ae
cmp esi, 0xa
jne 0x5c0193
mov eax, dword [eax]
xor edx, edx
jmp 0x5c01ae
cmp esi, 0xb
jne 0x5c01a1
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, ecx
jmp 0x5c01ae
cmp esi, 0xc
jne 0x5c08a1
mov eax, dword [eax]
xor edx, edx
mov ecx, dword [esp + 0xb8]
mov dword [esp], ecx
mov ecx, dword [esp + 0xbc]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xc0]
mov dword [esp + 8], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
call fcn.004c4880
jmp 0x5c06a8
cmp edi, 0xd
jne 0x5c0245
cmp esi, 0xd
jne 0x5c01f4
movss xmm0, dword [eax]
cvtss2sd xmm0, xmm0
jmp 0x5c0201
cmp esi, 0xe
jne 0x5c0867
movsd xmm0, qword [eax]
movsd qword [esp], xmm0
call fcn.0045c6d0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xb8]
mov dword [esp], edx
mov edx, dword [esp + 0xbc]
mov dword [esp + 4], edx
mov edx, dword [esp + 0xc0]
mov dword [esp + 8], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
call fcn.004c4880
jmp 0x5c06a8
cmp edi, 1
jne 0x5c030a
mov ebp, dword [esp + 0xa4]
mov edx, dword [ebp]
movzx edx, byte [edx + 0xb]
test dl, dl
je 0x5c02fc
cmp esi, 1
je 0x5c0281
mov ecx, dword [esp + 0x54]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.004c1ab0
mov eax, dword [esp + 0x58]
movzx eax, byte [eax]
test al, al
je 0x5c02c2
mov eax, dword [esp + 0xb8]
mov dword [esp], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 8], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 1
call fcn.004c4880
jmp 0x5c06a8
mov eax, dword [esp + 0xb8]
mov dword [esp], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 8], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
call fcn.004c4880
jmp 0x5c06a8
mov edx, dword [esp + 0xb0]
mov ebp, dword [esp + 0xb4]
cmp edi, 0x18
jne 0x5c04e9
mov edi, dword [esp + 0xa4]
mov edi, dword [edi]
movzx edi, byte [edi + 0xb]
xchg edi, eax
test al, al
xchg edi, eax
je 0x5c04e9
cmp esi, 0x18
jne 0x5c0336
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x5c0352
mov ecx, dword [esp + 0x54]
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 0x5c0361
mov eax, 1
lea ecx, [0x672d88]
mov dword [esp + 0x30], eax
mov dword [esp + 0x5c], ecx
mov edx, dword [esp + 0xc0]
test edx, edx
je 0x5c038b
test edx, 0x200
jne 0x5c038b
lea ebx, [0x675c20]
mov ebp, dword [esp + 0xb8]
jmp 0x5c03b5
mov eax, dword [esp + 0xb8]
mov dword [esp], eax
mov ecx, dword [esp + 0xbc]
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 + 0x5c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
call fcn.004b0700
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 0x5c04b7
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], ebx
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov eax, dword [esp + 0xa8]
mov dword [esp], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 4], eax
call fcn.004096f0
mov eax, dword [esp + 8]
lea ecx, [0x5f0d80]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x64]
test eax, eax
je 0x5c045e
mov ebx, dword [eax + 4]
jmp 0x5c0460
mov ebx, eax
mov dword [esp + 0x78], ebx
mov eax, dword [esp + 0x60]
mov dword [esp + 0x7c], eax
lea eax, [0x625c92]
mov dword [esp], eax
mov dword [esp + 4], 0x1c
lea eax, [esp + 0x70]
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 + 0xc4], eax
mov dword [esp + 0xc8], ecx
add esp, 0xa0
ret
mov edx, dword [esp + 0xb8]
mov dword [esp], edx
mov edx, dword [esp + 0xbc]
mov dword [esp + 4], edx
mov edx, dword [esp + 0xc0]
mov dword [esp + 8], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
call fcn.004c4880
jmp 0x5c06a8
mov dword [esp + 0x50], ecx
mov eax, dword [esp + 0x28]
mov edx, dword [eax + 0x78]
mov dword [esp], ecx
call edx
mov eax, dword [esp + 4]
cmp dword [esp + 8], 0xd
je 0x5c0508
xor eax, eax
jmp 0x5c0527
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 0x5c052f
xor ecx, ecx
jmp 0x5c055f
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x60]
mov ecx, dword [esp + 0x50]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
cmp dword [esp + 8], 6
jne 0x5c055d
cmp dword [eax], 0x626d754e
jne 0x5c055d
cmp word [eax + 4], 0x7265
sete cl
jmp 0x5c055f
xor ecx, ecx
test cl, cl
je 0x5c06c5
mov eax, dword [esp + 0xb0]
lea ecx, [0x5fdc00]
cmp eax, ecx
jne 0x5c0851
mov eax, dword [esp + 0xb4]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
nop
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xa
mov dword [esp + 0xc], 0x40
call fcn.004b0700
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
test eax, eax
je 0x5c067b
mov dword [esp + 0x64], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov eax, dword [esp + 0xa8]
mov dword [esp], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 4], eax
call fcn.004096f0
mov eax, dword [esp + 8]
lea ecx, [0x5f0d80]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x64]
test eax, eax
je 0x5c0622
mov ecx, dword [eax + 4]
jmp 0x5c0624
mov ecx, eax
mov dword [esp + 0x78], ecx
mov eax, dword [esp + 0x44]
mov dword [esp + 0x7c], eax
lea eax, [0x629ff8]
mov dword [esp], eax
mov dword [esp + 4], 0x26
lea eax, [esp + 0x70]
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 + 0xc4], eax
mov dword [esp + 0xc8], ecx
add esp, 0xa0
ret
mov eax, dword [esp + 0xb8]
mov dword [esp], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 8], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], ebp
call fcn.004c4880
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
add esp, 0xa0
ret
mov ecx, dword [esp + 0xc0]
test ecx, ecx
je 0x5c06ef
test ecx, 0x200
jne 0x5c06ef
mov ecx, dword [esp + 0x34]
test ecx, ecx
mov edx, ecx
lea eax, [0x675c20]
mov ecx, dword [esp + 0xb8]
jmp 0x5c071b
mov eax, dword [esp + 0xb8]
mov dword [esp], eax
mov eax, dword [esp + 0xbc]
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 + 0x34]
test edx, edx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x24], eax
je 0x5c0739
test edx, 0x200
jne 0x5c0739
lea edx, [0x675c20]
mov ebx, dword [esp + 0x54]
jmp 0x5c075d
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov eax, dword [esp + 0x58]
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 + 0x20], edx
mov dword [esp + 0x48], ebx
lea edi, [esp + 0x80]
xor eax, eax
call fcn.00463a88
mov ecx, dword [esp + 0xa8]
mov dword [esp], ecx
mov ecx, dword [esp + 0xac]
mov dword [esp + 4], ecx
call fcn.004096f0
mov ecx, dword [esp + 8]
lea edx, [0x5f0d80]
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x5c07b2
mov eax, dword [ecx + 4]
jmp 0x5c07b4
mov eax, ecx
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x5c07d3
mov edx, dword [eax + 4]
jmp 0x5c07d5
mov edx, eax
mov dword [esp + 0x90], edx
mov eax, dword [esp + 0x48]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x9c], eax
lea eax, [0x62e59b]
mov dword [esp], eax
mov dword [esp + 4], 0x41
lea eax, [esp + 0x80]
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 + 0xc4], eax
mov dword [esp + 0xc8], ecx
add esp, 0xa0
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 + 0x38]
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 + 0x38]
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 + 0x38]
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.005bff20