Function at 0x44a150
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4bbc80
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x4e3f80]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0xb4]
mov eax, dword [esi + 0xb0]
mov edi, dword [esi + 0xa8]
mov ebx, dword [esi + 0xac]
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x28], eax
lea eax, [ecx - 0x7e]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], ebx
cmp eax, 0x33
ja case.0x44a1bc.127
movzx edx, byte [eax + 0x44a8f4]
jmp dword [edx*4 + 0x44a8d4]
mov eax, dword [esi + 0x650]
test eax, eax
je 0x44a1d2
call fcn.00416420
mov dword [esi + 0x648], 1
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esi + 0x650]
mov dword [esi + 0x630], 1
test eax, eax
je 0x44a8bc
call fcn.00416420
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esi + 0x650]
mov edi, dword [eax + 0x444]
xor ebx, ebx
test edi, edi
je 0x44a8bc
lea esp, [esp]
mov eax, edi
mov eax, dword [eax + 8]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x2c]
mov edi, dword [edi]
cmp ecx, 0x1a
je 0x44a256
cmp ecx, 0x1b
jne 0x44a26a
push 0
push 0x4c3af8
lea ecx, [eax + 4]
mov ebx, 1
call fcn.00401fa0
test edi, edi
jne 0x44a240
test ebx, ebx
je 0x44a8bc
mov dword [esi + 0x648], 1
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [esi]
mov eax, dword [edx + 0x50]
mov ecx, esi
call eax
test eax, eax
je 0x44a53b
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x20]
push eax
push 0x4cbae4
push ecx
call fcn.0049e2e5
mov edx, dword [esi + 0xac]
mov eax, dword [esi + 0xa8]
add esp, 0x14
push edx
push eax
push str.m_xPos___d__m_yPos___d__r_n
call fcn.00477b80
mov edx, dword [esp + 0x24]
add esp, 0xc
cmp edx, 7
ja case.default.0x44a2ee
jmp dword [edx*4 + 0x44a928]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
sub dword [esi + 0xa8], eax
sub dword [esi + 0xac], ecx
add dword [esi + 0xb0], eax
add dword [esi + 0xb4], ecx
jmp case.default.0x44a2ee
mov eax, dword [esp + 0x10]
cdq
and edx, 7
add eax, edx
mov edx, dword [esp + 0x18]
sar eax, 3
add eax, eax
add eax, eax
add eax, eax
sub dword [esi + 0xac], eax
add dword [esi + 0xb4], eax
jmp case.default.0x44a2ee
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
sub dword [esi + 0xac], eax
add dword [esi + 0xb0], ecx
add dword [esi + 0xb4], eax
jmp case.default.0x44a2ee
mov eax, dword [esp + 0x14]
jmp 0x44a3bf
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
add dword [esi + 0xb0], ecx
add dword [esi + 0xb4], eax
jmp case.default.0x44a2ee
mov eax, dword [esp + 0x10]
cdq
and edx, 7
add eax, edx
mov edx, dword [esp + 0x18]
sar eax, 3
add eax, eax
add eax, eax
add eax, eax
add dword [esi + 0xb4], eax
jmp case.default.0x44a2ee
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
sub dword [esi + 0xa8], eax
add dword [esi + 0xb0], eax
add dword [esi + 0xb4], ecx
jmp case.default.0x44a2ee
mov eax, dword [esp + 0x14]
sub dword [esi + 0xa8], eax
add dword [esi + 0xb0], eax
mov eax, dword [esi + 0x64c]
cmp dword [esi + 0xb4], eax
jle 0x44a3d9
mov dword [esi + 0xb4], eax
mov eax, 1
cmp dword [esi + 0xb0], eax
jl 0x44a51b
cmp dword [esi + 0xb4], eax
jl 0x44a51b
test edx, edx
je 0x44a40d
cmp edx, 2
je 0x44a40d
cmp edx, 4
je 0x44a40d
cmp edx, 6
jne 0x44a53b
mov edi, dword [esi + 0x63c]
mov ebx, dword [esi + 0x640]
mov eax, edi
imul eax, eax, 0x3e8
cdq
idiv ebx
mov ecx, dword [esi + 0xb4]
imul ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, dword [esi + 0xb0]
jle 0x44a45f
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [esi + 0xb0], ecx
jmp 0x44a48a
mov eax, ebx
imul eax, eax, 0x3e8
cdq
idiv edi
mov ecx, eax
imul ecx, dword [esi + 0xb0]
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esi + 0xb4], eax
mov eax, dword [esp + 0x28]
sub eax, dword [esi + 0xb0]
mov edx, eax
mov eax, dword [esp + 0x2c]
sub eax, dword [esi + 0xb4]
mov ecx, eax
mov eax, dword [esp + 0x18]
sub eax, 0
je 0x44a4e4
sub eax, 2
je 0x44a4f0
sub eax, 4
jne 0x44a53b
mov ecx, dword [esp + 0x1c]
add edx, ecx
mov dword [esi + 0xa8], edx
mov dword [esi + 0x630], 1
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esp + 0x1c]
add edx, eax
mov dword [esi + 0xa8], edx
mov edx, dword [esp + 0x20]
add ecx, edx
mov dword [esi + 0xac], ecx
mov dword [esi + 0x630], 1
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0xa8], edi
mov dword [esi + 0xac], ebx
mov dword [esi + 0xb0], eax
mov dword [esi + 0xb4], ecx
mov dword [esi + 0x630], 1
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea edx, [esp + 0x1c]
push edx
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
push ecx
push 0x4cbae4
push edx
call fcn.0049e2e5
mov ecx, dword [esp + 0x34]
add dword [esi + 0xa8], ecx
mov bl, byte [esp + 0x30]
mov eax, dword [esi + 0xa8]
add esp, 0x14
test bl, 2
je 0x44a5ac
test ecx, ecx
je 0x44a5ac
cdq
and edx, 7
add eax, edx
sar eax, 3
add eax, eax
add eax, eax
add eax, eax
mov dword [esi + 0xa8], eax
mov ecx, dword [esp + 0x10]
add dword [esi + 0xac], ecx
mov eax, dword [esi + 0xac]
test bl, 1
je 0x44a5da
test ecx, ecx
je 0x44a5da
cdq
and edx, 7
add eax, edx
sar eax, 3
add eax, eax
add eax, eax
add eax, eax
mov dword [esi + 0xac], eax
push 0x4c3af6
lea ecx, [esp + 0x34]
call fcn.00408080
mov dword [esp + 0x50], 0
mov eax, dword [eax]
mov edx, dword [esi]
mov edx, dword [edx + 0x64]
push 0
push eax
push 0x81
mov ecx, esi
call edx
lea ecx, [esp + 0x30]
call fcn.00401a70
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x28]
push eax
push 0x4c3af0
push ecx
call fcn.0049e2e5
add esp, 0xc
lea ecx, [esp + 0x2c]
call fcn.0041c470
mov dword [esp + 0x50], 1
mov eax, dword [esi + 0x650]
mov bl, byte [eax + 0x43a]
mov edi, dword [eax + 0x1b4]
add eax, 0x1b0
push eax
lea ecx, [esp + 0x30]
call fcn.00408830
mov eax, 5
test bl, bl
je 0x44a675
lea eax, [edi + 5]
cmp dword [esi + 0xb4], eax
jge 0x44a683
mov dword [esi + 0xb4], eax
mov edx, dword [esi + 0xb0]
mov eax, dword [esi]
mov ebx, dword [esi + 0xb4]
lea ecx, [esp + 0x34]
mov dword [esp + 0x20], edx
mov edx, dword [eax + 0x88]
push ecx
mov ecx, esi
call edx
mov edi, esi
call fcn.0044c1a0
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x28]
mov edx, eax
sub edx, ecx
cmp edi, 7
ja case.default.0x44a6c4
jmp dword [edi*4 + 0x44a948]
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x34]
lea edx, [edi + eax]
lea eax, [ecx + ebx]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
jmp 0x44a785
mov edi, dword [esp + 0x3c]
sub edi, dword [esp + 0x20]
lea eax, [ecx + ebx]
mov dword [esp + 0x34], edi
mov dword [esp + 0x40], eax
jmp 0x44a785
mov edi, dword [esp + 0x3c]
sub edi, dword [esp + 0x20]
mov eax, ebx
sub eax, edx
cdq
sub eax, edx
sar eax, 1
neg eax
add ecx, eax
lea eax, [ecx + ebx]
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], ecx
mov dword [esp + 0x40], eax
jmp 0x44a785
mov edi, dword [esp + 0x3c]
sub edi, dword [esp + 0x20]
mov ecx, eax
sub ecx, ebx
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], ecx
jmp 0x44a785
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
add eax, edi
sub edx, ebx
add ecx, edx
mov dword [esp + 0x3c], eax
lea eax, [ecx + ebx]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x40], eax
jmp 0x44a785
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
add eax, edi
mov dword [esp + 0x3c], eax
mov eax, ebx
sub eax, edx
cdq
sub eax, edx
sar eax, 1
neg eax
add ecx, eax
lea eax, [ecx + ebx]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x40], eax
jmp 0x44a785
mov edi, dword [esp + 0x34]
sub eax, ecx
push eax
mov eax, dword [esp + 0x40]
sub eax, edi
push eax
push ecx
push edi
mov ecx, esi
call fcn.00422150
push 1
call fcn.0044b220
lea ecx, [esp + 0x2c]
call fcn.00401a70
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x1c]
push edx
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x38]
push ecx
push str._d___d___d___d
push edx
call fcn.0049e2e5
mov edi, dword [esp + 0x44]
mov ecx, dword [esp + 0x30]
add esp, 0x18
cmp edi, ecx
jle 0x44a7fc
mov eax, edi
mov edi, ecx
mov ecx, eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x28]
cmp eax, edx
jle 0x44a812
mov dword [esp + 0x14], edx
mov edx, eax
mov dword [esp + 0x28], edx
mov eax, dword [esi + 0xa8]
cmp edi, eax
jge 0x44a844
mov ebx, dword [esi + 0xb0]
add ebx, eax
cmp ecx, ebx
jle 0x44a844
mov ecx, dword [esi + 0xac]
cmp dword [esp + 0x14], ecx
jge 0x44a840
mov ebx, dword [esi + 0xb4]
add ebx, ecx
cmp edx, ebx
jg 0x44a86c
mov ecx, dword [esp + 0x18]
cmp ecx, eax
jle 0x44a8bc
mov ecx, dword [esi + 0xb0]
add ecx, eax
cmp ecx, edi
jle 0x44a8bc
mov eax, dword [esi + 0xac]
cmp edx, eax
jle 0x44a8bc
mov edx, dword [esi + 0xb4]
add edx, eax
cmp edx, dword [esp + 0x14]
jle 0x44a8bc
mov eax, dword [esi]
mov edx, dword [eax + 0x64]
or dword [esi + 0xc8], 2
push 0
push 0x4c3af8
push 0x28
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x58]
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x60]
mov ecx, esi
call edx
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push eax
push edx
push ecx
mov ecx, esi
call fcn.004219b0
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc