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

Disassembly:
mov ecx, dword [0x7da588]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x24]
cmp eax, dword [ecx + 8]
jbe 0x5b7385
sub esp, 0xa4
mov eax, dword [esp + 0xb4]
test eax, eax
je 0x5b6a25
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0xb8]
mov dword [esp + 0x6c], ecx
mov edx, dword [esp + 0x68]
test edx, edx
je 0x5b6a1d
movzx ebx, byte [edx + 0xf]
nop
mov ebp, ebx
and ebx, 0x1f
xchg ebp, eax
test al, 0x20
xchg ebp, eax
jne 0x5b6a17
or ebx, 0x80
mov ebp, dword [esp + 0x6c]
jmp 0x5b6a32
xor ebx, ebx
xor edx, edx
xor ebp, ebp
jmp 0x5b6a32
mov ecx, dword [esp + 0xb8]
xor ebx, ebx
xor edx, edx
xor ebp, ebp
mov esi, ebx
and ebx, 0x1f
nop
cmp ebx, 0x16
jne 0x5b6a69
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 + 0xb4]
mov ecx, dword [esp + 0xb8]
mov esi, ebx
mov ebx, esi
and esi, 0x1f
lea edi, [esi - 2]
nop
nop
cmp edi, 4
ja 0x5b6a7f
mov edi, 2
jmp 0x5b6a9f
lea edi, [esi - 7]
cmp edi, 4
ja 0x5b6a8e
mov edi, 7
jmp 0x5b6a9f
lea edi, [esi - 0xd]
cmp edi, 1
ja 0x5b6a9d
mov edi, 0xd
jmp 0x5b6a9f
mov edi, esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x30], edi
mov dword [esp + 0x44], ebx
mov dword [esp + 0x60], ebp
mov dword [esp + 0x5c], edx
test ebx, ebx
je 0x5b6ad3
test ebx, 0x200
jne 0x5b6ad3
mov dword [esp + 0x3c], eax
lea eax, [0x65a1a0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x3c]
jmp 0x5b6b0d
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 + 0xb8]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x30]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xb4]
cmp edi, 2
jne 0x5b6ba4
cmp esi, 3
ja 0x5b6b44
cmp esi, 2
jne 0x5b6b30
mov eax, dword [ebp]
mov ecx, eax
sar eax, 0x1f
mov edx, ecx
mov ecx, eax
mov eax, edx
jmp 0x5b6b72
cmp esi, 3
jne 0x5b734a
movsx eax, byte [ebp]
mov ecx, eax
sar ecx, 0x1f
jmp 0x5b6b72
cmp esi, 4
jne 0x5b6b54
movsx eax, word [ebp]
mov ecx, eax
sar ecx, 0x1f
jmp 0x5b6b72
cmp esi, 5
jne 0x5b6b63
mov eax, dword [ebp]
mov ecx, eax
sar ecx, 0x1f
jmp 0x5b6b72
cmp esi, 6
jne 0x5b734a
mov eax, dword [ebp]
mov ecx, dword [ebp + 4]
mov edx, dword [esp + 0xbc]
mov dword [esp], edx
mov edx, dword [esp + 0xc0]
mov dword [esp + 4], edx
mov edx, dword [esp + 0xc4]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.004c5000
jmp 0x5b7126
cmp edi, 7
jne 0x5b6c35
cmp esi, 9
ja 0x5b6bdc
cmp esi, 7
jne 0x5b6bbe
mov eax, dword [ebp]
xor ecx, ecx
jmp 0x5b6c03
cmp esi, 8
jne 0x5b6bcb
movzx eax, byte [ebp]
xor ecx, ecx
jmp 0x5b6c03
cmp esi, 9
jne 0x5b7310
movzx eax, word [ebp]
xor ecx, ecx
jmp 0x5b6c03
cmp esi, 0xa
jne 0x5b6be8
mov eax, dword [ebp]
xor ecx, ecx
jmp 0x5b6c03
cmp esi, 0xb
jne 0x5b6bf5
mov eax, dword [ebp]
mov ecx, dword [ebp + 4]
jmp 0x5b6c03
cmp esi, 0xc
jne 0x5b7310
mov eax, dword [ebp]
xor ecx, ecx
mov edx, dword [esp + 0xbc]
mov dword [esp], edx
mov edx, dword [esp + 0xc0]
mov dword [esp + 4], edx
mov edx, dword [esp + 0xc4]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.004c5000
jmp 0x5b7126
cmp edi, 0xd
jne 0x5b6c9c
cmp esi, 0xd
jne 0x5b6c4a
movss xmm0, dword [ebp]
cvtss2sd xmm0, xmm0
jmp 0x5b6c58
cmp esi, 0xe
jne 0x5b72d6
movsd xmm0, qword [ebp]
movsd qword [esp], xmm0
call fcn.004637d0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0xbc]
mov dword [esp], edx
mov edx, dword [esp + 0xc0]
mov dword [esp + 4], edx
mov edx, dword [esp + 0xc4]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.004c5000
jmp 0x5b7126
cmp edi, 1
jne 0x5b6d61
mov ecx, dword [esp + 0xa8]
mov eax, dword [ecx]
movzx eax, byte [eax + 0xb]
test al, al
je 0x5b6d53
cmp esi, 1
je 0x5b6cd7
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
call fcn.004c17c0
mov ebp, dword [esp + 0x60]
movzx eax, byte [ebp]
test al, al
je 0x5b6d19
mov eax, dword [esp + 0xbc]
mov dword [esp], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 0
call fcn.004c5000
jmp 0x5b7126
mov eax, dword [esp + 0xbc]
mov dword [esp], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.004c5000
jmp 0x5b7126
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0xb8]
cmp edi, 0x18
jne 0x5b6f54
mov edi, dword [esp + 0xa8]
mov edi, dword [edi]
movzx edi, byte [edi + 0xb]
xchg edi, eax
test al, al
xchg edi, eax
je 0x5b6f54
cmp esi, 0x18
jne 0x5b6d8e
mov eax, dword [ebp]
mov ecx, dword [ebp + 4]
jmp 0x5b6daa
mov eax, dword [esp + 0x5c]
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 0x5b6db9
mov ecx, 1
lea eax, [0x656da4]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x64], eax
mov edx, dword [esp + 0xc4]
test edx, edx
je 0x5b6de3
test edx, 0x200
jne 0x5b6de3
lea ebx, [0x65a1a0]
mov ebp, dword [esp + 0xbc]
jmp 0x5b6e0d
mov eax, dword [esp + 0xbc]
mov dword [esp], eax
mov ecx, dword [esp + 0xc0]
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 + 0x64]
mov dword [esp], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
call fcn.004ad0b0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
test eax, eax
je 0x5b6f1a
mov dword [esp + 0x38], eax
mov dword [esp + 0x70], ecx
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov eax, dword [esp + 0xac]
mov dword [esp], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 4], eax
call fcn.0040aa80
mov eax, dword [esp + 8]
lea ecx, [0x5dd3e0]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x38]
test eax, eax
je 0x5b6eba
mov eax, dword [eax + 4]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0xa0], eax
lea eax, [0x6136b4]
mov dword [esp], eax
mov dword [esp + 4], 0x1c
lea eax, [esp + 0x94]
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 + 0xc8], eax
mov dword [esp + 0xcc], ecx
add esp, 0xa4
ret
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xbc]
mov dword [esp], edx
mov edx, dword [esp + 0xc0]
mov dword [esp + 4], edx
mov edx, dword [esp + 0xc4]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.004c5000
jmp 0x5b7126
mov dword [esp + 0x58], edx
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x78]
mov dword [esp], edx
call ecx
cmp dword [esp + 8], 0xd
je 0x5b6f6f
xor eax, eax
jmp 0x5b6f92
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 0x5b6f9a
xor ecx, ecx
jmp 0x5b6fca
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x60]
mov ecx, dword [esp + 0x58]
mov dword [esp], ecx
call eax
cmp dword [esp + 8], 6
jne 0x5b6fc8
mov ecx, dword [esp + 4]
cmp dword [ecx], 0x626d754e
jne 0x5b6fc8
cmp word [ecx + 4], 0x7265
sete cl
jmp 0x5b6fca
xor ecx, ecx
test cl, cl
je 0x5b7143
mov eax, dword [esp + 0xb4]
lea ecx, [0x5eb940]
cmp eax, ecx
jne 0x5b72c0
mov eax, dword [esp + 0xb8]
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.004ad0b0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
test eax, eax
je 0x5b70f1
mov dword [esp + 0x20], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov eax, dword [esp + 0xac]
mov dword [esp], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 4], eax
call fcn.0040aa80
mov eax, dword [esp + 8]
lea ecx, [0x5dd3e0]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x5b7091
mov eax, dword [eax + 4]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0xa0], eax
lea eax, [0x61713f]
mov dword [esp], eax
mov dword [esp + 4], 0x26
lea eax, [esp + 0x94]
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 + 0xc8], eax
mov dword [esp + 0xcc], ecx
add esp, 0xa4
ret
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xbc]
mov dword [esp], edx
mov edx, dword [esp + 0xc0]
mov dword [esp + 4], edx
mov edx, dword [esp + 0xc4]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.004c5000
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
add esp, 0xa4
ret
mov ecx, dword [esp + 0xc4]
test ecx, ecx
je 0x5b716d
test ecx, 0x200
jne 0x5b716d
mov ecx, dword [esp + 0x44]
test ecx, ecx
mov edx, ecx
lea eax, [0x65a1a0]
mov ecx, dword [esp + 0xbc]
jmp 0x5b7199
mov eax, dword [esp + 0xbc]
mov dword [esp], eax
mov eax, dword [esp + 0xc0]
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 + 0x44]
test edx, edx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x28], eax
je 0x5b71b7
test edx, 0x200
jne 0x5b71b7
lea edx, [0x65a1a0]
mov ebx, dword [esp + 0x5c]
jmp 0x5b71db
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov eax, dword [esp + 0x60]
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 + 0x24], edx
mov dword [esp + 0x50], ebx
lea edi, [esp + 0x74]
xor eax, eax
call fcn.0046c088
mov ecx, dword [esp + 0xac]
mov dword [esp], ecx
mov ecx, dword [esp + 0xb0]
mov dword [esp + 4], ecx
call fcn.0040aa80
mov ecx, dword [esp + 8]
lea edx, [0x5dd3e0]
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x5b7227
mov eax, dword [ecx + 4]
jmp 0x5b7229
mov eax, ecx
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x24]
test eax, eax
je 0x5b7245
mov edx, dword [eax + 4]
jmp 0x5b7247
mov edx, eax
mov dword [esp + 0x84], edx
mov eax, dword [esp + 0x50]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x90], eax
lea eax, [0x61adcc]
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.004cadf0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], ecx
add esp, 0xa4
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 + 0x48]
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 + 0x48]
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 + 0x48]
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.005b69c0