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

Disassembly:
mov ecx, dword [0x7da588]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 4]
cmp eax, dword [ecx + 8]
jbe 0x5b87e1
sub esp, 0x84
mov ecx, dword [esp + 0x94]
test ecx, ecx
je 0x5b7ff5
mov dword [esp + 0x4c], ecx
mov edx, dword [esp + 0x98]
mov dword [esp + 0x50], edx
mov ebx, dword [esp + 0x4c]
test ebx, ebx
je 0x5b7fed
movzx ebp, byte [ebx + 0xf]
nop
mov esi, ebp
and ebp, 0x1f
xchg esi, eax
test al, 0x20
xchg esi, eax
jne 0x5b7fe7
or ebp, 0x80
mov esi, dword [esp + 0x50]
jmp 0x5b8002
xor ebp, ebp
xor ebx, ebx
xor esi, esi
jmp 0x5b8002
mov edx, dword [esp + 0x98]
xor ebp, ebp
xor ebx, ebx
xor esi, esi
mov eax, ebp
and ebp, 0x1f
nop
cmp ebp, 0x16
jne 0x5b8039
mov dword [esp], ebx
mov dword [esp + 4], esi
mov dword [esp + 8], eax
call fcn.004c2840
mov ebx, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x98]
mov eax, ebp
mov ebp, eax
and eax, 0x1f
lea edi, [eax - 2]
nop
nop
cmp edi, 4
ja 0x5b804f
mov edi, 2
jmp 0x5b806f
lea edi, [eax - 7]
cmp edi, 4
ja 0x5b805e
mov edi, 7
jmp 0x5b806f
lea edi, [eax - 0xd]
cmp edi, 1
ja 0x5b806d
mov edi, 0xd
jmp 0x5b806f
mov edi, eax
mov dword [esp + 0x48], esi
cmp edi, 1
jne 0x5b80c2
cmp eax, 1
je 0x5b8091
mov dword [esp], ebx
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
call fcn.004c17c0
mov esi, dword [esp + 0x48]
movzx eax, byte [esi]
mov ecx, dword [esp + 0x9c]
mov dword [esp], ecx
mov ecx, dword [esp + 0xa0]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xa4]
mov dword [esp + 8], ecx
mov byte [esp + 0xc], al
call fcn.004c4be0
jmp 0x5b85a0
mov dword [esp + 0x30], eax
cmp edi, 2
jne 0x5b8183
mov edx, dword [esp + 0x88]
mov ecx, dword [edx]
movzx ecx, byte [ecx + 0xb]
test cl, cl
je 0x5b8175
cmp eax, 3
ja 0x5b8110
cmp eax, 2
jne 0x5b80fd
mov eax, dword [esi]
mov ecx, eax
sar eax, 0x1f
mov edx, ecx
mov ecx, eax
mov eax, edx
jmp 0x5b813b
cmp eax, 3
jne 0x5b87a6
movsx eax, byte [esi]
mov ecx, eax
sar ecx, 0x1f
jmp 0x5b813b
cmp eax, 4
jne 0x5b811f
movsx eax, word [esi]
mov ecx, eax
sar ecx, 0x1f
jmp 0x5b813b
cmp eax, 5
jne 0x5b812d
mov eax, dword [esi]
mov ecx, eax
sar ecx, 0x1f
jmp 0x5b813b
cmp eax, 6
jne 0x5b87a6
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x9c]
mov dword [esp], edx
mov edx, dword [esp + 0xa0]
mov dword [esp + 4], edx
mov edx, dword [esp + 0xa4]
mov dword [esp + 8], edx
test ecx, ecx
setne cl
test eax, eax
setne al
or ecx, eax
mov byte [esp + 0xc], cl
call fcn.004c4be0
jmp 0x5b85a0
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x98]
cmp edi, 7
jne 0x5b8239
mov edx, dword [esp + 0x88]
mov ecx, dword [edx]
movzx ecx, byte [ecx + 0xb]
test cl, cl
je 0x5b822b
cmp eax, 9
ja 0x5b81cd
cmp eax, 7
jne 0x5b81b1
mov eax, dword [esi]
xor ecx, ecx
jmp 0x5b81f1
cmp eax, 8
jne 0x5b81bd
movzx eax, byte [esi]
xor ecx, ecx
jmp 0x5b81f1
cmp eax, 9
jne 0x5b876c
movzx eax, word [esi]
xor ecx, ecx
jmp 0x5b81f1
cmp eax, 0xa
jne 0x5b81d8
mov eax, dword [esi]
xor ecx, ecx
jmp 0x5b81f1
cmp eax, 0xb
jne 0x5b81e4
mov eax, dword [esi]
mov ecx, dword [esi + 4]
jmp 0x5b81f1
cmp eax, 0xc
jne 0x5b876c
mov eax, dword [esi]
xor ecx, ecx
mov edx, dword [esp + 0x9c]
mov dword [esp], edx
mov edx, dword [esp + 0xa0]
mov dword [esp + 4], edx
mov edx, dword [esp + 0xa4]
mov dword [esp + 8], edx
test eax, eax
setne al
test ecx, ecx
setne cl
or eax, ecx
mov byte [esp + 0xc], al
call fcn.004c4be0
jmp 0x5b85a0
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x98]
cmp edi, 0xd
jne 0x5b82b6
mov edx, dword [esp + 0x88]
mov ecx, dword [edx]
movzx ecx, byte [ecx + 0xb]
test cl, cl
je 0x5b82a8
cmp eax, 0xd
jne 0x5b825e
movss xmm0, dword [esi]
cvtss2sd xmm0, xmm0
jmp 0x5b826b
cmp eax, 0xe
jne 0x5b8732
movsd xmm0, qword [esi]
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 8], eax
xorps xmm1, xmm1
ucomisd xmm0, xmm1
setne cl
setp al
or ecx, eax
mov byte [esp + 0xc], cl
call fcn.004c4be0
jmp 0x5b85a0
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x98]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x44], ebx
cmp edi, 0x18
jne 0x5b85bd
mov edi, edx
mov edx, dword [esp + 0x88]
mov edx, dword [edx]
movzx edx, byte [edx + 0xb]
test dl, dl
je 0x5b85bf
cmp eax, 0x18
jne 0x5b82ea
mov ecx, dword [esi]
mov edx, dword [esi + 4]
jmp 0x5b8312
mov dword [esp], ebx
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
call fcn.004c5a90
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x48]
cmp edx, 1
jne 0x5b8345
movzx edi, byte [ecx]
xchg edi, eax
cmp al, 0x46
xchg edi, eax
jg 0x5b8334
cmp byte [ecx], 0x30
je 0x5b839f
cmp byte [ecx], 0x31
je 0x5b8362
xchg edi, eax
cmp al, 0x46
xchg edi, eax
je 0x5b839f
jmp 0x5b83aa
cmp byte [ecx], 0x54
je 0x5b8362
cmp byte [ecx], 0x66
je 0x5b839f
cmp byte [ecx], 0x74
je 0x5b8362
jmp 0x5b83aa
cmp edx, 4
jne 0x5b8370
cmp dword [ecx], 0x45555254
je 0x5b8362
cmp dword [ecx], 0x65757254
je 0x5b8362
cmp dword [ecx], 0x65757274
jne 0x5b83aa
xor ecx, ecx
mov edx, 1
xor edi, edi
jmp 0x5b845c
cmp edx, 5
jne 0x5b83aa
cmp dword [ecx], 0x534c4146
jne 0x5b8383
cmp byte [ecx + 4], 0x45
je 0x5b839f
cmp dword [ecx], 0x736c6146
jne 0x5b8391
cmp byte [ecx + 4], 0x65
je 0x5b839f
cmp dword [ecx], 0x736c6166
jne 0x5b83aa
cmp byte [ecx + 4], 0x65
jne 0x5b83aa
xor ecx, ecx
xor edx, edx
xor edi, edi
jmp 0x5b845c
nop
test ecx, ecx
jne 0x5b83b5
lea ecx, [0x7da440]
mov dword [esp], 0
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00453d00
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x38], ecx
lea edx, [0x5ef480]
mov dword [esp], edx
call fcn.0040d1f0
mov eax, dword [esp + 4]
mov dword [eax + 4], 9
lea ecx, [0x60b0a9]
mov dword [eax], ecx
mov ecx, dword [esp + 0x20]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x7da640]
test ecx, ecx
jne 0x5b8411
mov ecx, dword [esp + 0x38]
jmp 0x5b841c
call fcn.0046be70
mov ecx, dword [esp + 0x38]
mov dword [edi], ecx
mov dword [eax + 8], ecx
mov ecx, dword [0x7900d0]
mov edx, dword [0x7900d4]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x7da640]
test ecx, ecx
je 0x5b843f
call fcn.0046be70
mov dword [edi], edx
mov dword [eax + 0x14], edx
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x48]
lea ecx, [0x658c2c]
xor edx, edx
mov edi, eax
mov eax, dword [esp + 0x30]
test ecx, ecx
je 0x5b8577
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x34], edi
cmp eax, 0x18
jne 0x5b8476
mov eax, dword [esi + 4]
jmp 0x5b8492
mov dword [esp], ebx
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
call fcn.004c5a90
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x34]
test eax, eax
jne 0x5b84c5
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 8], eax
mov byte [esp + 0xc], 0
call fcn.004c4be0
jmp 0x5b85a0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 4], eax
call fcn.0040aa80
mov eax, dword [esp + 8]
lea ecx, [0x5dd3e0]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x5b851e
mov ecx, dword [eax + 4]
jmp 0x5b8520
mov ecx, eax
mov dword [esp + 0x5c], ecx
mov eax, dword [esp + 0x34]
mov dword [esp + 0x60], eax
lea eax, [0x613e9a]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
lea eax, [esp + 0x54]
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 + 0xa8], eax
mov dword [esp + 0xac], ecx
add esp, 0x84
ret
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 8], eax
mov byte [esp + 0xc], dl
call fcn.004c4be0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
add esp, 0x84
ret
mov edi, edx
mov edx, dword [esp + 0xa4]
test edx, edx
je 0x5b85e1
test edx, 0x200
jne 0x5b85e1
lea eax, [0x65a1a0]
mov edx, dword [esp + 0x9c]
jmp 0x5b8623
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004c5b70
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x98]
mov edx, ecx
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x40], edx
mov dword [esp + 0x28], eax
test ebp, ebp
je 0x5b863f
test ebp, 0x200
jne 0x5b863f
lea ebp, [0x65a1a0]
jmp 0x5b8659
mov dword [esp], ebx
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
call fcn.004c5b70
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov ebp, eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x24], ebp
lea edi, [esp + 0x64]
xor eax, eax
call fcn.0046c088
mov ecx, dword [esp + 0x8c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x90]
mov dword [esp + 4], ecx
call fcn.0040aa80
mov ecx, dword [esp + 8]
lea edx, [0x5dd3e0]
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x5b86a5
mov eax, dword [ecx + 4]
jmp 0x5b86a7
mov eax, ecx
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x24]
test eax, eax
je 0x5b86c0
mov ebp, dword [eax + 4]
jmp 0x5b86c2
mov ebp, eax
mov dword [esp + 0x74], ebp
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x80], eax
lea eax, [0x61adcc]
mov dword [esp], eax
mov dword [esp + 4], 0x41
lea eax, [esp + 0x64]
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 + 0xa8], eax
mov dword [esp + 0xac], ecx
add esp, 0x84
ret
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 + 0x30]
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 + 0x30]
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 + 0x30]
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.005b7f90