Function at 0x447fd0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x566fc6
mov eax, dword fs:[0]
push eax
sub esp, 0x198
mov eax, dword [0x5d60c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
mov ecx, esi
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
call eax
test al, al
je 0x448031
cmp dword [edi + 0x588], 0
jne 0x448031
cmp dword [edi + 0x384], 0
jne 0x448031
cmp dword [edi + 0x590], 0
jne 0x448031
xor eax, eax
jmp 0x448ed8
xorps xmm0, xmm0
mov dword [ebp - 0x180], 0
movups xmmword [ebp - 0x1a0], xmm0
mov dword [ebp - 0x17c], 0
movups xmmword [ebp - 0x190], xmm0
mov dword [ebp - 0x178], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1a0]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x20]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x34]
cmp dword [edi + 0x384], 0
je 0x4485dd
mov ecx, dword [edi + 0x3a0]
call fcn.00487c90
mov esi, dword [edi + 0x450]
lea eax, [ebp - 0x13c]
push eax
mov ecx, dword [esi + 0x68]
call fcn.00453f40
mov ecx, dword [esi + 0x14]
xor edx, edx
movups xmm1, xmmword [eax]
movaps xmm0, xmm1
movd dword [ebp - 0x13c], xmm1
psrldq xmm0, 0xc
movd eax, xmm0
movaps xmm0, xmm1
psrldq xmm0, 8
psrldq xmm1, 4
div ecx
xor edx, edx
movd dword [ebp - 0x138], xmm1
mov esi, eax
movd eax, xmm0
mov dword [ebp - 0x130], esi
div ecx
cmp dword [edi + 0x570], 0
mov dword [ebp - 0x134], eax
movups xmm0, xmmword [ebp - 0x13c]
mov eax, dword [edi + 0x450]
movups xmmword [edi + 0x748], xmm0
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x16c], ecx
mov dword [edi + 0x758], ecx
je 0x448373
cmp byte [edi + 0x475], 0
je 0x448373
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_GetThreadDesktop]
push 0x100
mov esi, eax
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.0052d9b0
add esp, 0xc
lea eax, [ebp - 0x170]
push eax
push 0x100
lea eax, [ebp - 0x110]
push eax
push 2
push esi
call dword [sym.imp.USER32.dll_GetUserObjectInformationA]
test eax, eax
je 0x4485c9
mov ecx, str.Default
lea eax, [ebp - 0x110]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4481a3
test dl, dl
je 0x44819f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4481a3
add eax, 2
add ecx, 2
test dl, dl
jne 0x448183
xor eax, eax
jmp 0x4481a8
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4485c9
call fcn.00425920
cmp eax, 2
je 0x4485c9
mov esi, dword [edi + 0x450]
xor edx, edx
mov ecx, dword [edi + 0x758]
mov dword [ebp - 0x158], ecx
mov dword [ebp - 0x124], 0xccfeffff
mov eax, dword [esi + 0x68]
push 4
movzx eax, word [eax + 0xe3cc]
imul eax, dword [edi + 0x75c]
div ecx
xor edx, edx
mov ecx, eax
shl eax, 8
shr ecx, 8
movzx ecx, cl
or ecx, eax
mov word [ebp - 0x128], cx
mov eax, dword [esi + 0x68]
movzx eax, word [eax + 0xe3ce]
imul eax, dword [edi + 0x75c]
div dword [ebp - 0x158]
xor edx, edx
mov ecx, eax
shl eax, 8
shr ecx, 8
movzx ecx, cl
or ecx, eax
mov eax, dword [edi + 0x47c]
mov word [ebp - 0x126], cx
mov ecx, dword [eax + 0x8c]
mov eax, ecx
sar eax, 8
movzx eax, al
shl ecx, 8
or eax, ecx
mov dword [ebp - 0x160], 1
mov ecx, dword [edi + 0x578]
mov word [ebp - 0x12c], ax
mov eax, ecx
sar eax, 8
movzx eax, al
shl ecx, 8
or eax, ecx
mov dword [ebp - 0x120], 0x1000000
mov word [ebp - 0x12a], ax
xor eax, eax
mov dword [ebp - 0x11c], eax
mov eax, dword [esi + 0x68]
movzx eax, word [eax + 0xe3cc]
imul eax, dword [edi + 0x75c]
div dword [ebp - 0x158]
xor edx, edx
mov ecx, eax
shl eax, 8
shr ecx, 8
movzx ecx, cl
or ecx, eax
mov word [ebp - 0x118], cx
mov eax, dword [esi + 0x68]
movzx eax, word [eax + 0xe3ce]
imul eax, dword [edi + 0x75c]
mov dword [ebp - 0x114], 0
div dword [ebp - 0x158]
mov dword [ebp - 0x158], 0
mov ecx, eax
shl eax, 8
shr ecx, 8
movzx ecx, cl
or ecx, eax
mov eax, 0x100
mov word [ebp - 0x156], ax
lea eax, [ebp - 0x158]
push eax
mov word [ebp - 0x116], cx
mov ecx, edi
push 0
call fcn.00447f80
mov ecx, dword [edi + 0x3a0]
lea eax, [ebp - 0x12c]
push 0xc
push eax
call fcn.00487940
mov ecx, dword [edi + 0x3a0]
lea eax, [ebp - 0x160]
push 4
push eax
call fcn.00487940
mov ecx, dword [edi + 0x3a0]
lea eax, [ebp - 0x120]
push 0x10
push eax
call fcn.00487940
mov dword [edi + 0x570], 0
mov esi, 1
mov byte [edi + 0x475], 0
mov dword [edi + 0x384], 0
jmp 0x4488dd
cmp dword [edi + 0x56c], 0
je 0x4485c9
mov esi, dword [edi + 0x75c]
xor eax, eax
mov dword [ebp - 0x12c], eax
xor edx, edx
mov eax, dword [edi + 0x580]
imul eax, esi
mov dword [ebp - 0x15c], 0
push 0
push 4
mov dword [ebp - 0x124], 0x21ffffff
div ecx
xor edx, edx
mov byte [ebp - 0x15c], 0
mov ecx, eax
shl eax, 8
shr ecx, 8
movzx ecx, cl
or ecx, eax
mov eax, dword [edi + 0x584]
imul eax, esi
mov word [ebp - 0x128], cx
div dword [ebp - 0x16c]
mov ecx, eax
shl eax, 8
shr ecx, 8
movzx ecx, cl
or ecx, eax
mov eax, 0x100
mov word [ebp - 0x15a], ax
lea eax, [ebp - 0x15c]
mov word [ebp - 0x126], cx
mov ecx, dword [edi + 0x3a0]
push eax
call fcn.004877d0
test eax, eax
jne 0x448431
push str.vncClient::SendRFBMsgQueue_:_failed_to_send_RFB_message_to_client_n
push eax
push 0x5d6df8
call fcn.0041d510
mov eax, dword [edi]
add esp, 0xc
mov ecx, edi
push 0
call dword [eax + 8]
mov ecx, dword [edi + 0x3a0]
lea eax, [ebp - 0x12c]
push 0xc
push eax
call fcn.00487940
cmp byte [edi + 0x474], 0
je 0x4485c9
mov ecx, dword [edi + 0x450]
mov ecx, dword [ecx + 0x68]
call fcn.0047a9d0
mov eax, dword [edi + 0x450]
lea ecx, [ebp - 0x154]
mov eax, dword [eax + 0x68]
mov dword [eax + 4], 0x63
mov eax, dword [edi + 0x450]
mov dword [eax + 0xc], 1
lea eax, [edi + 8]
push eax
call fcn.004268c0
lea eax, [ebp - 0x154]
mov byte [ebp - 4], 1
push eax
mov eax, dword [edi + 0x450]
mov ecx, dword [eax + 0x68]
add ecx, 0x7d8
call fcn.0044b990
lea ecx, [ebp - 0x154]
movups xmm0, xmmword [eax]
mov esi, dword [eax + 0x10]
mov byte [ebp - 4], 0
movups xmmword [ebp - 0x13c], xmm0
call fcn.0041bd50
movups xmm1, xmmword [ebp - 0x13c]
mov eax, dword [edi + 0x758]
xor edx, edx
mov dword [ebp - 0x158], eax
mov eax, dword [edi + 0x75c]
movaps xmm0, xmm1
psrldq xmm0, 0xc
movd ecx, xmm0
mov dword [ebp - 0x124], 0xcdfeffff
push 4
imul eax, ecx
div dword [ebp - 0x158]
xor edx, edx
mov ecx, eax
shl eax, 8
shr ecx, 8
movzx ecx, cl
or ecx, eax
mov eax, dword [edi + 0x75c]
imul eax, esi
mov esi, dword [edi + 0x75c]
mov word [ebp - 0x12c], cx
div dword [ebp - 0x158]
xor edx, edx
mov ecx, eax
shl eax, 8
shr ecx, 8
movzx ecx, cl
or ecx, eax
mov eax, esi
mov word [ebp - 0x12a], cx
movd ecx, xmm1
psrldq xmm1, 4
imul eax, ecx
div dword [ebp - 0x158]
xor edx, edx
mov ecx, eax
shl eax, 8
shr ecx, 8
movzx ecx, cl
or ecx, eax
movd eax, xmm1
mov word [ebp - 0x128], cx
imul eax, esi
div dword [ebp - 0x158]
mov dword [ebp - 0x158], 0
mov ecx, eax
shl eax, 8
shr ecx, 8
movzx ecx, cl
or ecx, eax
mov eax, 0x100
mov word [ebp - 0x156], ax
lea eax, [ebp - 0x158]
mov word [ebp - 0x126], cx
push eax
push 0
mov ecx, edi
call fcn.00447f80
mov ecx, dword [edi + 0x3a0]
lea eax, [ebp - 0x12c]
push 0xc
push eax
call fcn.00487940
mov dword [edi + 0x384], 0
mov esi, 1
jmp 0x4488dd
mov eax, dword [ebp - 0x190]
sub eax, dword [ebp - 0x194]
sar eax, 4
cmp dword [edi + 0x444], 0
mov dword [ebp - 0x158], eax
je 0x44861a
mov ecx, dword [ebp - 0x19c]
sub ecx, dword [ebp - 0x1a0]
sar ecx, 4
cmp ecx, 5
jbe 0x448612
inc eax
jmp 0x448614
add eax, ecx
mov dword [ebp - 0x158], eax
cmp eax, 0xffff
je 0x4486ba
mov esi, dword [ebp - 0x180]
cmp esi, dword [ebp - 0x17c]
je 0x4486ba
cmp byte [edi + 0x40c], 0
jne 0x448657
cmp byte [edi + 0x404], 0
jne 0x448657
mov ecx, dword [edi + 0x3e0]
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
jmp 0x44868c
mov eax, dword [esi + 8]
lea edx, [ebp - 0x13c]
mov ecx, dword [edi + 0x3e0]
mov dword [ebp - 0x134], eax
mov eax, dword [esi]
mov dword [ebp - 0x13c], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x138], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x130], eax
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0xc]
call eax
mov ecx, eax
test ecx, ecx
je 0x4486af
mov eax, dword [ebp - 0x158]
add esi, 0x10
add eax, ecx
mov dword [ebp - 0x158], eax
cmp esi, dword [ebp - 0x17c]
jne 0x448637
jmp 0x4486ba
mov eax, 0xffff
mov dword [ebp - 0x158], eax
cmp dword [edi + 0x444], 0
jne 0x44875d
cmp eax, 0xffff
je 0x44875d
mov esi, dword [ebp - 0x1a0]
cmp esi, dword [ebp - 0x19c]
je 0x44875d
cmp byte [edi + 0x40c], 0
jne 0x448700
cmp byte [edi + 0x404], 0
jne 0x448700
mov ecx, dword [edi + 0x3e0]
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
jmp 0x448735
mov eax, dword [esi + 8]
lea edx, [ebp - 0x13c]
mov ecx, dword [edi + 0x3e0]
mov dword [ebp - 0x134], eax
mov eax, dword [esi]
mov dword [ebp - 0x13c], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x138], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x130], eax
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0xc]
call eax
mov ecx, eax
test ecx, ecx
jne 0x448744
mov eax, 0xffff
jmp 0x44874c
mov eax, dword [ebp - 0x158]
add eax, ecx
add esi, 0x10
mov dword [ebp - 0x158], eax
cmp esi, dword [ebp - 0x19c]
jne 0x4486e0
mov ecx, dword [edi + 0x3e0]
cmp dword [ecx + 0x78], 0
jne 0x448779
cmp dword [ecx + 0x7c], 0
jne 0x448779
mov dword [edi + 0x588], 0
cmp eax, 0xffff
je 0x4487ab
cmp dword [edi + 0x588], 0
je 0x448790
inc eax
mov dword [ebp - 0x158], eax
cmp dword [edi + 0x590], 0
je 0x4487a0
inc eax
mov dword [ebp - 0x158], eax
test eax, eax
jne 0x4487ab
xor esi, esi
jmp 0x4488dd
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x28]
call eax
push eax
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x124], 0x64
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x158]
mov ecx, eax
mov esi, dword [edi + 0x3a0]
sar ecx, 8
shl eax, 8
movzx ecx, cl
or ecx, eax
mov dword [ebp - 0x168], 0
mov eax, dword [0x5e44e8]
mov word [ebp - 0x166], cx
mov byte [ebp - 0x168], 0
cmp dword [eax + 0xe64], 0
je 0x448862
cmp dword [esi + 8], 0xffffffff
je 0x448838
cmp byte [esi + 0x22], 0
jne 0x448898
cmp byte [esi + 0x20], 0
je 0x448898
mov eax, dword [esi + 0x18]
cmp byte [eax + 0x21], 0
je 0x448898
mov byte [ebp - 0x161], 0
lea eax, [ebp - 0x161]
jmp 0x44888e
cmp dword [esi + 0xc], 0xffffffff
je 0x448868
cmp byte [esi + 0x22], 0
jne 0x448898
cmp byte [esi + 0x20], 0
je 0x448898
mov eax, dword [esi + 0x18]
cmp byte [eax + 0x21], 0
je 0x448898
mov byte [ebp - 0x162], 0
lea eax, [ebp - 0x162]
jmp 0x44888e
cmp dword [esi + 0x10], 0xffffffff
jne 0x44886c
xor eax, eax
jmp 0x4488ab
cmp byte [esi + 0x22], 0
jne 0x448898
cmp byte [esi + 0x20], 0
je 0x448898
mov eax, dword [esi + 0x18]
cmp byte [eax + 0x21], 0
je 0x448898
mov byte [ebp - 0x159], 0
lea eax, [ebp - 0x159]
push 1
push eax
mov ecx, esi
call fcn.00487b20
push 4
lea eax, [ebp - 0x168]
mov ecx, esi
push eax
call fcn.00487b20
or eax, 0xffffffff
test eax, eax
jne 0x4489d3
push str.vncClient::SendRFBMsgQueue_:_failed_to_send_RFB_message_to_client_n
push eax
push 0x5d6df8
call fcn.0041d510
mov eax, dword [edi]
add esp, 0xc
mov ecx, edi
push 0
call dword [eax + 8]
xor esi, esi
push dword [ebp - 0x128]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edx, dword [ebp - 0x180]
test edx, edx
je 0x448938
mov ecx, dword [ebp - 0x178]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffff0
cmp ecx, 0x1000
jb 0x448910
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x448ef5
push ecx
push edx
call fcn.0052b7cc
add esp, 8
mov dword [ebp - 0x180], 0
mov dword [ebp - 0x17c], 0
mov dword [ebp - 0x178], 0
mov edx, dword [ebp - 0x194]
test edx, edx
je 0x448993
mov ecx, dword [ebp - 0x18c]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffff0
cmp ecx, 0x1000
jb 0x44896b
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x448ef5
push ecx
push edx
call fcn.0052b7cc
add esp, 8
mov dword [ebp - 0x194], 0
mov dword [ebp - 0x190], 0
mov dword [ebp - 0x18c], 0
mov edx, dword [ebp - 0x1a0]
test edx, edx
je 0x448ed6
mov ecx, dword [ebp - 0x198]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffff0
cmp ecx, 0x1000
jb 0x448ecc
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x448ef5
jmp 0x448ecc
cmp dword [edi + 0x588], 0
je 0x448a5a
mov dword [edi + 0x588], 0
mov eax, dword [edi + 0x450]
mov ecx, dword [edi + 0x3e0]
push dword [eax + 0x68]
push dword [edi + 0x3a0]
call fcn.0045a930
test eax, eax
jne 0x448a50
mov dword [edi + 0x58c], eax
mov ecx, 0x10ffffff
mov dword [ebp - 0x11c], eax
mov edx, 0x11ffffff
mov dword [ebp - 0x118], eax
mov eax, dword [edi + 0x3e0]
push 0xc
cmp dword [eax + 0x78], 0
lea eax, [ebp - 0x11c]
push eax
cmovne edx, ecx
mov ecx, dword [edi + 0x3a0]
mov dword [ebp - 0x114], edx
call fcn.00487b20
test eax, eax
jne 0x448a5a
jmp 0x4488cf
mov dword [edi + 0x58c], 1
cmp dword [edi + 0x590], 0
je 0x448acf
mov ecx, dword [edi + 0x598]
mov eax, ecx
sar eax, 8
movzx eax, al
shl ecx, 8
or eax, ecx
mov dword [edi + 0x590], 0
mov ecx, dword [edi + 0x59c]
mov word [ebp - 0x11c], ax
mov eax, ecx
sar eax, 8
movzx eax, al
shl ecx, 8
or eax, ecx
mov dword [ebp - 0x114], 0x18ffffff
mov ecx, dword [edi + 0x3a0]
mov word [ebp - 0x11a], ax
xor eax, eax
mov dword [ebp - 0x118], eax
lea eax, [ebp - 0x11c]
push 0xc
push eax
call fcn.00487b20
test eax, eax
je 0x4488cf
mov edx, dword [ebp - 0x194]
cmp edx, dword [ebp - 0x190]
je 0x448c83
mov eax, dword [ebp - 0x188]
neg eax
mov dword [ebp - 0x1a4], eax
mov eax, dword [ebp - 0x184]
neg eax
add edx, 8
mov dword [ebp - 0x174], eax
mov dword [ebp - 0x15c], edx
nop word [eax + eax]
mov eax, dword [edx - 8]
sub eax, dword [edi + 0x370]
mov ecx, dword [edi + 0x758]
mov dword [ebp - 0x170], edx
xor edx, edx
div ecx
mov dword [ebp - 0x160], ecx
xor edx, edx
mov ecx, eax
mov esi, dword [edi + 0x374]
shr ecx, 8
movzx ecx, cl
shl eax, 8
or ecx, eax
mov dword [ebp - 0x114], 0x1000000
mov eax, dword [ebp - 0x15c]
mov word [ebp - 0x11c], cx
push 0xc
mov eax, dword [eax - 4]
sub eax, esi
div dword [ebp - 0x160]
xor edx, edx
mov ecx, eax
shl eax, 8
shr ecx, 8
movzx ecx, cl
or ecx, eax
mov word [ebp - 0x11a], cx
mov ecx, dword [ebp - 0x15c]
mov eax, dword [ecx]
sub eax, dword [ecx - 8]
div dword [ebp - 0x160]
xor edx, edx
mov ecx, eax
shl eax, 8
shr ecx, 8
movzx ecx, cl
or ecx, eax
mov word [ebp - 0x118], cx
mov ecx, dword [ebp - 0x15c]
mov eax, dword [ecx + 4]
sub eax, dword [ecx - 4]
div dword [ebp - 0x160]
xor edx, edx
mov ecx, eax
shl eax, 8
shr ecx, 8
movzx ecx, cl
or ecx, eax
mov word [ebp - 0x116], cx
mov ecx, dword [ebp - 0x15c]
mov eax, dword [ecx - 8]
sub eax, dword [edi + 0x370]
add eax, dword [ebp - 0x1a4]
div dword [ebp - 0x160]
xor edx, edx
mov ecx, eax
shl eax, 8
shr ecx, 8
movzx ecx, cl
or ecx, eax
mov word [ebp - 0x16c], cx
mov ecx, dword [ebp - 0x15c]
mov eax, dword [ecx - 4]
sub eax, esi
add eax, dword [ebp - 0x174]
div dword [ebp - 0x160]
mov ecx, eax
shl eax, 8
shr ecx, 8
movzx ecx, cl
or ecx, eax
lea eax, [ebp - 0x11c]
mov word [ebp - 0x16a], cx
mov ecx, dword [edi + 0x3a0]
push eax
call fcn.00487b20
test eax, eax
je 0x4488cf
mov ecx, dword [edi + 0x3a0]
lea eax, [ebp - 0x16c]
push 4
push eax
call fcn.00487b20
test eax, eax
je 0x4488cf
mov edx, dword [ebp - 0x15c]
mov eax, dword [ebp - 0x170]
add edx, 0x10
add eax, 8
mov dword [ebp - 0x15c], edx
cmp eax, dword [ebp - 0x190]
jne 0x448b10
cmp dword [edi + 0x444], 0
je 0x448e3a
mov eax, dword [ebp - 0x19c]
sub eax, dword [ebp - 0x1a0]
sar eax, 4
cmp eax, 5
jbe 0x448cbf
lea eax, [ebp - 0x1a0]
mov ecx, edi
push eax
call fcn.00449520
test eax, eax
jne 0x448e50
jmp 0x4488cf
test eax, eax
je 0x448e50
push eax
push str.vncClient::SendCacheRectangles_:__Sending__d_Cache_Rects__r_n
push 9
push 0x5d6df8
call fcn.0041d510
mov ecx, dword [ebp - 0x1a0]
add esp, 0x10
cmp ecx, dword [ebp - 0x19c]
je 0x448e50
add ecx, 8
mov dword [ebp - 0x160], ecx
nop word [eax + eax]
mov esi, dword [ecx - 8]
xor edx, edx
mov dword [ebp - 0x174], ecx
mov eax, esi
sub eax, dword [edi + 0x370]
mov ecx, dword [edi + 0x758]
div ecx
mov dword [ebp - 0x15c], ecx
xor edx, edx
mov ecx, eax
mov dword [ebp - 0x114], 0xffff
shr ecx, 8
shl eax, 8
movzx ecx, cl
or ecx, eax
mov eax, dword [ebp - 0x160]
mov word [ebp - 0x11c], cx
push 0xc
mov eax, dword [eax - 4]
sub eax, dword [edi + 0x374]
div dword [ebp - 0x15c]
xor edx, edx
mov ecx, eax
shl eax, 8
shr ecx, 8
movzx ecx, cl
or ecx, eax
mov eax, dword [ebp - 0x160]
mov word [ebp - 0x11a], cx
mov eax, dword [eax]
sub eax, esi
mov dword [ebp - 0x170], eax
div dword [ebp - 0x15c]
xor edx, edx
mov ecx, eax
shl eax, 8
shr ecx, 8
movzx ecx, cl
or ecx, eax
mov eax, dword [ebp - 0x160]
mov word [ebp - 0x118], cx
mov esi, dword [eax + 4]
sub esi, dword [eax - 4]
mov eax, esi
imul esi, dword [ebp - 0x170]
div dword [ebp - 0x15c]
shl esi, 2
add dword [edi + 0x884], esi
mov ecx, eax
shr ecx, 8
shl eax, 8
movzx ecx, cl
or ecx, eax
mov eax, 0xf27
mov word [ebp - 0x15c], ax
lea eax, [ebp - 0x11c]
mov word [ebp - 0x116], cx
mov ecx, dword [edi + 0x3a0]
push eax
call fcn.00487b20
test eax, eax
je 0x4488cf
mov ecx, dword [edi + 0x3a0]
lea eax, [ebp - 0x15c]
push 2
push eax
call fcn.00487b20
test eax, eax
je 0x4488cf
mov ecx, dword [ebp - 0x160]
mov eax, dword [ebp - 0x174]
add ecx, 0x10
add eax, 8
mov dword [ebp - 0x160], ecx
cmp eax, dword [ebp - 0x19c]
jne 0x448d00
jmp 0x448e50
lea eax, [ebp - 0x1a0]
mov ecx, edi
push eax
call fcn.00448ff0
test eax, eax
je 0x4488cf
lea eax, [ebp - 0x180]
mov ecx, edi
push eax
call fcn.00448ff0
test eax, eax
je 0x4488cf
cmp dword [ebp - 0x158], 0xffff
jne 0x448eb7
mov ecx, dword [edi + 0x3e0]
push dword [edi + 0x3a0]
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov ecx, dword [edi + 0x3a0]
xor eax, eax
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x118], eax
lea eax, [ebp - 0x11c]
push 0xc
push eax
mov dword [ebp - 0x114], 0x20ffffff
call fcn.00487b20
test eax, eax
je 0x4488cf
mov ecx, dword [edi + 0x3a0]
call fcn.00487c90
mov esi, 1
jmp 0x4488d1
push ecx
push edx
call fcn.0052b7cc
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052b789
mov esp, ebp
pop ebp
ret 4
call fcn.0052fcb8
int3