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

Disassembly:
mov ecx, dword [0x7c3e14]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x18]
cmp eax, dword [ecx + 8]
jbe 0x5b0794
sub esp, 0x98
mov eax, dword [esp + 0xa8]
test eax, eax
je 0x5afe83
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x60]
test ecx, ecx
je 0x5afe7b
movzx edx, byte [ecx + 0xf]
nop
mov ebx, edx
and edx, 0x1f
test bl, 0x20
jne 0x5afe75
or edx, 0x80
mov ebx, dword [esp + 0x64]
jmp 0x5afe90
xor edx, edx
xor ecx, ecx
xor ebx, ebx
jmp 0x5afe90
mov eax, dword [esp + 0xac]
xor edx, edx
xor ecx, ecx
xor ebx, ebx
mov ebp, edx
and edx, 0x1f
nop
cmp edx, 0x16
jne 0x5afec0
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 + 0xac]
mov ebp, edx
mov edx, ebp
and ebp, 0x1f
lea esi, [ebp - 2]
nop
nop
cmp esi, 4
ja 0x5afed6
mov esi, 2
jmp 0x5afef6
lea esi, [ebp - 7]
cmp esi, 4
ja 0x5afee5
mov esi, 7
jmp 0x5afef6
lea esi, [ebp - 0xd]
cmp esi, 1
ja 0x5afef4
mov esi, 0xd
jmp 0x5afef6
mov esi, ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x2c], esi
mov dword [esp + 0x34], edx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], ecx
test edx, edx
je 0x5aff26
test edx, 0x200
jne 0x5aff26
mov edi, ecx
lea ecx, [0x65b040]
mov dword [esp + 0x28], ecx
mov ecx, edi
jmp 0x5aff5d
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 + 0x34]
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xac]
cmp esi, 2
jne 0x5affef
cmp ebp, 3
ja 0x5aff92
cmp ebp, 2
jne 0x5aff7f
mov eax, dword [ebx]
mov ecx, eax
sar eax, 0x1f
mov edx, ecx
mov ecx, eax
mov eax, edx
jmp 0x5affbd
cmp ebp, 3
jne 0x5b0759
movsx eax, byte [ebx]
mov ecx, eax
sar ecx, 0x1f
jmp 0x5affbd
cmp ebp, 4
jne 0x5affa1
movsx eax, word [ebx]
mov ecx, eax
sar ecx, 0x1f
jmp 0x5affbd
cmp ebp, 5
jne 0x5affaf
mov eax, dword [ebx]
mov ecx, eax
sar ecx, 0x1f
jmp 0x5affbd
cmp ebp, 6
jne 0x5b0759
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov edx, dword [esp + 0xb0]
mov dword [esp], edx
mov edx, dword [esp + 0xb4]
mov dword [esp + 4], edx
mov edx, dword [esp + 0xb8]
mov dword [esp + 8], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
call fcn.0048e9a0
jmp 0x5b0532
cmp esi, 7
jne 0x5b007a
cmp ebp, 9
ja 0x5b0024
cmp ebp, 7
jne 0x5b0008
mov eax, dword [ebx]
xor ecx, ecx
jmp 0x5b0048
cmp ebp, 8
jne 0x5b0014
movzx eax, byte [ebx]
xor ecx, ecx
jmp 0x5b0048
cmp ebp, 9
jne 0x5b071f
movzx eax, word [ebx]
xor ecx, ecx
jmp 0x5b0048
cmp ebp, 0xa
jne 0x5b002f
mov eax, dword [ebx]
xor ecx, ecx
jmp 0x5b0048
cmp ebp, 0xb
jne 0x5b003b
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
jmp 0x5b0048
cmp ebp, 0xc
jne 0x5b071f
mov eax, dword [ebx]
xor ecx, ecx
mov edx, dword [esp + 0xb0]
mov dword [esp], edx
mov edx, dword [esp + 0xb4]
mov dword [esp + 4], edx
mov edx, dword [esp + 0xb8]
mov dword [esp + 8], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
call fcn.0048e9a0
jmp 0x5b0532
cmp esi, 0xd
jne 0x5b00df
cmp ebp, 0xd
jne 0x5b008e
movss xmm0, dword [ebx]
cvtss2sd xmm0, xmm0
jmp 0x5b009b
cmp ebp, 0xe
jne 0x5b06e5
movsd xmm0, qword [ebx]
movsd qword [esp], xmm0
call fcn.0045f890
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xb0]
mov dword [esp], edx
mov edx, dword [esp + 0xb4]
mov dword [esp + 4], edx
mov edx, dword [esp + 0xb8]
mov dword [esp + 8], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
call fcn.0048e9a0
jmp 0x5b0532
cmp esi, 1
jne 0x5b01a0
mov eax, dword [esp + 0x9c]
mov edx, dword [eax]
movzx edx, byte [edx + 0xb]
test dl, dl
je 0x5b0195
cmp ebp, 1
je 0x5b011a
mov dword [esp], edi
mov dword [esp + 4], ebx
mov eax, dword [esp + 0x34]
mov dword [esp + 8], eax
call fcn.0048b820
mov ebx, dword [esp + 0x50]
movzx eax, byte [ebx]
test al, al
je 0x5b015b
mov eax, dword [esp + 0xb0]
mov dword [esp], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 8], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 1
call fcn.0048e9a0
jmp 0x5b0532
mov eax, dword [esp + 0xb0]
mov dword [esp], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 8], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
call fcn.0048e9a0
jmp 0x5b0532
mov eax, dword [esp + 0xac]
mov edx, dword [esp + 0x34]
cmp esi, 0x18
jne 0x5b0377
mov esi, dword [esp + 0x9c]
mov esi, dword [esi]
movzx esi, byte [esi + 0xb]
xchg esi, eax
test al, al
xchg esi, eax
je 0x5b0377
cmp ebp, 0x18
jne 0x5b01cc
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
jmp 0x5b01e4
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 0x5b01f3
mov ecx, 1
lea eax, [0x657e34]
mov dword [esp + 0x54], eax
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0xb8]
test edx, edx
je 0x5b021d
test edx, 0x200
jne 0x5b021d
lea ebx, [0x65b040]
mov ebp, dword [esp + 0xb0]
jmp 0x5b0247
mov eax, dword [esp + 0xb0]
mov dword [esp], eax
mov ecx, dword [esp + 0xb4]
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 + 0x54]
mov dword [esp], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
call fcn.00476da0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
test eax, eax
je 0x5b033d
mov dword [esp + 0x58], ecx
mov eax, dword [esp + 0x18]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov ecx, dword [esp + 0xa0]
mov dword [esp], ecx
mov ecx, dword [esp + 0xa4]
mov dword [esp + 4], ecx
call fcn.00409c60
mov eax, dword [esp + 8]
lea ecx, [0x5dda40]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x5b02e6
mov eax, dword [eax + 4]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x74], eax
lea eax, [0x61419b]
mov dword [esp], eax
mov dword [esp + 4], 0x1c
lea eax, [esp + 0x68]
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 + 0xbc], eax
mov dword [esp + 0xc0], ecx
add esp, 0x98
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xb0]
mov dword [esp], edx
mov edx, dword [esp + 0xb4]
mov dword [esp + 4], edx
mov edx, dword [esp + 0xb8]
mov dword [esp + 8], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
call fcn.0048e9a0
jmp 0x5b0532
mov dword [esp + 0x48], ecx
mov eax, dword [esp + 0x28]
mov edx, dword [eax + 0x78]
mov dword [esp], ecx
call edx
cmp dword [esp + 8], 0xd
je 0x5b0392
xor eax, eax
jmp 0x5b03b5
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 0x5b03bd
xor ecx, ecx
jmp 0x5b03ed
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x60]
mov ecx, dword [esp + 0x48]
mov dword [esp], ecx
call eax
cmp dword [esp + 8], 6
jne 0x5b03eb
mov ecx, dword [esp + 4]
cmp dword [ecx], 0x626d754e
jne 0x5b03eb
cmp word [ecx + 4], 0x7265
sete cl
jmp 0x5b03ed
xor ecx, ecx
test cl, cl
je 0x5b054f
mov eax, dword [esp + 0xa8]
lea ecx, [0x5ebe00]
cmp eax, ecx
jne 0x5b06cf
mov eax, dword [esp + 0xac]
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.00476da0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
test eax, eax
je 0x5b04fd
mov dword [esp + 0x3c], ecx
mov eax, dword [esp + 0x18]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov ecx, dword [esp + 0xa0]
mov dword [esp], ecx
mov ecx, dword [esp + 0xa4]
mov dword [esp + 4], ecx
call fcn.00409c60
mov eax, dword [esp + 8]
lea ecx, [0x5dda40]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x5b04a6
mov eax, dword [eax + 4]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x74], eax
lea eax, [0x617d58]
mov dword [esp], eax
mov dword [esp + 4], 0x26
lea eax, [esp + 0x68]
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 + 0xbc], eax
mov dword [esp + 0xc0], ecx
add esp, 0x98
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xb0]
mov dword [esp], edx
mov edx, dword [esp + 0xb4]
mov dword [esp + 4], edx
mov edx, dword [esp + 0xb8]
mov dword [esp + 8], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
call fcn.0048e9a0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
add esp, 0x98
ret
mov ecx, dword [esp + 0xb8]
test ecx, ecx
je 0x5b0579
test ecx, 0x200
jne 0x5b0579
mov ecx, dword [esp + 0x34]
test ecx, ecx
mov edx, ecx
lea eax, [0x65b040]
mov ecx, dword [esp + 0xb0]
jmp 0x5b05a5
mov eax, dword [esp + 0xb0]
mov dword [esp], eax
mov eax, dword [esp + 0xb4]
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 + 0x34]
test edx, edx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x24], eax
je 0x5b05c3
test edx, 0x200
jne 0x5b05c3
lea edx, [0x65b040]
mov ebx, dword [esp + 0x4c]
jmp 0x5b05e7
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov eax, dword [esp + 0x50]
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 + 0x20], edx
mov dword [esp + 0x40], ebx
lea edi, [esp + 0x78]
xor eax, eax
call fcn.00468608
mov ecx, dword [esp + 0xa0]
mov dword [esp], ecx
mov ecx, dword [esp + 0xa4]
mov dword [esp + 4], ecx
call fcn.00409c60
mov ecx, dword [esp + 8]
lea edx, [0x5dda40]
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x5b0633
mov eax, dword [ecx + 4]
jmp 0x5b0635
mov eax, ecx
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x5b0654
mov edx, dword [eax + 4]
jmp 0x5b0656
mov edx, eax
mov dword [esp + 0x88], edx
mov eax, dword [esp + 0x40]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x94], eax
lea eax, [0x61bc79]
mov dword [esp], eax
mov dword [esp + 4], 0x41
lea eax, [esp + 0x78]
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 + 0xbc], eax
mov dword [esp + 0xc0], ecx
add esp, 0x98
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 + 0x38]
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 + 0x38]
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 + 0x38]
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.005afe20