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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x1d0
mov eax, dword [ebp + 8]
mov edi, ecx
mov esi, edx
movzx ecx, byte [eax]
cmp ecx, 3
jne 0x65c534
mov eax, dword [esi]
mov word [eax], 0x101
mov dword [eax + 4], 0
mov byte [edi], 3
jmp 0x65d3f9
test ecx, ecx
mov dword [esp + 0x64], edi
je 0x65c807
cmp ecx, 1
jne 0x65c9a5
movq xmm0, qword [eax + 8]
movq xmm1, qword [eax + 0x10]
mov edi, dword [eax + 4]
movzx ebx, byte [eax + 1]
lea edx, [esp + 0x8c]
lea ecx, [esp + 0x50]
movq qword [esp + 0x80], xmm0
movq qword [esp + 0x88], xmm1
mov eax, dword [esp + 0x80]
push dword [esp + 0x88]
push dword [esp + 0x88]
push edx
push ecx
call dword [eax]
add esp, 0x10
mov dword [esp + 0x4c], edi
mov byte [esp + 0x49], bl
mov dword [esp], edi
mov byte [esp + 8], bl
mov byte [esp + 0x48], 1
mov eax, dword [0x94bccc]
cmp eax, 1
ja 0x65c795
movzx eax, byte [0x94aab0]
test al, al
je 0x65c795
movzx eax, al
cmp eax, 1
je 0x65c5eb
cmp eax, 2
je 0x65c633
mov ecx, 0x94aaa8
call fcn.007d3740
test al, al
je 0x65c795
movzx eax, al
cmp eax, 2
je 0x65c633
mov eax, dword [0x94aaa8]
mov ecx, dword [0x94bfb8]
cmp ecx, 2
jne 0x65c795
cmp dword [0x94bcc0], 0
mov edx, dword [str.SetGlobalDefaultErrora_global_default_trace_dispatcher_has_already_been_set]
mov ecx, dword [0x94bcc8]
je 0x65c623
mov edi, esi
mov esi, dword [ecx + 8]
dec esi
and esi, 0xfffffff8
lea edx, [esi + edx + 8]
mov esi, edi
push eax
push edx
call dword [ecx + 0x14]
add esp, 8
test al, al
je 0x65c795
mov eax, dword [0x94aaa8]
mov dword [esp + 4], esi
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x65d4ad
mov edi, dword [eax + 0x1c]
mov edx, dword [eax + 0x24]
mov esi, dword [eax + 0x28]
cmp ecx, 1
mov dword [esp + 0x10], 0x8aa0a8
mov dword [esp + 0x14], 1
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], 0x93d1f8
mov dword [esp + 0x1c], 0
mov dword [esp + 0x9c], edi
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa8], esi
mov dword [esp + 0xac], 0
je 0x65d4ad
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], esi
lea esi, [esp + 0x48]
lea edx, [esp + 0x9c]
mov dword [esp + 0x44], 1
mov dword [esp + 0x98], esi
mov dword [esp + 0x68], edx
lea esi, [esp + 0x10]
lea edx, [esp + 0x34]
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], 0x8a682c
mov dword [esp + 0x74], edx
lea esi, [esp + 0x98]
lea edx, [esp + 0x68]
mov dword [esp + 0x78], esi
mov dword [esp + 0xc0], edx
lea edx, [esp + 0xc0]
lea esi, [eax + 0x1c]
mov dword [esp + 0xc4], 2
mov dword [esp + 0x7c], 0x8aa0b0
mov dword [esp + 0xe8], edx
mov dword [esp + 0xec], eax
mov dword [esp + 0xc8], esi
mov dword [esp + 0xdc], 0
mov dword [esp + 0xd8], 1
mov eax, dword [0x94bfb8]
cmp eax, 2
jne 0x65c791
cmp dword [0x94bcc0], 0
mov edi, dword [str.SetGlobalDefaultErrora_global_default_trace_dispatcher_has_already_been_set]
mov esi, dword [0x94bcc8]
je 0x65c776
mov eax, dword [esi + 8]
dec eax
and eax, 0xfffffff8
lea edi, [eax + edi + 8]
lea ebx, [esp + 0xd8]
push ebx
push edi
call dword [esi + 0x28]
add esp, 8
test al, al
je 0x65c791
push ebx
push edi
call dword [esi + 0x2c]
add esp, 8
mov esi, dword [esp + 4]
mov edi, esi
mov esi, dword [esi + 4]
mov ebx, dword [esp]
cmp dword [esi], 0
je 0x65cdb5
cmp dword [esi + 8], ebx
jne 0x65cdb5
mov eax, dword [0x94bccc]
mov esi, edi
test eax, eax
je 0x65d0ae
mov eax, dword [esi]
movzx ecx, byte [esp + 8]
mov byte [eax], 1
mov byte [eax + 1], cl
mov dword [eax + 4], ebx
mov eax, dword [esp + 0x64]
mov byte [eax], 3
movzx eax, byte [esp + 0x48]
test eax, eax
je 0x65d1aa
cmp eax, 1
jne 0x65d18e
mov ecx, dword [esp + 0x50]
lea eax, [esp + 0x5c]
push dword [esp + 0x58]
push dword [esp + 0x58]
push eax
call dword [ecx + 0xc]
add esp, 0xc
jmp 0x65d1aa
mov edx, dword [eax + 4]
mov ebx, dword [eax + 8]
mov dword [esp + 0xb8], edx
mov dword [esp + 0xbc], ebx
mov eax, dword [0x94bccc]
test eax, eax
je 0x65ce45
mov dword [esp + 0x94], ebx
mov ebx, dword [esi + 0x10]
mov dword [esp], edx
push ebx
call dword [sym.imp.kernel32.dll_AcquireSRWLockExclusive]
mov eax, dword [0x94bfbc]
test eax, 0x7fffffff
jne 0x65d1d2
mov dword [esp + 0x90], 0
movzx eax, byte [ebx + 4]
test al, al
jne 0x65d1ec
lea eax, [ebx + 8]
mov edx, dword [ebx + 0x15c]
mov ecx, dword [ebx + 0x158]
mov dword [esp + 0xb4], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x60], eax
lea eax, [ebx + 0x158]
mov dword [esp + 0xd4], eax
push dword [esp]
push dword [ebx + 0x164]
push dword [ebx + 0x160]
call fcn.00483f20
add esp, 0xc
mov edx, eax
mov eax, dword [ebx + 0x16c]
lea ecx, [ebx + 0x168]
mov edi, dword [ebx + 0x174]
mov dword [esp + 0x2c], ebx
pcmpeqd xmm1, xmm1
mov dword [esp + 0xb0], 0
mov esi, edx
mov dword [esp + 0xd0], edx
mov dword [esp + 0xcc], ecx
shr esi, 0x19
movd xmm0, esi
mov esi, edx
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x170]
mov ebx, dword [ebx + 0x178]
punpcklbw xmm0, xmm0
pshuflw xmm0, xmm0, 0
pshufd xmm0, xmm0, 0
mov edx, ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x30], ebx
and esi, edx
movdqu xmm2, xmmword [edi + esi]
mov dword [esp + 4], esi
movdqa xmm3, xmm2
pcmpeqb xmm3, xmm0
pmovmskb esi, xmm3
nop word cs:[eax + eax]
nop dword [eax]
test si, si
je 0x65c977
tzcnt ecx, esi
add ecx, dword [esp + 4]
and ecx, edx
mov edx, edi
shl ecx, 2
sub edi, ecx
mov ecx, dword [edi - 4]
cmp eax, ecx
jbe 0x65d33e
lea edi, [esi - 1]
mov eax, dword [esp + 8]
lea ebx, [ecx + ecx*2]
and edi, esi
mov esi, dword [esp]
cmp dword [eax + ebx*4 + 4], esi
mov esi, edi
mov edi, edx
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x30]
jne 0x65c930
jmp 0x65cbe0
pcmpeqb xmm2, xmm1
pmovmskb ecx, xmm2
test ecx, ecx
jne 0x65d25f
mov ecx, dword [esp + 0xb0]
mov esi, dword [esp + 4]
lea esi, [esi + ecx + 0x10]
add ecx, 0x10
mov dword [esp + 0xb0], ecx
jmp 0x65c90c
movzx ecx, byte [eax + 1]
mov ebx, dword [eax + 4]
mov edi, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov byte [esp + 8], cl
mov byte [esp + 0xc0], cl
mov eax, dword [0x94bccc]
mov dword [esp + 4], esi
mov dword [esp], edi
cmp eax, 1
ja 0x65cbc8
movzx eax, byte [0x94aac8]
test al, al
je 0x65cbc8
movzx eax, al
cmp eax, 1
je 0x65ca0f
cmp eax, 2
je 0x65ca5b
mov ecx, 0x94aac0
mov edi, edx
call fcn.007d3740
test al, al
je 0x65d34a
mov edx, edi
mov edi, dword [esp]
movzx eax, al
cmp eax, 2
je 0x65ca5b
mov eax, dword [0x94aac0]
mov ecx, dword [0x94bfb8]
cmp ecx, 2
jne 0x65cbc8
mov dword [esp + 0x30], edx
cmp dword [0x94bcc0], 0
mov edx, dword [str.SetGlobalDefaultErrora_global_default_trace_dispatcher_has_already_been_set]
mov ecx, dword [0x94bcc8]
je 0x65ca47
mov esi, dword [ecx + 8]
dec esi
and esi, 0xfffffff8
lea edx, [esi + edx + 8]
push eax
push edx
call dword [ecx + 0x14]
add esp, 8
mov edx, dword [esp + 0x30]
test al, al
je 0x65cbc8
mov eax, dword [0x94aac0]
mov dword [esp + 0xc], ebx
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x65d4c1
mov edi, edx
mov ebx, dword [eax + 0x1c]
mov edx, dword [eax + 0x24]
mov esi, dword [eax + 0x28]
cmp ecx, 1
mov dword [esp + 0x10], 0x8aa120
mov dword [esp + 0x14], 1
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], 0x93d1f8
mov dword [esp + 0x1c], 0
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], 0
je 0x65d4c1
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], esi
lea esi, [esp + 0xc0]
lea edx, [esp + 0x34]
mov dword [esp + 0x58], 1
mov dword [esp + 0x80], esi
mov dword [esp + 0x68], edx
lea esi, [esp + 0x10]
lea edx, [esp + 0x48]
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], 0x8a682c
mov dword [esp + 0x74], edx
lea esi, [esp + 0x80]
lea edx, [esp + 0x68]
mov dword [esp + 0x78], esi
mov dword [esp + 0x9c], edx
lea edx, [esp + 0x9c]
lea esi, [eax + 0x1c]
mov dword [esp + 0xa0], 2
mov dword [esp + 0x7c], 0x8aa128
mov dword [esp + 0xe8], edx
mov dword [esp + 0xec], eax
mov dword [esp + 0xa4], esi
mov dword [esp + 0xdc], 0
mov dword [esp + 0xd8], 1
mov eax, dword [0x94bfb8]
cmp eax, 2
jne 0x65cbb3
cmp dword [0x94bcc0], 0
mov ebx, dword [str.SetGlobalDefaultErrora_global_default_trace_dispatcher_has_already_been_set]
mov esi, dword [0x94bcc8]
je 0x65cb91
mov eax, dword [esi + 8]
dec eax
and eax, 0xfffffff8
lea ebx, [eax + ebx + 8]
lea eax, [esp + 0xd8]
push eax
push ebx
call dword [esi + 0x28]
add esp, 8
test al, al
je 0x65cbb3
lea eax, [esp + 0xd8]
push eax
push ebx
call dword [esi + 0x2c]
add esp, 8
movzx eax, byte [esp + 0xc0]
mov edx, edi
mov ebx, dword [esp + 0xc]
mov edi, dword [esp]
mov byte [esp + 8], al
cmp ebx, 0x80000000
jne 0x65d35b
mov eax, 0x80000000
mov edi, ebx
jmp 0x65d3a5
cmp ecx, eax
jae 0x65d420
mov edi, dword [esp + 0x2c]
mov eax, dword [edi + 0x16c]
mov edx, dword [eax + ebx*4 + 4]
mov esi, dword [eax + ebx*4 + 8]
mov ebx, dword [esp + 0x60]
mov eax, dword [esp + 0xd4]
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], edx
mov dword [esp + 4], edx
mov dword [esp + 0x68], eax
push ebx
call dword [sym.imp.kernel32.dll_AcquireSRWLockExclusive]
mov eax, dword [0x94bfbc]
test eax, 0x7fffffff
jne 0x65d222
xor eax, eax
movzx ecx, byte [ebx + 4]
mov edx, dword [esp + 4]
test cl, cl
jne 0x65d239
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], edx
mov dword [esp + 0xc], eax
cmp dword [edi + 0x190], esi
jbe 0x65d42c
mov eax, dword [edi + 0x18c]
test eax, eax
je 0x65d42c
imul edi, esi, 0xf0
mov ecx, dword [eax + edi]
xor ecx, 3
or ecx, dword [eax + edi + 4]
je 0x65d42c
add eax, edi
cmp dword [eax + 0xcc], edx
jne 0x65d42c
mov eax, dword [eax + 0x18]
lea ecx, [ebx + 8]
mov edx, dword [esp + 0x94]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x2c]
add ecx, 0x38
mov dword [esp], ecx
lea ecx, [eax + 0xe8]
mov eax, dword [esp + 0x2c]
add eax, 0xe0
push eax
mov ebx, dword [esp + 0xb8]
push ebx
lea eax, [esp + 0x70]
push eax
push dword [esp + 0x14]
push 1
call fcn.00646f70
add esp, 0x14
mov ecx, dword [esp]
lea edx, [esp + 0x68]
push ebx
mov ebx, dword [esp + 0x30]
call fcn.00490a70
mov edx, dword [esp + 8]
add esp, 4
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], edx
cmp dword [ebx + 0x190], esi
jbe 0x65d453
mov eax, dword [ebx + 0x18c]
test eax, eax
je 0x65d453
mov ecx, dword [eax + edi]
xor ecx, 3
or ecx, dword [eax + edi + 4]
je 0x65d453
add eax, edi
cmp dword [eax + 0xcc], edx
jne 0x65d453
mov ecx, dword [eax + 0x50]
mov edx, dword [eax + 0x54]
mov esi, dword [esp + 0x64]
mov dword [eax + 0x50], 0
test ecx, ecx
je 0x65cd4a
push edx
call dword [ecx + 4]
add esp, 4
xor eax, eax
cmp dword [esp + 0x30], 0x3b9aca00
mov ecx, dword [esp + 0xb4]
lea edx, [esp + 0x68]
setne al
push eax
call fcn.00482f50
add esp, 4
cmp byte [esp + 0xc], 0
jne 0x65cd82
mov eax, dword [0x94bfbc]
test eax, 0x7fffffff
jne 0x65d2ce
push dword [esp + 0x60]
call dword [sym.imp.kernel32.dll_ReleaseSRWLockExclusive]
cmp byte [esp + 0x90], 0
jne 0x65cda6
mov eax, dword [0x94bfbc]
test eax, 0x7fffffff
jne 0x65d2e8
push ebx
call dword [sym.imp.kernel32.dll_ReleaseSRWLockExclusive]
mov byte [esi], 3
jmp 0x65d3f9
movsd xmm0, qword [esp + 0x58]
movq xmm2, qword [esp + 0x48]
movsd xmm1, qword [esp + 0x50]
lea ecx, [edi + 0x10]
lea edx, [esp + 0xd8]
movsd qword [esp + 0xe8], xmm0
movsd qword [esp + 0xe0], xmm1
movq qword [esp + 0xd8], xmm2
call fcn.00662380
movq xmm0, qword [esp + 0x80]
movq xmm1, qword [esp + 0x88]
mov ecx, dword [edi + 0x10]
movq qword [esp + 0xe0], xmm1
movq qword [esp + 0xd8], xmm0
call fcn.00660ed0
lea edx, [esp + 0xd8]
mov ecx, esi
mov dword [esp + 0xe8], eax
mov dword [esp + 0xec], ebx
call fcn.004825b0
mov eax, dword [esp + 0x64]
mov byte [eax], 3
jmp 0x65d3f9
movzx eax, byte [0x94aaa4]
test al, al
je 0x65c828
movzx eax, al
cmp eax, 1
je 0x65ce81
cmp eax, 2
je 0x65cedd
mov ecx, 0x94aa9c
mov dword [esp], edx
call fcn.007d3740
test al, al
je 0x65d401
mov edx, dword [esp]
movzx eax, al
cmp eax, 2
je 0x65cedd
mov eax, dword [0x94aa9c]
mov ecx, dword [0x94bfb8]
cmp ecx, 2
jne 0x65c828
mov dword [esp], edx
cmp dword [0x94bcc0], 0
mov edx, dword [str.SetGlobalDefaultErrora_global_default_trace_dispatcher_has_already_been_set]
mov ecx, dword [0x94bcc8]
je 0x65ceca
mov dword [esp + 0x94], ebx
mov ebx, esi
mov esi, dword [ecx + 8]
dec esi
and esi, 0xfffffff8
lea edx, [esi + edx + 8]
mov esi, ebx
mov ebx, dword [esp + 0x94]
push eax
push edx
call dword [ecx + 0x14]
add esp, 8
mov edx, dword [esp]
test al, al
je 0x65c828
mov eax, dword [0x94aa9c]
mov dword [esp + 4], esi
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x65d499
mov edi, dword [eax + 0x1c]
mov edx, dword [eax + 0x24]
mov esi, dword [eax + 0x28]
cmp ecx, 1
mov dword [esp + 0x68], 0x8aa04c
mov dword [esp + 0x6c], 1
mov dword [esp + 0x78], 0
mov dword [esp + 0x70], 0x93d1f8
mov dword [esp + 0x74], 0
mov dword [esp + 0x9c], edi
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa8], esi
mov dword [esp + 0xac], 0
je 0x65d499
lea ebx, [esp + 0xb8]
cmp ecx, 2
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], 1
mov dword [esp + 0x98], ebx
jbe 0x65d499
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], esi
lea esi, [esp + 0xbc]
lea edx, [esp + 0x9c]
mov dword [esp + 0x58], 2
mov dword [esp + 0xc0], esi
mov dword [esp + 0xd8], edx
lea esi, [esp + 0x68]
lea edx, [esp + 0x34]
mov dword [esp + 0xdc], esi
mov dword [esp + 0xe0], 0x8a682c
mov dword [esp + 0xe4], edx
lea esi, [esp + 0x98]
lea edx, [esp + 0x48]
mov dword [esp + 0xe8], esi
mov dword [esp + 0xec], 0x8aa054
mov dword [esp + 0xf0], edx
lea esi, [esp + 0xc0]
lea edx, [esp + 0xd8]
mov dword [esp + 0xf4], esi
mov dword [esp + 0x80], edx
lea edx, [esp + 0x80]
lea esi, [eax + 0x1c]
mov dword [esp + 0x84], 3
mov dword [esp + 0xf8], 0x8aa064
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x88], esi
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 1
mov eax, dword [0x94bfb8]
cmp eax, 2
jne 0x65d097
cmp dword [0x94bcc0], 0
mov edi, dword [str.SetGlobalDefaultErrora_global_default_trace_dispatcher_has_already_been_set]
mov esi, dword [0x94bcc8]
je 0x65d07f
mov eax, dword [esi + 8]
dec eax
and eax, 0xfffffff8
lea edi, [eax + edi + 8]
lea ebx, [esp + 0x10]
push ebx
push edi
call dword [esi + 0x28]
add esp, 8
test al, al
je 0x65d097
push ebx
push edi
call dword [esi + 0x2c]
add esp, 8
mov edx, dword [esp + 0xb8]
mov ebx, dword [esp + 0xbc]
mov esi, dword [esp + 4]
jmp 0x65c828
movzx eax, byte [0x94aabc]
test al, al
je 0x65c7be
movzx ecx, al
cmp ecx, 1
je 0x65d0d0
cmp ecx, 2
jne 0x65d409
mov al, 2
mov ecx, dword [0x94aab4]
movzx edx, al
call fcn.007580e0
test al, al
je 0x65c7be
mov ecx, dword [0x94aab4]
mov edx, dword [ecx + 0x20]
test edx, edx
je 0x65d4da
mov esi, dword [ecx + 0x1c]
movq xmm0, qword [ecx + 0x24]
lea eax, [ecx + 0x1c]
mov dword [esp + 0xd8], 0x8aa0ec
mov dword [esp + 0xdc], 1
mov dword [esp + 0xe8], 0
mov dword [esp + 0xe0], 0x93d1f8
mov dword [esp + 0xe4], 0
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edx
lea edx, [esp + 0x10]
movq qword [esp + 0x18], xmm0
mov dword [esp + 0x20], 0
mov dword [esp + 0x34], edx
lea edx, [esp + 0xd8]
mov dword [esp + 0x38], edx
lea edx, [esp + 0x34]
mov dword [esp + 0x3c], 0x8a682c
mov dword [esp + 0x68], edx
lea edx, [esp + 0x68]
mov dword [esp + 0x6c], 1
mov dword [esp + 0x70], eax
call fcn.007587f0
mov esi, edi
jmp 0x65c7be
test dword [esp + 0x4c], 0x7fffffff
je 0x65d1aa
push dword [esp + 0x50]
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [esp + 0x80]
push dword [esp + 0x88]
push dword [esp + 0x88]
lea ecx, [esp + 0x94]
push ecx
call dword [eax + 0xc]
add esp, 0xc
jmp 0x65d3f9
call fcn.007d1b30
xor al, 1
mov dword [esp + 0x90], eax
movzx eax, byte [ebx + 4]
test al, al
je 0x65c863
mov eax, dword [esp + 0x90]
mov dword [esp + 0xd8], ebx
mov ecx, 0x93b384
mov edx, 0x2b
mov byte [esp + 0xdc], al
lea eax, [esp + 0xd8]
push 0x8aaf04
push 0x8abf8c
push eax
call fcn.007c1f60
call fcn.007d1b30
xor al, 1
movzx ecx, byte [ebx + 4]
mov edx, dword [esp + 4]
test cl, cl
je 0x65cc3e
mov dword [esp + 0x10], ebx
mov byte [esp + 0x14], al
lea eax, [esp + 0x10]
mov ecx, 0x93b384
mov edx, 0x2b
push 0x8ab160
push 0x8abf6c
push eax
call fcn.007c1f60
mov ecx, dword [esp + 0xcc]
mov edx, dword [esp + 0xd0]
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov edx, dword [esp]
lea eax, [edi + 0x188]
test edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
je 0x65d4ee
test dl, 1
mov ebx, dword [esp + 0x60]
sete al
cmp byte [edi + 0x34], 0
sete cl
xor cl, al
je 0x65d2fe
cmp dword [edi + 0xe8], 0
jne 0x65d317
cmp dword [edi + 0xec], edx
ja 0x65d317
lea eax, [edx + 2]
mov ecx, eax
shr ecx, 0x1f
mov dword [edi + 0xe8], ecx
mov dword [edi + 0xec], eax
jmp 0x65d317
call fcn.007d1b30
test al, al
jne 0x65cd82
mov eax, dword [esp + 0x60]
mov byte [eax + 4], 1
jmp 0x65cd82
call fcn.007d1b30
test al, al
jne 0x65cda6
mov byte [ebx + 4], 1
jmp 0x65cda6
cmp dword [edi + 0x38], 0
jne 0x65d317
cmp dword [edi + 0x3c], edx
ja 0x65d317
lea eax, [edx + 2]
mov ecx, eax
shr ecx, 0x1f
mov dword [edi + 0x38], ecx
mov dword [edi + 0x3c], eax
lea esi, [esp + 0xd8]
mov ecx, esi
push 0
push 0
call fcn.004944f0
add esp, 8
lea ecx, [esp + 0x10]
mov edx, esi
call fcn.00494370
mov esi, eax
jmp 0x65cbfe
mov edx, eax
push 0x93a724
call fcn.007c1be0
mov edx, edi
mov edi, dword [esp]
cmp ebx, 0x80000000
je 0x65cbd4
test edx, edx
mov dword [esp + 0xc], ebx
je 0x65d38b
js 0x65d4d5
movzx eax, byte [0x94bfc5]
xor ecx, ecx
mov esi, edx
call fcn.0071ee80
mov edx, esi
mov esi, eax
test eax, eax
jne 0x65d390
mov ecx, 1
call fcn.007c1490
mov esi, 1
push edx
push edi
push esi
mov ebx, edx
call fcn.007bd9b0
mov edx, ebx
add esp, 0xc
mov edi, dword [esp + 0xc]
mov eax, ebx
mov ecx, dword [esp + 4]
movzx ebx, byte [esp + 8]
mov byte [esp + 0xd9], bl
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], esi
mov dword [esp + 0xe4], edx
mov esi, edx
add ecx, 0x10
lea edx, [esp + 0xd8]
mov byte [esp + 0xd8], 2
call fcn.00662380
mov eax, dword [esp + 0x64]
mov ecx, dword [esp]
mov byte [eax], 2
mov byte [eax + 1], bl
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edx, dword [esp]
jmp 0x65c828
mov ecx, 0x94aab4
call fcn.007d3740
test al, al
jne 0x65d0d0
jmp 0x65c7be
mov edx, eax
push 0x93a714
call fcn.007c1be0
lea ecx, [esp + 0x48]
lea eax, [esp + 0x38]
mov dword [esp + 0x10], 0x828150
mov dword [esp + 0x14], 1
mov dword [esp + 0x20], 0
mov edx, 0x828158
jmp 0x65d478
lea ecx, [esp + 0x48]
lea eax, [esp + 0x38]
mov dword [esp + 0x10], 0x828150
mov dword [esp + 0x14], 1
mov dword [esp + 0x20], 0
mov edx, 0x828168
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], 0x47c5e0
mov dword [esp + 0x1c], 1
call fcn.007c1b50
mov ecx, 0x8a6758
mov edx, 0x22
push 0x8aa030
call fcn.007c2000
mov ecx, 0x8a6758
mov edx, 0x22
push 0x8aa074
call fcn.007c2000
mov ecx, 0x8a6758
mov edx, 0x22
push 0x8aa0f4
call fcn.007c2000
call fcn.00418cb0
mov ecx, 0x8a6758
mov edx, 0x22
push 0x8aa0c0
call fcn.007c2000
mov ecx, 0x826588
mov edx, 0x1f
push 0x82660c
call fcn.007c1ca0
int3