Function at 0x460000
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x208
mov eax, dword [0x512618]
push ebx
add eax, 0xffffffff
mov ebx, 0x10
cmp eax, ebx
push esi
push edi
mov byte [esp + 0xf], 0
ja case.default.0x46001f
jmp dword [eax*4 + 0x460e4c]
mov ecx, dword [esp + 0x21c]
mov edx, dword [esp + 0x218]
lea eax, [esp + 0x14]
push eax
push ecx
push edx
call fcn.00458ea0
add esp, 0xc
cmp eax, 1
je 0x460055
pop edi
pop esi
or eax, 0xffffffff
pop ebx
add esp, 0x208
ret
movzx eax, byte [esp + 0x14]
test al, al
jns 0x460080
movzx ecx, byte [esp + 0x15]
movzx edx, byte [esp + 0x16]
and eax, 0x7f
shl eax, 8
add eax, ecx
mov ecx, dword [esp + 0x220]
shl eax, 8
add eax, edx
mov dword [ecx], eax
jmp 0x4600a5
movzx eax, al
mov edx, eax
shl edx, 4
sub edx, eax
movzx eax, byte [esp + 0x15]
lea ecx, [eax + edx*4]
movzx edx, byte [esp + 0x16]
imul ecx, ecx, 0x4b
mov eax, dword [esp + 0x220]
add ecx, edx
mov dword [eax], ecx
movzx ecx, byte [esp + 0x17]
movzx edx, byte [esp + 0x18]
mov eax, dword [esp + 0x224]
shl ecx, 8
add ecx, edx
movzx edx, byte [esp + 0x1f]
mov dword [eax], ecx
mov ecx, dword [esp + 0x228]
mov eax, dword [esp + 0x22c]
mov dword [ecx], 0
movzx ecx, byte [esp + 0x19]
mov dword [eax], edx
movzx edx, byte [esp + 0x1a]
mov eax, dword [esp + 0x230]
shl ecx, 8
add ecx, edx
mov dword [eax], ecx
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x208
ret
mov edx, dword [esp + 0x21c]
mov eax, dword [esp + 0x218]
lea ecx, [esp + 0x14]
push ecx
push edx
push eax
call fcn.00458ee0
add esp, 0xc
cmp eax, 1
jne case.default.0x46001f
movzx ecx, byte [esp + 0x15]
movzx edx, byte [esp + 0x16]
movzx eax, byte [esp + 0x17]
shl ecx, 8
add ecx, edx
mov edx, dword [esp + 0x220]
shl ecx, 8
add ecx, eax
movzx eax, byte [esp + 0x18]
mov dword [edx], ecx
movzx ecx, byte [esp + 0x19]
mov edx, dword [esp + 0x224]
shl eax, 8
add eax, ecx
movzx ecx, byte [esp + 0x1b]
mov dword [edx], eax
movzx eax, byte [esp + 0x1a]
mov edx, dword [esp + 0x228]
shl eax, 8
add eax, ecx
movzx ecx, byte [esp + 0x1d]
mov dword [edx], eax
movzx eax, byte [esp + 0x1c]
mov edx, dword [esp + 0x22c]
shl eax, 8
add eax, ecx
mov dword [edx], eax
mov eax, dword [esp + 0x230]
pop edi
pop esi
mov dword [eax], 0xffffffff
mov eax, 1
pop ebx
add esp, 0x208
ret
mov edx, dword [esp + 0x21c]
mov eax, dword [esp + 0x218]
lea ecx, [esp + 0x14]
push ecx
push edx
push eax
call fcn.00458ee0
add esp, 0xc
cmp eax, 1
jne case.default.0x46001f
movzx ecx, byte [esp + 0x15]
movzx edx, byte [esp + 0x16]
movzx eax, byte [esp + 0x17]
sub ecx, 3
shl ecx, 8
add ecx, edx
shl ecx, 8
add eax, ecx
mov ecx, dword [esp + 0x220]
mov dword [ecx], eax
jns 0x4601fe
mov dword [ecx], 0
movzx edx, byte [esp + 0x18]
movzx eax, byte [esp + 0x19]
mov ecx, dword [esp + 0x224]
shl edx, 8
add edx, eax
movzx eax, byte [esp + 0x1b]
mov dword [ecx], edx
movzx edx, byte [esp + 0x1a]
shl edx, 8
add edx, eax
mov eax, dword [esp + 0x228]
mov dword [eax], edx
mov edx, dword [esp + 0x22c]
mov dword [edx], 0
mov edx, dword [esp + 0x230]
mov dword [edx], 0xffffffff
cmp dword [ecx], 0
jne 0x460258
cmp dword [eax], 0
je 0x460258
mov dword [eax], 0
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x208
ret
mov ecx, dword [esp + 0x21c]
mov edx, dword [esp + 0x218]
lea eax, [esp + 0x14]
push eax
push ecx
push edx
call fcn.004595e0
add esp, 0xc
cmp eax, 1
jne case.default.0x46001f
movzx eax, byte [esp + 0x15]
movzx ecx, byte [esp + 0x16]
movzx edx, byte [esp + 0x17]
shl eax, 8
add eax, ecx
mov ecx, dword [esp + 0x220]
shl eax, 8
add eax, edx
movzx edx, byte [esp + 0x18]
mov dword [ecx], eax
movzx eax, byte [esp + 0x19]
mov ecx, dword [esp + 0x224]
shl edx, 8
add edx, eax
movzx eax, byte [esp + 0x1b]
mov dword [ecx], edx
movzx edx, byte [esp + 0x1a]
mov ecx, dword [esp + 0x228]
shl edx, 8
add edx, eax
movzx eax, byte [esp + 0x25]
mov dword [ecx], edx
movzx edx, byte [esp + 0x24]
mov ecx, dword [esp + 0x22c]
shl edx, 8
add edx, eax
movzx eax, byte [esp + 0x1f]
mov dword [ecx], edx
movzx edx, byte [esp + 0x1e]
mov ecx, dword [esp + 0x230]
pop edi
shl edx, 8
add edx, eax
pop esi
mov dword [ecx], edx
mov eax, 1
pop ebx
add esp, 0x208
ret
mov esi, dword [esp + 0x21c]
mov edi, dword [esp + 0x218]
lea edx, [esp + 0x14]
push edx
push 0
push 0
push 0
push 0
push 0
push 1
push 0xd0
push esi
push edi
call fcn.00459640
add esp, 0x28
cmp eax, 1
jne case.default.0x46001f
lea eax, [esp + 0x14]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x82
push esi
push edi
call fcn.00459640
add esp, 0x28
cmp eax, 1
jne case.default.0x46001f
movzx ecx, byte [esp + 0x1d]
movzx edx, byte [esp + 0x1e]
movzx eax, byte [esp + 0x1f]
shl ecx, 8
add ecx, edx
mov edx, dword [esp + 0x220]
shl ecx, 8
add ecx, eax
movzx eax, byte [esp + 0x16]
mov dword [edx], ecx
movzx ecx, byte [esp + 0x17]
mov edx, dword [esp + 0x224]
shl eax, 8
add eax, ecx
movzx ecx, byte [esp + 0x1b]
mov dword [edx], eax
movzx eax, byte [esp + 0x1a]
mov edx, dword [esp + 0x228]
shl eax, 8
add eax, ecx
mov dword [edx], eax
mov eax, dword [esp + 0x22c]
mov ecx, dword [esp + 0x230]
pop edi
mov dword [eax], 0
pop esi
mov dword [ecx], 0xffffffff
mov eax, 1
pop ebx
add esp, 0x208
ret
mov eax, dword [esp + 0x21c]
mov ecx, dword [esp + 0x218]
lea edx, [esp + 0x14]
push edx
push eax
push ecx
call fcn.004596c0
add esp, 0xc
cmp eax, 1
jne case.default.0x46001f
mov edx, dword [0x649e64]
mov eax, dword [esp + 0x220]
movzx ecx, byte [esp + 0x15]
mov dword [eax], edx
movzx eax, byte [esp + 0x14]
movzx edx, byte [esp + 0x16]
imul eax, eax, 0x1997a0
shl ecx, 8
add ecx, edx
movzx edx, byte [esp + 0x17]
shl ecx, 8
add ecx, eax
mov eax, dword [esp + 0x224]
add ecx, edx
movzx edx, byte [esp + 0x1e]
mov dword [eax], ecx
mov ecx, dword [esp + 0x228]
mov eax, dword [esp + 0x22c]
mov dword [ecx], 0
movzx ecx, byte [esp + 0x19]
mov dword [eax], edx
movzx eax, byte [esp + 0x18]
movzx edx, byte [esp + 0x1a]
imul eax, eax, 0x1997a0
shl ecx, 8
add ecx, edx
movzx edx, byte [esp + 0x1b]
shl ecx, 8
add ecx, eax
mov eax, dword [esp + 0x230]
add ecx, edx
mov dword [eax], ecx
mov ecx, dword [0x649c40]
add dword [0x649e64], ecx
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x208
ret
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [esp + 0x21c]
mov edi, dword [esp + 0x218]
mov dword [esp + 0x10], eax
push ebp
jmp 0x4604e0
push 0x649c50
push esi
push edi
xor bl, bl
call fcn.004597a0
push 3
push 0x4e22e8
push 0x649c51
mov ebp, eax
call fcn.004b277c
add esp, 0x18
test eax, eax
jne 0x46050a
mov bl, 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x14]
cmp eax, 0x1388
jle 0x460548
cmp byte [esp + 0x13], 0
jne 0x460546
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [0x649e64]
push 1
push edx
push esi
push edi
mov dword [esp + 0x24], eax
mov byte [esp + 0x23], 1
call fcn.00459ff0
add esp, 0x10
jmp 0x460548
xor ebp, ebp
test bl, bl
mov cl, byte [0x649c59]
je 0x460586
movzx eax, byte [0x649c57]
movzx edx, byte [0x649c58]
sub eax, 3
shl eax, 8
add eax, edx
movzx edx, cl
shl eax, 8
add eax, edx
js 0x460584
sub eax, dword [0x649e64]
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x1000
jle 0x460586
xor bl, bl
cmp ebp, 1
jne 0x4606b5
test bl, bl
je 0x4604e0
movzx eax, byte [0x649c57]
movzx edx, byte [0x649c58]
mov esi, dword [esp + 0x224]
sub eax, 3
shl eax, 8
add eax, edx
movzx ecx, cl
shl eax, 8
add eax, ecx
mov dword [esi], eax
movzx eax, byte [0x649c62]
movzx edx, byte [0x649c64]
movzx ecx, byte [0x649c60]
add edx, eax
movzx eax, byte [0x649c5e]
add edx, ecx
movzx ecx, byte [0x649c5c]
add edx, eax
movzx eax, byte [0x649c65]
add edx, ecx
movzx ecx, byte [0x649c63]
shl edx, 8
add edx, eax
movzx eax, byte [0x649c61]
add edx, ecx
movzx ecx, byte [0x649c5f]
add edx, eax
movzx eax, byte [0x649c5d]
add edx, ecx
mov ecx, dword [esp + 0x228]
add edx, eax
mov dword [ecx], edx
movzx edx, byte [0x649c66]
movzx eax, byte [0x649c67]
mov ecx, dword [esp + 0x22c]
shl edx, 8
add edx, eax
mov dword [ecx], edx
movzx edx, byte [0x649c8b]
movzx eax, byte [0x649c8c]
shl edx, 8
add edx, eax
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
fmul qword [0x4de1f0]
fsub qword [0x4e22e0]
fmul qword [0x4db2a0]
call fcn.004b35b0
fmul qword [0x4dd118]
call fcn.004b0540
mov ecx, dword [esp + 0x230]
mov dword [ecx], eax
movzx edx, byte [0x649c88]
movzx eax, byte [0x649c89]
mov ecx, dword [esp + 0x234]
shl edx, 8
add edx, eax
mov eax, ebp
pop ebp
mov dword [ecx], edx
mov edx, dword [esi]
pop edi
pop esi
mov dword [0x649e64], edx
pop ebx
add esp, 0x208
ret
pop ebp
pop edi
pop esi
or eax, 0xffffffff
pop ebx
add esp, 0x208
ret
mov ecx, dword [esp + 0x21c]
mov edx, dword [esp + 0x218]
lea eax, [esp + 0x14]
push eax
push ecx
push edx
call fcn.00459840
add esp, 0xc
cmp eax, 1
jne case.default.0x46001f
mov eax, dword [0x649e64]
mov ecx, dword [esp + 0x220]
movzx edx, byte [esp + 0x1a]
mov dword [ecx], eax
movzx eax, byte [esp + 0x1b]
mov ecx, dword [esp + 0x224]
shl edx, 8
add edx, eax
mov eax, dword [esp + 0x22c]
mov dword [ecx], edx
mov edx, dword [esp + 0x228]
mov ecx, dword [esp + 0x230]
mov dword [edx], 0
pop edi
mov dword [eax], 0
pop esi
mov dword [ecx], 0xffffffff
add dword [0x649e64], 0x100
mov eax, 1
pop ebx
add esp, 0x208
ret
mov eax, dword [esp + 0x21c]
mov ecx, dword [esp + 0x218]
lea edx, [esp + 0x14]
push edx
push eax
push ecx
call fcn.00459890
add esp, 0xc
cmp eax, 1
jne case.default.0x46001f
mov edx, dword [0x649e64]
mov eax, dword [esp + 0x220]
movzx ecx, byte [esp + 0x1a]
mov dword [eax], edx
movzx edx, byte [esp + 0x1b]
mov eax, dword [esp + 0x224]
shl ecx, 8
add ecx, edx
mov edx, dword [esp + 0x22c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x228]
mov eax, dword [esp + 0x230]
mov dword [ecx], 0
pop edi
mov dword [edx], 0
mov dword [eax], 0xffffffff
add dword [0x649e64], 0x100
pop esi
mov eax, 1
pop ebx
add esp, 0x208
ret
mov ecx, dword [0x649e54]
test ecx, ecx
mov esi, dword [esp + 0x21c]
mov edi, dword [esp + 0x218]
jne 0x460812
push 0x649c50
push esi
push edi
call fcn.004598e0
add esp, 0xc
cmp eax, 1
jne case.default.0x46001f
mov ecx, dword [0x649e54]
cmp byte [0x649c6f], 1
jne 0x46087c
movzx eax, byte [0x649c68]
movzx edx, byte [0x649c6b]
shl eax, 8
add eax, edx
movzx edx, byte [0x649c6a]
shl eax, 8
add eax, edx
movzx edx, byte [0x649c50]
shl edx, 7
add edx, ecx
cmp byte [0x649c6d], 1
movzx ecx, byte [0x649c53]
lea edx, [ecx + edx*2]
jne 0x46086e
shl edx, 7
add edx, eax
movzx eax, byte [0x649c52]
lea ecx, [eax + edx*2 - 0xffffff]
jmp 0x46089e
movzx ecx, byte [0x649c52]
shl edx, 8
add edx, eax
jmp 0x46089c
movzx edx, byte [0x649c50]
movzx eax, byte [0x649c53]
shl edx, 7
add edx, ecx
lea ecx, [eax + edx*2]
movzx edx, byte [0x649c52]
shl ecx, 8
add ecx, edx
mov edx, dword [esp + 0x220]
mov dword [edx], ecx
mov eax, dword [0x649e54]
movzx ecx, byte [eax*8 + 0x649c54]
movzx eax, byte [eax*8 + 0x649c55]
shl ecx, 8
add ecx, eax
mov eax, dword [esp + 0x224]
mov dword [eax], ecx
mov eax, dword [0x649e54]
movzx ecx, byte [eax*8 + 0x649c56]
movzx eax, byte [eax*8 + 0x649c57]
shl ecx, 8
add ecx, eax
mov eax, dword [esp + 0x228]
mov dword [eax], ecx
movzx ecx, byte [0x649c71]
movzx eax, byte [0x649c70]
shl ecx, 8
add ecx, eax
mov eax, dword [esp + 0x22c]
mov dword [eax], ecx
mov ecx, dword [0x649e54]
movzx ebx, byte [ecx*8 + 0x649c5a]
movzx ecx, byte [ecx*8 + 0x649c5b]
shl ebx, 8
add ebx, ecx
mov ecx, dword [esp + 0x230]
mov dword [ecx], ebx
mov ebx, dword [0x649e54]
add ebx, 0xffffffff
and ebx, 1
mov dword [0x649e54], ebx
cmp dword [eax], 0x12c
jle 0x4600f0
cmp dword [ecx], 0x64
jle 0x4600f0
mov eax, dword [0x649e5c]
cmp eax, 6
jle 0x460999
cmp eax, 7
jle 0x46096f
mov dword [0x649e5c], 7
jmp 0x460977
sub eax, 1
mov dword [0x649e5c], eax
mov edx, dword [edx]
sub edx, 0x30000
push edx
push esi
push edi
call fcn.0045a790
add esp, 0xc
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x208
ret
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x208
ret
cmp dword [0x649e54], 0
jne 0x4609d4
mov eax, dword [esp + 0x21c]
mov ecx, dword [esp + 0x218]
push 0x649c50
push eax
push ecx
call fcn.004598e0
add esp, 0xc
cmp eax, 1
jne case.default.0x46001f
movzx edx, byte [0x649c50]
movzx eax, byte [0x649c53]
shl edx, 7
add edx, dword [0x649e54]
pop edi
lea ecx, [eax + edx*2]
movzx edx, byte [0x649c52]
mov eax, dword [esp + 0x21c]
shl ecx, 8
add ecx, edx
mov dword [eax], ecx
mov eax, dword [0x649e54]
movzx ecx, byte [eax*8 + 0x649c54]
movzx edx, byte [eax*8 + 0x649c55]
mov eax, dword [esp + 0x220]
shl ecx, 8
add ecx, edx
mov dword [eax], ecx
mov eax, dword [0x649e54]
movzx ecx, byte [eax*8 + 0x649c56]
movzx edx, byte [eax*8 + 0x649c57]
mov eax, dword [esp + 0x224]
shl ecx, 8
add ecx, edx
mov dword [eax], ecx
mov ecx, dword [esp + 0x228]
mov dword [ecx], 0
mov eax, dword [0x649e54]
movzx edx, byte [eax*8 + 0x649c5a]
movzx eax, byte [eax*8 + 0x649c5b]
mov ecx, dword [esp + 0x22c]
shl edx, 8
add edx, eax
mov dword [ecx], edx
mov edx, dword [0x649e54]
add edx, 0xffffffff
and edx, 1
pop esi
mov dword [0x649e54], edx
mov eax, 1
pop ebx
add esp, 0x208
ret
mov ecx, dword [esp + 0x21c]
mov edx, dword [esp + 0x218]
lea eax, [esp + 0x14]
push eax
push ecx
push edx
call fcn.00459920
add esp, 0xc
cmp eax, 1
jne case.default.0x46001f
movzx eax, byte [esp + 0x19]
movzx ecx, byte [esp + 0x1a]
movzx edx, byte [esp + 0x1b]
shl eax, 8
add eax, ecx
mov ecx, dword [esp + 0x220]
shl eax, 8
add eax, edx
movzx edx, byte [esp + 0x15]
mov dword [ecx], eax
movzx eax, byte [esp + 0x14]
mov ecx, dword [esp + 0x224]
shl edx, 8
add edx, eax
movzx eax, byte [esp + 0x16]
mov dword [ecx], edx
movzx edx, byte [esp + 0x17]
mov ecx, dword [esp + 0x228]
shl edx, 8
add edx, eax
mov eax, dword [esp + 0x230]
mov dword [ecx], edx
mov edx, dword [esp + 0x22c]
pop edi
mov dword [edx], 0
pop esi
mov dword [eax], 0xffffffff
mov eax, 1
pop ebx
add esp, 0x208
ret
mov edx, dword [esp + 0x21c]
mov eax, dword [esp + 0x218]
lea ecx, [esp + 0x14]
push ecx
push edx
push eax
call fcn.00459960
add esp, 0xc
cmp eax, 1
jne case.default.0x46001f
cmp byte [esp + 0x14], bl
je case.default.0x46001f
mov edx, dword [0x649e64]
mov ecx, dword [esp + 0x220]
movzx eax, byte [esp + 0x1f]
mov dword [ecx], edx
movzx ecx, byte [esp + 0x20]
movzx edx, byte [esp + 0x21]
shl eax, 8
add eax, ecx
movzx ecx, byte [esp + 0x22]
mov esi, dword [esp + 0x228]
shl eax, 8
add eax, edx
movzx edx, byte [esp + 0x17]
shl eax, 8
add eax, ecx
mov ecx, dword [esp + 0x224]
mov dword [ecx], eax
movzx eax, byte [esp + 0x18]
shl edx, 8
add edx, eax
movzx eax, byte [esp + 0x19]
shl edx, 8
add edx, eax
movzx eax, byte [esp + 0x1a]
shl edx, 8
add eax, edx
mov dword [esi], eax
sub dword [ecx], eax
mov edi, dword [esi]
cmp edi, 0xb6
jl 0x460bf5
mov eax, 0xb40b40b5
imul edi
add edx, edi
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esi], eax
jmp 0x460bff
test edi, edi
jle 0x460bff
mov dword [esi], 1
mov edx, dword [esi]
add dword [ecx], edx
mov eax, dword [esp + 0x22c]
mov ecx, dword [esp + 0x230]
mov dword [eax], 0
pop edi
mov dword [ecx], 0xffffffff
mov edx, dword [0x649c40]
add dword [0x649e64], edx
pop esi
mov eax, 1
pop ebx
add esp, 0x208
ret
mov ecx, dword [esp + 0x21c]
mov edx, dword [esp + 0x218]
lea eax, [esp + 0x14]
push eax
push ecx
push edx
call fcn.00459a10
add esp, 0xc
cmp eax, 1
jne case.default.0x46001f
movzx eax, byte [esp + 0x15]
movzx ecx, byte [esp + 0x16]
movzx edx, byte [esp + 0x17]
shl eax, 8
add eax, ecx
mov ecx, dword [esp + 0x220]
shl eax, 8
add eax, edx
movzx edx, byte [esp + 0x18]
mov dword [ecx], eax
movzx eax, byte [esp + 0x19]
mov ecx, dword [esp + 0x224]
shl edx, 8
add edx, eax
movzx eax, byte [esp + 0x1b]
mov dword [ecx], edx
movzx edx, byte [esp + 0x1a]
shl edx, 8
add eax, edx
mov edx, dword [esp + 0x228]
mov dword [edx], eax
cmp dword [0x649e50], ebx
jne 0x4603d0
add dword [ecx], eax
jmp 0x4603d0
mov eax, dword [esp + 0x21c]
mov ecx, dword [esp + 0x218]
lea edx, [esp + 0x14]
push edx
push eax
push ecx
call fcn.00459a70
add esp, 0xc
cmp eax, 1
jne case.default.0x46001f
movzx edx, byte [esp + 0x1c]
movzx eax, byte [esp + 0x1d]
shl edx, 8
lea ecx, [edx + eax - 3]
jmp 0x460383
mov eax, dword [esp + 0x21c]
mov ecx, dword [esp + 0x218]
lea edx, [esp + 0x14]
push edx
push eax
push ecx
call fcn.00459ab0
add esp, 0xc
cmp eax, 1
jne case.default.0x46001f
movzx edx, byte [esp + 0x14]
movzx eax, byte [esp + 0x15]
movzx ecx, byte [esp + 0x16]
sub edx, 3
shl edx, 8
add edx, eax
mov eax, dword [esp + 0x220]
shl edx, 8
add edx, ecx
movzx ecx, byte [esp + 0x17]
mov dword [eax], edx
movzx edx, byte [esp + 0x18]
mov eax, dword [esp + 0x224]
shl ecx, 8
add ecx, edx
movzx edx, byte [esp + 0x1c]
mov dword [eax], ecx
movzx ecx, byte [esp + 0x1b]
mov eax, dword [esp + 0x228]
shl ecx, 8
add ecx, edx
movzx edx, byte [esp + 0x19]
mov dword [eax], ecx
movzx eax, byte [esp + 0x1a]
mov ecx, dword [esp + 0x22c]
pop edi
mov dword [ecx], 0
mov ecx, dword [esp + 0x22c]
shl edx, 8
add edx, eax
pop esi
mov dword [ecx], edx
mov eax, 1
pop ebx
add esp, 0x208
ret
mov eax, dword [esp + 0x21c]
mov ecx, dword [esp + 0x218]
lea edx, [esp + 0x14]
push edx
push eax
push ecx
call fcn.00459af0
add esp, 0xc
cmp eax, 1
jne case.default.0x46001f
mov edx, dword [0x649e64]
mov eax, dword [esp + 0x220]
movzx ecx, byte [esp + 0x14]
mov dword [eax], edx
movzx edx, byte [esp + 0x15]
mov eax, dword [esp + 0x224]
shl ecx, 8
add ecx, edx
movzx edx, byte [esp + 0x17]
mov dword [eax], ecx
movzx ecx, byte [esp + 0x16]
mov eax, dword [esp + 0x228]
shl ecx, 8
add ecx, edx
mov edx, dword [esp + 0x22c]
mov dword [eax], ecx
movzx ecx, byte [esp + 0x18]
mov eax, dword [esp + 0x230]
mov dword [edx], ecx
mov dword [eax], 0xffffffff
mov ecx, dword [0x649c40]
add dword [0x649e64], ecx
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x208
ret