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

Disassembly:
mov ecx, dword [0x7da588]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x3c]
cmp eax, dword [ecx + 8]
jbe 0x5b7f82
sub esp, 0xbc
mov eax, dword [esp + 0xcc]
test eax, eax
je 0x5b73fb
mov dword [esp + 0x7c], eax
mov ecx, dword [esp + 0xd0]
mov dword [esp + 0x80], ecx
mov edx, dword [esp + 0x7c]
test edx, edx
je 0x5b73f3
movzx ebx, byte [edx + 0xf]
nop
mov ebp, ebx
and ebx, 0x1f
xchg ebp, eax
test al, 0x20
xchg ebp, eax
jne 0x5b73ea
or ebx, 0x80
mov ebp, dword [esp + 0x80]
jmp 0x5b7408
xor ebx, ebx
xor edx, edx
xor ebp, ebp
jmp 0x5b7408
mov ecx, dword [esp + 0xd0]
xor ebx, ebx
xor edx, edx
xor ebp, ebp
mov esi, ebx
and ebx, 0x1f
nop
cmp ebx, 0x16
jne 0x5b743f
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
call fcn.004c2840
mov edx, dword [esp + 0xc]
mov ebp, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0xcc]
mov ecx, dword [esp + 0xd0]
mov esi, ebx
mov ebx, esi
and esi, 0x1f
lea edi, [esi - 2]
nop
nop
cmp edi, 4
ja 0x5b7455
mov edi, 2
jmp 0x5b7475
lea edi, [esi - 7]
cmp edi, 4
ja 0x5b7464
mov edi, 7
jmp 0x5b7475
lea edi, [esi - 0xd]
cmp edi, 1
ja 0x5b7473
mov edi, 0xd
jmp 0x5b7475
mov edi, esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x54], ebx
mov dword [esp + 0x74], ebp
mov dword [esp + 0x70], edx
test ebx, ebx
je 0x5b74a9
test ebx, 0x200
jne 0x5b74a9
mov dword [esp + 0x4c], eax
lea eax, [0x65a1a0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x4c]
jmp 0x5b74e3
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
call fcn.004c5b70
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0xd0]
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0x74]
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xcc]
cmp edi, 2
jne 0x5b7677
cmp esi, 3
ja 0x5b751a
cmp esi, 2
jne 0x5b7506
mov eax, dword [ebp]
mov ecx, eax
sar eax, 0x1f
mov edx, ecx
mov ecx, eax
mov eax, edx
jmp 0x5b7548
cmp esi, 3
jne 0x5b7f47
movsx eax, byte [ebp]
mov ecx, eax
sar ecx, 0x1f
jmp 0x5b7548
cmp esi, 4
jne 0x5b752a
movsx eax, word [ebp]
mov ecx, eax
sar ecx, 0x1f
jmp 0x5b7548
cmp esi, 5
jne 0x5b7539
mov eax, dword [ebp]
mov ecx, eax
sar ecx, 0x1f
jmp 0x5b7548
cmp esi, 6
jne 0x5b7f47
mov eax, dword [ebp]
mov ecx, dword [ebp + 4]
test ecx, ecx
jge 0x5b7645
mov edx, dword [esp + 0xc0]
mov edx, dword [edx]
movzx edx, byte [edx + 0xb]
test dl, dl
jne 0x5b7645
mov dword [esp + 0x20], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov eax, dword [esp + 0xc4]
mov dword [esp], eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 4], eax
call fcn.0040aa80
mov eax, dword [esp + 8]
lea ecx, [0x5dd3e0]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
call fcn.0040a9e0
mov eax, dword [esp + 8]
lea ecx, [0x5dd5a0]
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb8], eax
lea eax, [0x6167a6]
mov dword [esp], eax
mov dword [esp + 4], 0x24
lea eax, [esp + 0xac]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004cadf0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], ecx
add esp, 0xbc
ret
mov edx, dword [esp + 0xd4]
mov dword [esp], edx
mov edx, dword [esp + 0xd8]
mov dword [esp + 4], edx
mov edx, dword [esp + 0xdc]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.004c55e0
jmp 0x5b7d14
cmp edi, 7
jne 0x5b7708
cmp esi, 9
ja 0x5b76af
cmp esi, 7
jne 0x5b7691
mov eax, dword [ebp]
xor ecx, ecx
jmp 0x5b76d6
cmp esi, 8
jne 0x5b769e
movzx eax, byte [ebp]
xor ecx, ecx
jmp 0x5b76d6
cmp esi, 9
jne 0x5b7f0d
movzx eax, word [ebp]
xor ecx, ecx
jmp 0x5b76d6
cmp esi, 0xa
jne 0x5b76bb
mov eax, dword [ebp]
xor ecx, ecx
jmp 0x5b76d6
cmp esi, 0xb
jne 0x5b76c8
mov eax, dword [ebp]
mov ecx, dword [ebp + 4]
jmp 0x5b76d6
cmp esi, 0xc
jne 0x5b7f0d
mov eax, dword [ebp]
xor ecx, ecx
mov edx, dword [esp + 0xd4]
mov dword [esp], edx
mov edx, dword [esp + 0xd8]
mov dword [esp + 4], edx
mov edx, dword [esp + 0xdc]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.004c55e0
jmp 0x5b7d14
cmp edi, 0xd
jne 0x5b787f
cmp esi, 0xd
jne 0x5b7721
movss xmm0, dword [ebp]
cvtss2sd xmm0, xmm0
jmp 0x5b772f
cmp esi, 0xe
jne 0x5b7ed3
movsd xmm0, qword [ebp]
xorps xmm1, xmm1
ucomisd xmm1, xmm0
jbe 0x5b783b
mov eax, dword [esp + 0xc0]
mov eax, dword [eax]
movzx eax, byte [eax + 0xb]
test al, al
jne 0x5b783b
movsd qword [esp + 0x34], xmm0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov eax, dword [esp + 0xc4]
mov dword [esp], eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 4], eax
call fcn.0040aa80
mov eax, dword [esp + 8]
lea ecx, [0x5dd3e0]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
movsd xmm0, qword [esp + 0x34]
movsd qword [esp + 0x5c], xmm0
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040a9e0
mov eax, dword [esp + 8]
lea ecx, [0x5dd7a0]
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb8], eax
lea eax, [0x6167ca]
mov dword [esp], eax
mov dword [esp + 4], 0x24
lea eax, [esp + 0xac]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004cadf0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], ecx
add esp, 0xbc
ret
movsd qword [esp], xmm0
call fcn.00463820
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0xd4]
mov dword [esp], edx
mov edx, dword [esp + 0xd8]
mov dword [esp + 4], edx
mov edx, dword [esp + 0xdc]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.004c55e0
jmp 0x5b7d14
cmp edi, 1
jne 0x5b7944
mov ecx, dword [esp + 0xc0]
mov eax, dword [ecx]
movzx eax, byte [eax + 0xb]
test al, al
je 0x5b7936
cmp esi, 1
je 0x5b78ba
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
call fcn.004c17c0
mov ebp, dword [esp + 0x74]
movzx eax, byte [ebp]
test al, al
je 0x5b78fc
mov eax, dword [esp + 0xd4]
mov dword [esp], eax
mov eax, dword [esp + 0xd8]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xdc]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 0
call fcn.004c55e0
jmp 0x5b7d14
mov eax, dword [esp + 0xd4]
mov dword [esp], eax
mov eax, dword [esp + 0xd8]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xdc]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.004c55e0
jmp 0x5b7d14
mov eax, dword [esp + 0xcc]
mov ecx, dword [esp + 0xd0]
cmp edi, 0x18
jne 0x5b7b3d
mov edi, dword [esp + 0xc0]
mov edi, dword [edi]
movzx edi, byte [edi + 0xb]
xchg edi, eax
test al, al
xchg edi, eax
je 0x5b7b3d
cmp esi, 0x18
jne 0x5b7971
mov eax, dword [ebp]
mov ecx, dword [ebp + 4]
jmp 0x5b798d
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
call fcn.004c5a90
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x5b799c
mov ecx, 1
lea eax, [0x656da4]
mov dword [esp + 0x78], eax
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0xdc]
test edx, edx
je 0x5b79c6
test edx, 0x200
jne 0x5b79c6
lea ebx, [0x65a1a0]
mov ebp, dword [esp + 0xd4]
jmp 0x5b79f0
mov eax, dword [esp + 0xd4]
mov dword [esp], eax
mov ecx, dword [esp + 0xd8]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004c5b70
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 + 0x78]
mov dword [esp], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
call fcn.004ac730
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
test eax, eax
je 0x5b7b03
mov dword [esp + 0x88], ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov eax, dword [esp + 0xc4]
mov dword [esp], eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 4], eax
call fcn.0040aa80
mov eax, dword [esp + 8]
lea ecx, [0x5dd3e0]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x48]
test eax, eax
je 0x5b7aa0
mov eax, dword [eax + 4]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0xb8], eax
lea eax, [0x613e7d]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
lea eax, [esp + 0xac]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004cadf0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], ecx
add esp, 0xbc
ret
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xd4]
mov dword [esp], edx
mov edx, dword [esp + 0xd8]
mov dword [esp + 4], edx
mov edx, dword [esp + 0xdc]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.004c55e0
jmp 0x5b7d14
mov dword [esp + 0x6c], edx
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x78]
mov dword [esp], edx
call ecx
cmp dword [esp + 8], 0xd
je 0x5b7b58
xor eax, eax
jmp 0x5b7b7b
mov eax, dword [esp + 4]
mov dword [esp], eax
lea eax, [0x60c88f]
mov dword [esp + 4], eax
mov dword [esp + 8], 0xd
call fcn.004030b0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5b7b83
xor ecx, ecx
jmp 0x5b7bb3
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x60]
mov ecx, dword [esp + 0x6c]
mov dword [esp], ecx
call eax
cmp dword [esp + 8], 6
jne 0x5b7bb1
mov ecx, dword [esp + 4]
cmp dword [ecx], 0x626d754e
jne 0x5b7bb1
cmp word [ecx + 4], 0x7265
sete cl
jmp 0x5b7bb3
xor ecx, ecx
test cl, cl
je 0x5b7d31
mov eax, dword [esp + 0xcc]
lea ecx, [0x5eb940]
cmp eax, ecx
jne 0x5b7ebd
mov eax, dword [esp + 0xd0]
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.004ac730
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
test eax, eax
je 0x5b7cdf
mov dword [esp + 0x44], eax
mov dword [esp + 0x84], ecx
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov eax, dword [esp + 0xc4]
mov dword [esp], eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 4], eax
call fcn.0040aa80
mov eax, dword [esp + 8]
lea ecx, [0x5dd3e0]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x44]
test eax, eax
je 0x5b7c7c
mov eax, dword [eax + 4]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0xb8], eax
lea eax, [0x61713f]
mov dword [esp], eax
mov dword [esp + 4], 0x26
lea eax, [esp + 0xac]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004cadf0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], ecx
add esp, 0xbc
ret
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xd4]
mov dword [esp], edx
mov edx, dword [esp + 0xd8]
mov dword [esp + 4], edx
mov edx, dword [esp + 0xdc]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.004c55e0
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
add esp, 0xbc
ret
mov ecx, dword [esp + 0xdc]
test ecx, ecx
je 0x5b7d5b
test ecx, 0x200
jne 0x5b7d5b
mov ecx, dword [esp + 0x54]
test ecx, ecx
mov edx, ecx
lea eax, [0x65a1a0]
mov ecx, dword [esp + 0xd4]
jmp 0x5b7d87
mov eax, dword [esp + 0xd4]
mov dword [esp], eax
mov eax, dword [esp + 0xd8]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004c5b70
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x54]
test edx, edx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x28], eax
je 0x5b7da5
test edx, 0x200
jne 0x5b7da5
lea edx, [0x65a1a0]
mov ebx, dword [esp + 0x70]
jmp 0x5b7dc9
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004c5b70
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, edx
mov edx, eax
mov dword [esp + 0x64], ebx
mov dword [esp + 0x24], edx
lea edi, [esp + 0x8c]
xor eax, eax
call fcn.0046c088
mov ecx, dword [esp + 0xc4]
mov dword [esp], ecx
mov ecx, dword [esp + 0xc8]
mov dword [esp + 4], ecx
call fcn.0040aa80
mov ecx, dword [esp + 8]
lea edx, [0x5dd3e0]
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], ecx
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x5b7e1e
mov eax, dword [ecx + 4]
jmp 0x5b7e20
mov eax, ecx
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x24]
test eax, eax
je 0x5b7e3f
mov edx, dword [eax + 4]
jmp 0x5b7e41
mov edx, eax
mov dword [esp + 0x9c], edx
mov eax, dword [esp + 0x64]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0xcc]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0xd0]
mov dword [esp + 0xa8], eax
lea eax, [0x61adcc]
mov dword [esp], eax
mov dword [esp + 4], 0x41
lea eax, [esp + 0x8c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 4
mov dword [esp + 0x10], 4
call fcn.004cadf0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], ecx
add esp, 0xbc
ret
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x5de660]
mov dword [esp + 8], eax
call fcn.0040a720
lea eax, [0x5ea8c0]
mov dword [esp], eax
call fcn.0040d1f0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x13
lea ecx, [0x60ee43]
mov dword [eax], ecx
mov ecx, dword [esp + 0x58]
mov dword [eax + 8], ecx
lea ecx, [0x5e2880]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004391b0
lea eax, [0x5ea8c0]
mov dword [esp], eax
call fcn.0040d1f0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x12
lea ecx, [0x60e5ab]
mov dword [eax], ecx
mov ecx, dword [esp + 0x58]
mov dword [eax + 8], ecx
lea ecx, [0x5e2880]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004391b0
lea eax, [0x5ea8c0]
mov dword [esp], eax
call fcn.0040d1f0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x11
lea ecx, [0x60df75]
mov dword [eax], ecx
mov ecx, dword [esp + 0x58]
mov dword [eax + 8], ecx
lea ecx, [0x5e2880]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004391b0
nop
call fcn.0046aa70
jmp fcn.005b7390