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

Disassembly:
mov ecx, dword [0x7c3e14]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x14]
cmp eax, dword [ecx + 8]
jbe 0x5b2504
sub esp, 0x94
mov eax, dword [esp + 0xa4]
test eax, eax
je 0x5b1c23
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x5c]
test ecx, ecx
je 0x5b1c1b
movzx edx, byte [ecx + 0xf]
nop
mov ebx, edx
and edx, 0x1f
test bl, 0x20
jne 0x5b1c15
or edx, 0x80
mov ebx, dword [esp + 0x60]
jmp 0x5b1c30
xor edx, edx
xor ecx, ecx
xor ebx, ebx
jmp 0x5b1c30
mov eax, dword [esp + 0xa8]
xor edx, edx
xor ecx, ecx
xor ebx, ebx
mov ebp, edx
and edx, 0x1f
nop
cmp edx, 0x16
jne 0x5b1c60
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
call fcn.0048c8a0
mov ecx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0xa8]
mov ebp, edx
mov edx, ebp
and ebp, 0x1f
lea esi, [ebp - 2]
nop
nop
cmp esi, 4
ja 0x5b1c76
mov esi, 2
jmp 0x5b1c96
lea esi, [ebp - 7]
cmp esi, 4
ja 0x5b1c85
mov esi, 7
jmp 0x5b1c96
lea esi, [ebp - 0xd]
cmp esi, 1
ja 0x5b1c94
mov esi, 0xd
jmp 0x5b1c96
mov esi, ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x28], esi
mov dword [esp + 0x30], edx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], ecx
test edx, edx
je 0x5b1cc6
test edx, 0x200
jne 0x5b1cc6
mov edi, ecx
lea ecx, [0x65b040]
mov dword [esp + 0x24], ecx
mov ecx, edi
jmp 0x5b1cfd
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call fcn.0048f510
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x48]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xa8]
cmp esi, 2
jne 0x5b1d9f
cmp ebp, 3
ja 0x5b1d32
cmp ebp, 2
jne 0x5b1d1f
mov eax, dword [ebx]
mov ecx, eax
sar eax, 0x1f
mov edx, ecx
mov ecx, eax
mov eax, edx
jmp 0x5b1d5d
cmp ebp, 3
jne 0x5b24c9
movsx eax, byte [ebx]
mov ecx, eax
sar ecx, 0x1f
jmp 0x5b1d5d
cmp ebp, 4
jne 0x5b1d41
movsx eax, word [ebx]
mov ecx, eax
sar ecx, 0x1f
jmp 0x5b1d5d
cmp ebp, 5
jne 0x5b1d4f
mov eax, dword [ebx]
mov ecx, eax
sar ecx, 0x1f
jmp 0x5b1d5d
cmp ebp, 6
jne 0x5b24c9
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.0045f930
movsd xmm0, qword [esp + 8]
mov eax, dword [esp + 0xac]
mov dword [esp], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 8], eax
movsd qword [esp + 0xc], xmm0
call fcn.0048e8e0
jmp 0x5b22a5
cmp esi, 7
jne 0x5b1e3a
cmp ebp, 9
ja 0x5b1dd4
cmp ebp, 7
jne 0x5b1db8
mov eax, dword [ebx]
xor ecx, ecx
jmp 0x5b1df8
cmp ebp, 8
jne 0x5b1dc4
movzx eax, byte [ebx]
xor ecx, ecx
jmp 0x5b1df8
cmp ebp, 9
jne 0x5b248f
movzx eax, word [ebx]
xor ecx, ecx
jmp 0x5b1df8
cmp ebp, 0xa
jne 0x5b1ddf
mov eax, dword [ebx]
xor ecx, ecx
jmp 0x5b1df8
cmp ebp, 0xb
jne 0x5b1deb
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
jmp 0x5b1df8
cmp ebp, 0xc
jne 0x5b248f
mov eax, dword [ebx]
xor ecx, ecx
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.0045fa00
movsd xmm0, qword [esp + 8]
mov eax, dword [esp + 0xac]
mov dword [esp], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 8], eax
movsd qword [esp + 0xc], xmm0
call fcn.0048e8e0
jmp 0x5b22a5
cmp esi, 0xd
jne 0x5b1e8b
cmp ebp, 0xd
jne 0x5b1e4e
movss xmm0, dword [ebx]
cvtss2sd xmm0, xmm0
jmp 0x5b1e5b
cmp ebp, 0xe
jne 0x5b2455
movsd xmm0, qword [ebx]
mov eax, dword [esp + 0xac]
mov dword [esp], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 8], eax
movsd qword [esp + 0xc], xmm0
call fcn.0048e8e0
jmp 0x5b22a5
cmp esi, 1
jne 0x5b1f43
mov eax, dword [esp + 0x98]
mov edx, dword [eax]
movzx edx, byte [edx + 0xb]
test dl, dl
je 0x5b1f38
cmp ebp, 1
je 0x5b1ec6
mov dword [esp], edi
mov dword [esp + 4], ebx
mov eax, dword [esp + 0x30]
mov dword [esp + 8], eax
call fcn.0048b820
mov ebx, dword [esp + 0x4c]
movzx eax, byte [ebx]
test al, al
je 0x5b1f05
mov eax, dword [esp + 0xac]
mov dword [esp], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 8], eax
movsd xmm0, qword [0x659418]
movsd qword [esp + 0xc], xmm0
call fcn.0048e8e0
jmp 0x5b22a5
mov eax, dword [esp + 0xac]
mov dword [esp], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 8], eax
xorps xmm0, xmm0
movsd qword [esp + 0xc], xmm0
call fcn.0048e8e0
jmp 0x5b22a5
mov eax, dword [esp + 0xa8]
mov edx, dword [esp + 0x30]
cmp esi, 0x18
jne 0x5b2102
mov esi, dword [esp + 0x98]
mov esi, dword [esi]
movzx esi, byte [esi + 0xb]
xchg esi, eax
test al, al
xchg esi, eax
je 0x5b2102
cmp ebp, 0x18
jne 0x5b1f6f
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
jmp 0x5b1f87
mov dword [esp], edi
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call fcn.0048f430
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x5b1f96
mov ecx, 1
lea eax, [0x657e34]
mov dword [esp + 0x50], eax
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0xb4]
test edx, edx
je 0x5b1fc0
test edx, 0x200
jne 0x5b1fc0
lea ebx, [0x65b040]
mov ebp, dword [esp + 0xac]
jmp 0x5b1fea
mov eax, dword [esp + 0xac]
mov dword [esp], eax
mov ecx, dword [esp + 0xb0]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0048f510
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 + 0x50]
mov dword [esp], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00475be0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
test eax, eax
je 0x5b20d8
mov dword [esp + 0x54], ecx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x58], eax
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov ecx, dword [esp + 0x9c]
mov dword [esp], ecx
mov ecx, dword [esp + 0xa0]
mov dword [esp + 4], ecx
call fcn.00409c60
mov eax, dword [esp + 8]
lea ecx, [0x5dda40]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x58]
test eax, eax
je 0x5b2081
mov eax, dword [eax + 4]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x70], eax
lea eax, [0x6151cc]
mov dword [esp], eax
mov dword [esp + 4], 0x1e
lea eax, [esp + 0x64]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004c4e90
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ecx
add esp, 0x94
ret
mov eax, dword [esp + 0xac]
mov dword [esp], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 8], eax
call fcn.0048e8e0
jmp 0x5b22a5
mov dword [esp + 0x44], ecx
mov eax, dword [esp + 0x24]
mov edx, dword [eax + 0x78]
mov dword [esp], ecx
call edx
cmp dword [esp + 8], 0xd
je 0x5b211d
xor eax, eax
jmp 0x5b2140
mov eax, dword [esp + 4]
mov dword [esp], eax
lea eax, [0x60cf3e]
mov dword [esp + 4], eax
mov dword [esp + 8], 0xd
call fcn.00403320
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5b2148
xor ecx, ecx
jmp 0x5b2178
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x60]
mov ecx, dword [esp + 0x44]
mov dword [esp], ecx
call eax
cmp dword [esp + 8], 6
jne 0x5b2176
mov ecx, dword [esp + 4]
cmp dword [ecx], 0x626d754e
jne 0x5b2176
cmp word [ecx + 4], 0x7265
sete cl
jmp 0x5b2178
xor ecx, ecx
test cl, cl
je 0x5b22c2
mov eax, dword [esp + 0xa4]
lea ecx, [0x5ebe00]
cmp eax, ecx
jne 0x5b243f
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
nop
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x40
call fcn.00475be0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
test eax, eax
je 0x5b2280
mov dword [esp + 0x38], ecx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x58], eax
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov ecx, dword [esp + 0x9c]
mov dword [esp], ecx
mov ecx, dword [esp + 0xa0]
mov dword [esp + 4], ecx
call fcn.00409c60
mov eax, dword [esp + 8]
lea ecx, [0x5dda40]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x58]
test eax, eax
je 0x5b2229
mov eax, dword [eax + 4]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x70], eax
lea eax, [0x617d58]
mov dword [esp], eax
mov dword [esp + 4], 0x26
lea eax, [esp + 0x64]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004c4e90
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ecx
add esp, 0x94
ret
mov eax, dword [esp + 0xac]
mov dword [esp], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 8], eax
call fcn.0048e8e0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
add esp, 0x94
ret
mov ecx, dword [esp + 0xb4]
test ecx, ecx
je 0x5b22ec
test ecx, 0x200
jne 0x5b22ec
mov ecx, dword [esp + 0x30]
test ecx, ecx
mov edx, ecx
lea eax, [0x65b040]
mov ecx, dword [esp + 0xac]
jmp 0x5b2318
mov eax, dword [esp + 0xac]
mov dword [esp], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0048f510
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x30]
test edx, edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x40], ecx
je 0x5b2336
test edx, 0x200
jne 0x5b2336
lea edx, [0x65b040]
mov ebx, dword [esp + 0x48]
jmp 0x5b235a
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.0048f510
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, eax
mov ebx, ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x3c], ebx
lea edi, [esp + 0x74]
xor eax, eax
call fcn.00468608
mov ecx, dword [esp + 0x9c]
mov dword [esp], ecx
mov ecx, dword [esp + 0xa0]
mov dword [esp + 4], ecx
call fcn.00409c60
mov ecx, dword [esp + 8]
lea edx, [0x5dda40]
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x5b23a6
mov eax, dword [ecx + 4]
jmp 0x5b23a8
mov eax, ecx
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x5b23c4
mov edx, dword [eax + 4]
jmp 0x5b23c6
mov edx, eax
mov dword [esp + 0x84], edx
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x90], eax
lea eax, [0x61bc79]
mov dword [esp], eax
mov dword [esp + 4], 0x41
lea eax, [esp + 0x74]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 4
mov dword [esp + 0x10], 4
call fcn.004c4e90
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ecx
add esp, 0x94
ret
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x5ded40]
mov dword [esp + 8], eax
call fcn.004098f0
lea eax, [0x5e9700]
mov dword [esp], eax
call fcn.0040c420
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x13
lea ecx, [0x60f079]
mov dword [eax], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 8], ecx
lea ecx, [0x5e2140]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004382f0
lea eax, [0x5e9700]
mov dword [esp], eax
call fcn.0040c420
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x12
lea ecx, [0x60e93a]
mov dword [eax], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 8], ecx
lea ecx, [0x5e2140]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004382f0
lea eax, [0x5e9700]
mov dword [esp], eax
call fcn.0040c420
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x11
lea ecx, [0x60e34e]
mov dword [eax], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 8], ecx
lea ecx, [0x5e2140]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004382f0
nop
call fcn.00467000
jmp fcn.005b1bc0