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

Disassembly:
mov ecx, dword [0x7c3e14]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x30]
cmp eax, dword [ecx + 8]
jbe 0x5b1362
sub esp, 0xb0
mov eax, dword [esp + 0xc0]
test eax, eax
je 0x5b0803
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x7c], eax
mov ecx, dword [esp + 0x78]
test ecx, ecx
je 0x5b07fb
movzx edx, byte [ecx + 0xf]
nop
mov ebx, edx
and edx, 0x1f
test bl, 0x20
jne 0x5b07f5
or edx, 0x80
mov ebx, dword [esp + 0x7c]
jmp 0x5b0810
xor edx, edx
xor ecx, ecx
xor ebx, ebx
jmp 0x5b0810
mov eax, dword [esp + 0xc4]
xor edx, edx
xor ecx, ecx
xor ebx, ebx
mov ebp, edx
and edx, 0x1f
nop
cmp edx, 0x16
jne 0x5b0840
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 + 0xc4]
mov ebp, edx
mov edx, ebp
and ebp, 0x1f
lea esi, [ebp - 2]
nop
nop
cmp esi, 4
ja 0x5b0856
mov esi, 2
jmp 0x5b0876
lea esi, [ebp - 7]
cmp esi, 4
ja 0x5b0865
mov esi, 7
jmp 0x5b0876
lea esi, [ebp - 0xd]
cmp esi, 1
ja 0x5b0874
mov esi, 0xd
jmp 0x5b0876
mov esi, ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x34], esi
mov dword [esp + 0x3c], edx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], ecx
test edx, edx
je 0x5b08a6
test edx, 0x200
jne 0x5b08a6
mov edi, ecx
lea ecx, [0x65b040]
mov dword [esp + 0x2c], ecx
mov ecx, edi
jmp 0x5b08dd
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 + 0x3c]
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x60]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xc4]
cmp esi, 2
jne 0x5b0a6c
cmp ebp, 3
ja 0x5b0912
cmp ebp, 2
jne 0x5b08ff
mov eax, dword [ebx]
mov ecx, eax
sar eax, 0x1f
mov edx, ecx
mov ecx, eax
mov eax, edx
jmp 0x5b093d
cmp ebp, 3
jne 0x5b1327
movsx eax, byte [ebx]
mov ecx, eax
sar ecx, 0x1f
jmp 0x5b093d
cmp ebp, 4
jne 0x5b0921
movsx eax, word [ebx]
mov ecx, eax
sar ecx, 0x1f
jmp 0x5b093d
cmp ebp, 5
jne 0x5b092f
mov eax, dword [ebx]
mov ecx, eax
sar ecx, 0x1f
jmp 0x5b093d
cmp ebp, 6
jne 0x5b1327
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
test ecx, ecx
jge 0x5b0a3a
mov edx, dword [esp + 0xb4]
mov edx, dword [edx]
movzx edx, byte [edx + 0xb]
test dl, dl
jne 0x5b0a3a
mov dword [esp + 0x20], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov eax, dword [esp + 0xb8]
mov dword [esp], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 4], eax
call fcn.00409c60
mov eax, dword [esp + 8]
lea ecx, [0x5dda40]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.00409bb0
mov eax, dword [esp + 8]
lea ecx, [0x5ddc80]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
lea eax, [0x6173de]
mov dword [esp], eax
mov dword [esp + 4], 0x24
lea eax, [esp + 0x80]
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 + 0xd4], eax
mov dword [esp + 0xd8], ecx
add esp, 0xb0
ret
mov edx, dword [esp + 0xc8]
mov dword [esp], edx
mov edx, dword [esp + 0xcc]
mov dword [esp + 4], edx
mov edx, dword [esp + 0xd0]
mov dword [esp + 8], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
call fcn.0048ef80
jmp 0x5b10f4
cmp esi, 7
jne 0x5b0af7
cmp ebp, 9
ja 0x5b0aa1
cmp ebp, 7
jne 0x5b0a85
mov eax, dword [ebx]
xor ecx, ecx
jmp 0x5b0ac5
cmp ebp, 8
jne 0x5b0a91
movzx eax, byte [ebx]
xor ecx, ecx
jmp 0x5b0ac5
cmp ebp, 9
jne 0x5b12ed
movzx eax, word [ebx]
xor ecx, ecx
jmp 0x5b0ac5
cmp ebp, 0xa
jne 0x5b0aac
mov eax, dword [ebx]
xor ecx, ecx
jmp 0x5b0ac5
cmp ebp, 0xb
jne 0x5b0ab8
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
jmp 0x5b0ac5
cmp ebp, 0xc
jne 0x5b12ed
mov eax, dword [ebx]
xor ecx, ecx
mov edx, dword [esp + 0xc8]
mov dword [esp], edx
mov edx, dword [esp + 0xcc]
mov dword [esp + 4], edx
mov edx, dword [esp + 0xd0]
mov dword [esp + 8], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
call fcn.0048ef80
jmp 0x5b10f4
cmp esi, 0xd
jne 0x5b0c6c
cmp ebp, 0xd
jne 0x5b0b0f
movss xmm0, dword [ebx]
cvtss2sd xmm0, xmm0
jmp 0x5b0b1c
cmp ebp, 0xe
jne 0x5b12b3
movsd xmm0, qword [ebx]
xorps xmm1, xmm1
ucomisd xmm1, xmm0
jbe 0x5b0c28
mov eax, dword [esp + 0xb4]
mov eax, dword [eax]
movzx eax, byte [eax + 0xb]
test al, al
jne 0x5b0c28
movsd qword [esp + 0x44], xmm0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov eax, dword [esp + 0xb8]
mov dword [esp], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 4], eax
call fcn.00409c60
mov eax, dword [esp + 8]
lea ecx, [0x5dda40]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
movsd xmm0, qword [esp + 0x44]
movsd qword [esp + 0x4c], xmm0
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.00409bb0
mov eax, dword [esp + 8]
lea ecx, [0x5ddb80]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
lea eax, [0x617402]
mov dword [esp], eax
mov dword [esp + 4], 0x24
lea eax, [esp + 0x80]
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 + 0xd4], eax
mov dword [esp + 0xd8], ecx
add esp, 0xb0
ret
movsd qword [esp], xmm0
call fcn.0045f8e0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc8]
mov dword [esp], edx
mov edx, dword [esp + 0xcc]
mov dword [esp + 4], edx
mov edx, dword [esp + 0xd0]
mov dword [esp + 8], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
call fcn.0048ef80
jmp 0x5b10f4
cmp esi, 1
jne 0x5b0d2d
mov eax, dword [esp + 0xb4]
mov edx, dword [eax]
movzx edx, byte [edx + 0xb]
test dl, dl
je 0x5b0d22
cmp ebp, 1
je 0x5b0ca7
mov dword [esp], edi
mov dword [esp + 4], ebx
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
call fcn.0048b820
mov ebx, dword [esp + 0x64]
movzx eax, byte [ebx]
test al, al
je 0x5b0ce8
mov eax, dword [esp + 0xc8]
mov dword [esp], eax
mov eax, dword [esp + 0xcc]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xd0]
mov dword [esp + 8], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 1
call fcn.0048ef80
jmp 0x5b10f4
mov eax, dword [esp + 0xc8]
mov dword [esp], eax
mov eax, dword [esp + 0xcc]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xd0]
mov dword [esp + 8], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
call fcn.0048ef80
jmp 0x5b10f4
mov eax, dword [esp + 0xc4]
mov edx, dword [esp + 0x3c]
cmp esi, 0x18
jne 0x5b0f1f
mov esi, dword [esp + 0xb4]
mov esi, dword [esi]
movzx esi, byte [esi + 0xb]
xchg esi, eax
test al, al
xchg esi, eax
je 0x5b0f1f
cmp ebp, 0x18
jne 0x5b0d59
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
jmp 0x5b0d71
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 0x5b0d80
mov ecx, 1
lea eax, [0x657e34]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x68], eax
mov edx, dword [esp + 0xd0]
test edx, edx
je 0x5b0daa
test edx, 0x200
jne 0x5b0daa
lea ebx, [0x65b040]
mov ebp, dword [esp + 0xc8]
jmp 0x5b0dd4
mov eax, dword [esp + 0xc8]
mov dword [esp], eax
mov ecx, dword [esp + 0xcc]
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 + 0x68]
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.00476380
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
test eax, eax
je 0x5b0ee5
mov dword [esp + 0x70], ecx
mov eax, dword [esp + 0x18]
mov dword [esp + 0x74], eax
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov ecx, dword [esp + 0xb8]
mov dword [esp], ecx
mov ecx, dword [esp + 0xbc]
mov dword [esp + 4], ecx
call fcn.00409c60
mov eax, dword [esp + 8]
lea ecx, [0x5dda40]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x74]
test eax, eax
je 0x5b0e85
mov eax, dword [eax + 4]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x8c], eax
lea eax, [0x6149f8]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
lea eax, [esp + 0x80]
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 + 0xd4], eax
mov dword [esp + 0xd8], ecx
add esp, 0xb0
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc8]
mov dword [esp], edx
mov edx, dword [esp + 0xcc]
mov dword [esp + 4], edx
mov edx, dword [esp + 0xd0]
mov dword [esp + 8], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
call fcn.0048ef80
jmp 0x5b10f4
mov dword [esp + 0x5c], ecx
mov eax, dword [esp + 0x2c]
mov edx, dword [eax + 0x78]
mov dword [esp], ecx
call edx
cmp dword [esp + 8], 0xd
je 0x5b0f3a
xor eax, eax
jmp 0x5b0f5d
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 0x5b0f65
xor ecx, ecx
jmp 0x5b0f95
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x60]
mov ecx, dword [esp + 0x5c]
mov dword [esp], ecx
call eax
cmp dword [esp + 8], 6
jne 0x5b0f93
mov ecx, dword [esp + 4]
cmp dword [ecx], 0x626d754e
jne 0x5b0f93
cmp word [ecx + 4], 0x7265
sete cl
jmp 0x5b0f95
xor ecx, ecx
test cl, cl
je 0x5b1111
mov eax, dword [esp + 0xc0]
lea ecx, [0x5ebe00]
cmp eax, ecx
jne 0x5b129d
mov eax, dword [esp + 0xc4]
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.00476380
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
test eax, eax
je 0x5b10bf
mov dword [esp + 0x6c], ecx
mov eax, dword [esp + 0x18]
mov dword [esp + 0x74], eax
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov ecx, dword [esp + 0xb8]
mov dword [esp], ecx
mov ecx, dword [esp + 0xbc]
mov dword [esp + 4], ecx
call fcn.00409c60
mov eax, dword [esp + 8]
lea ecx, [0x5dda40]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x74]
test eax, eax
je 0x5b105f
mov eax, dword [eax + 4]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x8c], eax
lea eax, [0x617d58]
mov dword [esp], eax
mov dword [esp + 4], 0x26
lea eax, [esp + 0x80]
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 + 0xd4], eax
mov dword [esp + 0xd8], ecx
add esp, 0xb0
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc8]
mov dword [esp], edx
mov edx, dword [esp + 0xcc]
mov dword [esp + 4], edx
mov edx, dword [esp + 0xd0]
mov dword [esp + 8], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
call fcn.0048ef80
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
add esp, 0xb0
ret
mov ecx, dword [esp + 0xd0]
test ecx, ecx
je 0x5b113b
test ecx, 0x200
jne 0x5b113b
mov ecx, dword [esp + 0x3c]
test ecx, ecx
mov edx, ecx
lea eax, [0x65b040]
mov ecx, dword [esp + 0xc8]
jmp 0x5b1167
mov eax, dword [esp + 0xc8]
mov dword [esp], eax
mov eax, dword [esp + 0xcc]
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 + 0x3c]
test edx, edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x58], ecx
je 0x5b1185
test edx, 0x200
jne 0x5b1185
lea edx, [0x65b040]
mov ebx, dword [esp + 0x60]
jmp 0x5b11a9
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov eax, dword [esp + 0x64]
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 + 0x24], edx
mov dword [esp + 0x54], ebx
lea edi, [esp + 0x90]
xor eax, eax
call fcn.00468608
mov ecx, dword [esp + 0xb8]
mov dword [esp], ecx
mov ecx, dword [esp + 0xbc]
mov dword [esp + 4], ecx
call fcn.00409c60
mov ecx, dword [esp + 8]
lea edx, [0x5dda40]
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x5b11fe
mov eax, dword [ecx + 4]
jmp 0x5b1200
mov eax, ecx
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x24]
test eax, eax
je 0x5b121f
mov edx, dword [eax + 4]
jmp 0x5b1221
mov edx, eax
mov dword [esp + 0xa0], edx
mov eax, dword [esp + 0x54]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 0xac], eax
lea eax, [0x61bc79]
mov dword [esp], eax
mov dword [esp + 4], 0x41
lea eax, [esp + 0x90]
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 + 0xd4], eax
mov dword [esp + 0xd8], ecx
add esp, 0xb0
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 + 0x40]
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 + 0x40]
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 + 0x40]
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.005b07a0