Function at 0x1002b650
Capabilities:
Encrypt data using speck

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004bdb0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x50c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov byte [ebp - 0x9d], 0xe1
mov al, byte [0x1005f114]
mov byte [ebp - 0x17], al
mov dword [ebp - 0x44], 0x9882
xor ecx, ecx
mov dword [ebp - 0x40], 0x88d1
mov dword [ebp - 0x3c], ecx
mov edx, 0x7ac2
mov word [ebp - 0x24], dx
movsx eax, byte [0x1005f04f]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x5c], 0x9526c1f1
xor ecx, ecx
mov dword [ebp - 0x38], 0xe43c
mov dword [ebp - 0x34], ecx
mov dl, byte [str._CpuC3StatesChanges]
mov byte [ebp - 0x19], dl
xor eax, eax
mov dword [ebp - 0x6c], 0x39916f2c
mov dword [ebp - 0x68], eax
mov cx, word [0x1005f0c0]
mov byte [ebp - 0x16], cl
mov edx, dword [0x1005f120]
mov eax, dword [0x1005f124]
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x48], 0x63ae
mov byte [ebp - 0x11], 0x3a
mov ecx, 0x67ad
mov word [ebp - 0x20], cx
mov edx, dword [0x1005f0f0]
mov dword [ebp - 0x4c], edx
mov byte [ebp - 0x13], 0x23
movsx eax, word [0x1005f15c]
mov dword [ebp - 0x30], eax
mov ecx, dword [0x1005f0b0]
mov byte [ebp - 0x12], cl
mov byte [ebp - 0x15], 0x67
movsx eax, byte [0x1005f09e]
cdq
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edx
mov edx, 0xffffd4ed
mov word [ebp - 0x28], dx
movsx eax, word [0x1005f15c]
mov dword [ebp - 0x50], eax
mov cx, word [0x1005f0c0]
mov byte [ebp - 0x14], cl
mov dl, byte [0x1005f0c8]
mov byte [ebp - 0x18], dl
movsx eax, byte [0x1005f077]
cdq
mov dword [ebp - 0x4b8], eax
mov dword [ebp - 0x4b4], edx
mov eax, dword [0x1005f0b0]
mov dword [ebp - 0x4cc], eax
mov byte [ebp - 0xbd], 0xb
xor ecx, ecx
mov dword [ebp - 0x4c0], 0x4a
mov dword [ebp - 0x4bc], ecx
mov dword [ebp - 0x444], 0x32
movsx eax, byte [0x1005f077]
cdq
mov dword [ebp - 0x4c8], eax
mov dword [ebp - 0x4c4], edx
mov edx, dword [0x1005fc3c]
mov dword [ebp - 0x84], edx
push 0
push 0x5d8c
mov eax, dword [0x1005f0dc]
push eax
mov ecx, dword [0x1005f0d8]
push ecx
call fcn.1003a730
mov word [ebp - 0x24], ax
mov edx, dword [0x1005f0d0]
sub edx, 6
mov dword [ebp - 0x4c], edx
mov ax, word [0x1005f158]
mov byte [ebp - 0x17], al
mov ecx, dword [ebp - 0x84]
add ecx, 0x5f5
mov dword [ebp - 0x164], ecx
movzx edx, byte [ebp - 0x14]
movsx eax, byte [ebp - 0x18]
cmp edx, eax
je 0x1002b817
mov dword [ebp - 0x248], 1
jmp 0x1002b821
mov dword [ebp - 0x248], 0
movzx ecx, byte [ebp - 0x14]
cmp ecx, 0x42
je 0x1002b836
mov dword [ebp - 0x24c], 1
jmp 0x1002b840
mov dword [ebp - 0x24c], 0
mov edx, dword [ebp - 0x248]
cmp edx, dword [ebp - 0x24c]
jle 0x1002bb50
movsx eax, word [0x1005f0e0]
not eax
test eax, eax
je 0x1002b874
mov ecx, 0x161833b2
test ecx, ecx
je 0x1002b874
mov dword [ebp - 0x250], 1
jmp 0x1002b87e
mov dword [ebp - 0x250], 0
mov edx, dword [ebp - 0x250]
not edx
cmp edx, 0xa3aa2f94
jbe 0x1002bb4e
mov eax, dword [ebp - 0x50]
cmp dword [ebp - 0x2c], eax
jne 0x1002b8a6
mov dword [ebp - 0x254], 1
jmp 0x1002b8b0
mov dword [ebp - 0x254], 0
mov ecx, dword [ebp - 0x38]
or ecx, dword [ebp - 0x34]
je 0x1002b8ca
cmp dword [ebp - 0x30], 0
je 0x1002b8ca
mov dword [ebp - 0x258], 1
jmp 0x1002b8d4
mov dword [ebp - 0x258], 0
mov edx, dword [ebp - 0x254]
cmp edx, dword [ebp - 0x258]
jg 0x1002ba4f
movzx eax, word [ebp - 0x20]
cmp dword [0x1005f0e4], eax
jle 0x1002b8fe
mov dword [ebp - 0xc8], 1
jmp 0x1002b908
mov dword [ebp - 0xc8], 0
cmp dword [0x1005f0e4], 0x54
jle 0x1002b91d
mov dword [ebp - 0xcc], 1
jmp 0x1002b927
mov dword [ebp - 0xcc], 0
mov ecx, dword [ebp - 0xc8]
cmp ecx, dword [ebp - 0xcc]
jl 0x1002b984
mov edx, dword [ebp - 0x6c]
sub edx, dword [0x1005f100]
mov dword [ebp - 0x30], edx
mov eax, dword [0x1005f0a0]
cdq
add eax, 0xe95c458a
mov byte [ebp - 0x19], al
mov eax, dword [ebp - 0x44]
xor ecx, ecx
push ecx
push eax
mov edx, dword [0x1005f134]
push edx
mov eax, dword [0x1005f130]
push eax
call fcn.1003a730
add eax, dword [0x1005f130]
adc edx, dword [0x1005f134]
mov dword [0x1005f130], eax
mov dword [0x1005f134], edx
jmp 0x1002ba4a
movsx ecx, word [0x1005f114]
add ecx, dword [ebp - 0x50]
movsx edx, word [0x1005f114]
or edx, ecx
mov word [0x1005f114], dx
movsx eax, word [0x1005f108]
test eax, eax
jne 0x1002b9b5
mov dword [ebp - 0xd0], 1
jmp 0x1002b9bf
mov dword [ebp - 0xd0], 0
cmp dword [ebp - 0x2c], 0
jne 0x1002b9d1
mov dword [ebp - 0xd4], 1
jmp 0x1002b9db
mov dword [ebp - 0xd4], 0
mov ecx, dword [ebp - 0xd0]
and ecx, dword [ebp - 0xd4]
jne 0x1002b9f5
mov dword [ebp - 0xd8], 1
jmp 0x1002b9ff
mov dword [ebp - 0xd8], 0
mov edx, dword [ebp - 0xd8]
mov dword [ebp - 0x44], edx
movzx eax, byte [ebp - 0x14]
imul ecx, eax, 0x691e
mov dword [ebp - 0x44], ecx
movzx edx, word [ebp - 0x20]
mov eax, dword [0x1005f100]
sub eax, edx
movsx ecx, word [0x1005f0e0]
xor eax, ecx
mov ebx, eax
mov edx, dword [0x1005f100]
xor eax, eax
push eax
push edx
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x38]
push edx
call fcn.1003a730
sub ebx, eax
mov byte [0x1005f09e], bl
jmp 0x1002bb4e
movzx eax, word [0x1005f128]
movsx ecx, word [0x1005f110]
cmp eax, ecx
jg 0x1002ba6d
mov dword [ebp - 0xdc], 1
jmp 0x1002ba77
mov dword [ebp - 0xdc], 0
mov edx, dword [ebp - 0xdc]
not edx
test edx, edx
je 0x1002bb4e
mov eax, dword [0x1005f0b4]
xor ecx, ecx
add eax, dword [0x1005f0b8]
adc ecx, dword [0x1005f0bc]
push ecx
push eax
mov edx, dword [0x1005f0bc]
push edx
mov eax, dword [0x1005f0b8]
push eax
call fcn.1003a730
mov dword [0x1005f0b8], eax
mov dword [0x1005f0bc], edx
xor ecx, ecx
mov edx, dword [0x1005f0f0]
sub edx, dword [ebp - 0x44]
mov eax, dword [0x1005f0f4]
sbb eax, ecx
add edx, dword [0x1005f0f0]
adc eax, dword [0x1005f0f4]
mov dword [0x1005f0f0], edx
mov dword [0x1005f0f4], eax
movzx ecx, byte [ebp - 0x13]
test ecx, ecx
je 0x1002bafc
mov eax, dword [ebp - 0x30]
cdq
mov dword [ebp - 0x298], eax
mov dword [ebp - 0x294], edx
jmp 0x1002bb0e
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x298], edx
mov dword [ebp - 0x294], eax
mov cl, byte [ebp - 0x298]
mov byte [ebp - 0x15], cl
mov edx, dword [ebp - 0x44]
xor eax, eax
push 0x2eda7
push 0xddb337af
push eax
push edx
call fcn.1003a730
mov ecx, dword [ebp - 0x38]
sub ecx, eax
mov eax, dword [ebp - 0x34]
sbb eax, edx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], eax
movsx ecx, word [ebp - 0x24]
movzx edx, byte [0x1005f09f]
add ecx, edx
mov word [ebp - 0x24], cx
jmp 0x1002bbca
movzx eax, word [ebp - 0x20]
cdq
mov dword [0x1005f0f8], eax
mov dword [0x1005f0fc], edx
movzx eax, byte [ebp - 0x12]
sub eax, 0x4c
cdq
mov dword [0x1005f140], eax
mov dword [0x1005f144], edx
mov eax, dword [0x1005f140]
or eax, dword [0x1005f144]
jne 0x1002bb8c
mov dword [ebp - 0xe0], 1
jmp 0x1002bb96
mov dword [ebp - 0xe0], 0
movsx ecx, word [0x1005f15c]
mov edx, dword [ebp - 0xe0]
sub edx, ecx
mov word [ebp - 0x20], dx
movzx eax, byte [ebp - 0x11]
cdq
xor eax, dword [ebp - 0x40]
xor edx, dword [ebp - 0x3c]
xor eax, dword [ebp - 0x40]
xor edx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
mov al, byte [0x1005fc3c]
mov byte [0x1005f09e], al
mov ecx, dword [ebp - 0x84]
add ecx, 0x6ec
mov dword [ebp - 0x9c], ecx
mov edx, dword [ebp - 0x48]
xor edx, 0xe13b603b
mov byte [0x1005f09f], dl
mov dword [0x1005f0b0], 0x243ab670
movzx eax, word [0x1005f128]
imul ecx, eax, 0x888ebd4
movzx edx, byte [ebp - 0x19]
add edx, ecx
mov byte [ebp - 0x19], dl
mov dword [0x1005f0a0], 2
movzx eax, byte [str.a_StartIdle_]
sub eax, 0x2ddf82d1
mov byte [ebp - 0x18], al
movzx ecx, byte [ebp - 0x15]
test ecx, ecx
jne 0x1002bc38
mov dword [ebp - 0xe4], 1
jmp 0x1002bc42
mov dword [ebp - 0xe4], 0
mov edx, dword [0x1005f0a0]
imul edx, dword [ebp - 0x44]
movzx eax, word [ebp - 0x20]
mov ecx, dword [ebp - 0x30]
add ecx, eax
add edx, ecx
xor eax, eax
mov ecx, dword [ebp - 0x5c]
imul ecx, dword [ebp - 0xe4]
xor esi, esi
mov edi, dword [0x1005f118]
mov ebx, dword [0x1005f11c]
sub edi, dword [0x1005f0a8]
sbb ebx, dword [0x1005f0ac]
sub ecx, edi
sbb esi, ebx
add edx, ecx
adc eax, esi
mov dword [0x1005f160], edx
mov dword [0x1005f164], eax
mov edx, dword [ebp - 0x84]
add edx, 0x6a8
mov dword [ebp - 0x3ac], edx
mov eax, dword [0x1005f0f8]
or eax, dword [0x1005f0fc]
je 0x1002bf83
movzx ecx, byte [0x1005f09f]
test ecx, ecx
jne 0x1002bcca
mov dword [ebp - 0xe8], 1
jmp 0x1002bcd4
mov dword [ebp - 0xe8], 0
movzx edx, word [0x1005f138]
not edx
cmp dword [ebp - 0xe8], edx
jle 0x1002bd1f
movzx eax, byte [ebp - 0x19]
cdq
mov dword [ebp - 0x3d4], eax
mov dword [ebp - 0x3d0], edx
mov eax, dword [0x1005f0ac]
cmp eax, dword [ebp - 0x3d0]
jb 0x1002bd1f
ja 0x1002bd13
mov ecx, dword [0x1005f0a8]
cmp ecx, dword [ebp - 0x3d4]
jbe 0x1002bd1f
mov dword [ebp - 0xf4], 1
jmp 0x1002bd29
mov dword [ebp - 0xf4], 0
movsx edx, byte [0x1005f077]
test edx, edx
jne 0x1002bd46
cmp dword [ebp - 0x4c], 0
jne 0x1002bd46
mov dword [ebp - 0xec], 1
jmp 0x1002bd50
mov dword [ebp - 0xec], 0
movzx eax, byte [ebp - 0x12]
movsx ecx, word [0x1005f110]
not ecx
cmp eax, ecx
je 0x1002bd6d
mov dword [ebp - 0xf0], 1
jmp 0x1002bd77
mov dword [ebp - 0xf0], 0
mov edx, dword [ebp - 0xec]
cmp edx, dword [ebp - 0xf0]
jne 0x1002bd91
mov dword [ebp - 0xf8], 1
jmp 0x1002bd9b
mov dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0xf4]
cmp eax, dword [ebp - 0xf8]
jne 0x1002bf7e
mov dword [ebp - 4], 0
movzx ecx, byte [0x1005f09f]
test ecx, ecx
jne 0x1002bdcb
mov dword [ebp - 0xfc], 1
jmp 0x1002bdd5
mov dword [ebp - 0xfc], 0
movzx edx, byte [0x1005f0a4]
test edx, edx
jne 0x1002bdec
mov dword [ebp - 0x100], 1
jmp 0x1002bdf6
mov dword [ebp - 0x100], 0
movzx eax, byte [ebp - 0x14]
mov ecx, dword [0x1005f104]
sub ecx, eax
movzx edx, byte [ebp - 0x13]
sub edx, dword [ebp - 0xfc]
add ecx, edx
movzx eax, word [0x1005f158]
or eax, dword [ebp - 0x100]
mov edx, 0x703c
sub edx, eax
xor ecx, edx
xor eax, eax
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x68], eax
mov ecx, dword [0x1005fc3c]
mov dword [0x1005f0d0], ecx
mov dl, byte [0x1005fc3c]
mov byte [str._CpuC3StatesChanges], dl
cmp dword [0x1005f0b0], 0
je 0x1002be58
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x104], eax
jmp 0x1002be61
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x104], ecx
mov dx, word [ebp - 0x104]
mov word [0x1005f138], dx
xor eax, eax
mov dword [0x1005f150], 8
mov dword [0x1005f154], eax
jmp 0x1002bf6e
mov dword [ebp - 4], 0xffffffff
jmp 0x1002bf7e
jmp 0x1002c200
cmp dword [0x1005f0b4], 0
jne 0x1002bfa0
xor eax, eax
mov dword [ebp - 0x2a0], 1
mov dword [ebp - 0x29c], eax
jmp 0x1002bfab
xorps xmm0, xmm0
movlpd qword [ebp - 0x2a0], xmm0
mov ecx, dword [ebp - 0x29c]
cmp ecx, dword [0x1005f0cc]
jg 0x1002bfd5
jl 0x1002bfc9
mov edx, dword [ebp - 0x2a0]
cmp edx, dword [0x1005f0c8]
ja 0x1002bfd5
mov dword [ebp - 0x10c], 1
jmp 0x1002bfdf
mov dword [ebp - 0x10c], 0
movsx eax, word [ebp - 0x24]
mov ecx, dword [ebp - 0x2c]
not ecx
cmp eax, ecx
jae 0x1002bff8
mov dword [ebp - 0x110], 1
jmp 0x1002c002
mov dword [ebp - 0x110], 0
mov edx, dword [ebp - 0x10c]
cmp edx, dword [ebp - 0x110]
je 0x1002c06f
movsx eax, word [ebp - 0x28]
shl eax, 1
mov word [0x1005f0ec], ax
mov dword [ebp - 0x44], 0x23633b4c
mov ecx, dword [0x1005f150]
add ecx, 0xd0000eb2
mov word [ebp - 0x24], cx
movsx eax, byte [0x1005f0a5]
cdq
add eax, dword [0x1005f150]
adc edx, dword [0x1005f154]
and eax, dword [0x1005f150]
and edx, dword [0x1005f154]
mov dword [0x1005f150], eax
mov dword [0x1005f154], edx
mov dl, byte [0x1005fc3c]
mov byte [0x1005f013], dl
jmp 0x1002c200
movzx eax, byte [ebp - 0x16]
test eax, eax
je 0x1002c144
push 0xed528
push 0x92d5aaaf
mov ecx, dword [0x1005f0ac]
push ecx
mov edx, dword [0x1005f0a8]
push edx
call fcn.1003a730
mov ecx, eax
movzx eax, byte [ebp - 0x11]
cdq
sub eax, ecx
mov byte [ebp - 0x11], al
movsx edx, byte [0x1005f077]
sub edx, 0xf1
mov word [0x1005f0c0], dx
movzx eax, byte [ebp - 0x14]
sub eax, 0x23ea03c3
cdq
mov dword [0x1005f140], eax
mov dword [0x1005f144], edx
cmp dword [ebp - 0x4c], 0
jne 0x1002c0df
mov dword [ebp - 0x114], 1
jmp 0x1002c0e9
mov dword [ebp - 0x114], 0
movsx eax, word [0x1005f114]
mov ecx, dword [ebp - 0x2c]
add eax, dword [ebp - 0x114]
add ecx, eax
mov word [0x1005f110], cx
cmp dword [0x1005f0b0], 0
je 0x1002c11e
mov edx, dword [ebp - 0x5c]
xor eax, eax
mov dword [ebp - 0x2e0], edx
mov dword [ebp - 0x2dc], eax
jmp 0x1002c136
mov ecx, dword [0x1005f0c8]
mov edx, dword [0x1005f0cc]
mov dword [ebp - 0x2e0], ecx
mov dword [ebp - 0x2dc], edx
mov eax, dword [ebp - 0x2e0]
mov dword [ebp - 0x2c], eax
jmp 0x1002c200
movsx ecx, byte [ebp - 0x18]
cmp dword [0x1005f0b0], ecx
ja 0x1002c200
mov edx, dword [0x1005f0c8]
mov eax, 4
imul ecx, eax, 0x15
mov dword [ecx + 0x100dd368], edx
mov edx, dword [ebp - 0x40]
or edx, dword [ebp - 0x3c]
jne 0x1002c17c
mov dword [ebp - 0x118], 1
jmp 0x1002c186
mov dword [ebp - 0x118], 0
movsx eax, word [0x1005f110]
mov ecx, dword [ebp - 0x30]
not ecx
add eax, ecx
not eax
mov edx, dword [ebp - 0x30]
imul edx, dword [ebp - 0x118]
add eax, edx
cdq
mov ecx, eax
mov eax, dword [0x1005f0e4]
not eax
cdq
mov edx, dword [0x1005f120]
mov esi, dword [0x1005f124]
mov dword [ebp - 0x448], esi
sub edx, eax
add edx, dword [0x1005f0d8]
not edx
sub ecx, edx
mov dword [ebp - 0x48], ecx
push 0
push 0x56
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.1003a730
mov dword [0x1005f0d0], eax
movsx eax, word [0x1005f108]
cdq
and eax, 0xe5e4d8ba
mov dword [ebp - 0x5c], eax
mov edx, dword [ebp - 0x6c]
add edx, 0xb11b
mov dword [ebp - 0x44], edx
mov eax, dword [0x1005fc3c]
mov dword [ebp - 0x88], eax
movzx ecx, byte [ebp - 0x13]
movzx edx, byte [ebp - 0x14]
imul ecx, edx
movzx eax, byte [ebp - 0x13]
xor eax, ecx
mov byte [ebp - 0x13], al
xor ecx, ecx
mov dword [0x1005f160], 1
mov dword [0x1005f164], ecx
movsx edx, word [0x1005f0c0]
imul eax, edx, 0xb3
cdq
mov dword [0x1005f0a8], eax
mov dword [0x1005f0ac], edx
movzx eax, byte [ebp - 0x14]
and eax, 0x972c
cdq
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
movsx eax, word [0x1005f15c]
sub eax, 0x5a1c
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x88]
add ecx, 0x59e
mov dword [ebp - 0x3b4], ecx
mov edx, dword [ebp - 0x88]
add edx, 0x724
mov dword [ebp - 0x3b0], edx
movzx eax, byte [ebp - 0x16]
cmp eax, dword [0x1005f104]
jb 0x1002c395
movzx ecx, byte [ebp - 0x19]
test ecx, ecx
je 0x1002c340
mov edx, dword [0x1005f0d8]
add edx, 0x738b2ebf
mov eax, dword [0x1005f0dc]
adc eax, 0x9cc80
mov dword [0x1005f0f0], edx
mov dword [0x1005f0f4], eax
mov ecx, dword [ebp - 0x50]
sub ecx, dword [0x1005f0e4]
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x2c]
movzx eax, word [ebp - 0x20]
lea ecx, [eax + edx + 0xa3]
mov word [ebp - 0x20], cx
mov edx, dword [0x1005fc3c]
xor eax, eax
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], eax
movsx ecx, byte [0x1005f04f]
movzx edx, byte [ebp - 0x15]
sub ecx, edx
movsx eax, byte [0x1005f04f]
imul eax, ecx
mov byte [0x1005f04f], al
movzx ecx, word [0x1005f158]
movsx edx, byte [ebp - 0x17]
not edx
movsx eax, byte [str._CpuC3StatesChanges]
xor eax, dword [0x1005f0a0]
xor edx, eax
lea ecx, [ecx + edx + 0x6615245e]
not ecx
mov word [0x1005f15c], cx
jmp 0x1002c390
cmp dword [ebp - 0x50], 0
jne 0x1002c390
mov edx, dword [0x1005f0c8]
add edx, 0xb89ad237
mov eax, dword [0x1005f0cc]
adc eax, 0
mov dword [0x1005f0d8], edx
mov dword [0x1005f0dc], eax
mov eax, dword [0x1005f0d0]
cdq
add eax, dword [0x1005f0f8]
adc edx, dword [0x1005f0fc]
mov dword [0x1005f0f8], eax
mov dword [0x1005f0fc], edx
mov ecx, dword [ebp - 0x44]
add ecx, 0x4f
mov edx, dword [ebp - 0x2c]
or edx, ecx
mov dword [ebp - 0x2c], edx
jmp 0x1002c575
movsx eax, byte [str._CpuC3StatesChanges]
test eax, eax
je 0x1002c47d
mov eax, dword [0x1005f0a0]
cdq
mov ecx, eax
sub ecx, 0x530d3849
movsx eax, byte [ebp - 0x18]
cdq
xor eax, ecx
mov byte [ebp - 0x18], al
movzx eax, byte [ebp - 0x13]
cdq
mov ecx, dword [ebp - 0x4c]
xor esi, esi
mov edi, dword [ebp - 0x64]
mov ebx, dword [ebp - 0x60]
not edi
not ebx
add ecx, edi
adc esi, ebx
sub eax, ecx
sbb edx, esi
add eax, 2
adc edx, 0
mov dword [ebp - 0x3dc], eax
mov dword [ebp - 0x3d8], edx
mov edx, dword [ebp - 0x3dc]
or edx, dword [ebp - 0x3d8]
jne 0x1002c404
mov dword [ebp - 0x11c], 1
jmp 0x1002c40e
mov dword [ebp - 0x11c], 0
mov eax, dword [ebp - 0x11c]
mov dword [0x1005f0a0], eax
movsx ecx, byte [0x1005f03b]
test ecx, ecx
je 0x1002c432
mov edx, dword [0x1005f100]
mov dword [ebp - 0x120], edx
jmp 0x1002c43b
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x120], eax
mov cl, byte [ebp - 0x120]
mov byte [str.a_StartIdle_], cl
mov ecx, dword [ebp - 0x40]
add ecx, 0xb703ac14
mov eax, dword [ebp - 0x50]
cdq
sub eax, ecx
mov dword [ebp - 0x50], eax
movzx edx, byte [0x1005f0a4]
add edx, dword [ebp - 0x30]
movzx eax, byte [0x1005f0a4]
sub eax, edx
mov byte [0x1005f0a4], al
mov dword [ebp - 0x50], 0xa9000318
jmp 0x1002c575
mov ecx, 0xd5
test ecx, ecx
je 0x1002c4e2
movzx edx, word [ebp - 0x20]
imul edx, dword [0x1005f0d0]
mov word [ebp - 0x20], dx
movsx eax, byte [0x1005f09e]
cdq
mov ecx, dword [ebp - 0x48]
sub ecx, dword [ebp - 0x2c]
xor esi, esi
mov edi, dword [0x1005f0a8]
sub edi, ecx
mov ecx, dword [0x1005f0ac]
sbb ecx, esi
push ecx
push edi
push edx
push eax
call fcn.1003a730
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edx
movsx eax, byte [ebp - 0x17]
cdq
mov ecx, 8
imul ecx, ecx, 0x36
mov dword [ecx + 0x102b2af8], eax
mov dword [ecx + 0x102b2afc], edx
jmp 0x1002c575
movzx edx, word [0x1005f128]
test edx, edx
je 0x1002c575
mov al, byte [0x1005f138]
mov byte [0x1005f077], al
movzx ecx, byte [ebp - 0x13]
imul ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x2c]
add edx, dword [0x1005f0b4]
xor ecx, edx
mov dword [ebp - 0x48], ecx
movsx eax, word [0x1005f0c0]
test eax, eax
je 0x1002c527
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x124], ecx
jmp 0x1002c531
movzx edx, byte [ebp - 0x13]
mov dword [ebp - 0x124], edx
mov ax, word [ebp - 0x124]
mov word [0x1005f15c], ax
movzx eax, byte [ebp - 0x13]
cdq
xor eax, dword [ebp - 0x38]
xor edx, dword [ebp - 0x34]
add eax, dword [ebp - 0x38]
adc edx, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
movsx eax, word [0x1005f15c]
cdq
mov ecx, eax
sub ecx, dword [0x1005f0f8]
movsx eax, word [0x1005f15c]
cdq
add eax, ecx
mov word [0x1005f15c], ax
mov edx, dword [ebp - 0x88]
add edx, 0x6b4
mov dword [ebp - 0x44c], edx
movsx eax, word [ebp - 0x28]
movzx ecx, byte [ebp - 0x14]
add eax, ecx
mov word [ebp - 0x28], ax
mov edx, dword [0x1005f0c8]
or edx, dword [0x1005f0cc]
je 0x1002c5b6
movsx eax, word [ebp - 0x28]
cdq
mov dword [ebp - 0x2e8], eax
mov dword [ebp - 0x2e4], edx
jmp 0x1002c5c8
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x2e8], eax
mov dword [ebp - 0x2e4], ecx
mov dl, byte [ebp - 0x2e8]
mov byte [ebp - 0x18], dl
movzx eax, word [0x1005f148]
cdq
add eax, 0x24611d8d
mov word [ebp - 0x28], ax
movzx eax, byte [ebp - 0x15]
imul ecx, eax, 0xb9
movzx edx, word [ebp - 0x20]
add edx, ecx
mov word [ebp - 0x20], dx
movsx eax, byte [0x1005f076]
mov ecx, dword [ebp - 0x50]
imul ecx, eax
mov dword [ebp - 0x50], ecx
mov edx, dword [0x1005fc3c]
mov dword [ebp - 0x8c], edx
mov eax, dword [0x1005f120]
mov ecx, dword [0x1005f124]
sub eax, dword [0x1005f150]
sbb ecx, dword [0x1005f154]
mov edx, dword [0x1005f120]
mov esi, dword [0x1005f124]
sub edx, eax
sbb esi, ecx
mov dword [0x1005f120], edx
mov dword [0x1005f124], esi
mov eax, dword [0x1005f0a0]
cdq
sub eax, 0xbb448169
sbb edx, 0xcf40c
mov dword [0x1005f140], eax
mov dword [0x1005f144], edx
movsx eax, byte [0x1005f077]
sar eax, 1
mov byte [0x1005f0a5], al
mov ecx, dword [ebp - 0x8c]
add ecx, 0x739
mov dword [ebp - 0x1cc], ecx
movzx edx, word [0x1005f148]
movzx eax, word [0x1005f138]
add edx, eax
mov word [0x1005f148], dx
movsx ecx, byte [0x1005f013]
add ecx, 0x316522f4
xor edx, edx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x48]
sub eax, 1
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x450], edx
xor ecx, 0x86cfcb2
mov byte [ebp - 0x15], cl
mov eax, dword [ebp - 0x8c]
add eax, 0x4fb
mov dword [ebp - 0x454], eax
movsx ecx, word [0x1005f0c0]
add ecx, 0x1221
mov dword [ebp - 0x2c], ecx
mov edx, dword [0x1005f0e8]
xor edx, 0x9a39
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x44]
add eax, 0x65
mov byte [ebp - 0x18], al
mov byte [ebp - 0x17], 0xe1
mov ecx, dword [0x1005f118]
mov edx, dword [0x1005f11c]
mov dword [ebp - 0x458], edx
mov eax, dword [ebp - 0x64]
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x45c], edx
add ecx, eax
mov dword [0x1005f0a0], ecx
movsx eax, word [0x1005f15c]
add eax, 0x9d7491e
mov dword [0x1005f0b0], eax
mov ecx, dword [ebp - 0x8c]
add ecx, 0x679
mov dword [ebp - 0x350], ecx
mov edx, dword [0x1005fc3c]
mov dword [ebp - 0x90], edx
mov eax, 0xffffa250
mov word [ebp - 0x24], ax
mov ecx, 1
imul edx, ecx, 0x197b
mov al, byte [edx + 0x10149450]
mov byte [ebp - 0x16], al
movsx eax, word [0x1005f15c]
cdq
push 0x8b184
push 0x9fec3023
push edx
push eax
call fcn.1003a730
mov dword [ebp - 0x4c], eax
movsx ecx, byte [0x1005f03b]
test ecx, ecx
je 0x1002c7af
mov edx, dword [0x1005f0e4]
mov dword [ebp - 0x128], edx
jmp 0x1002c7b9
movsx eax, byte [ebp - 0x18]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x128]
cdq
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
mov ecx, dword [ebp - 0x90]
add ecx, 0x8c7
mov dword [ebp - 0x460], ecx
mov edx, dword [ebp - 0x90]
add edx, 0x793
mov dword [ebp - 0x1f8], edx
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x464], ecx
add eax, 0x21fb4c97
mov word [0x1005f0c0], ax
mov edx, dword [ebp - 0x44]
mov eax, dword [0x1005f120]
mov ecx, dword [0x1005f124]
mov dword [ebp - 0x49c], ecx
sub edx, eax
mov word [0x1005f0c0], dx
movzx eax, word [0x1005f10c]
not eax
movzx edx, word [0x1005f138]
sub eax, edx
cdq
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edx
movsx eax, byte [ebp - 0x17]
xor eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x44]
sub ecx, eax
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x90]
add edx, 0x801
mov dword [ebp - 0x468], edx
movzx eax, byte [ebp - 0x11]
movsx ecx, byte [0x1005f0a5]
cmp eax, ecx
je 0x1002c873
mov dword [ebp - 0x12c], 1
jmp 0x1002c87d
mov dword [ebp - 0x12c], 0
movzx edx, byte [ebp - 0x11]
cmp edx, 0x1b
je 0x1002c892
mov dword [ebp - 0x130], 1
jmp 0x1002c89c
mov dword [ebp - 0x130], 0
mov eax, dword [ebp - 0x12c]
cmp eax, dword [ebp - 0x130]
je 0x1002ca33
mov dword [ebp - 0x94], 0xde
jmp 0x1002c8c9
mov ecx, dword [ebp - 0x94]
sub ecx, 1
mov dword [ebp - 0x94], ecx
cmp dword [ebp - 0x94], 0
jle 0x1002ca33
movzx edx, word [0x1005f0ec]
test edx, edx
je 0x1002c96b
movzx eax, byte [ebp - 0x11]
shl eax, 7
mov dword [ebp - 0x50], eax
movsx eax, word [ebp - 0x24]
cdq
mov ecx, 8
imul ecx, ecx, 0x9adf
mov dword [ecx + 0x101fad10], eax
mov dword [ecx + 0x101fad14], edx
mov edx, dword [ebp - 0x4c]
mov eax, 2
imul ecx, eax, 0x9af3
mov word [ecx + 0x10075ce0], dx
mov eax, dword [0x1005f0a8]
mov edx, dword [0x1005f0ac]
mov cl, 1
call fcn.1003a840
mov word [0x1005f138], ax
mov edx, dword [ebp - 0x40]
xor edx, 0x449
mov byte [ebp - 0x13], dl
push 0xbe137
push 0xbaca4621
mov eax, dword [0x1005f144]
push eax
mov ecx, dword [0x1005f140]
push ecx
call fcn.1003a730
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edx
jmp 0x1002ca12
mov edx, dword [0x1005f0a8]
or edx, dword [0x1005f0ac]
je 0x1002ca12
mov eax, 0xccd1d
mov dword [ebp - 0x58], 0x6b0c12e6
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x44], 0
je 0x1002c9a4
mov eax, dword [ebp - 0x50]
cdq
mov dword [ebp - 0x260], eax
mov dword [ebp - 0x25c], edx
jmp 0x1002c9b6
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x260], ecx
mov dword [ebp - 0x25c], edx
mov eax, dword [ebp - 0x260]
mov ecx, dword [ebp - 0x25c]
mov dword [0x1005f0c8], eax
mov dword [0x1005f0cc], ecx
movsx edx, byte [0x1005f03b]
sar edx, 7
mov word [0x1005f0c0], dx
mov eax, dword [ebp - 0x64]
mov edx, dword [ebp - 0x60]
mov cl, 6
call fcn.1003a840
mov dword [0x1005f118], eax
mov dword [0x1005f11c], edx
movzx eax, byte [0x1005f0a4]
movzx ecx, word [0x1005f128]
add eax, ecx
cdq
mov dword [0x1005f120], eax
mov dword [0x1005f124], edx
mov edx, dword [0x1005f118]
mov eax, dword [0x1005f11c]
add edx, 1
adc eax, 0
mov dword [0x1005f118], edx
mov dword [0x1005f11c], eax
jmp 0x1002c8ba
movzx ecx, byte [ebp - 0x15]
movzx edx, word [0x1005f138]
cmp ecx, edx
jge 0x1002ca4e
mov dword [ebp - 0x134], 1
jmp 0x1002ca58
mov dword [ebp - 0x134], 0
movzx eax, byte [ebp - 0x13]
imul eax, dword [ebp - 0x134]
test eax, eax
je 0x1002cbb6
mov dword [ebp - 0x98], 0x29f
jmp 0x1002ca86
mov ecx, dword [ebp - 0x98]
sub ecx, 1
mov dword [ebp - 0x98], ecx
cmp dword [ebp - 0x98], 0
jle 0x1002cbb4
movsx edx, byte [ebp - 0x17]
cmp dword [ebp - 0x2c], edx
jne 0x1002cb9d
mov byte [ebp - 0x17], 1
movsx eax, byte [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
sub ecx, eax
mov edx, dword [ebp - 0x2c]
add edx, ecx
mov dword [ebp - 0x2c], edx
mov byte [ebp - 0x19], 0xe3
mov al, byte [ebp - 0x17]
mov byte [ebp - 0x138], al
cmp byte [ebp - 0x138], 0
je 0x1002cad9
cmp byte [ebp - 0x138], 1
je 0x1002cb45
jmp 0x1002cb9d
movsx ecx, byte [0x1005f04f]
mov edx, dword [ebp - 0x5c]
sub edx, ecx
mov dword [ebp - 0x5c], edx
mov byte [0x1005f09f], 1
movzx eax, word [ebp - 0x20]
test eax, eax
je 0x1002cb11
mov ecx, dword [0x1005f0d8]
mov edx, dword [0x1005f0dc]
mov dword [ebp - 0x2f0], ecx
mov dword [ebp - 0x2ec], edx
jmp 0x1002cb28
mov eax, dword [0x1005f0f0]
mov ecx, dword [0x1005f0f4]
mov dword [ebp - 0x2f0], eax
mov dword [ebp - 0x2ec], ecx
mov edx, dword [ebp - 0x2f0]
mov dword [ebp - 0x50], edx
movzx eax, byte [ebp - 0x12]
imul ecx, eax, 0xf3
mov edx, dword [ebp - 0x2c]
xor edx, ecx
mov byte [ebp - 0x16], dl
jmp 0x1002cb9d
movsx eax, byte [0x1005f013]
movzx ecx, byte [ebp - 0x12]
sub eax, ecx
imul eax, dword [0x1005f100]
xor edx, edx
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], edx
cmp dword [ebp - 0x5c], 0
jne 0x1002cb73
mov dword [ebp - 0x13c], 1
jmp 0x1002cb7d
mov dword [ebp - 0x13c], 0
movzx eax, word [0x1005f0ec]
xor eax, dword [ebp - 0x13c]
mov dword [ebp - 0x50], eax
mov ecx, dword [0x1005f0b0]
imul ecx, dword [ebp - 0x4c]
mov dword [0x1005f0b0], ecx
mov dx, word [0x1005f158]
add dx, 1
mov word [0x1005f158], dx
jmp 0x1002ca77
jmp 0x1002cbf8
mov eax, dword [0x1005f0c8]
or eax, dword [0x1005f0cc]
je 0x1002cbf8
movzx ecx, byte [str.a_StartIdle_]
mov edx, dword [ebp - 0x30]
imul edx, ecx
mov eax, dword [ebp - 0x30]
sub eax, edx
mov dword [ebp - 0x30], eax
xor ecx, ecx
mov dword [ebp - 0x38], 0xe20e
mov dword [ebp - 0x34], ecx
mov edx, dword [0x1005f0b0]
mov word [0x1005f10c], dx
mov dword [ebp - 0x4c], 0x636a
movsx eax, byte [0x1005f013]
movsx ecx, word [0x1005f0e0]
cmp eax, ecx
jle 0x1002ccc8
push 0
push 0x4a
mov edx, dword [0x1005f144]
push edx
mov eax, dword [0x1005f140]
push eax
call fcn.1003a730
mov ecx, eax
movsx eax, word [0x1005f0e0]
cdq
or eax, ecx
mov word [0x1005f0e0], ax
movsx edx, byte [str._CpuC3StatesChanges]
mov dword [ebp - 0x4c], edx
movsx eax, word [0x1005f0e0]
test eax, eax
jne 0x1002cc57
mov dword [ebp - 0x144], 1
jmp 0x1002cc61
mov dword [ebp - 0x144], 0
cmp dword [0x1005f0a0], 0
jne 0x1002cc76
mov dword [ebp - 0x140], 1
jmp 0x1002cc80
mov dword [ebp - 0x140], 0
movzx ecx, byte [ebp - 0x11]
mov edx, dword [ebp - 0x140]
lea eax, [ecx + edx + 0x8d3c]
test eax, eax
jne 0x1002cca1
mov dword [ebp - 0x148], 1
jmp 0x1002ccab
mov dword [ebp - 0x148], 0
movsx ecx, word [ebp - 0x28]
imul ecx, dword [ebp - 0x144]
sub ecx, dword [ebp - 0x148]
mov word [0x1005f15c], cx
jmp 0x1002cd90
movzx edx, byte [str.a_StartIdle_]
test edx, edx
jne 0x1002ccdf
mov dword [ebp - 0x14c], 1
jmp 0x1002cce9
mov dword [ebp - 0x14c], 0
movsx eax, byte [ebp - 0x18]
cmp dword [ebp - 0x14c], eax
jle 0x1002cd90
movzx ecx, byte [ebp - 0x13]
imul edx, ecx, 0x4f
mov dword [0x1005f100], edx
movzx eax, byte [ebp - 0x12]
cdq
add eax, 0x8d7d73f7
mov word [0x1005f148], ax
movzx eax, byte [ebp - 0x14]
add eax, 0xf9d4
mov dword [0x1005f100], eax
mov ecx, dword [0x1005f0f0]
or ecx, dword [0x1005f0f4]
je 0x1002cd45
mov edx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x2f8], edx
mov dword [ebp - 0x2f4], eax
jmp 0x1002cd57
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x2f8], ecx
mov dword [ebp - 0x2f4], edx
mov ax, word [ebp - 0x2f8]
mov word [0x1005f148], ax
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x46c], edx
xor ecx, 0xa5
mov byte [str.a_StartIdle_], cl
movsx eax, word [0x1005f110]
imul eax, dword [0x1005f0d0]
mov word [0x1005f110], ax
mov dword [ebp - 0x80], 0
mov ecx, dword [ebp - 0x38]
or ecx, dword [ebp - 0x34]
je 0x1002cdf6
movzx eax, word [ebp - 0x20]
cdq
mov ecx, eax
mov esi, edx
and ecx, dword [ebp - 0x64]
and esi, dword [ebp - 0x60]
movzx eax, word [ebp - 0x20]
cdq
push esi
push ecx
push edx
push eax
call fcn.1003a730
mov word [ebp - 0x20], ax
mov edx, 8
imul eax, edx, 0x18
mov cl, byte [eax + 0x10075828]
mov byte [0x1005f03b], cl
mov edx, dword [0x1005f0f0]
sub edx, 0xc5
mov word [ebp - 0x28], dx
movsx eax, word [0x1005f15c]
cdq
add eax, 0x2ab3aee3
mov byte [ebp - 0x12], al
jmp 0x1002ce1c
movsx eax, byte [0x1005f09e]
mov dword [0x1005f0d0], eax
movzx ecx, byte [ebp - 0x13]
imul edx, ecx, 0xa5
mov dword [0x1005f0e8], edx
mov eax, dword [0x1005fc3c]
mov dword [0x1005f0e8], eax
mov dword [ebp - 0x470], 0
cmp dword [0x1005f0b0], 0
je 0x1002cec3
movzx ecx, word [ebp - 0x20]
movsx edx, byte [ebp - 0x17]
sub ecx, edx
mov word [ebp - 0x20], cx
mov eax, dword [ebp - 0x2c]
sub eax, 1
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x3e4], ecx
mov dword [ebp - 0x3e0], edx
mov eax, dword [ebp - 0x3e4]
or eax, dword [ebp - 0x3e0]
je 0x1002ce7c
mov eax, dword [ebp - 0x48]
cdq
mov dword [ebp - 0x278], eax
mov dword [ebp - 0x274], edx
jmp 0x1002ce94
mov ecx, dword [0x1005f0f8]
mov edx, dword [0x1005f0fc]
mov dword [ebp - 0x278], ecx
mov dword [ebp - 0x274], edx
mov al, byte [ebp - 0x278]
mov byte [0x1005f09f], al
mov dword [ebp - 0x44], 0xd393
movzx ecx, byte [ebp - 0x14]
sar ecx, 7
mov byte [0x1005f076], cl
movzx eax, byte [ebp - 0x15]
shl eax, 6
cdq
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edx
jmp 0x1002cf41
movsx edx, word [ebp - 0x28]
test edx, edx
je 0x1002cf41
movzx eax, byte [ebp - 0x14]
add eax, 0x47
mov byte [ebp - 0x14], al
movzx eax, byte [ebp - 0x16]
cdq
mov ecx, eax
add ecx, 0x141145ce
movzx eax, word [0x1005f138]
cdq
and eax, ecx
mov word [0x1005f138], ax
movsx edx, byte [ebp - 0x17]
mov eax, dword [0x1005f0e4]
lea ecx, [edx + eax - 0x60d4a72b]
test ecx, ecx
jne 0x1002cf1a
xor edx, edx
mov dword [ebp - 0x280], 1
mov dword [ebp - 0x27c], edx
jmp 0x1002cf25
xorps xmm0, xmm0
movlpd qword [ebp - 0x280], xmm0
mov eax, dword [ebp - 0x280]
mov ecx, dword [ebp - 0x27c]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], ecx
imul edx, dword [ebp - 0x4c], 0x4628
mov byte [ebp - 0x14], dl
mov dword [ebp - 0x474], 0
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x54]
push 0
push 0xcb08
push ecx
push eax
call fcn.1003a730
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], edx
mov edx, 1
mov word [0x1005f148], dx
mov eax, 4
imul ecx, eax, 0x16a6
mov dl, byte [ecx + 0x1005fc40]
mov byte [ebp - 0x11], dl
mov eax, dword [ebp - 0x50]
cdq
push edx
push eax
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.1003a730
add eax, dword [ebp - 0x40]
adc edx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x478], 0
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x47c], eax
sub edx, 0x64b2cca5
mov byte [str._CpuC3StatesChanges], dl
movsx eax, word [ebp - 0x28]
sub eax, 0x345e
cdq
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], edx
movsx ecx, word [ebp - 0x24]
sub ecx, 0x6d
mov dword [ebp - 0x30], ecx
movsx edx, word [0x1005f0e0]
shl edx, 1
mov dword [0x1005f0e4], edx
mov eax, dword [ebp - 0x4c]
sub eax, 0xa8d264c8
mov byte [0x1005f077], al
mov dword [ebp - 4], 2
mov ecx, 9
mov esi, str.OEMFlags__fFullGPI
lea edi, [ebp - 0x4f4]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea ecx, [ebp - 0x4f4]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cdq
mov dword [0x1005f0f0], eax
mov dword [0x1005f0f4], edx
jmp 0x1002d058
mov dword [ebp - 4], 0xffffffff
jmp 0x1002d068
movsx edx, word [ebp - 0x24]
sub edx, 0xbe04
mov dword [ebp - 0x44], edx
mov eax, 0x4427
sub eax, dword [ebp - 0x44]
mov word [ebp - 0x24], ax
movsx ecx, word [0x1005f0c0]
movsx edx, byte [0x1005f077]
sub ecx, edx
mov word [0x1005f0c0], cx
movzx eax, word [0x1005f0ec]
cdq
mov ecx, eax
mov esi, edx
or ecx, 0x5f3b4aff
or esi, 0x67c6e
movzx eax, byte [ebp - 0x11]
cdq
xor eax, dword [0x1005f130]
xor edx, dword [0x1005f134]
sub ecx, eax
sbb esi, edx
mov dword [ebp - 0x3ec], ecx
mov dword [ebp - 0x3e8], esi
mov edx, dword [ebp - 0x3ec]
or edx, dword [ebp - 0x3e8]
jne 0x1002d0eb
mov dword [ebp - 0x150], 1
jmp 0x1002d0f5
mov dword [ebp - 0x150], 0
movzx eax, byte [ebp - 0x19]
sub eax, dword [ebp - 0x150]
mov byte [ebp - 0x15], al
mov ecx, dword [0x1005f140]
or ecx, dword [0x1005f144]
je 0x1002d182
mov edx, dword [0x1005f0d8]
sub edx, 0xfa7b2129
mov byte [ebp - 0x18], dl
push 0
push 0x76fe1158
mov eax, dword [0x1005f0f4]
push eax
mov ecx, dword [0x1005f0f0]
push ecx
call fcn.1003a730
mov byte [ebp - 0x12], al
mov edx, dword [ebp - 0x38]
add edx, 0x47
mov word [0x1005f114], dx
mov eax, dword [ebp - 0x48]
mov word [0x1005f148], ax
mov ecx, dword [0x1005f118]
mov edx, dword [0x1005f11c]
sub ecx, 0x1ebf
sbb edx, 0
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x60], edx
xor eax, eax
mov dword [0x1005f150], 0x4cba
mov dword [0x1005f154], eax
jmp 0x1002d243
movsx ecx, word [0x1005f110]
cmp dword [0x1005f0e4], ecx
jge 0x1002d243
mov edx, 4
imul eax, edx, 0x45aa
mov ecx, dword [eax + 0x1005fc40]
mov dword [ebp - 0x5c], ecx
movsx eax, byte [str._CpuC3StatesChanges]
xor eax, 0xe7
cdq
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], edx
mov edx, dword [ebp - 0x4c]
xor eax, eax
push 0xc620d
push 0x2db99e3b
push eax
push edx
call fcn.1003a730
mov byte [ebp - 0x11], al
movzx ecx, byte [ebp - 0x12]
movzx edx, byte [ebp - 0x12]
add ecx, edx
mov byte [ebp - 0x12], cl
cmp dword [0x1005f0e8], 0
jne 0x1002d1f7
mov dword [ebp - 0x154], 1
jmp 0x1002d201
mov dword [ebp - 0x154], 0
movzx eax, word [0x1005f10c]
movzx ecx, word [0x1005f148]
add ecx, dword [ebp - 0x154]
not ecx
imul eax, ecx
movsx edx, word [0x1005f0e0]
movzx ecx, byte [ebp - 0x12]
movzx esi, byte [ebp - 0x11]
sub ecx, esi
imul edx, ecx
xor eax, edx
cdq
mov dword [0x1005f0f0], eax
mov dword [0x1005f0f4], edx
mov byte [0x1005f0a5], 0xb4
movsx dx, byte [0x1005f013]
mov word [ebp - 0x20], dx
mov eax, dword [ebp - 0x40]
or eax, dword [ebp - 0x3c]
je 0x1002d26b
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x290], ecx
mov dword [ebp - 0x28c], edx
jmp 0x1002d27c
mov eax, dword [ebp - 0x4c]
xor ecx, ecx
mov dword [ebp - 0x290], eax
mov dword [ebp - 0x28c], ecx
mov dl, byte [ebp - 0x290]
mov byte [0x1005f013], dl
movzx eax, word [0x1005f148]
test eax, eax
jne 0x1002d2a7
xor ecx, ecx
mov dword [ebp - 0x3f4], 1
mov dword [ebp - 0x3f0], ecx
jmp 0x1002d2b2
xorps xmm0, xmm0
movlpd qword [ebp - 0x3f4], xmm0
movzx edx, byte [0x1005f09f]
test edx, edx
jne 0x1002d2c9
mov dword [ebp - 0x158], 1
jmp 0x1002d2d3
mov dword [ebp - 0x158], 0
movzx eax, word [0x1005f10c]
mov ecx, dword [ebp - 0x50]
imul ecx, eax
test ecx, ecx
jne 0x1002d2f0
mov dword [ebp - 0x15c], 1
jmp 0x1002d2fa
mov dword [ebp - 0x15c], 0
mov ecx, dword [ebp - 0x40]
not ecx
sub ecx, dword [ebp - 0x3f4]
movzx eax, word [0x1005f128]
cdq
sub ecx, eax
movzx eax, byte [ebp - 0x15]
add eax, dword [ebp - 0x158]
sub eax, dword [ebp - 0x15c]
cdq
sub ecx, eax
mov dword [0x1005f0e4], ecx
mov edx, dword [ebp - 0x5c]
xor eax, eax
add edx, dword [0x1005f0f0]
adc eax, dword [0x1005f0f4]
mov ecx, dword [0x1005f0f0]
sub ecx, edx
mov edx, dword [0x1005f0f4]
sbb edx, eax
mov dword [0x1005f0f0], ecx
mov dword [0x1005f0f4], edx
xor eax, eax
mov byte [ebp - 0x6e], al
lea ecx, [ebp - 0x6e]
call fcn.10002ce0
mov dword [ebp - 0x160], eax
mov ecx, dword [ebp - 0x160]
call fcn.1002b210
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x160]
push ecx
push 0
push 0
call fcn.100015c0
call eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 4], 4
movzx eax, byte [ebp - 0x13]
cdq
mov ecx, dword [0x1005f0b8]
sub ecx, eax
mov eax, dword [0x1005f0bc]
sbb eax, edx
mov dword [0x1005f0b8], ecx
mov dword [0x1005f0bc], eax
push 0
push 0x134652a8
mov ecx, dword [0x1005f0ac]
push ecx
mov edx, dword [0x1005f0a8]
push edx
call fcn.1003a730
mov byte [ebp - 0x11], al
movsx eax, word [0x1005f0e0]
sar eax, 4
cdq
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edx
movzx eax, word [0x1005f138]
add eax, 0x1c
cdq
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], edx
jmp 0x1002d48d
mov dword [ebp - 4], 0xffffffff
jmp 0x1002d49d
mov eax, dword [ebp - 0x164]
xor eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0x9c]
imul ecx, dword [ebp - 0x164]
mov edx, dword [ebp - 0x3ac]
sub edx, dword [ebp - 0x9c]
add ecx, edx
cmp eax, ecx
je 0x1002dbbe
mov eax, dword [0x1005f0c8]
not eax
mov ecx, dword [0x1005f0cc]
not ecx
mov dword [ebp - 0x3fc], eax
mov dword [ebp - 0x3f8], ecx
cmp dword [ebp - 0x3fc], 0x9777
jne 0x1002d4fc
cmp dword [ebp - 0x3f8], 0
je 0x1002d508
mov dword [ebp - 0x168], 1
jmp 0x1002d512
mov dword [ebp - 0x168], 0
movzx edx, byte [ebp - 0x14]
test edx, edx
jne 0x1002d526
mov dword [ebp - 0x16c], 1
jmp 0x1002d530
mov dword [ebp - 0x16c], 0
mov eax, dword [ebp - 0x168]
cmp eax, dword [ebp - 0x16c]
jl 0x1002d54a
mov dword [ebp - 0x174], 1
jmp 0x1002d554
mov dword [ebp - 0x174], 0
movzx ecx, byte [ebp - 0x12]
test ecx, ecx
je 0x1002d573
movsx edx, byte [0x1005f04f]
test edx, edx
je 0x1002d573
mov dword [ebp - 0x170], 1
jmp 0x1002d57d
mov dword [ebp - 0x170], 0
mov eax, dword [ebp - 0x30]
imul eax, dword [0x1005f0d0]
not eax
sub eax, dword [ebp - 0x170]
jne 0x1002d59d
mov dword [ebp - 0x178], 1
jmp 0x1002d5a7
mov dword [ebp - 0x178], 0
movsx edx, byte [0x1005f077]
movzx eax, word [0x1005f138]
cmp edx, eax
jge 0x1002d5c5
mov dword [ebp - 0x17c], 1
jmp 0x1002d5cf
mov dword [ebp - 0x17c], 0
movsx ecx, byte [0x1005f077]
cmp ecx, 0x5f
jge 0x1002d5e7
mov dword [ebp - 0x180], 1
jmp 0x1002d5f1
mov dword [ebp - 0x180], 0
mov edx, dword [ebp - 0x17c]
cmp edx, dword [ebp - 0x180]
jne 0x1002d9c7
movzx eax, byte [ebp - 0x12]
movsx ecx, word [ebp - 0x24]
cmp eax, ecx
jne 0x1002d61b
mov dword [ebp - 0x184], 1
jmp 0x1002d625
mov dword [ebp - 0x184], 0
movzx edx, byte [ebp - 0x12]
cmp edx, 0x35
jne 0x1002d63a
mov dword [ebp - 0x188], 1
jmp 0x1002d644
mov dword [ebp - 0x188], 0
mov eax, dword [ebp - 0x184]
cmp eax, dword [ebp - 0x188]
jg 0x1002d91e
mov eax, dword [0x1005f0e8]
cdq
and eax, dword [0x1005f118]
and edx, dword [0x1005f11c]
mov ecx, dword [0x1005f0e4]
imul ecx, dword [ebp - 0x44]
not ecx
xor esi, esi
mov dword [ebp - 0x404], eax
mov dword [ebp - 0x400], edx
mov dword [ebp - 0x40c], ecx
mov dword [ebp - 0x408], esi
mov edx, dword [ebp - 0x400]
cmp edx, dword [ebp - 0x408]
jl 0x1002d6b1
jg 0x1002d6ac
mov eax, dword [ebp - 0x404]
cmp eax, dword [ebp - 0x40c]
jb 0x1002d6b1
jmp 0x1002d919
movzx edx, byte [ebp - 0x11]
test edx, edx
je 0x1002d74d
movzx eax, word [ebp - 0x20]
test eax, eax
je 0x1002d74d
imul ecx, dword [ebp - 0x44], 0x17
xor edx, edx
mov dword [0x1005f150], ecx
mov dword [0x1005f154], edx
movzx eax, byte [0x1005f0a4]
test eax, eax
je 0x1002d6fc
movzx eax, word [0x1005f148]
cdq
mov dword [ebp - 0x288], eax
mov dword [ebp - 0x284], edx
jmp 0x1002d70e
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x288], ecx
mov dword [ebp - 0x284], edx
mov eax, dword [ebp - 0x288]
mov dword [0x1005f0d0], eax
movsx ecx, word [ebp - 0x28]
add ecx, 0x76fc6419
mov edx, dword [ebp - 0x2c]
sub edx, ecx
mov dword [ebp - 0x2c], edx
mov byte [0x1005f04f], 0x4e
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x2c]
imul ecx, eax
mov dword [ebp - 0x2c], ecx
mov byte [0x1005f0a5], 0x21
jmp 0x1002d919
mov edx, 0x98d2
test edx, edx
je 0x1002d874
mov eax, dword [ebp - 0x38]
or eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
or ecx, dword [ebp - 0x34]
mov dword [ebp - 0x414], eax
mov dword [ebp - 0x410], ecx
mov edx, dword [ebp - 0x414]
or edx, dword [ebp - 0x410]
je 0x1002d874
movsx eax, word [ebp - 0x24]
cdq
add eax, 0x23bf1c0f
mov byte [ebp - 0x19], al
mov al, byte [0x1005fc3c]
mov byte [ebp - 0x13], al
mov ecx, dword [0x1005f140]
or ecx, dword [0x1005f144]
jne 0x1002d7b3
mov dword [ebp - 0x18c], 1
jmp 0x1002d7bd
mov dword [ebp - 0x18c], 0
movsx edx, byte [ebp - 0x17]
xor edx, dword [ebp - 0x18c]
not edx
movsx eax, word [0x1005f108]
movsx ecx, byte [ebp - 0x17]
not ecx
add eax, ecx
sub edx, eax
jne 0x1002d7e8
mov dword [ebp - 0x190], 1
jmp 0x1002d7f2
mov dword [ebp - 0x190], 0
mov edx, dword [ebp - 0x48]
add edx, dword [ebp - 0x30]
not edx
mov eax, dword [ebp - 0x44]
sub eax, edx
xor eax, dword [ebp - 0x190]
jne 0x1002d813
mov dword [ebp - 0x194], 1
jmp 0x1002d81d
mov dword [ebp - 0x194], 0
mov ecx, dword [ebp - 0x194]
mov dword [ebp - 0x5c], ecx
movsx eax, byte [ebp - 0x17]
cdq
xor eax, 0x76a58f39
xor edx, 0x9f38a
mov ecx, dword [0x1005f0a8]
sub ecx, eax
mov eax, dword [0x1005f0ac]
sbb eax, edx
mov dword [0x1005f0a8], ecx
mov dword [0x1005f0ac], eax
movsx eax, word [0x1005f0e0]
cdq
mov ecx, dword [0x1005f118]
mov edx, dword [0x1005f11c]
mov dword [ebp - 0x480], edx
add ecx, eax
mov byte [ebp - 0x14], cl
jmp 0x1002d919
cmp dword [0x1005f0a0], 0
je 0x1002d919
movzx eax, word [ebp - 0x20]
imul ecx, eax, 0x1f
mov byte [ebp - 0x13], cl
movzx edx, word [0x1005f158]
and edx, 0x68
movzx eax, byte [ebp - 0x15]
add eax, edx
mov byte [ebp - 0x15], al
mov dword [0x1005f0b4], 4
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x54]
sub ecx, 0x1b
sbb edx, 0
mov dword [0x1005f140], ecx
mov dword [0x1005f144], edx
xor eax, eax
mov dword [ebp - 0x58], 0xe6cc
mov dword [ebp - 0x54], eax
movzx ecx, byte [ebp - 0x14]
mov edx, dword [0x1005f0a0]
add edx, ecx
movsx eax, word [0x1005f108]
xor edx, eax
jne 0x1002d8f7
xor ecx, ecx
mov dword [ebp - 0x2d8], 1
mov dword [ebp - 0x2d4], ecx
jmp 0x1002d902
xorps xmm0, xmm0
movlpd qword [ebp - 0x2d8], xmm0
mov edx, dword [ebp - 0x2d8]
mov eax, dword [ebp - 0x2d4]
mov dword [0x1005f0b8], edx
mov dword [0x1005f0bc], eax
jmp 0x1002d9c2
movsx ecx, byte [0x1005f03b]
movzx edx, byte [ebp - 0x16]
cmp ecx, edx
jl 0x1002d939
mov dword [ebp - 0x198], 1
jmp 0x1002d943
mov dword [ebp - 0x198], 0
mov eax, dword [0x1005f0a8]
or eax, dword [0x1005f0ac]
jne 0x1002d95c
mov dword [ebp - 0x19c], 1
jmp 0x1002d966
mov dword [ebp - 0x19c], 0
mov ecx, dword [ebp - 0x198]
cmp ecx, dword [ebp - 0x19c]
jge 0x1002d9c2
cmp dword [0x1005f104], 0
je 0x1002d98c
movsx edx, byte [0x1005f09e]
mov dword [ebp - 0x1a0], edx
jmp 0x1002d997
mov eax, dword [0x1005f0e4]
mov dword [ebp - 0x1a0], eax
mov cx, word [ebp - 0x1a0]
mov word [0x1005f148], cx
mov edx, dword [ebp - 0x38]
sub edx, 0x4f10
mov eax, dword [ebp - 0x4c]
sub eax, edx
mov dword [ebp - 0x4c], eax
movsx ecx, word [ebp - 0x24]
imul ecx, dword [ebp - 0x30]
mov word [ebp - 0x24], cx
jmp 0x1002da78
movzx eax, byte [ebp - 0x15]
add eax, 0x28
cdq
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
mov eax, dword [0x1005f0e8]
cdq
push 0x935d3
push 0xfa068dfa
push edx
push eax
call fcn.1003a730
mov byte [str._CpuC3StatesChanges], al
movzx edx, byte [ebp - 0x12]
imul edx, dword [ebp - 0x5c]
movzx eax, byte [ebp - 0x11]
not eax
sub edx, eax
jne 0x1002da17
xor ecx, ecx
mov dword [ebp - 0x2d0], 1
mov dword [ebp - 0x2cc], ecx
jmp 0x1002da22
xorps xmm0, xmm0
movlpd qword [ebp - 0x2d0], xmm0
mov edx, dword [ebp - 0x2d0]
mov eax, dword [ebp - 0x2cc]
mov dword [0x1005f150], edx
mov dword [0x1005f154], eax
movsx ecx, word [0x1005f15c]
sub ecx, 0x88
mov word [0x1005f158], cx
movzx edx, word [0x1005f138]
movzx eax, byte [str.a_StartIdle_]
add edx, eax
movzx ecx, word [0x1005f138]
sub ecx, edx
mov word [0x1005f138], cx
movsx edx, word [ebp - 0x24]
and edx, 0x1f
mov word [ebp - 0x28], dx
cmp dword [ebp - 0x78], 0
jne 0x1002dbbe
mov ecx, dword [ebp - 0x64]
mov esi, dword [ebp - 0x60]
movzx eax, byte [ebp - 0x19]
cdq
mov dword [ebp - 0x41c], ecx
mov dword [ebp - 0x418], esi
mov dword [ebp - 0x424], eax
mov dword [ebp - 0x420], edx
mov edx, dword [ebp - 0x418]
cmp edx, dword [ebp - 0x420]
jb 0x1002db11
ja 0x1002dac3
mov eax, dword [ebp - 0x41c]
cmp eax, dword [ebp - 0x424]
jbe 0x1002db11
movzx eax, word [0x1005f0ec]
cdq
mov ecx, dword [0x1005f118]
mov esi, dword [0x1005f11c]
push esi
push ecx
push edx
push eax
call fcn.1003a730
mov ecx, eax
movzx eax, word [0x1005f0ec]
cdq
add eax, ecx
mov word [0x1005f0ec], ax
movzx edx, byte [ebp - 0x19]
imul edx, dword [ebp - 0x4c]
not edx
mov byte [ebp - 0x11], dl
movsx eax, word [ebp - 0x24]
imul ecx, eax, 0xf4
mov dword [0x1005f104], ecx
jmp 0x1002db7c
mov byte [ebp - 0x11], 1
movsx eax, byte [0x1005f04f]
cdq
add eax, dword [0x1005f0d8]
mov byte [0x1005f09e], al
movzx edx, byte [ebp - 0x15]
movsx eax, byte [0x1005f077]
sub edx, eax
movzx ecx, byte [ebp - 0x15]
add ecx, edx
mov byte [ebp - 0x15], cl
movzx edx, byte [ebp - 0x19]
sub edx, 0xef55
mov word [0x1005f15c], dx
movsx eax, word [0x1005f15c]
cdq
mov ecx, dword [ebp - 0x34]
push ecx
mov ecx, dword [ebp - 0x38]
push ecx
push edx
push eax
call fcn.1003a730
mov word [0x1005f15c], ax
movzx edx, byte [ebp - 0x16]
and edx, 0x920
mov byte [0x1005f03b], dl
mov byte [ebp - 0x17], 0x32
mov eax, dword [0x1005f0e4]
cdq
mov ecx, dword [ebp - 0x58]
mov esi, dword [ebp - 0x54]
push edx
push eax
push esi
push ecx
call fcn.1003a730
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edx
movzx eax, byte [ebp - 0x12]
cdq
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
movsx edx, byte [0x1005f076]
imul eax, edx, 0xd16d9fa9
mov word [ebp - 0x24], ax
xor eax, eax
jmp 0x1003083d
mov ecx, dword [ebp - 0x6c]
xor ecx, 0x29f0
mov edx, dword [ebp - 0x68]
xor edx, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], edx
movzx eax, byte [0x1005f0a4]
cdq
sub eax, 0xe253d38f
sbb edx, 0x8829d
add eax, dword [0x1005f130]
adc edx, dword [0x1005f134]
mov dword [0x1005f130], eax
mov dword [0x1005f134], edx
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
mov eax, dword [ebp + 0xc]
push eax
push 0
push 0
call fcn.10001500
call eax
mov dword [ebp - 0xbc], eax
push 0
push 0x84000000
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x78]
push edx
push 0
push 0
call fcn.10001650
call eax
mov dword [ebp - 0x1fc], eax
movsx eax, word [ebp - 0x28]
cdq
mov ecx, dword [0x1005f120]
mov esi, dword [0x1005f124]
push esi
push ecx
push edx
push eax
call fcn.1003a730
mov ecx, eax
movsx eax, word [ebp - 0x28]
cdq
add eax, ecx
mov word [ebp - 0x28], ax
movzx edx, word [0x1005f128]
movsx eax, byte [ebp - 0x18]
add edx, eax
mov word [0x1005f128], dx
mov ecx, dword [ebp - 0x6c]
sub ecx, 0x4b
mov byte [ebp - 0x12], cl
mov edx, dword [ebp - 0x3b0]
imul edx, dword [ebp - 0x3b4]
sub edx, 0xff
cmp edx, 0xfffffe5e
je 0x1002e804
mov eax, dword [0x1005f100]
sub eax, dword [ebp - 0x40]
mov dword [0x1005f100], eax
movzx ecx, byte [ebp - 0x13]
imul edx, ecx, 0xdc752e9c
mov word [0x1005f15c], dx
mov eax, dword [0x1005f160]
mov ecx, dword [0x1005f164]
sub eax, 0x8674
sbb ecx, 0
mov edx, dword [ebp - 0x38]
sub edx, eax
mov eax, dword [ebp - 0x34]
sbb eax, ecx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x30]
not ecx
test ecx, ecx
je 0x1002de33
movzx edx, word [0x1005f138]
test edx, edx
je 0x1002dd66
mov eax, dword [0x1005fc3c]
xor ecx, ecx
mov dword [0x1005f0d8], eax
mov dword [0x1005f0dc], ecx
mov edx, dword [ebp - 0x48]
add edx, dword [0x1005f0b0]
mov eax, dword [ebp - 0x48]
add eax, edx
mov dword [ebp - 0x48], eax
movsx ecx, byte [0x1005f09e]
mov edx, 0x73badf29
sub edx, ecx
not edx
mov dword [ebp - 0x5c], edx
movsx eax, byte [0x1005f09e]
add eax, 0xb50d
mov ecx, dword [ebp - 0x5c]
sub ecx, eax
mov dword [ebp - 0x5c], ecx
movzx eax, word [0x1005f128]
cdq
mov dword [0x1005f120], eax
mov dword [0x1005f124], edx
jmp 0x1002de31
cmp dword [ebp - 0x5c], 0
jne 0x1002dd78
mov dword [ebp - 0x1a8], 1
jmp 0x1002dd82
mov dword [ebp - 0x1a8], 0
cmp dword [0x1005f0d8], 0xcf51be8a
jne 0x1002dd9a
cmp dword [0x1005f0dc], 0x840d4
je 0x1002dda6
mov dword [ebp - 0x1a4], 1
jmp 0x1002ddb0
mov dword [ebp - 0x1a4], 0
mov edx, dword [ebp - 0x1a4]
not edx
cmp dword [ebp - 0x1a8], edx
je 0x1002ddcc
mov dword [ebp - 0x1ac], 1
jmp 0x1002ddd6
mov dword [ebp - 0x1ac], 0
mov eax, dword [ebp - 0x1ac]
not eax
test eax, eax
je 0x1002de31
cmp dword [ebp - 0x4c], 0
je 0x1002ddf7
movsx ecx, word [0x1005f0c0]
mov dword [ebp - 0x1b0], ecx
jmp 0x1002de00
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x1b0], edx
mov al, byte [ebp - 0x1b0]
mov byte [0x1005f076], al
mov eax, dword [0x1005f0e4]
cdq
sub eax, 0x41ed60e3
mov word [0x1005f138], ax
mov ecx, dword [0x1005fc3c]
xor edx, edx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x60], edx
mov byte [0x1005f04f], 0x6f
jmp 0x1002de60
movsx eax, byte [0x1005f03b]
sub eax, dword [ebp - 0x4c]
mov word [0x1005f108], ax
mov eax, dword [0x1005f0a0]
and eax, 0x44b6a9a5
cdq
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], edx
mov cl, byte [0x1005fc3c]
mov byte [0x1005f0a5], cl
cmp dword [ebp - 0x1fc], 0
jne 0x1002e804
mov dword [ebp - 4], 6
movsx edx, word [ebp - 0x24]
test edx, edx
je 0x1002deed
mov ax, word [0x1005fc3c]
mov word [0x1005f0ec], ax
movsx ecx, byte [ebp - 0x18]
test ecx, ecx
je 0x1002dea4
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x268], edx
mov dword [ebp - 0x264], eax
jmp 0x1002deb6
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x268], ecx
mov dword [ebp - 0x264], edx
mov eax, dword [ebp - 0x268]
mov ecx, dword [ebp - 0x264]
mov dword [0x1005f140], eax
mov dword [0x1005f144], ecx
mov byte [ebp - 0x12], 0x5e
mov edx, dword [0x1005fc3c]
mov dword [ebp - 0x4c], edx
mov al, byte [0x1005f0a4]
mov byte [0x1005f0a5], al
mov dword [ebp - 0x50], 0x6144b550
jmp 0x1002df2e
mov ecx, 0x48cd
mov word [0x1005f158], cx
imul edx, dword [ebp - 0x30], 0xc24d49f3
mov byte [ebp - 0x16], dl
mov eax, dword [ebp - 0x2c]
add eax, 0xedf724c
mov dword [ebp - 0x50], eax
mov ecx, 0xb773
mov word [ebp - 0x20], cx
mov dl, byte [ebp - 0x15]
sub dl, 1
mov byte [ebp - 0x15], dl
mov eax, dword [0x1005f0d0]
cdq
xor eax, dword [ebp - 0x38]
mov dword [0x1005f0a0], eax
jmp 0x1002df71
mov dword [ebp - 4], 0xffffffff
jmp 0x1002df81
mov dword [ebp - 0xb8], 0
jmp 0x1002df9c
mov eax, dword [ebp - 0xb8]
add eax, 2
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0xc6
jge 0x1002e006
mov ecx, 2
imul edx, ecx, 0xa097
mov ax, word [0x1005f10c]
mov word [edx + 0x10075ce0], ax
movsx cx, byte [0x1005f04f]
mov word [ebp - 0x20], cx
movzx edx, byte [ebp - 0x15]
movsx eax, byte [0x1005f04f]
sub edx, eax
movzx ecx, byte [ebp - 0x15]
or ecx, edx
mov byte [ebp - 0x15], cl
movzx edx, byte [0x1005f0a4]
sub edx, 0x3a
movsx eax, byte [ebp - 0x17]
sub eax, edx
mov byte [ebp - 0x17], al
mov cl, byte [0x1005f077]
add cl, 1
mov byte [0x1005f077], cl
jmp 0x1002df8d
mov edx, dword [0x1005fc3c]
mov dword [ebp - 0xa8], edx
mov dword [ebp - 4], 8
mov eax, dword [str.ModemControl_RKCTL]
mov dword [ebp - 0x440], eax
mov ecx, dword [0x1004d7e4]
mov dword [ebp - 0x43c], ecx
mov edx, dword [0x1004d7e8]
mov dword [ebp - 0x438], edx
mov eax, dword [0x1004d7ec]
mov dword [ebp - 0x434], eax
mov cx, word [0x1004d7f0]
mov word [ebp - 0x430], cx
mov dl, byte [0x1004d7f2]
mov byte [ebp - 0x42e], dl
lea eax, [ebp - 0x440]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov word [0x1005f0c0], ax
jmp 0x1002e0c5
mov dword [ebp - 4], 0xffffffff
jmp 0x1002e0d5
mov eax, dword [ebp - 0xa8]
add eax, 0x878
mov dword [ebp - 0x484], eax
mov dword [0x1005f0b0], 2
movsx ecx, word [ebp - 0x24]
mov edx, dword [ebp - 0x44]
sub edx, ecx
imul edx, dword [ebp - 0x44]
mov dword [ebp - 0x44], edx
movsx eax, byte [ebp - 0x18]
mov ecx, 4
imul edx, ecx, 0x15
mov dword [edx + 0x102c3858], eax
movzx eax, word [0x1005f138]
movsx ecx, byte [0x1005f0a5]
imul eax, ecx
movzx edx, word [0x1005f138]
add edx, eax
mov word [0x1005f138], dx
mov eax, dword [0x1005f0b0]
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0
je 0x1002e166
cmp dword [ebp - 0xa4], 1
je 0x1002e1f7
cmp dword [ebp - 0xa4], 2
je 0x1002e25c
jmp 0x1002e314
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
mov cl, 6
call fcn.1003a770
mov word [ebp - 0x24], ax
movzx ecx, byte [ebp - 0x11]
movzx edx, word [0x1005f138]
add ecx, edx
movzx eax, word [0x1005f0ec]
movsx edx, byte [ebp - 0x17]
sub eax, edx
sub ecx, eax
mov word [ebp - 0x20], cx
mov eax, 0xffffa630
mov word [ebp - 0x28], ax
movzx eax, byte [ebp - 0x13]
cdq
mov ecx, dword [0x1005f0a8]
sub ecx, eax
mov eax, dword [0x1005f0ac]
sbb eax, edx
mov edx, dword [0x1005f0a8]
sub edx, ecx
mov ecx, dword [0x1005f0ac]
sbb ecx, eax
mov dword [0x1005f0a8], edx
mov dword [0x1005f0ac], ecx
movzx edx, byte [ebp - 0x15]
imul eax, edx, 0xd3
cdq
add eax, dword [0x1005f0b8]
adc edx, dword [0x1005f0bc]
mov dword [0x1005f0b8], eax
mov dword [0x1005f0bc], edx
jmp 0x1002e314
mov eax, dword [0x1005f0d0]
sar eax, 6
cdq
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], edx
mov byte [str.a_StartIdle_], 0x6f
mov ecx, dword [0x1005f150]
sub ecx, 0x83ef7bf3
movsx eax, word [ebp - 0x28]
cdq
add eax, ecx
mov word [ebp - 0x28], ax
mov dx, word [0x1005f0ec]
sub dx, 1
mov word [0x1005f0ec], dx
movsx eax, byte [0x1005f076]
mov ecx, dword [ebp - 0x48]
add ecx, eax
mov edx, dword [ebp - 0x48]
imul edx, ecx
mov dword [ebp - 0x48], edx
xor eax, eax
mov dword [ebp - 0x40], 0x85
mov dword [ebp - 0x3c], eax
jmp 0x1002e314
movzx ecx, word [0x1005f148]
test ecx, ecx
jne 0x1002e273
mov dword [ebp - 0x1b4], 1
jmp 0x1002e27d
mov dword [ebp - 0x1b4], 0
mov ecx, dword [0x1005f0b8]
xor ecx, dword [ebp - 0x6c]
mov esi, dword [0x1005f0bc]
xor esi, dword [ebp - 0x68]
movsx eax, byte [ebp - 0x17]
add eax, dword [ebp - 0x1b4]
cdq
add ecx, eax
adc esi, edx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], esi
movsx edx, word [0x1005f110]
mov eax, dword [0x1005f0a0]
imul eax, edx
mov dword [0x1005f0a0], eax
movzx ecx, byte [ebp - 0x13]
add ecx, 0x91
mov dword [0x1005f0b0], ecx
mov eax, dword [ebp - 0x50]
cdq
push edx
push eax
mov edx, dword [ebp - 0x68]
push edx
mov eax, dword [ebp - 0x6c]
push eax
call fcn.1003a730
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], edx
cmp dword [ebp - 0x2c], 0
je 0x1002e2fb
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x2c8], ecx
mov dword [ebp - 0x2c4], edx
jmp 0x1002e30b
mov eax, dword [ebp - 0x48]
cdq
mov dword [ebp - 0x2c8], eax
mov dword [ebp - 0x2c4], edx
mov al, byte [ebp - 0x2c8]
mov byte [ebp - 0x16], al
mov ecx, dword [ebp - 0xa8]
add ecx, 0x587
mov dword [ebp - 0x3bc], ecx
mov byte [ebp - 0x13], 0
movzx edx, byte [ebp - 0x12]
add edx, dword [ebp - 0x48]
mov word [ebp - 0x20], dx
movzx eax, byte [ebp - 0x14]
test eax, eax
jne 0x1002e349
mov dword [ebp - 0x1b8], 1
jmp 0x1002e353
mov dword [ebp - 0x1b8], 0
mov ecx, dword [ebp - 0x48]
sub ecx, dword [ebp - 0x1b8]
movsx edx, byte [ebp - 0x18]
xor ecx, edx
jne 0x1002e36f
mov eax, 1
mov word [ebp - 0x74], ax
jmp 0x1002e375
xor ecx, ecx
mov word [ebp - 0x74], cx
mov dx, word [ebp - 0x74]
mov word [ebp - 0x20], dx
mov byte [ebp - 0x11], 0xc3
movzx eax, byte [ebp - 0x16]
sub eax, 0x566fd15a
mov dword [ebp - 0x5c], eax
mov cl, byte [ebp - 0x13]
mov byte [ebp - 0x3b8], cl
cmp byte [ebp - 0x3b8], 0
je 0x1002e3a1
jmp 0x1002e3e3
mov edx, 4
imul eax, edx, 0xcec
mov ecx, dword [0x1005f0e8]
sub ecx, dword [eax + 0x1027a970]
mov dword [0x1005f0e8], ecx
movzx edx, word [0x1005f138]
movsx eax, word [0x1005f15c]
add edx, eax
mov word [0x1005f138], dx
movzx ecx, word [ebp - 0x20]
add ecx, 0x1d
mov word [0x1005f148], cx
mov edx, dword [ebp - 0xa8]
add edx, 0x8c1
mov dword [ebp - 0x3c0], edx
mov dword [ebp - 0xac], 0x3df
jmp 0x1002e410
mov eax, dword [ebp - 0xac]
sub eax, 1
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0
jle 0x1002e64c
mov dword [ebp - 4], 0xa
mov byte [ebp - 4], 0xb
movzx ecx, byte [ebp - 0x12]
test ecx, ecx
je 0x1002e4e9
mov dword [ebp - 0xb0], 0
jmp 0x1002e44f
mov edx, dword [ebp - 0xb0]
add edx, 1
mov dword [ebp - 0xb0], edx
cmp dword [ebp - 0xb0], 0x385
jge 0x1002e4e7
push 0
push 0x44
mov eax, dword [0x1005f0dc]
push eax
mov ecx, dword [0x1005f0d8]
push ecx
call fcn.1003a730
mov word [ebp - 0x28], ax
movzx edx, byte [0x1005f09f]
shl edx, 7
mov byte [0x1005f013], dl
movsx eax, word [ebp - 0x28]
cdq
add eax, 0xf7956331
mov word [0x1005f0ec], ax
mov eax, dword [0x1005f104]
xor ecx, ecx
xor eax, dword [ebp - 0x38]
xor ecx, dword [ebp - 0x34]
and eax, dword [ebp - 0x38]
and ecx, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ecx
movzx eax, byte [ebp - 0x11]
sub eax, 0x605e
cdq
mov ecx, dword [0x1005f0b8]
sub ecx, eax
mov eax, dword [0x1005f0bc]
sbb eax, edx
mov dword [0x1005f0b8], ecx
mov dword [0x1005f0bc], eax
mov cx, word [ebp - 0x24]
add cx, 1
mov word [ebp - 0x24], cx
jmp 0x1002e440
jmp 0x1002e52b
movsx edx, byte [0x1005f0a5]
add edx, 0x3c
mov word [0x1005f110], dx
movsx eax, word [0x1005f114]
sub eax, 0x71a6ed3d
mov dword [0x1005f0d0], eax
movzx eax, byte [ebp - 0x11]
cdq
push edx
push eax
mov ecx, dword [0x1005f0dc]
push ecx
mov edx, dword [0x1005f0d8]
push edx
call fcn.1003a730
mov word [0x1005f0c0], ax
jmp 0x1002e55d
mov dword [ebp - 4], 0xa
jmp 0x1002e56d
jmp 0x1002e628
mov dword [ebp - 4], 0xffffffff
jmp 0x1002e638
mov cl, byte [0x1005f077]
add cl, 1
mov byte [0x1005f077], cl
jmp 0x1002e401
mov edx, dword [ebp - 0x3bc]
sub edx, 0x7e
imul eax, dword [ebp - 0x3c0], 0x385
cmp edx, eax
je 0x1002e804
movsx ecx, byte [ebp - 0x17]
test ecx, ecx
jne 0x1002e67b
mov dword [ebp - 0x1c0], 1
jmp 0x1002e685
mov dword [ebp - 0x1c0], 0
movzx eax, byte [0x1005f0a4]
add eax, dword [ebp - 0x1c0]
not eax
cdq
mov ecx, eax
mov esi, edx
movsx eax, word [0x1005f108]
cdq
xor eax, dword [0x1005f0f0]
xor edx, dword [0x1005f0f4]
xor edi, edi
sub eax, dword [ebp - 0x44]
sbb edx, edi
push edx
push eax
push esi
push ecx
call fcn.1003a730
mov dword [ebp - 0x44], eax
movsx edx, byte [0x1005f0a5]
imul edx, dword [ebp - 0x48]
test edx, edx
jne 0x1002e6db
mov dword [ebp - 0x1c4], 1
jmp 0x1002e6e5
mov dword [ebp - 0x1c4], 0
mov eax, dword [ebp - 0x1c4]
mov dword [ebp - 0x44], eax
xor ecx, ecx
mov dword [0x1005f120], 0xb84436f1
mov dword [0x1005f124], ecx
movzx eax, byte [ebp - 0x13]
cdq
mov ecx, eax
add ecx, 0xc330577c
movsx eax, byte [0x1005f077]
cdq
add eax, ecx
mov byte [0x1005f077], al
movsx edx, word [ebp - 0x28]
not edx
add edx, dword [ebp - 0x48]
movzx eax, word [0x1005f138]
add edx, eax
mov word [0x1005f110], dx
mov ecx, dword [0x1005f0d0]
sub ecx, 0xd0
mov byte [0x1005f076], cl
mov edx, dword [ebp - 0xbc]
push edx
push 0
push 0
call fcn.100016b0
call eax
mov eax, dword [ebp - 0x78]
push eax
push 0
push 0
call fcn.10001350
call eax
mov dword [ebp - 4], 0xe
jmp 0x1002e7ed
mov dword [ebp - 4], 0xffffffff
jmp 0x1002e7fd
xor eax, eax
jmp 0x1003083d
movzx eax, byte [ebp - 0x12]
cdq
mov ecx, dword [0x1005f120]
mov esi, dword [0x1005f124]
mov dword [ebp - 0x42c], eax
mov dword [ebp - 0x428], edx
mov dword [ebp - 0x304], ecx
mov dword [ebp - 0x300], esi
mov edx, dword [ebp - 0x42c]
cmp edx, dword [ebp - 0x304]
jne 0x1002e84d
mov eax, dword [ebp - 0x428]
cmp eax, dword [ebp - 0x300]
je 0x1002ea29
cmp dword [ebp - 0x48], 0
je 0x1002e870
mov ecx, 0xfe0839b1
test ecx, ecx
je 0x1002e870
xor edx, edx
mov dword [ebp - 0x2c0], 1
mov dword [ebp - 0x2bc], edx
jmp 0x1002e87b
xorps xmm0, xmm0
movlpd qword [ebp - 0x2c0], xmm0
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x30c], eax
mov dword [ebp - 0x308], ecx
mov edx, dword [ebp - 0x308]
cmp edx, dword [ebp - 0x2bc]
ja 0x1002e9de
jb 0x1002e8b3
mov eax, dword [ebp - 0x30c]
cmp eax, dword [ebp - 0x2c0]
ja 0x1002e9de
movzx ecx, word [ebp - 0x20]
test ecx, ecx
je 0x1002e8fb
mov edx, 0x72
mov word [0x1005f158], dx
push 0xdc361
push 0xc995dc78
mov eax, dword [0x1005f0ac]
push eax
mov ecx, dword [0x1005f0a8]
push ecx
call fcn.1003a730
mov byte [0x1005f0a5], al
mov edx, dword [ebp - 0x5c]
shl edx, 8
xor eax, eax
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], eax
jmp 0x1002e9dc
cmp dword [ebp - 0x5c], 0
jne 0x1002e90d
mov dword [ebp - 0x1c8], 1
jmp 0x1002e917
mov dword [ebp - 0x1c8], 0
movzx ecx, word [0x1005f0ec]
cmp ecx, dword [ebp - 0x1c8]
jle 0x1002e9dc
movsx edx, byte [0x1005f09e]
add edx, dword [ebp - 0x50]
je 0x1002e9dc
xor eax, eax
mov dword [0x1005f120], 0x6e33d745
mov dword [0x1005f124], eax
movsx eax, byte [0x1005f0a5]
cdq
mov ecx, eax
xor ecx, 0x43c6dba4
movzx eax, byte [ebp - 0x11]
cdq
sub eax, ecx
mov byte [ebp - 0x11], al
movsx eax, word [0x1005f15c]
movsx edx, word [0x1005f15c]
not edx
sub eax, edx
not eax
cdq
mov ecx, eax
mov esi, edx
mov edi, dword [0x1005f118]
mov ebx, dword [0x1005f11c]
not edi
not ebx
movzx eax, word [0x1005f158]
cdq
sub edi, eax
sbb ebx, edx
push ebx
push edi
push esi
push ecx
call fcn.1003a730
mov edx, dword [ebp - 0x2c]
mov ecx, dword [0x1005f130]
add ecx, 0x5c62a8d6
add edx, ecx
add eax, edx
mov byte [ebp - 0x13], al
movzx edx, byte [ebp - 0x13]
mov eax, dword [ebp - 0x48]
add eax, edx
mov dword [ebp - 0x48], eax
mov ecx, dword [0x1005f0e4]
mov edx, 1
imul eax, edx, 0xcd
mov byte [eax + 0x101b8ae0], cl
jmp 0x1002ea29
push 0
push 0xd24b
mov ecx, dword [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0x40]
push edx
call fcn.1003a730
mov byte [ebp - 0x13], al
movzx eax, word [0x1005f158]
xor eax, dword [ebp - 0x48]
movzx ecx, word [0x1005f158]
or ecx, eax
mov word [0x1005f158], cx
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x60]
mov ecx, 8
imul ecx, ecx, 0x5b
mov dword [ecx + 0x10148db0], edx
mov dword [ecx + 0x10148db4], eax
mov edx, dword [ebp - 0x1cc]
add edx, 0x118
mov eax, dword [ebp - 0x350]
or eax, dword [ebp - 0x1cc]
cmp edx, eax
je 0x1003068a
mov ecx, 9
mov esi, str._GET_MSG_BODY_
lea edi, [ebp - 0x51c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea ecx, [ebp - 0x51c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov byte [ebp - 0x19], al
mov eax, dword [ebp - 0x48]
cdq
mov dword [ebp - 0x314], eax
mov dword [ebp - 0x310], edx
mov edx, dword [ebp - 0x310]
cmp edx, dword [0x1005f0cc]
jl 0x1002edab
jg 0x1002eaa3
mov eax, dword [ebp - 0x314]
cmp eax, dword [0x1005f0c8]
jbe 0x1002edab
mov ecx, dword [0x1005f0a8]
or ecx, dword [0x1005f0ac]
jne 0x1002eabd
mov dword [ebp - 0x1d0], 1
jmp 0x1002eac7
mov dword [ebp - 0x1d0], 0
movzx edx, word [0x1005f0ec]
cmp dword [ebp - 0x1d0], edx
jl 0x1002ed57
mov ecx, dword [ebp - 0x58]
mov esi, dword [ebp - 0x54]
movzx eax, word [0x1005f158]
cdq
mov dword [ebp - 0x31c], ecx
mov dword [ebp - 0x318], esi
mov dword [ebp - 0x324], eax
mov dword [ebp - 0x320], edx
mov edx, dword [ebp - 0x318]
cmp edx, dword [ebp - 0x320]
ja 0x1002eb36
jb 0x1002eb1e
mov eax, dword [ebp - 0x31c]
cmp eax, dword [ebp - 0x324]
ja 0x1002eb36
mov ecx, dword [0x1005f0d0]
not ecx
test ecx, ecx
je 0x1002eb36
mov dword [ebp - 0x1d8], 0
jmp 0x1002eb40
mov dword [ebp - 0x1d8], 1
movsx edx, word [0x1005f108]
cmp edx, dword [0x1005f0e8]
je 0x1002eb5b
mov dword [ebp - 0x1d4], 1
jmp 0x1002eb65
mov dword [ebp - 0x1d4], 0
cmp dword [ebp - 0x1d4], 1
jne 0x1002eb7a
mov dword [ebp - 0x1dc], 1
jmp 0x1002eb84
mov dword [ebp - 0x1dc], 0
mov eax, dword [ebp - 0x1d8]
sub eax, dword [ebp - 0x1dc]
je 0x1002ec03
movsx ecx, word [ebp - 0x28]
test ecx, ecx
jne 0x1002eba0
mov byte [ebp - 0x6d], 1
jmp 0x1002eba4
mov byte [ebp - 0x6d], 0
mov dl, byte [ebp - 0x6d]
mov byte [0x1005f09f], dl
movzx eax, byte [ebp - 0x15]
cdq
sub eax, 0x19800896
mov word [ebp - 0x28], ax
push 0
push 0x36
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.1003a730
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
movzx edx, word [0x1005f128]
test edx, edx
je 0x1002ebe8
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x1e0], eax
jmp 0x1002ebf5
movzx ecx, byte [0x1005f0a4]
mov dword [ebp - 0x1e0], ecx
mov edx, dword [ebp - 0x1e0]
mov dword [ebp - 0x48], edx
jmp 0x1002ed55
movsx eax, byte [ebp - 0x18]
not eax
cmp eax, dword [ebp - 0x4c]
jbe 0x1002ec87
movzx ecx, word [ebp - 0x20]
test ecx, ecx
jne 0x1002ec22
mov dword [ebp - 0x1e4], 1
jmp 0x1002ec2c
mov dword [ebp - 0x1e4], 0
movzx edx, word [0x1005f10c]
movzx eax, byte [ebp - 0x13]
add edx, eax
movzx ecx, byte [ebp - 0x16]
sub ecx, dword [ebp - 0x1e4]
xor edx, ecx
mov byte [0x1005f09f], dl
mov eax, dword [0x1005f0e8]
sub eax, 0x4c1c
cdq
mov dword [0x1005f140], eax
mov dword [0x1005f144], edx
movzx edx, byte [ebp - 0x15]
imul eax, edx, 0xa60b
mov dword [ebp - 0x30], eax
mov ecx, dword [0x1005fc3c]
xor edx, edx
mov dword [0x1005f0f0], ecx
mov dword [0x1005f0f4], edx
jmp 0x1002ed55
movzx eax, byte [ebp - 0x16]
test eax, eax
je 0x1002ecff
movzx ecx, byte [ebp - 0x15]
add ecx, 0x17c
mov dword [ebp - 0x5c], ecx
mov ecx, dword [0x1005f150]
add ecx, 0xd949
mov esi, dword [0x1005f154]
adc esi, 0
movzx eax, byte [ebp - 0x13]
cdq
push esi
push ecx
push edx
push eax
call fcn.1003a730
mov byte [ebp - 0x13], al
movsx edx, word [0x1005f15c]
movzx eax, byte [ebp - 0x14]
imul edx, eax
movsx ecx, word [0x1005f15c]
sub ecx, edx
mov word [0x1005f15c], cx
mov edx, 8
imul eax, edx, 0x2329
mov ecx, dword [0x1005f0b0]
sub ecx, dword [eax + 0x10103f18]
mov dword [0x1005f0b0], ecx
jmp 0x1002ed55
mov edx, dword [0x1005f0f0]
or edx, dword [0x1005f0f4]
je 0x1002ed55
imul eax, dword [0x1005f0b0], 0x5e
mov dword [0x1005f0e8], eax
movsx eax, word [0x1005f0c0]
cdq
add eax, 0x86d9eb95
mov ecx, dword [ebp - 0x4c]
sub ecx, eax
mov dword [ebp - 0x4c], ecx
mov edx, dword [0x1005f0e8]
sub edx, 0xf0
mov dword [ebp - 0x4c], edx
movzx eax, byte [ebp - 0x12]
sub eax, 0x6ac2
mov byte [0x1005f04f], al
imul ecx, dword [ebp - 0x48], 0xd15d6763
mov dword [ebp - 0x50], ecx
jmp 0x1002eda6
movsx edx, word [0x1005f15c]
mov eax, dword [ebp - 0x44]
sub eax, edx
jne 0x1002ed71
mov dword [ebp - 0x1e8], 1
jmp 0x1002ed7b
mov dword [ebp - 0x1e8], 0
movsx ecx, word [0x1005f15c]
not ecx
cmp dword [ebp - 0x1e8], ecx
je 0x1002eda6
movzx eax, byte [ebp - 0x16]
cdq
sub eax, 0xa746538e
sbb edx, 0xeaa6d
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
mov byte [ebp - 0x16], 0xf2
jmp 0x1002ee2f
mov eax, dword [ebp - 0x48]
not eax
cdq
mov dword [ebp - 0x32c], eax
mov dword [ebp - 0x328], edx
mov edx, dword [ebp - 0x328]
cmp edx, dword [ebp - 0x34]
jb 0x1002ee2f
ja 0x1002edd5
mov eax, dword [ebp - 0x32c]
cmp eax, dword [ebp - 0x38]
jbe 0x1002ee2f
mov ecx, dword [ebp - 0x30]
add ecx, 0x17
mov word [0x1005f10c], cx
movzx edx, byte [ebp - 0x11]
imul eax, edx, 0x1e
cdq
mov dword [0x1005f120], eax
mov dword [0x1005f124], edx
mov eax, dword [0x1005f140]
sub eax, 0xd6e05bb2
mov byte [ebp - 0x19], al
movsx ecx, byte [str._CpuC3StatesChanges]
test ecx, ecx
je 0x1002ee19
movsx edx, word [ebp - 0x24]
mov dword [ebp - 0x1ec], edx
jmp 0x1002ee23
movsx eax, byte [ebp - 0x18]
mov dword [ebp - 0x1ec], eax
mov cl, byte [ebp - 0x1ec]
mov byte [0x1005f09e], cl
mov edx, dword [ebp - 0x30]
mov byte [ebp - 0x14], dl
movsx eax, word [0x1005f108]
cdq
sub eax, dword [0x1005f140]
mov word [0x1005f108], ax
movzx eax, byte [str.a_StartIdle_]
imul ecx, eax, 0xa7
mov byte [0x1005f076], cl
mov dl, byte [0x1005f0f0]
mov byte [0x1005f076], dl
movzx eax, byte [ebp - 0x15]
cdq
push edx
push eax
mov eax, dword [0x1005f134]
push eax
mov ecx, dword [0x1005f130]
push ecx
call fcn.1003a730
mov dword [0x1005f130], eax
mov dword [0x1005f134], edx
push 4
push 0x3000
push 0x100000
push 0
push 0
push 0
call fcn.10001290
call eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x48], 3
movsx eax, byte [str._CpuC3StatesChanges]
cdq
mov dword [0x1005f0c8], eax
mov dword [0x1005f0cc], edx
movsx edx, byte [0x1005f04f]
sub edx, 0x78e6
mov byte [ebp - 0x15], dl
movzx eax, word [0x1005f138]
not eax
cdq
mov esi, eax
mov edi, edx
mov ecx, dword [0x1005f150]
not ecx
mov ebx, dword [0x1005f154]
not ebx
movsx eax, byte [0x1005f09e]
cdq
add ecx, eax
adc ebx, edx
movzx eax, byte [ebp - 0x11]
cdq
push edx
push eax
push ebx
push ecx
call fcn.1003a730
xor esi, eax
xor edi, edx
mov dword [ebp - 0x334], esi
mov dword [ebp - 0x330], edi
mov edx, dword [ebp - 0x334]
or edx, dword [ebp - 0x330]
jne 0x1002ef34
mov dword [ebp - 0x1f0], 1
jmp 0x1002ef3e
mov dword [ebp - 0x1f0], 0
mov eax, dword [ebp - 0x1f0]
mov dword [ebp - 0x30], eax
mov ecx, dword [0x1005fc3c]
xor edx, edx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x1f4], eax
cmp dword [ebp - 0x1f4], 3
ja case.default.0x1002ef71
mov ecx, dword [ebp - 0x1f4]
jmp dword [ecx*4 + 0x10030850]
movsx eax, byte [0x1005f03b]
cdq
mov ecx, dword [ebp - 0x34]
push ecx
mov ecx, dword [ebp - 0x38]
push ecx
push edx
push eax
call fcn.1003a730
mov esi, eax
mov edi, edx
mov edx, dword [0x1005f0b4]
xor eax, eax
mov ecx, dword [0x1005f0cc]
push ecx
mov ecx, dword [0x1005f0c8]
push ecx
push eax
push edx
call fcn.1003a730
push edx
push eax
push edi
push esi
call fcn.1003a730
mov ecx, eax
movsx eax, byte [0x1005f09e]
cdq
sub ecx, eax
mov byte [ebp - 0x19], cl
mov eax, dword [ebp - 0x50]
add eax, 0xaf
cdq
mov dword [0x1005f0f0], eax
mov dword [0x1005f0f4], edx
push 0
push 0x32c28c36
mov edx, dword [0x1005f154]
push edx
mov eax, dword [0x1005f150]
push eax
call fcn.1003a730
mov dword [0x1005f0f0], eax
mov dword [0x1005f0f4], edx
jmp case.default.0x1002ef71
movsx eax, word [0x1005f114]
cdq
mov ecx, dword [0x1005f154]
push ecx
mov ecx, dword [0x1005f150]
push ecx
push edx
push eax
call fcn.1003a730
mov word [0x1005f0ec], ax
movsx eax, byte [0x1005f04f]
cdq
mov ecx, eax
sub ecx, dword [ebp - 0x40]
movsx eax, byte [0x1005f04f]
cdq
add eax, ecx
mov byte [0x1005f04f], al
movzx eax, word [0x1005f158]
cdq
add eax, dword [ebp - 0x40]
adc edx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x40]
sub ecx, eax
mov eax, dword [ebp - 0x3c]
sbb eax, edx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], eax
movzx ecx, word [ebp - 0x20]
sub ecx, 0x36c8824a
mov byte [ebp - 0x12], cl
mov edx, 1
mov word [ebp - 0x20], dx
jmp case.default.0x1002ef71
movsx eax, word [0x1005f108]
sar eax, 8
mov dword [0x1005f0e8], eax
movzx ecx, byte [ebp - 0x13]
sub ecx, 0xb7bc
mov byte [ebp - 0x15], cl
movzx edx, byte [ebp - 0x19]
mov eax, dword [ebp - 0x2c]
add eax, edx
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x4c]
mov edx, 4
imul eax, edx, 0x11
mov dword [eax + 0x100932f8], ecx
movzx eax, word [0x1005f158]
cdq
push edx
push eax
mov ecx, dword [0x1005f134]
push ecx
mov edx, dword [0x1005f130]
push edx
call fcn.1003a730
mov dword [0x1005f130], eax
mov dword [0x1005f134], edx
jmp case.default.0x1002ef71
mov eax, 0xd3b6
mov word [0x1005f128], ax
movzx ecx, byte [ebp - 0x14]
sub ecx, 0x3482
mov edx, dword [ebp - 0x2c]
and edx, ecx
mov dword [ebp - 0x2c], edx
movzx eax, byte [ebp - 0x16]
not eax
cdq
push edx
push eax
mov eax, dword [0x1005f0dc]
push eax
mov ecx, dword [0x1005f0d8]
push ecx
call fcn.1003a730
mov ecx, eax
mov eax, dword [ebp - 0x50]
cdq
xor ecx, eax
mov dword [0x1005f0e8], ecx
movzx edx, byte [ebp - 0x12]
movzx eax, byte [str.a_StartIdle_]
add edx, eax
movzx ecx, byte [ebp - 0x12]
add ecx, edx
mov byte [ebp - 0x12], cl
mov edx, dword [ebp - 0x5c]
xor eax, eax
mov ecx, dword [0x1005f160]
mov esi, dword [0x1005f164]
push eax
push edx
push esi
push ecx
call fcn.1003a730
mov byte [ebp - 0x17], al
mov edx, dword [ebp - 0x1f8]
or edx, 0x249
cmp dword [ebp - 0x1f8], edx
je 0x1003005a
movzx eax, byte [0x1005f09f]
movsx ecx, byte [ebp - 0x17]
sub eax, ecx
movsx edx, byte [ebp - 0x18]
add edx, dword [0x1005f0b0]
sub eax, edx
mov word [0x1005f158], ax
mov eax, dword [0x1005f0e4]
add eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x44]
sub ecx, eax
mov dword [ebp - 0x44], ecx
movsx edx, byte [0x1005f076]
add edx, 0x13aaf753
mov word [0x1005f148], dx
mov byte [ebp - 0x11], 0x8f
movsx eax, byte [str._CpuC3StatesChanges]
add eax, 0x1f38
mov dword [0x1005f0a0], eax
movsx ecx, word [0x1005f108]
test ecx, ecx
je 0x1002f2a7
movsx edx, word [ebp - 0x28]
sub edx, 0x87
imul edx, dword [0x1005f0b4]
mov dword [0x1005f0b4], edx
movzx eax, byte [ebp - 0x12]
cdq
add eax, 0x958b5ce2
adc edx, 0x1cbd0
mov ecx, dword [0x1005f150]
sub ecx, eax
mov eax, dword [0x1005f154]
sbb eax, edx
mov dword [0x1005f150], ecx
mov dword [0x1005f154], eax
mov ecx, 0xffff9953
mov word [ebp - 0x28], cx
mov eax, dword [0x1005f0d0]
cdq
push 0xea0e8
push 0x3612b861
push edx
push eax
call fcn.1003a730
mov ecx, eax
mov esi, edx
movzx eax, word [ebp - 0x20]
cdq
push esi
push ecx
push edx
push eax
call fcn.1003a730
mov word [ebp - 0x20], ax
xor edx, edx
mov dword [0x1005f0d8], 0xe409
mov dword [0x1005f0dc], edx
movsx eax, word [ebp - 0x28]
test eax, eax
jne 0x1002f27d
xor ecx, ecx
mov dword [ebp - 0x33c], 1
mov dword [ebp - 0x338], ecx
jmp 0x1002f288
xorps xmm0, xmm0
movlpd qword [ebp - 0x33c], xmm0
mov ecx, dword [ebp - 0x33c]
add ecx, 0x380e7428
movzx eax, byte [ebp - 0x11]
cdq
add ecx, eax
mov word [0x1005f15c], cx
jmp 0x1002f334
movzx edx, byte [ebp - 0x12]
movzx eax, byte [ebp - 0x16]
sub edx, eax
movzx ecx, byte [ebp - 0x12]
and ecx, edx
mov byte [ebp - 0x12], cl
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
mov cl, 1
call fcn.1003a790
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
movsx eax, byte [0x1005f013]
cdq
push 0x15f6
push 0xacb3d1d3
push edx
push eax
call fcn.1003a730
mov dword [ebp - 0x50], eax
movzx edx, word [0x1005f10c]
add edx, dword [ebp - 0x30]
mov word [0x1005f10c], dx
movsx eax, word [0x1005f108]
cdq
push 0x118d7
push 0x289eea9b
push edx
push eax
call fcn.1003a730
mov word [0x1005f108], ax
movzx eax, word [ebp - 0x20]
cdq
add eax, 0xb7d8631f
adc edx, 0xc5bf5
mov dword [0x1005f0f8], eax
mov dword [0x1005f0fc], edx
lea eax, [ebp - 0x238]
push eax
push 0x100000
mov ecx, dword [ebp - 0x7c]
push ecx
mov edx, dword [ebp - 0x1fc]
push edx
push 0
push 0
call fcn.100014a0
call eax
test eax, eax
je 0x1002f367
cmp dword [ebp - 0x238], 0
jne 0x1003005a
mov eax, dword [0x1005f0ac]
cmp eax, dword [ebp - 0x3c]
ja 0x1002f4db
jb 0x1002f386
mov ecx, dword [0x1005f0a8]
cmp ecx, dword [ebp - 0x40]
ja 0x1002f4db
movsx eax, byte [0x1005f077]
cdq
mov dword [ebp - 0x344], eax
mov dword [ebp - 0x340], edx
mov edx, dword [0x1005f0fc]
cmp edx, dword [ebp - 0x340]
jg 0x1002f418
jl 0x1002f3b7
mov eax, dword [0x1005f0f8]
cmp eax, dword [ebp - 0x344]
jae 0x1002f418
movzx ecx, byte [ebp - 0x14]
imul edx, ecx, 0x4685
movzx eax, byte [0x1005f0a4]
sub eax, edx
mov byte [0x1005f0a4], al
mov byte [ebp - 0x19], 0xb6
movsx ecx, byte [0x1005f03b]
imul edx, ecx, 0xab96
mov byte [0x1005f04f], dl
xor eax, eax
mov dword [0x1005f150], 7
mov dword [0x1005f154], eax
mov ecx, dword [0x1005fc3c]
mov dword [0x1005f0e4], ecx
movzx edx, byte [ebp - 0x12]
imul eax, edx, 0x2419e53f
mov word [0x1005f0c0], ax
jmp 0x1002f4d9
movsx ecx, byte [0x1005f03b]
test ecx, ecx
jne 0x1002f47f
movzx edx, byte [ebp - 0x19]
movzx eax, word [0x1005f158]
lea ecx, [eax + edx - 0x21227430]
mov word [0x1005f158], cx
mov ecx, dword [0x1005f0a8]
add ecx, 0x3d
mov esi, dword [0x1005f0ac]
adc esi, 0
movzx eax, word [0x1005f128]
cdq
push esi
push ecx
push edx
push eax
call fcn.1003a730
mov word [0x1005f128], ax
mov edx, 1
shl edx, 3
movzx eax, byte [edx + 0x100e2cd0]
movzx ecx, byte [ebp - 0x12]
sub ecx, eax
mov byte [ebp - 0x12], cl
jmp 0x1002f4d9
movsx edx, word [ebp - 0x28]
test edx, edx
je 0x1002f4d9
movzx eax, word [ebp - 0x20]
movzx ecx, word [0x1005f138]
movsx edx, word [0x1005f114]
imul ecx, edx
sub eax, ecx
cdq
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edx
mov eax, dword [0x1005f0b0]
xor ecx, ecx
add eax, dword [0x1005f0b8]
adc ecx, dword [0x1005f0bc]
mov dword [0x1005f0b8], eax
mov dword [0x1005f0bc], ecx
mov edx, 4
imul eax, edx, 0x3bf3
mov cx, word [eax + 0x1005fc40]
mov word [ebp - 0x20], cx
jmp 0x1002f4ff
movsx edx, byte [0x1005f09e]
mov eax, dword [ebp - 0x4c]
imul eax, edx
mov dword [0x1005f0b4], eax
xor ecx, ecx
mov dword [0x1005f0f8], 0x62b8c1d1
mov dword [0x1005f0fc], ecx
movsx eax, word [0x1005f0c0]
cdq
mov dword [ebp - 0x34c], eax
mov dword [ebp - 0x348], edx
mov edx, dword [ebp - 0x348]
cmp edx, dword [0x1005f134]
jg 0x1002f74f
jl 0x1002f539
mov eax, dword [ebp - 0x34c]
cmp eax, dword [0x1005f130]
jae 0x1002f74f
mov ecx, 1
mov word [0x1005f0e0], cx
mov byte [0x1005f013], 0x34
mov edx, 4
imul eax, edx, 0x13
mov cl, byte [eax + 0x100932f8]
mov byte [ebp - 0x14], cl
mov dl, byte [0x1005fc3c]
mov byte [ebp - 0x17], dl
movsx eax, word [0x1005f0e0]
mov dword [ebp - 0x200], eax
cmp dword [ebp - 0x200], 0
je 0x1002f58e
cmp dword [ebp - 0x200], 1
je 0x1002f62e
jmp 0x1002f74f
push 0x22acf
push 0x5ad9ecc6
mov ecx, dword [ebp - 0x68]
push ecx
mov edx, dword [ebp - 0x6c]
push edx
call fcn.1003a730
mov word [ebp - 0x28], ax
movsx eax, word [ebp - 0x28]
sub eax, 0xed
movsx ecx, byte [0x1005f077]
sub ecx, eax
mov byte [0x1005f077], cl
cmp dword [ebp - 0x4c], 0
jne 0x1002f5d3
mov dword [ebp - 0x204], 1
jmp 0x1002f5dd
mov dword [ebp - 0x204], 0
movsx edx, byte [0x1005f04f]
mov eax, dword [ebp - 0x204]
lea eax, [eax + edx - 0x19]
cdq
mov ecx, eax
movsx eax, byte [0x1005f09e]
cdq
mov edx, dword [0x1005f120]
mov esi, dword [0x1005f124]
mov dword [ebp - 0x488], esi
add edx, eax
not edx
add edx, dword [ebp - 0x38]
add ecx, edx
mov word [ebp - 0x28], cx
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x48c], ecx
mov dword [0x1005f0e4], eax
jmp 0x1002f74f
mov edx, dword [0x1005f130]
sub edx, 0x9d81
mov dword [ebp - 0x50], edx
mov eax, 2
imul ecx, eax, 0x28
movzx ecx, word [ecx + 0x100e7860]
mov eax, dword [0x1005f0f8]
mov edx, dword [0x1005f0fc]
call fcn.1003a790
mov dword [0x1005f0f8], eax
mov dword [0x1005f0fc], edx
mov edx, dword [0x1005f100]
sub edx, 0x9fb8
xor eax, eax
mov dword [0x1005f118], edx
mov dword [0x1005f11c], eax
mov eax, dword [ebp - 0x30]
not eax
cdq
xor eax, dword [ebp - 0x40]
xor edx, dword [ebp - 0x3c]
mov dword [ebp - 0x358], eax
mov dword [ebp - 0x354], edx
mov ecx, dword [ebp - 0x358]
or ecx, dword [ebp - 0x354]
jne 0x1002f6b2
mov dword [ebp - 0x208], 1
jmp 0x1002f6bc
mov dword [ebp - 0x208], 0
movzx eax, byte [str.a_StartIdle_]
or eax, dword [ebp - 0x208]
cdq
mov ecx, eax
movzx edx, word [ebp - 0x20]
not edx
imul eax, edx, 0xa4af828a
mov esi, eax
movsx eax, byte [ebp - 0x17]
cdq
mov edx, dword [0x1005f120]
mov edi, dword [0x1005f124]
mov dword [ebp - 0x490], edi
add edx, eax
add esi, edx
sub ecx, esi
mov byte [0x1005f03b], cl
movzx eax, byte [0x1005f0a4]
cdq
mov ecx, dword [0x1005f0f4]
push ecx
mov ecx, dword [0x1005f0f0]
push ecx
push edx
push eax
call fcn.1003a730
mov ecx, eax
mov eax, dword [0x1005f0e4]
cdq
sub ecx, eax
movsx edx, byte [str._CpuC3StatesChanges]
mov eax, 0x68af
sub eax, edx
not eax
movzx edx, word [0x1005f158]
movzx esi, byte [ebp - 0x14]
sub edx, esi
add eax, edx
cdq
add ecx, eax
not ecx
mov word [0x1005f110], cx
mov eax, dword [0x1005fc3c]
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xb4], 0x14
movsx eax, byte [0x1005f09e]
sub eax, 0x66468941
cdq
mov dword [0x1005f150], eax
mov dword [0x1005f154], edx
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
mov cl, 7
call fcn.1003a790
mov byte [ebp - 0x12], al
mov ecx, 0x26a26
mov dword [0x1005f140], 0x745ff6ce
mov dword [0x1005f144], ecx
movzx eax, word [0x1005f128]
cdq
push edx
push eax
mov edx, dword [0x1005f0ac]
push edx
mov eax, dword [0x1005f0a8]
push eax
call fcn.1003a730
mov dword [0x1005f0a8], eax
mov dword [0x1005f0ac], edx
mov cx, word [ebp - 0x28]
mov word [0x1005f158], cx
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x54]
push 0
push 0xad
push eax
push edx
call fcn.1003a730
mov dword [0x1005f0b0], eax
mov ecx, dword [0x1005f160]
mov edx, dword [0x1005f164]
not ecx
not edx
mov dword [0x1005f0b8], ecx
mov dword [0x1005f0bc], edx
mov eax, dword [ebp - 0xb4]
add eax, 1
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 0x696
jl 0x1002f7a1
mov ecx, dword [ebp - 0xc4]
add ecx, 0x85e
mov dword [ebp - 0x498], ecx
mov edx, dword [0x1005f0f4]
cmp edx, dword [0x1005f0fc]
jl 0x1002fcee
jg 0x1002f85e
mov eax, dword [0x1005f0f0]
cmp eax, dword [0x1005f0f8]
jb 0x1002fcee
mov dword [ebp - 4], 0x10
movzx ecx, byte [ebp - 0x16]
movzx edx, byte [0x1005f0a4]
cmp ecx, edx
je 0x1002fc24
movsx eax, byte [0x1005f0a5]
cdq
mov ecx, dword [0x1005f118]
mov esi, dword [0x1005f11c]
mov dword [ebp - 0x360], eax
mov dword [ebp - 0x35c], edx
mov dword [ebp - 0x368], ecx
mov dword [ebp - 0x364], esi
mov edx, dword [ebp - 0x35c]
cmp edx, dword [ebp - 0x364]
jg 0x1002f9ed
jl 0x1002f8ca
mov eax, dword [ebp - 0x360]
cmp eax, dword [ebp - 0x368]
jae 0x1002f9ed
mov dword [0x1005f0a0], 0
push 0
push 0x30
mov ecx, dword [0x1005f144]
push ecx
mov edx, dword [0x1005f140]
push edx
call fcn.1003a730
mov dword [0x1005f0a8], eax
mov dword [0x1005f0ac], edx
movzx eax, byte [ebp - 0x19]
mov ecx, dword [ebp - 0x30]
imul ecx, eax
mov edx, dword [ebp - 0x30]
imul edx, ecx
mov dword [ebp - 0x30], edx
movsx eax, byte [0x1005f013]
movzx ecx, word [0x1005f148]
sub eax, ecx
mov byte [0x1005f013], al
mov edx, dword [ebp - 0x44]
shl edx, 5
mov word [0x1005f110], dx
mov eax, dword [0x1005f0a0]
mov dword [ebp - 0x3c4], eax
cmp dword [ebp - 0x3c4], 0
je 0x1002f944
jmp 0x1002f9e8
mov ecx, dword [ebp - 0x30]
add ecx, dword [0x1005f104]
mov edx, dword [ebp - 0x30]
add edx, ecx
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x48]
sub eax, 0x5d3a
mov dword [ebp - 0x44], eax
movsx ecx, byte [ebp - 0x17]
add ecx, 0x74b0
mov byte [0x1005f09f], cl
movsx eax, byte [0x1005f077]
cdq
mov ecx, dword [ebp - 0x40]
sub ecx, eax
mov eax, dword [ebp - 0x3c]
sbb eax, edx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], eax
movsx ecx, byte [str._CpuC3StatesChanges]
not ecx
movsx edx, byte [ebp - 0x17]
sub ecx, edx
jne 0x1002f9a5
mov dword [ebp - 0x20c], 1
jmp 0x1002f9af
mov dword [ebp - 0x20c], 0
movsx eax, byte [0x1005f04f]
movsx ecx, word [ebp - 0x24]
sub eax, ecx
add eax, dword [ebp - 0x20c]
movsx edx, word [0x1005f114]
not edx
add edx, dword [0x1005f0d0]
movsx ecx, word [ebp - 0x24]
movzx esi, word [0x1005f138]
add ecx, esi
imul edx, ecx
add eax, edx
mov dword [0x1005f104], eax
jmp 0x1002fc22
mov edx, dword [0x1005f150]
or edx, dword [0x1005f154]
jne 0x1002fa12
movsx eax, byte [0x1005f0a5]
test eax, eax
jne 0x1002fa12
mov dword [ebp - 0x210], 0
jmp 0x1002fa1c
mov dword [ebp - 0x210], 1
mov ecx, dword [ebp - 0x210]
not ecx
test ecx, ecx
je 0x1002fa77
mov edx, 4
imul eax, edx, 0x5f
movzx ecx, byte [0x1005f09f]
add ecx, dword [eax + 0x10103b20]
mov byte [0x1005f09f], cl
movzx edx, byte [0x1005f09f]
sub edx, 0x2dd9
mov dword [0x1005f0d0], edx
movsx eax, word [0x1005f114]
imul ecx, eax, 0x97
movsx edx, byte [0x1005f0a5]
add edx, ecx
mov byte [0x1005f0a5], dl
jmp 0x1002fc22
movzx eax, byte [ebp - 0x16]
cdq
mov ecx, dword [ebp - 0x64]
mov esi, dword [ebp - 0x60]
mov dword [ebp - 0x370], eax
mov dword [ebp - 0x36c], edx
mov dword [ebp - 0x378], ecx
mov dword [ebp - 0x374], esi
mov edx, dword [ebp - 0x36c]
cmp edx, dword [ebp - 0x374]
ja 0x1002fb74
jb 0x1002fac0
mov eax, dword [ebp - 0x370]
cmp eax, dword [ebp - 0x378]
ja 0x1002fb74
mov eax, dword [0x1005f0e4]
cdq
sub eax, 0x9f20754c
sbb edx, 0xbf2d1
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
movzx eax, byte [ebp - 0x15]
cdq
mov ecx, dword [ebp - 0x58]
mov esi, dword [ebp - 0x54]
sub ecx, eax
sbb esi, edx
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x54]
or edx, ecx
or eax, esi
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x54], eax
push 0
push 0x1b30
mov ecx, dword [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0x40]
push edx
call fcn.1003a730
mov dword [0x1005f104], eax
mov eax, dword [0x1005f150]
or eax, dword [0x1005f154]
je 0x1002fb30
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x2b8], ecx
mov dword [ebp - 0x2b4], edx
jmp 0x1002fb41
movsx eax, word [ebp - 0x24]
cdq
mov dword [ebp - 0x2b8], eax
mov dword [ebp - 0x2b4], edx
mov al, byte [ebp - 0x2b8]
mov byte [ebp - 0x18], al
movsx eax, word [ebp - 0x24]
cdq
add eax, 0x5a1e390f
mov word [0x1005f10c], ax
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x494], edx
xor ecx, 0xa13e
mov byte [ebp - 0x18], cl
jmp 0x1002fc22
movzx eax, word [0x1005f128]
cmp eax, 0xffff323b
jne 0x1002fc22
mov ecx, dword [ebp - 0x38]
sub ecx, 0x6c5b
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x50]
cdq
mov ecx, dword [0x1005f120]
mov edx, dword [0x1005f124]
mov dword [ebp - 0x4b0], edx
add ecx, eax
mov eax, dword [0x1005f120]
mov edx, dword [0x1005f124]
call fcn.1003a790
mov dword [0x1005f120], eax
mov dword [0x1005f124], edx
movzx eax, word [ebp - 0x20]
add eax, 0x4876
mov dword [0x1005f104], eax
movsx ecx, word [ebp - 0x24]
not ecx
mov byte [ebp - 0x14], cl
cmp dword [ebp - 0x4c], 0
je 0x1002fbf1
movzx edx, byte [str.a_StartIdle_]
mov dword [ebp - 0x214], edx
jmp 0x1002fbfe
movsx eax, word [0x1005f110]
mov dword [ebp - 0x214], eax
mov ecx, dword [ebp - 0x214]
mov dword [0x1005f104], ecx
movsx edx, word [0x1005f0c0]
movsx eax, byte [0x1005f03b]
lea ecx, [edx + eax - 0xc55dc15]
mov dword [ebp - 0x50], ecx
jmp 0x1002fc6b
movzx eax, word [0x1005f138]
sub eax, 0x7032
cdq
add eax, dword [0x1005f0d8]
adc edx, dword [0x1005f0dc]
mov dword [0x1005f0d8], eax
mov dword [0x1005f0dc], edx
movzx eax, word [ebp - 0x20]
cdq
push 0x416fd
push 0xaf82a54d
push edx
push eax
call fcn.1003a730
mov word [0x1005f0ec], ax
mov dword [ebp - 0x5c], 0x3b25bdff
jmp 0x1002fcd9
mov dword [ebp - 4], 0xffffffff
jmp 0x1002fce9
jmp 0x1002fd94
movsx edx, word [0x1005f0e0]
movsx eax, byte [0x1005f077]
or edx, eax
je 0x1002fd1a
mov ecx, dword [ebp - 0x4c]
sub ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x4c]
add edx, ecx
mov dword [ebp - 0x4c], edx
mov al, byte [0x1005fc3c]
mov byte [0x1005f09f], al
jmp 0x1002fd94
movzx ecx, byte [ebp - 0x11]
cmp ecx, 0x4abb
jle 0x1002fd94
movzx eax, byte [ebp - 0x16]
movsx edx, word [0x1005f114]
imul eax, edx
cdq
mov ecx, eax
movsx eax, byte [0x1005f09e]
cdq
add eax, dword [0x1005f150]
not eax
sub ecx, eax
not ecx
movsx eax, byte [0x1005f0a5]
cdq
mov esi, eax
and esi, dword [ebp - 0x38]
movzx eax, byte [ebp - 0x16]
cdq
mov edx, dword [ebp - 0x64]
mov edi, dword [ebp - 0x60]
mov dword [ebp - 0x4ac], edi
add edx, eax
add esi, edx
not esi
add ecx, esi
mov word [ebp - 0x24], cx
mov eax, dword [ebp - 0x6c]
sub eax, 0x936a2a23
mov dword [ebp - 0x4c], eax
movzx eax, word [0x1005f138]
cdq
add eax, dword [0x1005f0f8]
mov word [0x1005f138], ax
mov ecx, dword [ebp - 0xc4]
add ecx, 0x7bb
mov dword [ebp - 0x4a8], ecx
mov dword [0x1005f0a0], 3
xor edx, edx
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x54]
sub eax, dword [0x1005f0b0]
sbb ecx, edx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], ecx
mov edx, 0xffffc945
mov word [0x1005f0c0], dx
mov eax, dword [ebp - 0x38]
sub eax, 0x419b803c
mov ecx, dword [ebp - 0x2c]
sub ecx, eax
mov dword [ebp - 0x2c], ecx
movsx edx, word [0x1005f110]
xor edx, 0xb41
movzx eax, byte [0x1005f0a4]
not eax
mov ecx, dword [ebp - 0x4c]
sub ecx, eax
sub edx, ecx
mov byte [ebp - 0x18], dl
mov dl, byte [0x1005f0e0]
mov byte [ebp - 0x11], dl
mov eax, dword [0x1005f0a0]
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 3
ja case.default.0x1002fe29
mov ecx, dword [ebp - 0x218]
jmp dword [ecx*4 + 0x10030860]
mov edx, dword [ebp - 0x6c]
and edx, 0xb30d
mov dword [0x1005f104], edx
movzx eax, word [0x1005f10c]
cdq
mov ecx, eax
add ecx, dword [ebp - 0x40]
movzx eax, word [0x1005f10c]
cdq
add eax, ecx
mov word [0x1005f10c], ax
movzx edx, byte [ebp - 0x16]
add edx, 0xa7d0
mov word [ebp - 0x20], dx
mov eax, dword [0x1005f0b0]
add eax, 0x44fc5cc1
xor ecx, ecx
mov dword [0x1005f0f0], eax
mov dword [0x1005f0f4], ecx
movsx edx, byte [0x1005f076]
movsx eax, byte [0x1005f03b]
sub edx, eax
movsx ecx, byte [0x1005f076]
add ecx, edx
mov byte [0x1005f076], cl
jmp case.default.0x1002fe29
movzx eax, byte [ebp - 0x11]
cdq
push 0xc6087
push 0x4f2d1134
push edx
push eax
call fcn.1003a730
mov ecx, eax
mov eax, dword [0x1005f0e8]
cdq
add eax, ecx
mov dword [0x1005f0e8], eax
movsx edx, word [0x1005f110]
imul eax, edx, 0xee73
mov byte [ebp - 0x16], al
mov ecx, dword [0x1005f0e4]
and ecx, dword [ebp - 0x30]
mov edx, dword [0x1005f0e4]
sub edx, ecx
mov dword [0x1005f0e4], edx
movsx eax, word [ebp - 0x24]
movsx ecx, word [ebp - 0x28]
not ecx
add eax, ecx
mov word [0x1005f108], ax
movzx eax, byte [ebp - 0x14]
movzx edx, byte [ebp - 0x13]
add eax, edx
cdq
mov ecx, dword [0x1005f120]
mov esi, dword [0x1005f124]
push edx
push eax
push esi
push ecx
call fcn.1003a730
sub eax, dword [ebp - 0x6c]
sbb edx, dword [ebp - 0x68]
mov dword [0x1005f130], eax
mov dword [0x1005f134], edx
mov edx, dword [ebp - 0x38]
add edx, 0x8774efda
mov word [0x1005f108], dx
jmp case.default.0x1002fe29
movzx eax, byte [ebp - 0x11]
add eax, 0x5a
cdq
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x40]
and eax, 0xcb34aee0
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x2c]
and ecx, dword [0x1005f0e8]
mov edx, dword [ebp - 0x30]
not edx
add ecx, edx
sub ecx, dword [0x1005f140]
mov dword [0x1005f0e4], ecx
jmp case.default.0x1002fe29
movzx eax, byte [0x1005f0a4]
movzx ecx, word [0x1005f148]
add eax, ecx
movzx edx, byte [0x1005f0a4]
or edx, eax
mov byte [0x1005f0a4], dl
movzx eax, word [0x1005f148]
cdq
push edx
push eax
mov eax, dword [ebp - 0x68]
push eax
mov ecx, dword [ebp - 0x6c]
push ecx
call fcn.1003a730
mov ecx, eax
mov esi, edx
movzx eax, byte [ebp - 0x11]
cdq
sub ecx, eax
sbb esi, edx
mov dword [0x1005f130], ecx
mov dword [0x1005f134], esi
mov edx, dword [0x1005fc3c]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0xc4]
add eax, 0x612
mov dword [ebp - 0x21c], eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x2c], ecx
movzx edx, word [0x1005f128]
mov eax, dword [0x1005f0e4]
sub eax, edx
mov byte [ebp - 0x19], al
imul ecx, dword [ebp - 0x21c], 0x258
cmp dword [ebp - 0x21c], ecx
je 0x1003005a
movsx edx, byte [0x1005f077]
mov dword [0x1005f0b0], edx
mov ax, word [0x1005f158]
sub ax, 1
mov word [0x1005f158], ax
mov eax, dword [ebp - 0x48]
cdq
mov ecx, 8
imul ecx, ecx, 0x75
mov dword [ecx + 0x102b2af8], eax
mov dword [ecx + 0x102b2afc], edx
movzx edx, byte [ebp - 0x13]
movsx eax, word [ebp - 0x24]
imul edx, eax
mov byte [ebp - 0x13], dl
jmp 0x1003068a
mov ecx, dword [ebp - 0x44]
xor edx, edx
xor ecx, dword [ebp - 0x40]
xor edx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], edx
mov eax, dword [0x1005f130]
add eax, 0xde
mov byte [ebp - 0x16], al
imul ecx, dword [ebp - 0x50], 0xff
movzx edx, byte [ebp - 0x14]
sub edx, ecx
mov byte [ebp - 0x14], dl
movsx ax, byte [str._CpuC3StatesChanges]
mov word [0x1005f148], ax
mov ecx, dword [0x1005fc3c]
xor edx, edx
mov dword [0x1005f0d8], ecx
mov dword [0x1005f0dc], edx
mov ax, word [0x1005fc3c]
mov word [0x1005f138], ax
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x2fc], ecx
mov eax, dword [ebp - 0x48]
cdq
mov ecx, dword [ebp - 0x58]
mov esi, dword [ebp - 0x54]
mov dword [ebp - 0x380], eax
mov dword [ebp - 0x37c], edx
mov dword [ebp - 0x3cc], ecx
mov dword [ebp - 0x3c8], esi
mov edx, dword [ebp - 0x380]
cmp edx, dword [ebp - 0x3cc]
jne 0x10030101
mov eax, dword [ebp - 0x37c]
cmp eax, dword [ebp - 0x3c8]
je 0x100302e7
mov ecx, dword [ebp - 0x5c]
cmp ecx, dword [0x1005f0b4]
jb 0x10030118
mov dword [ebp - 0x220], 1
jmp 0x10030122
mov dword [ebp - 0x220], 0
cmp dword [ebp - 0x5c], 0x4c
jb 0x10030134
mov dword [ebp - 0x224], 1
jmp 0x1003013e
mov dword [ebp - 0x224], 0
mov edx, dword [ebp - 0x220]
cmp edx, dword [ebp - 0x224]
jl 0x100301f1
cmp dword [0x1005f0e4], 0
je 0x100301ec
movzx eax, word [ebp - 0x20]
movsx ecx, word [0x1005f0e0]
add eax, ecx
movsx edx, word [0x1005f0e0]
xor edx, 0xdf1b68e2
add eax, edx
mov word [0x1005f148], ax
movzx eax, byte [ebp - 0x13]
test eax, eax
je 0x10030192
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x228], ecx
jmp 0x1003019c
movzx edx, byte [ebp - 0x16]
mov dword [ebp - 0x228], edx
mov ax, word [ebp - 0x228]
mov word [0x1005f110], ax
movzx eax, byte [0x1005f09f]
cdq
add eax, 0x526d9188
mov word [ebp - 0x24], ax
imul ecx, dword [0x1005f104], 0x9ae7
mov dword [ebp - 0x2c], ecx
movsx edx, word [0x1005f15c]
imul eax, edx, 0x76a633f3
cdq
mov dword [0x1005f120], eax
mov dword [0x1005f124], edx
movzx eax, word [ebp - 0x20]
xor eax, 0xc1ed
mov byte [ebp - 0x18], al
jmp 0x100302e2
mov ecx, 0x2743ca68
test ecx, ecx
je 0x100302e2
movzx edx, byte [0x1005f09f]
movzx eax, byte [ebp - 0x19]
imul edx, eax
test edx, edx
je 0x100302e2
mov ecx, dword [0x1005f118]
mov edx, dword [0x1005f11c]
mov dword [ebp - 0x388], ecx
mov dword [ebp - 0x384], edx
mov eax, dword [ebp - 0x388]
or eax, dword [ebp - 0x384]
jne 0x10030246
mov dword [ebp - 0x22c], 1
jmp 0x10030250
mov dword [ebp - 0x22c], 0
mov ecx, dword [ebp - 0x22c]
sub ecx, dword [ebp - 0x4c]
xor esi, esi
movsx eax, word [ebp - 0x28]
cdq
mov edi, dword [0x1005f164]
sub eax, dword [0x1005f160]
sbb edx, edi
not eax
not edx
add ecx, eax
adc esi, edx
mov dword [ebp - 0x390], ecx
mov dword [ebp - 0x38c], esi
mov edx, dword [ebp - 0x390]
or edx, dword [ebp - 0x38c]
jne 0x1003029b
mov eax, 1
mov word [ebp - 0x72], ax
jmp 0x100302a1
xor ecx, ecx
mov word [ebp - 0x72], cx
mov dx, word [ebp - 0x72]
mov word [ebp - 0x28], dx
mov eax, dword [ebp - 0x6c]
sub eax, 0xca03e097
mov byte [ebp - 0x16], al
mov ecx, dword [0x1005f0b4]
xor edx, edx
add ecx, 0xfd260bee
adc edx, 0xc3642
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x60], edx
movsx eax, word [0x1005f108]
cdq
add eax, 0xe2807da0
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x15], 8
jmp 0x10030634
movzx eax, byte [0x1005f0a4]
cdq
mov ecx, dword [0x1005f120]
mov esi, dword [0x1005f124]
push edx
push eax
push esi
push ecx
call fcn.1003a730
mov dword [ebp - 0x398], eax
mov dword [ebp - 0x394], edx
mov edx, dword [ebp - 0x398]
or edx, dword [ebp - 0x394]
je 0x100303fa
mov eax, dword [0x1005f0d8]
sub eax, dword [0x1005f0b8]
mov ecx, dword [0x1005f0dc]
sbb ecx, dword [0x1005f0bc]
mov edx, dword [0x1005f0d8]
sub edx, eax
mov eax, dword [0x1005f0dc]
sbb eax, ecx
mov dword [0x1005f0d8], edx
mov dword [0x1005f0dc], eax
movsx eax, byte [0x1005f04f]
cdq
xor eax, dword [ebp - 0x40]
xor edx, dword [ebp - 0x3c]
add eax, dword [ebp - 0x40]
adc edx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
movzx eax, word [0x1005f10c]
cdq
add eax, 0x19fd4f7f
adc edx, 0xf335a
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], edx
movsx eax, byte [0x1005f0a5]
cdq
add eax, dword [0x1005f150]
adc edx, dword [0x1005f154]
push edx
push eax
mov ecx, dword [0x1005f154]
push ecx
mov edx, dword [0x1005f150]
push edx
call fcn.1003a730
mov dword [0x1005f150], eax
mov dword [0x1005f154], edx
movsx eax, byte [ebp - 0x18]
imul ecx, eax, 0x81
mov byte [0x1005f0a4], cl
push 0
push 0xfb
mov edx, dword [0x1005f0ac]
push edx
mov eax, dword [0x1005f0a8]
push eax
call fcn.1003a730
mov ecx, eax
movzx eax, word [0x1005f158]
cdq
sub eax, ecx
mov word [0x1005f158], ax
jmp 0x10030634
mov edx, dword [0x1005f0d8]
not edx
mov eax, dword [0x1005f0dc]
not eax
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 0x39c], eax
mov ecx, dword [ebp - 0x3a0]
or ecx, dword [ebp - 0x39c]
jne 0x1003042f
movzx edx, byte [ebp - 0x14]
test edx, edx
je 0x100304d1
movzx eax, byte [ebp - 0x11]
cdq
mov ecx, dword [0x1005f0bc]
push ecx
mov ecx, dword [0x1005f0b8]
push ecx
push edx
push eax
call fcn.1003a730
mov byte [ebp - 0x11], al
mov edx, dword [0x1005f0d0]
and edx, 0x9f57
mov dword [ebp - 0x44], edx
mov eax, dword [0x1005f118]
mov ecx, dword [0x1005f11c]
sub eax, 0xd07a1aeb
sbb ecx, 0
mov dword [0x1005f0a8], eax
mov dword [0x1005f0ac], ecx
mov dword [ebp - 0x48], 0x51d3d7bd
movzx eax, byte [ebp - 0x15]
cdq
add eax, dword [0x1005f0c8]
adc edx, dword [0x1005f0cc]
mov dword [0x1005f0c8], eax
mov dword [0x1005f0cc], edx
movzx eax, byte [ebp - 0x12]
cdq
mov ecx, dword [0x1005f0f8]
sub ecx, eax
mov eax, dword [0x1005f0fc]
sbb eax, edx
mov edx, dword [0x1005f0f8]
sub edx, ecx
mov ecx, dword [0x1005f0fc]
sbb ecx, eax
mov dword [0x1005f0f8], edx
mov dword [0x1005f0fc], ecx
jmp 0x10030634
cmp dword [ebp - 0x50], 0
jne 0x100304ec
mov edx, 0xa5495e91
test edx, edx
je 0x100304ec
mov dword [ebp - 0x230], 1
jmp 0x100304f6
mov dword [ebp - 0x230], 0
mov eax, dword [0x1005f0b0]
cmp eax, dword [ebp - 0x230]
je 0x10030634
movsx eax, byte [0x1005f0a5]
cdq
mov ecx, dword [ebp - 0x58]
mov esi, dword [ebp - 0x54]
add ecx, eax
adc esi, edx
mov dword [ebp - 0x3a8], ecx
mov dword [ebp - 0x3a4], esi
mov edx, dword [ebp - 0x3a8]
or edx, dword [ebp - 0x3a4]
jne 0x1003053f
mov dword [ebp - 0x234], 1
jmp 0x10030549
mov dword [ebp - 0x234], 0
movzx eax, word [0x1005f138]
mov ecx, dword [0x1005f0e4]
imul ecx, eax
movsx edx, word [ebp - 0x24]
imul edx, dword [ebp - 0x2c]
imul edx, dword [ebp - 0x234]
sub ecx, edx
not ecx
mov dword [0x1005f0d0], ecx
movzx eax, word [0x1005f0ec]
add eax, dword [0x1005f0e8]
mov dword [ebp - 0x2c], eax
movzx eax, byte [ebp - 0x19]
sub eax, dword [ebp - 0x50]
cdq
mov ecx, eax
mov edx, dword [0x1005f0a8]
sub edx, dword [0x1005f104]
not edx
sub ecx, edx
mov eax, dword [0x1005f0e8]
cdq
mov esi, eax
sub esi, dword [ebp - 0x6c]
not esi
movzx eax, byte [ebp - 0x16]
cdq
mov edx, dword [0x1005f118]
mov edi, dword [0x1005f11c]
mov dword [ebp - 0x4a4], edi
sub eax, edx
sub esi, eax
and ecx, esi
mov word [ebp - 0x28], cx
movzx eax, byte [ebp - 0x16]
mov ecx, eax
imul ecx, dword [0x1005f0b4]
movzx edx, word [0x1005f158]
not edx
movzx eax, byte [str.a_StartIdle_]
sub edx, eax
sub ecx, edx
xor esi, esi
movsx eax, word [0x1005f15c]
cdq
mov edi, eax
mov ebx, edx
mov eax, dword [0x1005f0e8]
cdq
add eax, dword [ebp - 0x38]
adc edx, dword [ebp - 0x34]
add edi, eax
adc ebx, edx
not edi
not ebx
push ebx
push edi
push esi
push ecx
call fcn.1003a730
mov byte [ebp - 0x18], al
mov ecx, dword [0x1005f0a8]
sub ecx, 0x928fef5d
movsx eax, byte [0x1005f077]
cdq
sub eax, ecx
mov byte [0x1005f077], al
mov edx, dword [ebp - 0x2fc]
movzx eax, word [edx]
cmp eax, 0x5a4d
je 0x1003064e
cmp dword [ebp - 0x80], 0
jne 0x1003064e
jmp 0x1003068a
push 0
lea ecx, [ebp - 0x4a0]
push ecx
mov edx, dword [ebp - 0x238]
push edx
mov eax, dword [ebp - 0x7c]
push eax
mov ecx, dword [ebp - 0xbc]
push ecx
push 0
push 0
call fcn.10001440
call eax
mov edx, dword [ebp - 0x80]
add edx, 1
mov dword [ebp - 0x80], edx
mov eax, 1
test eax, eax
jne 0x1002ee2f
mov ecx, dword [ebp - 0xbc]
push ecx
push 0
push 0
call fcn.100016b0
call eax
mov edx, dword [ebp - 0x78]
push edx
push 0
push 0
call fcn.10001350
call eax
push 0x8000
push 0
mov eax, dword [ebp - 0x7c]
push eax
push 0
push 0
call fcn.100012c0
call eax
cmp dword [ebp - 0x80], 0
jne 0x100306ce
xor eax, eax
jmp 0x1003083d
cmp dword [ebp - 0x4c], 0
jne 0x100306e0
mov dword [ebp - 0x23c], 1
jmp 0x100306ea
mov dword [ebp - 0x23c], 0
cmp dword [0x1005f0e8], 0
jne 0x10030707
xor ecx, ecx
mov dword [ebp - 0x2b0], 1
mov dword [ebp - 0x2ac], ecx
jmp 0x10030712
xorps xmm0, xmm0
movlpd qword [ebp - 0x2b0], xmm0
mov edx, dword [0x1005f130]
or edx, dword [0x1005f134]
jne 0x1003072c
mov dword [ebp - 0x240], 1
jmp 0x10030736
mov dword [ebp - 0x240], 0
movzx eax, byte [ebp - 0x19]
test eax, eax
jne 0x1003074a
mov dword [ebp - 0x244], 1
jmp 0x10030754
mov dword [ebp - 0x244], 0
movsx ecx, byte [0x1005f09e]
mov edx, dword [ebp - 0x23c]
lea eax, [edx + ecx + 8]
cdq
mov ecx, eax
mov esi, edx
mov edi, 0xaafbfc0a
sub edi, dword [ebp - 0x2b0]
mov ebx, 0x94a5b
sbb ebx, dword [ebp - 0x2ac]
mov eax, dword [ebp - 0x240]
sub eax, dword [ebp - 0x244]
cdq
add edi, eax
adc ebx, edx
push ebx
push edi
push esi
push ecx
call fcn.1003a730
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edx
mov edx, 8
imul eax, edx, 0x15
mov ecx, dword [0x1005f0c8]
mov edx, dword [0x1005f0cc]
mov dword [eax + 0x10103900], ecx
mov dword [eax + 0x10103904], edx
xor eax, eax
mov dword [ebp - 0x38], 0x9b49
mov dword [ebp - 0x34], eax
imul ecx, dword [ebp - 0x50], 0xaa3fd55
mov byte [0x1005f0a5], cl
movzx eax, word [0x1005f148]
cdq
add eax, dword [ebp - 0x6c]
adc edx, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x6c]
sub ecx, eax
mov eax, dword [ebp - 0x68]
sbb eax, edx
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x68], eax
movzx ecx, byte [str.a_StartIdle_]
test ecx, ecx
je 0x1003081b
mov edx, dword [0x1005f130]
mov eax, dword [0x1005f134]
mov dword [ebp - 0x2a8], edx
mov dword [ebp - 0x2a4], eax
jmp 0x1003082f
movsx eax, word [0x1005f110]
cdq
mov dword [ebp - 0x2a8], eax
mov dword [ebp - 0x2a4], edx
mov ecx, dword [ebp - 0x2a8]
mov dword [ebp - 0x44], ecx
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8