Function at 0x65816280
Capabilities:
Check os version
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x134]
cmp eax, dword [ecx + 8]
jbe 0x65817475
sub esp, 0x1b4
lea eax, [0x65a34414]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.65802a40
mov eax, dword [0x65a34414]
cmp eax, 1
jne 0x658162cb
mov eax, 1
jmp 0x658162d1
cmp eax, 2
sete al
mov byte [0x65a345b4], al
test al, al
je 0x658162e2
mov eax, 1
jmp 0x658162e9
movzx eax, byte [0x65a345b5]
mov byte [0x65a345b0], al
mov eax, dword [0x65a34d20]
mov ecx, dword [0x65a34d24]
mov dword [0x65a0eb58], eax
mov dword [0x65a0eb5c], ecx
nop
call fcn.658609b0
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
nop
mov edx, dword [esp + 4]
mov dword [esp + 0x3c], edx
mov ebx, dword [esp]
mov dword [esp + 0x30], ebx
inc dword [ecx + 0x7c]
mov ecx, dword [eax + 0x18]
mov dword [esp + 0x1a0], ecx
test byte [eax], al
mov dword [ecx + 0x78], 5
lea edi, [ecx + 0x74]
mov dword [esp + 0x1b0], edi
mov eax, dword [0x65a345b0]
test eax, eax
jne 0x65816362
lea eax, [0x658e2292]
mov dword [ecx + 0x74], eax
jmp 0x6581636d
lea eax, [0x658e2292]
call fcn.6585fb10
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov dword [esp + 0x1a8], eax
mov ecx, dword [eax + 0x18]
mov byte [ecx + 0x9d], 2
mov ecx, dword [eax + 0x18]
mov ecx, dword [ecx + 0x50]
mov dword [esp + 0x1a4], ecx
mov dword [esp], ecx
mov dword [esp + 4], 2
mov dword [esp + 8], 4
call fcn.6583a050
mov eax, dword [esp + 0x1a4]
mov byte [eax + 0x64], 6
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
lea ecx, [0x65817480]
mov dword [esp + 0xdc], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xe4], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xe0], ecx
lea ecx, [esp + 0xdc]
mov dword [esp], ecx
call fcn.6585e5d0
lea eax, [0x65980a10]
mov dword [esp], eax
call fcn.6585e5d0
mov eax, dword [esp + 0x1a8]
mov eax, dword [eax + 0x18]
mov byte [eax + 0x9d], 0
mov eax, dword [esp + 0x1a4]
mov dword [esp], eax
mov dword [esp + 4], 4
mov dword [esp + 8], 2
call fcn.6583a050
movzx eax, byte [0x65a18a28]
test al, al
je 0x65816480
mov byte [esp], 8
mov dword [esp + 4], 0xffffffff
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.658536d0
mov ecx, dword [esp + 0x1a0]
mov dword [ecx + 0x78], 0
mov edx, dword [0x65a345b0]
test edx, edx
jne 0x658164a1
mov dword [ecx + 0x74], 0
jmp 0x658164af
mov edi, dword [esp + 0x1b0]
xor eax, eax
call fcn.6585fb10
mov eax, dword [0x65a34414]
test eax, eax
jne 0x6581745e
lea eax, [0x65a34dc8]
mov dword [esp], eax
call fcn.65802a70
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [0x65a37c6c], eax
mov dword [0x65a37c68], ecx
lea eax, [0x65980a00]
mov dword [esp], eax
call fcn.6585e5d0
nop
call fcn.658609b0
mov eax, dword [esp + 4]
mov dword [esp + 0x38], eax
mov ecx, dword [esp]
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 4]
mov dword [esp + 0x34], edx
call fcn.658609f0
mov eax, dword [esp]
mov ecx, eax
mov eax, 0x3b9aca00
mul ecx
mov dword [esp + 0xd0], edx
mov dword [esp + 0xcc], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x60], ecx
add ecx, eax
mov dword [esp + 0x44], ecx
mov ebp, dword [0x65a0eb48]
mov esi, dword [esp + 0x2c]
mov edi, esi
sub esi, ebp
mov ecx, dword [0x65a0eb40]
mov dword [esp + 0xc8], ecx
add ecx, esi
mov eax, dword [esp + 4]
mov dword [esp + 0x54], eax
mov ebx, dword [0x65a0eb44]
mov edx, dword [0x65a0eb4c]
mov dword [0x65a0eb40], ecx
mov ecx, edi
sub edi, ebp
mov ebp, dword [esp + 0x34]
mov edi, ebp
sbb ebp, edx
mov edx, dword [esp + 0xc8]
add edx, esi
adc ebp, ebx
mov dword [0x65a0eb44], ebp
mov edx, dword [esp + 0x38]
mov dword [0x65a0eb3c], edx
mov dword [0x65a0eb38], ecx
mov ebx, dword [0x65a0eb48]
sub ecx, ebx
mov ebx, dword [0x65a0eb4c]
lea esi, [0x65a37c78]
mov dword [esp], esi
sbb edi, ebx
mov dword [esp + 8], edi
mov dword [esp + 4], ecx
call fcn.658085c0
lea eax, [0x65a36c40]
mov dword [esp], eax
mov eax, dword [esp + 0x54]
imul eax, eax, 0x3b9aca00
mov ecx, dword [esp + 0xd0]
add eax, ecx
mov ecx, dword [esp + 0x60]
mov edx, ecx
sar ecx, 0x1f
mov ebx, dword [esp + 0xcc]
add edx, ebx
adc eax, ecx
mov dword [esp + 0x48], eax
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x44]
mov dword [esp + 4], ecx
call fcn.65802a90
lea eax, [0x65a37c60]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 4], ecx
call fcn.65802a90
mov eax, dword [0x65a37c50]
and eax, 0xff
lea ecx, [0x65a36c50]
lea edx, [ecx + eax*8]
mov ebx, dword [0x65a0eb40]
mov ebp, dword [0x65a0eb44]
mov dword [edx], ebx
lea eax, [ecx + eax*8 + 4]
mov dword [eax], ebp
mov eax, dword [0x65a37c50]
and eax, 0xff
lea ecx, [0x65a37450]
lea edx, [ecx + eax*8]
mov ebx, dword [esp + 0x44]
mov dword [edx], ebx
lea eax, [ecx + eax*8 + 4]
mov ecx, dword [esp + 0x48]
mov dword [eax], ecx
mov eax, dword [0x65a36c48]
mov ecx, dword [0x65a0eb40]
add eax, ecx
mov ecx, dword [0x65a36c4c]
mov edx, dword [0x65a0eb44]
mov dword [0x65a36c48], eax
adc ecx, edx
mov dword [0x65a36c4c], ecx
mov eax, dword [0x65a0eb28]
mov dword [esp + 0xd0], eax
mov ecx, dword [0x65a0eb20]
mov dword [esp + 0xcc], ecx
sub eax, ecx
mov dword [esp + 0xc8], eax
mov ebx, dword [0x65a0eb18]
mov dword [esp + 0xc4], ebx
mul ebx
mov dword [esp + 0xc0], edx
mov dword [esp + 0x50], eax
mov edi, dword [0x65a0eb2c]
mov dword [esp + 0xbc], edi
mov esi, dword [0x65a0eb24]
mov dword [esp + 0xb8], esi
lea edx, [0x65a34d78]
mov dword [esp], edx
call fcn.65802910
mov eax, dword [esp + 4]
mov dword [esp + 0x28], eax
mov ecx, dword [0x65a34d80]
add eax, ecx
mov dword [esp + 0xb4], eax
mov ebx, dword [0x65a34d88]
mov ebp, ebx
add ebx, eax
mov dword [esp + 0x70], ebx
mov esi, dword [0x65a0eb38]
mov dword [esp + 0xb0], esi
mov edi, dword [0x65a0eb30]
mov dword [esp + 0xac], edi
sub esi, edi
mov dword [esp + 0xa8], esi
mov edi, dword [0x65a0eb18]
mov dword [esp + 0xa4], edi
mov eax, esi
mul edi
mov dword [esp + 0xa0], edx
mov dword [esp + 0x6c], eax
mov esi, dword [esp + 0x50]
add esi, ebx
mov dword [esp + 0x9c], esi
add eax, esi
mov dword [esp + 0x80], eax
mov esi, dword [0x65a0eaf0]
mov dword [esp + 0x98], esi
add esi, eax
mov dword [esp + 0x94], esi
mov eax, dword [esp + 8]
mov edx, dword [0x65a34d84]
mov edi, dword [0x65a34d8c]
mov ebx, dword [0x65a0eb3c]
mov dword [esp + 0x90], ebx
mov ebx, dword [0x65a0eb34]
mov dword [esp + 0x8c], ebx
mov ebx, dword [0x65a0eaf4]
mov dword [esp + 0x88], ebx
mov dword [0x65a0eaf0], esi
mov esi, dword [esp + 0xd0]
mov ebx, dword [esp + 0xcc]
sub esi, ebx
mov ebx, dword [esp + 0xbc]
mov esi, dword [esp + 0xb8]
sbb ebx, esi
mov esi, dword [esp + 0x28]
add esi, ecx
adc eax, edx
mov ecx, dword [esp + 0xb4]
add ebp, ecx
adc eax, edi
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0xac]
sub ecx, edx
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x8c]
sbb ecx, edx
mov edx, dword [esp + 0xc4]
mov ebp, edx
sar edx, 0x1f
imul ebx, ebp
mov ebp, dword [esp + 0xc0]
add ebx, ebp
mov ebp, dword [esp + 0xc8]
imul ebp, edx
lea edx, [ebp + ebx]
mov dword [esp + 0xd0], edx
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x70]
add ebp, ebx
adc eax, edx
mov ebp, dword [esp + 0xa4]
mov esi, ebp
sar ebp, 0x1f
imul ecx, esi
mov esi, dword [esp + 0xa0]
add ecx, esi
mov esi, dword [esp + 0xa8]
imul esi, ebp
add ecx, esi
mov dword [esp + 0xcc], ecx
mov ebp, dword [esp + 0x6c]
mov esi, dword [esp + 0x9c]
add esi, ebp
adc eax, ecx
mov esi, dword [esp + 0x98]
mov edi, dword [esp + 0x80]
add esi, edi
mov esi, dword [esp + 0x88]
adc esi, eax
mov dword [0x65a0eaf4], esi
mov eax, dword [0x65a0ee74]
mov dword [esp + 0xc8], eax
mov edi, dword [esp + 0x2c]
sub edi, eax
mov dword [esp + 0xc0], edi
mov ecx, dword [0x65a34418]
mov dword [esp + 0xc4], ecx
mov eax, ecx
mul edi
mov dword [esp + 0xb4], edx
mov dword [esp + 0xb0], eax
mov ebp, dword [0x65a0ee7c]
mov dword [esp + 0xac], ebp
add ebp, eax
mov dword [esp + 0x4c], ebp
mov ebx, dword [0x65a0ee80]
mov dword [esp + 0xbc], ebx
mov ebp, dword [0x65a0ee78]
mov dword [esp + 0xb8], ebp
mov dword [esp + 4], esi
mov esi, dword [esp + 0x94]
mov dword [esp], esi
call fcn.6585b420
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0xc8]
sub eax, ecx
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0xb8]
sbb eax, ecx
mov ecx, dword [esp + 0xc4]
imul eax, ecx
sar ecx, 0x1f
mov ebx, dword [esp + 0xc0]
imul ebx, ecx
mov ecx, dword [esp + 0xb4]
add ecx, ebx
add eax, ecx
mov ecx, dword [esp + 0xac]
mov ebx, dword [esp + 0xb0]
add ecx, ebx
mov ecx, dword [esp + 0xbc]
adc ecx, eax
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0xd4], xmm0
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call fcn.6585b420
movsd xmm0, qword [esp + 0xd4]
divsd xmm0, qword [esp + 8]
movsd qword [0x65a37c58], xmm0
nop
lea eax, [0x65a14468]
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call fcn.658028d0
mov dword [0x65a0e7bc], 0
mov dword [0x65a0e7c0], 0
movzx eax, byte [0x65a0eaec]
test al, al
je 0x658169f7
inc dword [0x65a37c54]
nop
lea eax, [0x65a0eb0c]
mov dword [esp], eax
call fcn.658099a0
inc dword [0x65a37c50]
lea eax, [0x65a0eb10]
mov dword [esp], eax
call fcn.6583e630
nop
nop
lea eax, [0x65a0eb0c]
mov dword [esp], eax
call fcn.65809ba0
lea eax, [0x65a347a0]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
call fcn.65818c50
lea eax, [0x65a34424]
mov dword [esp], eax
call fcn.6582ce40
lea eax, [0x65a0e7c4]
mov dword [esp], eax
call fcn.65822e40
mov eax, dword [esp + 4]
movzx ecx, byte [esp + 8]
test cl, cl
je 0x65817448
mov byte [esp + 0x23], cl
mov dword [esp + 0xc8], eax
lea eax, [0x65980a14]
mov dword [esp], eax
call fcn.6585e5d0
call fcn.6582d3e0
call fcn.65825310
lea eax, [0x659809f4]
mov dword [esp], eax
call fcn.6585e5d0
lea eax, [0x65980a1c]
mov dword [esp], eax
call fcn.6585e5d0
lea eax, [0x65a0e7c4]
mov dword [esp], eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 4], eax
movzx eax, byte [esp + 0x23]
mov byte [esp + 8], al
call fcn.65822ec0
mov eax, dword [0x65a346fc]
test eax, eax
jle 0x65816b53
movsd xmm0, qword [0x6599c520]
mulsd xmm0, qword [0x65a37c58]
movsd qword [esp + 0xd4], xmm0
lea edi, [esp + 0xe8]
xor eax, eax
call fcn.6585fcea
call fcn.65837610
mov ecx, dword [0x65a0eb20]
mov edx, dword [0x65a344f8]
sub ecx, edx
mov edx, dword [0x65a0eb24]
mov ebx, dword [0x65a344fc]
sbb edx, ebx
mov dword [esp + 4], edx
mov dword [esp], ecx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0xf4240
call fcn.6585b660
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, 0x17
jmp 0x65816bcd
lea eax, [0x658b114c]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.65848120
lea eax, [0x658b112c]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.65848120
nop
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [esp + 0x1a0]
mov edx, dword [ecx + 0x7c]
lea ebx, [edx - 1]
mov dword [ecx + 0x7c], ebx
cmp edx, 1
jne 0x65816bbb
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x65816bbb
mov dword [eax + 8], 0xfffffade
add esp, 0x1b4
ret
mov ecx, dword [esp + 0xb0]
mov eax, edx
mov edx, esi
test edx, edx
seta bl
cmp ecx, 0xa
xchg ebp, ebx
setae bl
xchg ebp, ebx
test edx, edx
xchg esi, ebx
sete bl
xchg esi, ebx
and esi, ebp
or ebx, esi
test bl, bl
jne 0x65816bf6
cmp eax, 0x14
jl 0x65816ccd
mov dword [esp + 0x40], ecx
mov dword [esp + 0x74], eax
mov eax, 0xcccccccd
mov ebp, edx
mul ecx
shr edx, 3
mov esi, edx
add edx, 0
mov eax, 0xcccccccd
mov edi, edx
mul ebp
shr edx, 3
mov dword [esp + 0xc8], edx
lea ebx, [edx + edx*4]
shl ebx, 1
sub ebp, ebx
mov eax, 0x19999999
mul ebp
mov dword [esp + 0xc0], eax
add eax, edi
lea ebx, [esi + esi*4]
shl ebx, 1
sub ecx, ebx
lea ebx, [ebp + ebp*2]
lea ebx, [ecx + ebx*2]
mov ecx, eax
mov eax, 0xcccccccd
mov ebp, edx
mul ebx
shr edx, 3
mov dword [esp + 0xb4], edx
add edx, ecx
mov dword [esp + 0xb0], edx
mov eax, edx
mov ebx, 0xa
mul ebx
mov edx, dword [esp + 0x40]
sub edx, eax
add edx, 0x30
add esi, 0
mov esi, dword [esp + 0xc8]
adc esi, 0
mov ebx, dword [esp + 0xc0]
add ebx, edi
adc esi, ebp
mov ebx, dword [esp + 0xb4]
add ebx, ecx
adc esi, 0
mov eax, dword [esp + 0x74]
cmp eax, 0x18
jae 0x6581743e
mov byte [esp + eax + 0xe8], dl
lea edx, [eax - 1]
cmp eax, 0x15
jne 0x65816bc2
mov byte [esp + eax + 0xe7], 0x2e
mov edx, 0x13
jmp 0x65816bc2
add ecx, 0x30
cmp eax, 0x18
jae 0x65817434
mov byte [esp + eax + 0xe8], cl
mov ecx, dword [0x65a37c50]
mov dword [esp + 0xc8], ecx
lea edx, [esp + 0x158]
mov dword [esp], edx
lea edx, [eax - 0x18]
neg edx
mov ebx, edx
neg edx
sar edx, 0x1f
and eax, edx
lea eax, [esp + eax + 0xe8]
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.6584d520
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1ac], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x84], ecx
call fcn.65837610
lea eax, [0x658e1fc5]
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.65837ef0
mov dword [esp + 4], 0
mov eax, dword [esp + 0xc8]
mov dword [esp], eax
call fcn.65837b90
lea eax, [0x658e1e33]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.65837ef0
mov eax, dword [esp + 0x1ac]
mov dword [esp], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 4], eax
call fcn.65837ef0
lea eax, [0x658e1ea1]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.65837ef0
movsd xmm0, qword [esp + 0xd4]
cvttsd2si eax, xmm0
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.65837cf0
lea eax, [0x658e1ec9]
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.65837ef0
call fcn.65837680
mov eax, dword [0x65a0eb20]
mov ecx, dword [0x65a0eb24]
mov dword [esp + 0x5c], ecx
lea edi, [esp + 0x100]
mov edx, eax
xor eax, eax
call fcn.6585fcea
mov ecx, dword [0x65a0eb28]
mov ebx, dword [0x65a0eb2c]
mov dword [esp + 0x100], ecx
mov dword [esp + 0x104], ebx
mov ecx, dword [0x65a0eb30]
mov ebx, dword [0x65a0eb34]
mov dword [esp + 0x108], ecx
mov dword [esp + 0x10c], ebx
mov ecx, dword [0x65a0eb38]
mov ebx, dword [0x65a0eb3c]
mov dword [esp + 0x110], ecx
mov dword [esp + 0x114], ebx
xor ecx, ecx
mov ebx, dword [esp + 0x5c]
jmp 0x65816eee
sub esi, edx
lea ecx, [esp + 0xe8]
mov dword [esp], ecx
mov dword [esp + 4], 0x18
mov dword [esp + 8], 0x18
sbb ebp, ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0xc], esi
call fcn.658186b0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x138]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.6584d520
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1ac], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x84], ecx
call fcn.65837610
mov eax, dword [esp + 0x1ac]
mov dword [esp], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 4], eax
call fcn.65837ef0
call fcn.65837680
mov eax, dword [esp + 0x7c]
lea ecx, [eax + 1]
xor eax, eax
mov ebx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
cmp ecx, 3
jge 0x65816f5d
mov dword [esp + 0x7c], ecx
lea ebp, [esp + ecx*8 + 0x100]
mov esi, dword [ebp]
mov dword [esp + 0x58], esi
mov ebp, dword [ebp + 4]
mov dword [esp + 0x5c], ebp
test ecx, ecx
je 0x65816e59
mov dword [esp + 0xc8], edx
mov dword [esp + 0xc4], ebx
call fcn.65837610
lea eax, [0x658e1e17]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.65837ef0
call fcn.65837680
mov edx, dword [esp + 0xc8]
mov ebx, dword [esp + 0xc4]
mov ebp, dword [esp + 0x5c]
mov esi, dword [esp + 0x58]
jmp 0x65816e59
call fcn.65837610
lea eax, [0x658e3080]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.65837ef0
call fcn.65837680
nop
lea eax, [0x65a34d78]
mov dword [esp], eax
call fcn.65802910
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [esp + 0x24], ecx
lea edi, [esp + 0x178]
mov edx, eax
xor eax, eax
call fcn.6585fce6
mov eax, dword [esp + 0x50]
mov dword [esp + 0x178], eax
mov eax, dword [esp + 0xd0]
mov dword [esp + 0x17c], eax
mov dword [esp + 0x184], edx
mov eax, dword [esp + 0x24]
mov dword [esp + 0x180], eax
mov eax, dword [0x65a34d80]
mov ecx, dword [0x65a34d88]
add eax, ecx
mov ecx, dword [0x65a34d84]
mov edx, dword [0x65a34d8c]
mov dword [esp + 0x188], eax
adc ecx, edx
mov dword [esp + 0x18c], ecx
mov eax, dword [0x65a34d90]
mov ecx, dword [0x65a34d94]
mov dword [esp + 0x190], eax
mov dword [esp + 0x194], ecx
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x198], eax
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x19c], eax
xor eax, eax
jmp 0x658170bc
lea eax, [esp + 0xe8]
mov dword [esp], eax
mov dword [esp + 4], 0x18
mov dword [esp + 8], 0x18
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], edx
call fcn.658186b0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x118]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.6584d520
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1ac], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x84], ecx
call fcn.65837610
mov eax, dword [esp + 0x1ac]
mov dword [esp], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 4], eax
call fcn.65837ef0
call fcn.65837680
mov eax, dword [esp + 0x78]
inc eax
cmp eax, 5
jge 0x6581714d
mov dword [esp + 0x78], eax
lea ecx, [esp + eax*8 + 0x178]
mov edx, dword [ecx]
mov dword [esp + 0x64], edx
mov ecx, dword [ecx + 4]
mov dword [esp + 0x68], ecx
cmp eax, 2
je 0x658170e7
cmp eax, 3
jne 0x65817114
call fcn.65837610
lea eax, [0x658e1e1b]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.65837ef0
call fcn.65837680
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
jmp 0x65817037
test eax, eax
je 0x65817037
call fcn.65837610
lea eax, [0x658e1e17]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.65837ef0
call fcn.65837680
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
jmp 0x65817037
lea eax, [0x65a34d40]
mov dword [esp], eax
call fcn.65802a70
mov eax, dword [0x65a0eb54]
mov dword [esp + 0xd0], eax
mov ecx, dword [0x65a0eb50]
mov dword [esp + 0xcc], ecx
mov edx, dword [0x65a0eb5c]
mov dword [esp + 0xc8], edx
mov ebx, dword [0x65a0eb58]
mov dword [esp + 0xc0], ebx
mov ebp, dword [0x65a0eb64]
mov dword [esp + 0xb4], ebp
mov esi, dword [0x65a0eb60]
mov dword [esp + 0xb0], esi
mov edi, dword [0x65a34d1c]
mov dword [esp + 0xac], edi
mov edi, dword [0x65a34d18]
mov dword [esp + 0xa8], edi
mov edi, dword [esp + 8]
mov dword [esp + 0xa0], edi
mov edi, dword [esp + 4]
mov dword [esp + 0x9c], edi
mov edi, dword [0x65a34d4c]
mov dword [esp + 0x98], edi
mov edi, dword [0x65a34d48]
mov dword [esp + 0x94], edi
mov edi, dword [0x65a0eb1c]
mov dword [esp + 0xc4], edi
call fcn.65837610
lea eax, [0x658e2a2e]
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.65837ef0
mov eax, dword [esp + 0xd0]
mov ecx, eax
shr eax, 0x14
mov dword [esp + 4], eax
shl ecx, 0xc
mov eax, dword [esp + 0xcc]
shr eax, 0x14
or ecx, eax
mov dword [esp], ecx
call fcn.65837b90
lea eax, [0x658e1e43]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.65837ef0
mov eax, dword [esp + 0xc8]
mov ecx, eax
shr eax, 0x14
mov dword [esp + 4], eax
shl ecx, 0xc
mov eax, dword [esp + 0xc0]
shr eax, 0x14
or ecx, eax
mov dword [esp], ecx
call fcn.65837b90
lea eax, [0x658e1e43]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.65837ef0
mov eax, dword [esp + 0xb4]
mov ecx, eax
shr eax, 0x14
mov dword [esp + 4], eax
shl ecx, 0xc
mov eax, dword [esp + 0xb0]
shr eax, 0x14
or ecx, eax
mov dword [esp], ecx
call fcn.65837b90
lea eax, [0x658e2189]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.65837ef0
mov eax, dword [esp + 0xac]
mov ecx, eax
shr eax, 0x14
mov dword [esp + 4], eax
shl ecx, 0xc
mov eax, dword [esp + 0xa8]
shr eax, 0x14
or ecx, eax
mov dword [esp], ecx
call fcn.65837b90
lea eax, [0x658e2cbf]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.65837ef0
mov eax, dword [esp + 0xa0]
mov ecx, eax
shr eax, 0x14
mov dword [esp + 4], eax
shl ecx, 0xc
mov eax, dword [esp + 0x9c]
shr eax, 0x14
or ecx, eax
mov dword [esp], ecx
call fcn.65837b90
lea eax, [0x658e3413]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call fcn.65837ef0
mov eax, dword [esp + 0x98]
mov ecx, eax
shr eax, 0x14
mov dword [esp + 4], eax
shl ecx, 0xc
mov eax, dword [esp + 0x94]
shr eax, 0x14
or ecx, eax
mov dword [esp], ecx
call fcn.65837b90
lea eax, [0x658e37f8]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.65837ef0
mov eax, dword [esp + 0xc4]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.65837cf0
lea eax, [0x658e1e35]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.65837ef0
call fcn.65837680
movzx eax, byte [0x65a0eaec]
test al, al
je 0x658173e7
call fcn.65837610
lea eax, [0x658e29d4]
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.65837ef0
call fcn.65837680
call fcn.65837610
call fcn.65837830
call fcn.65837680
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
nop
movzx ecx, byte [eax + 0x8b]
lea edx, [ecx - 1]
mov byte [eax + 0x8b], dl
cmp cl, 1
jne 0x65816b53
nop
lea eax, [0x65a343dc]
mov dword [esp], eax
call fcn.65809ba0
jmp 0x65816b53
mov ecx, 0x18
call fcn.6585fb90
mov ecx, 0x18
call fcn.6585fb90
lea eax, [0x658e766b]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
call fcn.65835ef0
lea eax, [0x658e7e73]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call fcn.65835ef0
nop
call fcn.6585e6e0
jmp fcn.65816280