Function at 0x10010fb0
Capabilities:
Authenticate hmac
Get geographical location
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004bd60
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x104c
call fcn.1003a860
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov byte [ebp - 0x194], 0xe1
mov al, byte [0x1005f114]
mov byte [ebp - 0x18], al
mov dword [ebp - 0x58], 0x9882
xor ecx, ecx
mov dword [ebp - 0x34], 0x88d1
mov dword [ebp - 0x30], ecx
mov edx, 0x7ac2
mov word [ebp - 0x20], dx
movsx eax, byte [0x1005f04f]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x6c], 0x9526c1f1
xor ecx, ecx
mov dword [ebp - 0x50], 0xe43c
mov dword [ebp - 0x4c], ecx
mov dl, byte [str._CpuC3StatesChanges]
mov byte [ebp - 0x17], dl
xor eax, eax
mov dword [ebp - 0x48], 0x39916f2c
mov dword [ebp - 0x44], eax
mov cx, word [0x1005f0c0]
mov byte [ebp - 0x12], cl
mov edx, dword [0x1005f120]
mov eax, dword [0x1005f124]
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x2c], 0x63ae
mov byte [ebp - 0x13], 0x3a
mov ecx, 0x67ad
mov word [ebp - 0x28], cx
mov edx, dword [0x1005f0f0]
mov dword [ebp - 0x54], edx
mov byte [ebp - 0x16], 0x23
movsx eax, word [0x1005f15c]
mov dword [ebp - 0x3c], eax
mov ecx, dword [0x1005f0b0]
mov byte [ebp - 0x11], cl
mov byte [ebp - 0x15], 0x67
movsx eax, byte [0x1005f09e]
cdq
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], edx
mov edx, 0xffffd4ed
mov word [ebp - 0x24], dx
movsx eax, word [0x1005f15c]
mov dword [ebp - 0x40], eax
mov cx, word [0x1005f0c0]
mov byte [ebp - 0x14], cl
mov dl, byte [0x1005f0c8]
mov byte [ebp - 0x19], dl
movsx eax, byte [0x1005f077]
cdq
mov dword [ebp - 0xdf4], eax
mov dword [ebp - 0xdf0], edx
mov eax, dword [0x1005f0b0]
mov dword [ebp - 0xdd8], eax
mov byte [ebp - 0x193], 0xb
xor ecx, ecx
mov dword [ebp - 0xdfc], 0x4a
mov dword [ebp - 0xdf8], ecx
mov dword [ebp - 0xdec], 0x32
movsx eax, byte [0x1005f077]
cdq
mov dword [ebp - 0xe04], eax
mov dword [ebp - 0xe00], edx
mov byte [ebp - 0x19], 0
movzx edx, byte [ebp - 0x14]
mov dword [ebp - 0x54], edx
mov eax, dword [0x1005f140]
mov edx, dword [0x1005f144]
mov cl, 2
call fcn.1003a790
mov byte [ebp - 0x19], al
mov ecx, dword [0x1005f0f0]
add ecx, 0x70f7063b
movzx eax, byte [ebp - 0x12]
cdq
or eax, ecx
mov byte [ebp - 0x12], al
imul edx, dword [0x1005f0a0], 0xafeb18ae
xor eax, eax
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x5c], eax
movsx ecx, byte [ebp - 0x18]
movzx edx, word [0x1005f158]
sub ecx, edx
movsx eax, byte [ebp - 0x18]
sub eax, ecx
mov byte [ebp - 0x18], al
mov cl, byte [ebp - 0x19]
mov byte [ebp - 0xa04], cl
cmp byte [ebp - 0xa04], 0
je 0x10011188
jmp 0x1001122f
mov edx, dword [0x1005f0e8]
add edx, 0xe4
mov byte [ebp - 0x12], dl
cmp dword [ebp - 0x58], 0
jne 0x100111b1
xor eax, eax
mov dword [ebp - 0x6e4], 1
mov dword [ebp - 0x6e0], eax
jmp 0x100111bc
xorps xmm0, xmm0
movlpd qword [ebp - 0x6e4], xmm0
movzx eax, byte [ebp - 0x15]
cdq
mov ecx, dword [0x1005f120]
mov esi, dword [0x1005f124]
xor ecx, dword [ebp - 0x6e4]
xor esi, dword [ebp - 0x6e0]
movzx edi, byte [ebp - 0x17]
imul edi, dword [0x1005f104]
xor ebx, ebx
add ecx, edi
adc esi, ebx
push esi
push ecx
push edx
push eax
call fcn.1003a730
mov word [ebp - 0x24], ax
movzx edx, word [0x1005f148]
test edx, edx
je 0x1001120d
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x558], eax
jmp 0x10011219
mov ecx, dword [0x1005f0b4]
mov dword [ebp - 0x558], ecx
mov edx, dword [ebp - 0x558]
mov dword [0x1005f0e4], edx
mov eax, dword [ebp - 0x54]
sub eax, 0x41
mov word [ebp - 0x20], ax
mov ecx, dword [0x1005fc3c]
mov dword [ebp - 0xc8], ecx
mov edx, dword [ebp - 0xc8]
add edx, 0x5e6
mov dword [ebp - 0xe10], edx
mov dword [0x1005f0a0], 3
mov al, byte [ebp - 0x11]
mov byte [ebp - 0x12], al
movzx eax, byte [ebp - 0x17]
not eax
cdq
add eax, dword [0x1005f140]
mov word [0x1005f15c], ax
mov eax, dword [ebp - 0x3c]
cdq
push 0xa2f27
push 0xecb19568
push edx
push eax
call fcn.1003a730
mov dword [0x1005f0a8], eax
mov dword [0x1005f0ac], edx
mov dword [ebp - 0x2c], 0x809b
movsx ecx, word [ebp - 0x20]
imul eax, ecx, 0x4648
cdq
mov dword [0x1005f0f0], eax
mov dword [0x1005f0f4], edx
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0xa4c], edx
mov dword [ebp - 0xa48], eax
mov ecx, dword [ebp - 0xa4c]
or ecx, dword [ebp - 0xa48]
je 0x100112e3
mov edx, dword [0x1005f0b4]
xor eax, eax
mov dword [ebp - 0x574], edx
mov dword [ebp - 0x570], eax
jmp 0x100112f5
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x574], ecx
mov dword [ebp - 0x570], edx
mov eax, dword [ebp - 0x574]
mov ecx, dword [ebp - 0x570]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
mov edx, dword [0x1005f0a0]
mov dword [ebp - 0x55c], edx
cmp dword [ebp - 0x55c], 3
ja case.default.0x10011326
mov eax, dword [ebp - 0x55c]
jmp dword [eax*4 + 0x1001f0f8]
mov cl, byte [ebp - 0x11]
add cl, 1
mov byte [ebp - 0x11], cl
mov edx, dword [0x1005f104]
sub edx, 1
mov dword [0x1005f104], edx
movsx eax, word [0x1005f114]
cdq
mov ecx, dword [0x1005f0d8]
sub ecx, eax
mov eax, dword [0x1005f0dc]
sbb eax, edx
mov dword [0x1005f0d8], ecx
mov dword [0x1005f0dc], eax
movsx ecx, word [ebp - 0x24]
mov edx, dword [ebp - 0x3c]
imul edx, ecx
mov dword [ebp - 0x3c], edx
mov eax, 0x7cb1
mov word [0x1005f148], ax
jmp case.default.0x10011326
mov eax, dword [ebp - 0x68]
mov edx, dword [ebp - 0x64]
mov cl, 1
call fcn.1003a770
mov dword [0x1005f0e8], eax
mov byte [0x1005f077], 0x2b
movzx ecx, word [0x1005f148]
test ecx, ecx
jne 0x100113b4
mov dword [ebp - 0x560], 1
jmp 0x100113be
mov dword [ebp - 0x560], 0
movzx edx, byte [0x1005f09f]
sub edx, dword [0x1005f0d0]
add edx, dword [ebp - 0x560]
jne 0x100113df
mov dword [ebp - 0x564], 1
jmp 0x100113e9
mov dword [ebp - 0x564], 0
mov eax, dword [ebp - 0x564]
mov dword [ebp - 0x54], eax
movsx ecx, word [0x1005f0c0]
imul edx, ecx, 0x22c0c6c4
mov byte [0x1005f0a4], dl
mov eax, dword [0x1005f0d0]
cdq
xor eax, 0x2534ef44
mov dword [ebp - 0x40], eax
movzx eax, byte [ebp - 0x16]
movsx ecx, byte [ebp - 0x19]
lea edx, [ecx + eax + 0x7ab4fc6b]
mov byte [ebp - 0x19], dl
jmp case.default.0x10011326
mov eax, 8
imul ecx, eax, 0x34eb
mov edx, dword [0x1005f0b8]
mov eax, dword [0x1005f0bc]
mov dword [ecx + 0x1015dc30], edx
mov dword [ecx + 0x1015dc34], eax
movsx eax, word [ebp - 0x20]
not eax
movzx ecx, word [ebp - 0x28]
add eax, ecx
cdq
add eax, 0x20134330
adc edx, 0x6078d
mov dword [ebp - 0xa54], eax
mov dword [ebp - 0xa50], edx
mov edx, dword [ebp - 0xa54]
or edx, dword [ebp - 0xa50]
jne 0x10011489
mov eax, 1
mov word [ebp - 0x80], ax
jmp 0x1001148f
xor ecx, ecx
mov word [ebp - 0x80], cx
mov dx, word [ebp - 0x80]
mov word [ebp - 0x28], dx
mov eax, dword [ebp - 0x58]
sub eax, dword [0x1005f0e4]
mov dword [ebp - 0x58], eax
movzx eax, byte [ebp - 0x11]
add eax, 0xd3db
cdq
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
xorps xmm0, xmm0
movlpd qword [0x1005f0f0], xmm0
mov ecx, 0x4470
mov word [0x1005f148], cx
jmp case.default.0x10011326
movsx edx, byte [ebp - 0x19]
add edx, 0x217da90b
mov dword [ebp - 0x6c], edx
mov eax, 1
mov word [ebp - 0x20], ax
mov ecx, dword [0x1005fc3c]
xor edx, edx
mov dword [0x1005f0a8], ecx
mov dword [0x1005f0ac], edx
mov eax, dword [ebp - 0x2c]
add eax, 0x4864
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0xc8]
add ecx, 0x8c5
mov dword [ebp - 0xf0], ecx
mov edx, dword [ebp - 0xc8]
add edx, 0x60d
mov dword [ebp - 0x260], edx
mov dword [ebp - 0x58], 3
mov eax, 4
mov word [ebp - 0x20], ax
movsx ecx, byte [ebp - 0x19]
sub ecx, 0xa520
mov byte [ebp - 0x13], cl
movzx eax, byte [ebp - 0x17]
cdq
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x568], edx
cmp dword [ebp - 0x568], 3
ja case.default.0x10011569
mov eax, dword [ebp - 0x568]
jmp dword [eax*4 + 0x1001f108]
mov ecx, dword [ebp - 0x50]
sub ecx, 0xd463
mov byte [ebp - 0x16], cl
movsx edx, word [0x1005f108]
test edx, edx
je 0x10011594
mov eax, dword [0x1005f0a0]
mov dword [ebp - 0x56c], eax
jmp 0x100115a1
movsx ecx, word [0x1005f15c]
mov dword [ebp - 0x56c], ecx
mov dl, byte [ebp - 0x56c]
mov byte [ebp - 0x16], dl
mov eax, dword [ebp - 0x50]
and eax, 0xcdff
mov ecx, dword [ebp - 0x4c]
and ecx, 0
mov dword [0x1005f0f0], eax
mov dword [0x1005f0f4], ecx
mov edx, dword [ebp - 0x34]
or edx, dword [ebp - 0x30]
jne 0x100115d7
mov dword [ebp - 0x1a0], 1
jmp 0x100115e1
mov dword [ebp - 0x1a0], 0
movzx eax, byte [ebp - 0x17]
or eax, dword [ebp - 0x1a0]
mov word [0x1005f0c0], ax
mov eax, dword [0x1005f160]
mov edx, dword [0x1005f164]
mov cl, 4
call fcn.1003a770
mov byte [ebp - 0x12], al
movzx ecx, byte [ebp - 0x15]
test ecx, ecx
jne 0x10011622
xor edx, edx
mov dword [ebp - 0x6ec], 1
mov dword [ebp - 0x6e8], edx
jmp 0x1001162d
xorps xmm0, xmm0
movlpd qword [ebp - 0x6ec], xmm0
mov eax, dword [0x1005f118]
mov ecx, dword [0x1005f11c]
not eax
not ecx
mov edx, dword [ebp - 0x6e8]
push edx
mov edx, dword [ebp - 0x6ec]
push edx
push ecx
push eax
call fcn.1003a730
mov ecx, eax
not ecx
movzx eax, word [ebp - 0x28]
cdq
xor ecx, eax
movsx eax, byte [0x1005f0a5]
cdq
sub ecx, eax
mov dword [0x1005f0a0], ecx
jmp case.default.0x10011569
mov edx, dword [0x1005f0b4]
add edx, 0xc7f1e6b3
mov byte [0x1005f0a4], dl
mov eax, dword [0x1005f104]
xor ecx, ecx
push 0x2a8ae
push 0x7cd6df47
push ecx
push eax
call fcn.1003a730
add eax, dword [0x1005f140]
adc edx, dword [0x1005f144]
mov dword [0x1005f140], eax
mov dword [0x1005f144], edx
movsx eax, byte [0x1005f03b]
not eax
cdq
mov dword [0x1005f130], eax
mov dword [0x1005f134], edx
movzx edx, byte [ebp - 0x11]
test edx, edx
jne 0x100116db
mov dword [ebp - 0x1a4], 1
jmp 0x100116e5
mov dword [ebp - 0x1a4], 0
movzx eax, byte [ebp - 0x16]
cdq
mov ecx, eax
sub ecx, 0x34f60607
movsx eax, byte [0x1005f076]
add eax, dword [ebp - 0x1a4]
cdq
xor ecx, eax
not ecx
mov dword [0x1005f0e8], ecx
mov edx, dword [ebp - 0x4c]
push edx
mov eax, dword [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x48]
push edx
call fcn.1003a730
xor eax, dword [ebp - 0x48]
xor edx, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
jmp case.default.0x10011569
mov eax, 8
imul ecx, eax, 0xd3
mov edx, dword [ecx + 0x101247a8]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x50]
sub eax, 7
mov byte [str.a_StartIdle_], al
movsx ecx, word [0x1005f0e0]
movsx edx, byte [0x1005f0a5]
add ecx, edx
mov word [0x1005f0e0], cx
jmp case.default.0x10011569
movsx eax, byte [0x1005f0a5]
cdq
add eax, dword [ebp - 0x50]
adc edx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x50]
sub ecx, eax
mov eax, dword [ebp - 0x4c]
sbb eax, edx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], eax
movsx eax, word [0x1005f110]
cdq
add eax, dword [0x1005f0f0]
adc edx, dword [0x1005f0f4]
add eax, dword [0x1005f0f0]
adc edx, dword [0x1005f0f4]
mov dword [0x1005f0f0], eax
mov dword [0x1005f0f4], edx
movzx ecx, word [ebp - 0x28]
xor ecx, dword [0x1005f0e8]
jne 0x100117d4
xor edx, edx
mov dword [ebp - 0x6f4], 1
mov dword [ebp - 0x6f0], edx
jmp 0x100117df
xorps xmm0, xmm0
movlpd qword [ebp - 0x6f4], xmm0
movsx eax, word [0x1005f0c0]
cdq
sub eax, dword [ebp - 0x50]
sbb edx, dword [ebp - 0x4c]
push edx
push eax
mov eax, dword [ebp - 0x6f0]
push eax
mov ecx, dword [ebp - 0x6f4]
push ecx
call fcn.1003a730
mov dword [0x1005f130], eax
mov dword [0x1005f134], edx
imul edx, dword [ebp - 0x40], 0x85e91086
add edx, dword [ebp - 0x58]
mov dword [ebp - 0x58], edx
mov byte [ebp - 0x13], 1
movsx eax, word [0x1005f114]
test eax, eax
jne 0x10011835
mov dword [ebp - 0x1a8], 1
jmp 0x1001183f
mov dword [ebp - 0x1a8], 0
movsx ecx, byte [0x1005f09e]
xor ecx, dword [ebp - 0x1a8]
movsx edx, word [0x1005f110]
xor edx, dword [ebp - 0x38]
imul ecx, edx
mov eax, dword [ebp - 0x48]
sub eax, dword [ebp - 0x6c]
xor eax, 0xf6c6806d
sub ecx, eax
mov byte [0x1005f09e], cl
mov ecx, dword [0x1005fc3c]
mov dword [ebp - 0xcc], ecx
movsx edx, word [0x1005f0c0]
movzx eax, byte [ebp - 0x14]
add edx, eax
mov word [0x1005f0c0], dx
mov ecx, dword [0x1005f120]
mov edx, dword [0x1005f124]
mov dword [ebp - 0xce0], edx
sub ecx, 0xb6
mov word [0x1005f110], cx
movsx eax, byte [0x1005f0a5]
test eax, eax
je 0x100118d0
mov ecx, dword [0x1005f120]
mov edx, dword [0x1005f124]
mov dword [ebp - 0x6fc], ecx
mov dword [ebp - 0x6f8], edx
jmp 0x100118e4
movsx eax, byte [str._CpuC3StatesChanges]
cdq
mov dword [ebp - 0x6fc], eax
mov dword [ebp - 0x6f8], edx
mov ax, word [ebp - 0x6fc]
mov word [ebp - 0x28], ax
mov ecx, dword [ebp - 0x48]
add ecx, 0x24b22160
mov word [ebp - 0x24], cx
movsx edx, byte [0x1005f09e]
shl edx, 1
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0xcc]
add eax, 0x88f
mov dword [ebp - 0xce4], eax
mov byte [0x1005f09e], 4
movsx ecx, byte [ebp - 0x18]
not ecx
sub ecx, 0xb7be84e
mov byte [ebp - 0x19], cl
mov edx, dword [0x1005f0f0]
add edx, dword [0x1005f0a8]
mov eax, dword [ebp - 0x54]
not eax
xor edx, eax
mov word [0x1005f15c], dx
mov ecx, dword [ebp - 0x38]
movsx edx, byte [0x1005f03b]
lea eax, [edx + ecx + 0x6a]
mov byte [0x1005f03b], al
movsx ecx, byte [ebp - 0x19]
movzx edx, byte [ebp - 0x16]
add ecx, edx
movsx eax, byte [ebp - 0x19]
imul eax, ecx
mov byte [ebp - 0x19], al
movsx ecx, byte [0x1005f013]
movsx edx, byte [0x1005f076]
add ecx, edx
movsx eax, byte [0x1005f013]
sub eax, ecx
mov byte [0x1005f013], al
movsx ecx, byte [0x1005f09e]
mov dword [ebp - 0x1ac], ecx
cmp dword [ebp - 0x1ac], 4
ja case.default.0x100119ae
mov edx, dword [ebp - 0x1ac]
jmp dword [edx*4 + 0x1001f118]
movzx eax, word [0x1005f138]
imul ecx, eax, 0x48b3e745
mov edx, dword [ebp - 0x2c]
sub edx, ecx
mov dword [ebp - 0x2c], edx
movzx eax, byte [ebp - 0x13]
movsx ecx, byte [0x1005f077]
add eax, ecx
mov byte [ebp - 0x13], al
mov edx, dword [ebp - 0x3c]
add edx, dword [0x1005f0d0]
mov eax, dword [ebp - 0x3c]
add eax, edx
mov dword [ebp - 0x3c], eax
mov ecx, 8
imul ecx, ecx, 0xae
movzx eax, byte [ebp - 0x12]
cdq
sub eax, dword [ecx + 0x100e7930]
mov byte [ebp - 0x12], al
mov edx, dword [ebp - 0x34]
sub edx, 0x3c7350a2
mov word [0x1005f108], dx
jmp case.default.0x100119ae
imul eax, dword [0x1005f0d0], 0xba
imul eax, dword [0x1005f0b4]
mov dword [0x1005f0b4], eax
movsx eax, word [ebp - 0x20]
cdq
add eax, dword [0x1005f0f0]
adc edx, dword [0x1005f0f4]
mov dword [0x1005f0f0], eax
mov dword [0x1005f0f4], edx
movsx eax, byte [0x1005f09e]
cdq
sub eax, 0xf09313ca
mov byte [ebp - 0x13], al
mov cl, byte [0x1005fc3c]
mov byte [0x1005f09e], cl
xor edx, edx
mov dword [0x1005f150], 0xcf73cb39
mov dword [0x1005f154], edx
jmp case.default.0x100119ae
mov eax, dword [0x1005f0a8]
add eax, 0xe687fa85
mov ecx, dword [0x1005f0ac]
adc ecx, 0
mov dword [0x1005f120], eax
mov dword [0x1005f124], ecx
mov byte [ebp - 0x14], 2
push 0
push 0x1db8
mov edx, dword [0x1005f0bc]
push edx
mov eax, dword [0x1005f0b8]
push eax
call fcn.1003a730
mov ecx, eax
mov esi, edx
movzx eax, word [0x1005f10c]
not eax
cdq
push edx
push eax
push esi
push ecx
call fcn.1003a730
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x54], 0xeae1b24a
movsx edx, word [ebp - 0x24]
test edx, edx
jne 0x10011aee
mov dword [ebp - 0x1b0], 1
jmp 0x10011af8
mov dword [ebp - 0x1b0], 0
mov eax, dword [ebp - 0x34]
or eax, 0x62
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0xa5c], eax
mov dword [ebp - 0xa58], ecx
mov edx, dword [ebp - 0xa5c]
or edx, dword [ebp - 0xa58]
jne 0x10011b27
mov dword [ebp - 0x1b4], 1
jmp 0x10011b31
mov dword [ebp - 0x1b4], 0
mov eax, dword [ebp - 0x38]
sub eax, dword [ebp - 0x1b0]
movzx ecx, byte [ebp - 0x11]
movsx edx, byte [str._CpuC3StatesChanges]
add ecx, edx
add eax, ecx
movzx ecx, word [0x1005f158]
movzx edx, byte [ebp - 0x11]
add ecx, edx
add eax, dword [ebp - 0x1b4]
add ecx, eax
xor eax, eax
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], eax
jmp case.default.0x100119ae
movsx ecx, byte [0x1005f09e]
shl ecx, 6
mov word [ebp - 0x24], cx
mov edx, dword [ebp - 0x58]
sub edx, 0x40076879
mov dword [ebp - 0x38], edx
xor eax, eax
mov dword [0x1005f118], 0x87e7
mov dword [0x1005f11c], eax
jmp case.default.0x100119ae
mov ecx, dword [ebp - 0x58]
add ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x58]
sub edx, ecx
mov dword [ebp - 0x58], edx
movsx eax, byte [0x1005f04f]
cdq
mov dword [0x1005f130], eax
mov dword [0x1005f134], edx
mov al, byte [0x1005fc3c]
mov byte [ebp - 0x19], al
mov ecx, dword [ebp - 0x34]
sub ecx, dword [0x1005f150]
mov edx, dword [ebp - 0x30]
sbb edx, dword [0x1005f154]
mov dword [ebp - 0xa64], ecx
mov dword [ebp - 0xa60], edx
mov eax, dword [ebp - 0xa64]
or eax, dword [ebp - 0xa60]
jne 0x10011c04
xor ecx, ecx
mov dword [ebp - 0x70c], 1
mov dword [ebp - 0x708], ecx
jmp 0x10011c0f
xorps xmm0, xmm0
movlpd qword [ebp - 0x70c], xmm0
mov edx, dword [ebp - 0x70c]
mov eax, dword [ebp - 0x708]
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x4c], eax
xor ecx, ecx
mov dword [0x1005f0a8], 8
mov dword [0x1005f0ac], ecx
mov ecx, dword [0x1005f130]
sub ecx, 0xf4a72092
mov eax, dword [ebp - 0x3c]
cdq
add eax, ecx
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp - 0xcc]
add edx, 0x787
mov dword [ebp - 0xce8], edx
movsx eax, byte [ebp - 0x19]
sub eax, 0x8814
mov word [0x1005f110], ax
movsx eax, byte [str._CpuC3StatesChanges]
shl eax, 1
cdq
mov dword [0x1005f130], eax
mov dword [0x1005f134], edx
mov ecx, 0xb52b5ea5
sub ecx, dword [0x1005f0d8]
mov dword [ebp - 0x54], ecx
mov edx, dword [0x1005f0b8]
add edx, 0x14a761b4
mov eax, dword [0x1005f0bc]
adc eax, 0xe5a5a
mov dword [0x1005f0a8], edx
mov dword [0x1005f0ac], eax
mov ecx, dword [ebp - 0xcc]
add ecx, 0x618
mov dword [ebp - 0xa30], ecx
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
mov byte [ebp - 4], 2
movzx edx, byte [ebp - 0x15]
cmp dword [ebp - 0x40], edx
jge 0x10011cdc
jmp 0x10011e2d
movzx eax, byte [ebp - 0x16]
not eax
test eax, eax
je 0x10011d42
movsx eax, byte [0x1005f09e]
cdq
sub eax, dword [0x1005f0d8]
mov byte [0x1005f09e], al
mov eax, dword [ebp - 0x40]
sub eax, 0x75a4e0ca
cdq
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], edx
movzx eax, word [0x1005f0ec]
add eax, 0x32
cdq
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], edx
mov dword [0x1005f0a0], 1
mov ecx, dword [0x1005f0b0]
sub ecx, dword [0x1005f0a8]
mov edx, dword [0x1005f0b0]
add edx, ecx
mov dword [0x1005f0b0], edx
jmp 0x10011e2d
cmp dword [ebp - 0x30], 0
jg 0x10011e2d
jl 0x10011d58
cmp dword [ebp - 0x34], 0
jae 0x10011e2d
movzx eax, word [0x1005f148]
test eax, eax
jne 0x10011e2d
mov ecx, dword [0x1005f0a8]
not ecx
mov edx, dword [0x1005f0ac]
not edx
mov dword [ebp - 0xa6c], ecx
mov dword [ebp - 0xa68], edx
mov eax, dword [ebp - 0xa6c]
or eax, dword [ebp - 0xa68]
je 0x10011e2d
movzx eax, byte [ebp - 0x14]
cdq
push 0x2289f
push 0xe8e5788d
push edx
push eax
call fcn.1003a730
mov word [0x1005f15c], ax
mov ecx, dword [ebp - 0x50]
add ecx, 0xbe827e5d
mov byte [0x1005f076], cl
movsx edx, word [0x1005f0e0]
movzx eax, word [0x1005f128]
sub edx, eax
not edx
movsx ecx, word [0x1005f15c]
imul edx, ecx
mov dword [0x1005f0a0], edx
mov edx, dword [0x1005f11c]
mov eax, dword [0x1005f0c8]
sub eax, dword [0x1005f118]
mov ecx, dword [0x1005f0cc]
sbb ecx, edx
mov edx, dword [0x1005f0c8]
sub edx, eax
mov eax, dword [0x1005f0cc]
sbb eax, ecx
mov dword [0x1005f0c8], edx
mov dword [0x1005f0cc], eax
mov ecx, 4
imul edx, ecx, 3
mov eax, dword [0x1005f0e4]
add eax, dword [edx + 0x10093290]
mov dword [0x1005f0e4], eax
jmp 0x10011e8a
mov dword [ebp - 4], 1
jmp 0x10011e9a
jmp 0x10011ef9
mov dword [ebp - 4], 0
jmp 0x10011f09
jmp 0x10011fbb
mov dword [ebp - 4], 0xffffffff
jmp 0x10011fcb
mov ecx, dword [0x1005fc3c]
mov dword [ebp - 0xd0], ecx
mov edx, dword [0x1005f140]
or edx, dword [0x1005f144]
jne 0x10011ff9
xor eax, eax
mov dword [ebp - 0x714], 1
mov dword [ebp - 0x710], eax
jmp 0x10012004
xorps xmm0, xmm0
movlpd qword [ebp - 0x714], xmm0
mov ecx, dword [ebp - 0x714]
add ecx, 0x814ae6d1
mov edx, dword [ebp - 0x710]
adc edx, 0x7bc9f
mov dword [ebp - 0xa7c], ecx
mov dword [ebp - 0xa78], edx
mov eax, dword [ebp - 0xa7c]
or eax, dword [ebp - 0xa78]
jne 0x1001203c
mov byte [ebp - 0x72], 1
jmp 0x10012040
mov byte [ebp - 0x72], 0
mov cl, byte [ebp - 0x72]
mov byte [str.a_StartIdle_], cl
movzx eax, word [ebp - 0x28]
cdq
mov ecx, eax
add ecx, 0xbb3a5f32
movzx eax, byte [ebp - 0x16]
cdq
sub eax, ecx
mov byte [ebp - 0x16], al
mov dword [0x1005f0b0], 0x8ddbc6e5
mov edx, dword [ebp - 0x38]
mov byte [ebp - 0x18], dl
mov eax, dword [ebp - 0xd0]
add eax, 0x6fa
mov dword [ebp - 0xcec], eax
movzx ecx, byte [ebp - 0x17]
imul edx, ecx, 0x5c
mov eax, dword [0x1005f104]
sub eax, edx
mov dword [0x1005f104], eax
movsx ecx, byte [0x1005f013]
movsx edx, word [0x1005f110]
sub ecx, edx
mov byte [0x1005f013], cl
mov eax, dword [0x1005f0b8]
xor eax, 0x4d
mov dword [0x1005f104], eax
mov cx, word [ebp - 0x24]
sub cx, 1
mov word [ebp - 0x24], cx
movsx edx, byte [0x1005f04f]
mov eax, dword [ebp - 0x38]
add eax, edx
movsx ecx, byte [ebp - 0x18]
movzx edx, byte [ebp - 0x14]
movsx esi, byte [0x1005f04f]
imul edx, esi
xor ecx, edx
add eax, ecx
mov word [0x1005f138], ax
xor eax, eax
mov dword [0x1005f160], 0x9b540703
mov dword [0x1005f164], eax
mov ecx, dword [ebp - 0xd0]
add ecx, 0x543
mov dword [ebp - 0xa34], ecx
mov edx, dword [ebp - 0x54]
not edx
xor eax, eax
xor edx, dword [0x1005f0b8]
xor eax, dword [0x1005f0bc]
xor ecx, ecx
add edx, dword [0x1005f100]
adc eax, ecx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], eax
movsx eax, word [0x1005f15c]
sub eax, dword [ebp - 0x3c]
cdq
mov edx, dword [0x1005f160]
mov ecx, dword [0x1005f164]
mov dword [ebp - 0xcf0], ecx
sub edx, eax
mov word [0x1005f0e0], dx
movzx eax, byte [ebp - 0x13]
movsx edx, byte [0x1005f013]
movzx ecx, byte [str.a_StartIdle_]
sub edx, ecx
movsx ecx, byte [0x1005f04f]
not ecx
movzx esi, byte [ebp - 0x14]
and ecx, esi
sub edx, ecx
sub eax, edx
cdq
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
mov edx, dword [ebp - 0xd0]
add edx, 0x897
mov dword [ebp - 0x10c], edx
mov byte [0x1005f013], 0
movsx eax, byte [ebp - 0x18]
movzx ecx, byte [ebp - 0x16]
add eax, ecx
cdq
mov ecx, dword [0x1005f0bc]
push ecx
mov ecx, dword [0x1005f0b8]
push ecx
push edx
push eax
call fcn.1003a730
mov dword [ebp - 0xa84], eax
mov dword [ebp - 0xa80], edx
mov edx, dword [ebp - 0xa84]
or edx, dword [ebp - 0xa80]
jne 0x100121ec
xor eax, eax
mov dword [ebp - 0x71c], 1
mov dword [ebp - 0x718], eax
jmp 0x100121f7
xorps xmm0, xmm0
movlpd qword [ebp - 0x71c], xmm0
mov eax, dword [ebp - 0x3c]
cdq
mov ecx, eax
mov esi, edx
movsx eax, byte [0x1005f077]
cdq
xor eax, dword [0x1005f0c8]
xor edx, dword [0x1005f0cc]
push edx
push eax
push esi
push ecx
call fcn.1003a730
add eax, dword [ebp - 0x71c]
adc edx, dword [ebp - 0x718]
mov dword [ebp - 0xa8c], eax
mov dword [ebp - 0xa88], edx
mov edx, dword [ebp - 0xa8c]
or edx, dword [ebp - 0xa88]
jne 0x10012250
mov eax, 1
mov word [ebp - 0x82], ax
jmp 0x10012259
xor ecx, ecx
mov word [ebp - 0x82], cx
mov dx, word [ebp - 0x82]
mov word [0x1005f148], dx
mov byte [ebp - 0x16], 4
movzx eax, word [ebp - 0x28]
imul eax, dword [0x1005f100]
mov dword [0x1005f0a0], eax
mov cl, byte [0x1005f013]
mov byte [ebp - 0xa08], cl
cmp byte [ebp - 0xa08], 0
je 0x10012295
jmp 0x100123cf
mov edx, dword [0x1005f150]
add edx, 1
mov eax, dword [0x1005f154]
adc eax, 0
mov dword [0x1005f150], edx
mov dword [0x1005f154], eax
movsx ecx, word [0x1005f0c0]
test ecx, ecx
je 0x100122c7
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x1bc], edx
jmp 0x100122d0
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x1bc], eax
mov cl, byte [ebp - 0x1bc]
mov byte [ebp - 0x11], cl
movsx eax, byte [0x1005f03b]
cdq
xor eax, dword [0x1005f150]
xor edx, dword [0x1005f154]
not eax
not edx
push 0
push 0x33
push edx
push eax
call fcn.1003a730
mov ecx, eax
mov eax, dword [ebp - 0x3c]
cdq
mov esi, eax
and esi, dword [ebp - 0x50]
movsx eax, byte [ebp - 0x18]
movzx edx, byte [ebp - 0x16]
imul eax, edx
cdq
sub esi, eax
add ecx, esi
mov byte [ebp - 0x17], cl
movzx eax, byte [ebp - 0x14]
cdq
mov ecx, dword [ebp - 0x68]
mov esi, dword [ebp - 0x64]
add ecx, eax
adc esi, edx
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x64]
push esi
push ecx
push eax
push edx
call fcn.1003a730
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], edx
mov ecx, dword [ebp - 0x6c]
add ecx, 0xae
mov byte [ebp - 0x16], cl
movsx edx, word [ebp - 0x24]
test edx, edx
jne 0x1001235e
mov dword [ebp - 0x1c0], 1
jmp 0x10012368
mov dword [ebp - 0x1c0], 0
mov eax, dword [ebp - 0x54]
add eax, dword [0x1005f104]
jne 0x1001237f
mov dword [ebp - 0x1c4], 1
jmp 0x10012389
mov dword [ebp - 0x1c4], 0
movsx eax, byte [0x1005f04f]
add eax, dword [ebp - 0x1c0]
cdq
mov ecx, eax
mov esi, edx
mov edx, dword [0x1005f120]
mov eax, dword [0x1005f124]
not edx
not eax
mov edi, dword [ebp - 0x5c]
sub edx, dword [ebp - 0x60]
sbb eax, edi
xor ecx, edx
xor esi, eax
movzx eax, byte [ebp - 0x14]
sub eax, dword [ebp - 0x1c4]
cdq
push edx
push eax
push esi
push ecx
call fcn.1003a730
mov byte [0x1005f0a4], al
mov ecx, dword [0x1005fc3c]
mov dword [ebp - 0xd8], ecx
mov eax, dword [0x1005f0a0]
cdq
mov dword [ebp - 0xa94], eax
mov dword [ebp - 0xa90], edx
mov edx, dword [ebp - 0xa90]
cmp edx, dword [0x1005f0ac]
jb 0x100124fe
ja 0x10012413
mov eax, dword [ebp - 0xa94]
cmp eax, dword [0x1005f0a8]
jbe 0x100124fe
mov dword [0x1005f0b4], 1
movsx ecx, byte [ebp - 0x18]
mov edx, dword [ebp - 0x40]
sub edx, ecx
jne 0x10012434
mov dword [ebp - 0x1cc], 1
jmp 0x1001243e
mov dword [ebp - 0x1cc], 0
cmp dword [ebp - 0x58], 0
jne 0x10012450
mov dword [ebp - 0x1c8], 1
jmp 0x1001245a
mov dword [ebp - 0x1c8], 0
mov eax, dword [0x1005f0e8]
not eax
cdq
push edx
push eax
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.1003a730
movzx ecx, byte [ebp - 0x14]
xor ecx, dword [0x1005f100]
xor esi, esi
add eax, ecx
adc edx, esi
mov ecx, dword [0x1005f0b0]
sub ecx, dword [ebp - 0x1c8]
xor ecx, dword [ebp - 0x1cc]
xor esi, esi
push esi
push ecx
push edx
push eax
call fcn.1003a730
not eax
mov dword [ebp - 0x40], eax
movsx eax, word [ebp - 0x20]
cdq
sub eax, dword [ebp - 0x50]
mov byte [ebp - 0x18], al
movsx edx, word [0x1005f0e0]
test edx, edx
jne 0x100124c5
mov dword [ebp - 0x1d0], 1
jmp 0x100124cf
mov dword [ebp - 0x1d0], 0
mov eax, dword [ebp - 0x38]
add eax, dword [ebp - 0x1d0]
movsx ecx, byte [0x1005f076]
add eax, ecx
mov edx, dword [0x1005f100]
sub edx, 0x390cb811
sub eax, edx
mov byte [ebp - 0x14], al
mov eax, dword [0x1005fc3c]
mov dword [0x1005f100], eax
jmp 0x10012564
mov ecx, dword [0x1005f0c8]
or ecx, dword [0x1005f0cc]
je 0x10012518
movsx edx, word [ebp - 0x20]
mov dword [ebp - 0x1d4], edx
jmp 0x10012521
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x1d4], eax
mov cl, byte [ebp - 0x1d4]
mov byte [ebp - 0x12], cl
mov eax, dword [0x1005f0a0]
cdq
mov ecx, eax
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0xcf4], eax
sub ecx, edx
mov eax, dword [0x1005f0a0]
cdq
add eax, ecx
mov dword [0x1005f0a0], eax
movsx ecx, byte [str._CpuC3StatesChanges]
movzx edx, byte [0x1005f09f]
imul ecx, edx
mov byte [str._CpuC3StatesChanges], cl
mov eax, dword [ebp - 0xd8]
add eax, 0x882
mov dword [ebp - 0x820], eax
mov ecx, dword [0x1005f0a8]
add ecx, 0x6b
movzx eax, word [0x1005f158]
cdq
and eax, ecx
mov word [0x1005f158], ax
movzx edx, byte [ebp - 0x12]
movzx eax, byte [ebp - 0x17]
sub edx, eax
jne 0x100125ae
xor ecx, ecx
mov dword [ebp - 0x724], 1
mov dword [ebp - 0x720], ecx
jmp 0x100125b9
xorps xmm0, xmm0
movlpd qword [ebp - 0x724], xmm0
mov eax, dword [ebp - 0x40]
xor eax, dword [0x1005f0d0]
cdq
add eax, dword [0x1005f0a8]
adc edx, dword [0x1005f0ac]
mov ecx, dword [ebp - 0x724]
xor ecx, dword [0x1005f0d8]
mov esi, dword [ebp - 0x720]
xor esi, dword [0x1005f0dc]
and eax, ecx
and edx, esi
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
mov edx, dword [0x1005f104]
sub edx, dword [0x1005f100]
mov word [0x1005f114], dx
mov eax, dword [ebp - 0xd8]
add eax, 0x556
mov dword [ebp - 0x390], eax
movsx ecx, word [0x1005f0c0]
movzx edx, byte [ebp - 0x12]
cmp ecx, edx
jne 0x10012630
mov dword [ebp - 0x1d8], 1
jmp 0x1001263a
mov dword [ebp - 0x1d8], 0
movsx eax, word [0x1005f0c0]
cmp eax, 0x4e
jne 0x10012652
mov dword [ebp - 0x1dc], 1
jmp 0x1001265c
mov dword [ebp - 0x1dc], 0
mov ecx, dword [ebp - 0x1d8]
cmp ecx, dword [ebp - 0x1dc]
jne 0x10012725
mov dword [ebp - 0xd4], 0x2eb
jmp 0x10012689
mov edx, dword [ebp - 0xd4]
sub edx, 1
mov dword [ebp - 0xd4], edx
cmp dword [ebp - 0xd4], 0
jle 0x10012723
movsx eax, byte [str._CpuC3StatesChanges]
cdq
sub eax, 0x371e217b
sbb edx, 0xdaedf
mov ecx, dword [0x1005f160]
mov esi, dword [0x1005f164]
add ecx, eax
adc esi, edx
mov dword [0x1005f160], ecx
mov dword [0x1005f164], esi
movzx edx, byte [ebp - 0x13]
sar edx, 8
mov dword [ebp - 0x58], edx
push 0x31642
push 0x6a3a6d7d
mov eax, dword [0x1005f0bc]
push eax
mov ecx, dword [0x1005f0b8]
push ecx
call fcn.1003a730
mov byte [ebp - 0x14], al
movzx edx, byte [ebp - 0x13]
sub edx, dword [ebp - 0x6c]
movzx eax, byte [ebp - 0x13]
add eax, edx
mov byte [ebp - 0x13], al
movzx ecx, byte [ebp - 0x17]
add ecx, 0x6bb05208
mov word [0x1005f0e0], cx
mov dl, byte [0x1005f076]
add dl, 1
mov byte [0x1005f076], dl
jmp 0x1001267a
jmp 0x1001279d
mov eax, dword [0x1005f118]
mov ecx, dword [0x1005f11c]
push 0
push 0x8b5c
push ecx
push eax
call fcn.1003a730
mov word [0x1005f128], ax
cmp dword [ebp - 0x38], 0
je 0x10012758
mov edx, dword [0x1005f0b0]
mov dword [ebp - 0x1e0], edx
jmp 0x10012763
mov eax, dword [0x1005f104]
mov dword [ebp - 0x1e0], eax
mov ecx, dword [ebp - 0x1e0]
mov dword [ebp - 0x3c], ecx
mov dl, byte [0x1005fc3c]
mov byte [ebp - 0x16], dl
movzx eax, byte [ebp - 0x11]
movsx ecx, byte [0x1005f04f]
imul eax, ecx
mov byte [ebp - 0x11], al
movzx edx, byte [ebp - 0x13]
movsx eax, byte [0x1005f077]
imul edx, eax
movzx ecx, byte [ebp - 0x13]
add ecx, edx
mov byte [ebp - 0x13], cl
mov edx, dword [ebp - 0xd8]
add edx, 0x6a5
mov dword [ebp - 0xcf8], edx
mov eax, dword [0x1005fc3c]
xor ecx, ecx
mov dword [0x1005f0f0], eax
mov dword [0x1005f0f4], ecx
movsx edx, byte [0x1005f03b]
not edx
movsx eax, word [0x1005f0e0]
not eax
sub edx, eax
mov byte [ebp - 0x19], dl
xor ecx, ecx
mov dword [ebp - 0x50], 0x6aee
mov dword [ebp - 0x4c], ecx
mov dl, byte [0x1005f0c8]
mov eax, 1
imul ecx, eax, 0x17c2
mov byte [ecx + 0x10331f28], dl
movsx eax, word [ebp - 0x24]
cdq
push 0xbc5d9
push 0x24c8385a
push edx
push eax
call fcn.1003a730
mov dword [ebp - 0x3c], eax
mov edx, dword [0x1005fc3c]
mov dword [ebp - 0xe4], edx
mov ecx, dword [0x1005f120]
mov esi, dword [0x1005f124]
movzx eax, byte [0x1005f09f]
cdq
mov dword [ebp - 0xa9c], ecx
mov dword [ebp - 0xa98], esi
mov dword [ebp - 0xaa4], eax
mov dword [ebp - 0xaa0], edx
mov edx, dword [ebp - 0xa9c]
cmp edx, dword [ebp - 0xaa4]
jne 0x1001286c
mov eax, dword [ebp - 0xa98]
cmp eax, dword [ebp - 0xaa0]
je 0x10012972
mov ecx, dword [0x1005f160]
mov esi, dword [0x1005f164]
movsx eax, byte [ebp - 0x18]
cdq
mov dword [ebp - 0xaac], ecx
mov dword [ebp - 0xaa8], esi
mov dword [ebp - 0xab4], eax
mov dword [ebp - 0xab0], edx
mov edx, dword [ebp - 0xaa8]
cmp edx, dword [ebp - 0xab0]
ja 0x100128b8
jb 0x100128b3
mov eax, dword [ebp - 0xaac]
cmp eax, dword [ebp - 0xab4]
ja 0x100128b8
jmp 0x10012970
movsx ecx, word [0x1005f0c0]
cmp dword [0x1005f0e4], ecx
jne 0x10012970
mov eax, dword [0x1005f0a0]
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 [ebp - 0x40]
cdq
add ecx, eax
mov byte [ebp - 0x19], cl
movsx edx, word [ebp - 0x20]
movzx eax, word [0x1005f10c]
sub edx, eax
movsx ecx, word [0x1005f0c0]
sub ecx, dword [ebp - 0x2c]
add edx, ecx
mov dword [ebp - 0x3c], edx
mov edx, dword [ebp - 0x54]
not edx
add edx, 0x2c269d5f
mov esi, edx
xor edi, edi
movsx eax, byte [0x1005f03b]
cdq
mov ecx, dword [0x1005f0cc]
push ecx
mov ecx, dword [0x1005f0c8]
push ecx
push edx
push eax
call fcn.1003a730
and esi, eax
and edi, edx
mov dword [0x1005f160], esi
mov dword [0x1005f164], edi
mov edx, dword [ebp - 0x40]
add edx, dword [0x1005f0e8]
mov dword [0x1005f0e8], edx
movsx eax, byte [ebp - 0x18]
imul ecx, eax, 0
movzx edx, byte [0x1005f09f]
imul ecx, edx
mov word [0x1005f158], cx
jmp 0x100129a5
cmp dword [ebp - 0x38], 0
je 0x100129a5
xor eax, eax
mov dword [ebp - 0x50], 0xf7
mov dword [ebp - 0x4c], eax
mov ecx, dword [0x1005f100]
sub ecx, dword [0x1005f0d0]
mov dword [0x1005f100], ecx
mov dl, byte [0x1005f013]
add dl, 1
mov byte [0x1005f013], dl
mov eax, dword [ebp - 0xe4]
add eax, 0x7a7
mov dword [ebp - 0xcfc], eax
movzx ecx, word [0x1005f158]
test ecx, ecx
je 0x10012a6d
mov dword [ebp - 0xdc], 0
jmp 0x100129e0
mov edx, dword [ebp - 0xdc]
add edx, 2
mov dword [ebp - 0xdc], edx
cmp dword [ebp - 0xdc], 0x371
jge 0x10012a68
movsx eax, byte [0x1005f013]
test eax, eax
je 0x10012a03
movsx ecx, byte [ebp - 0x18]
mov dword [ebp - 0x1e4], ecx
jmp 0x10012a0f
mov edx, dword [0x1005f0e4]
mov dword [ebp - 0x1e4], edx
mov eax, dword [ebp - 0x1e4]
cdq
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], edx
movsx eax, byte [0x1005f013]
add eax, 0x4c3555e2
mov byte [0x1005f03b], al
mov ecx, dword [0x1005fc3c]
xor edx, edx
mov dword [0x1005f130], ecx
mov dword [0x1005f134], edx
mov eax, dword [ebp - 0x2c]
add eax, 0x6bcf
cdq
mov ecx, dword [ebp - 0x60]
mov esi, dword [ebp - 0x5c]
sub ecx, eax
sbb esi, edx
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x5c], esi
mov edx, dword [ebp - 0x2c]
add edx, 1
mov dword [ebp - 0x2c], edx
jmp 0x100129d1
jmp 0x10012b26
movzx eax, byte [0x1005f09f]
test eax, eax
je 0x10012b26
mov ecx, dword [0x1005f118]
mov edx, dword [0x1005f11c]
mov dword [ebp - 0xd00], edx
mov dword [0x1005f104], ecx
mov byte [ebp - 0x15], 1
cmp dword [0x1005f0e4], 0
je 0x10012aba
mov eax, dword [0x1005f0f8]
mov ecx, dword [0x1005f0fc]
mov dword [ebp - 0x72c], eax
mov dword [ebp - 0x728], ecx
jmp 0x10012ad1
mov edx, dword [0x1005f120]
mov eax, dword [0x1005f124]
mov dword [ebp - 0x72c], edx
mov dword [ebp - 0x728], eax
mov ecx, dword [ebp - 0x72c]
mov dword [ebp - 0x54], ecx
mov edx, 1
imul eax, edx, 6
movsx eax, byte [eax + 0x101b8ae0]
cdq
mov ecx, dword [0x1005f0a8]
sub ecx, eax
mov eax, dword [0x1005f0ac]
sbb eax, edx
mov dword [0x1005f0a8], ecx
mov dword [0x1005f0ac], eax
movsx ecx, byte [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
imul edx, ecx
mov eax, dword [ebp - 0x2c]
add eax, edx
mov dword [ebp - 0x2c], eax
movzx eax, byte [ebp - 0x12]
cdq
sub eax, 0xb869b3c
mov word [0x1005f158], ax
mov ecx, dword [ebp - 0xe4]
add ecx, 0x732
mov dword [ebp - 0x850], ecx
mov dword [ebp - 0xe0], 0
jmp 0x10012b53
mov edx, dword [ebp - 0xe0]
add edx, 2
mov dword [ebp - 0xe0], edx
cmp dword [ebp - 0xe0], 0xee
jge 0x10012f2e
xor eax, eax
mov dword [0x1005f0a8], 3
mov dword [0x1005f0ac], eax
mov ecx, dword [0x1005f0d8]
and ecx, 0x32c1
mov dword [ebp - 0x54], ecx
movsx eax, byte [ebp - 0x18]
cdq
push edx
push eax
mov edx, dword [ebp - 0x4c]
push edx
mov eax, dword [ebp - 0x50]
push eax
call fcn.1003a730
mov ecx, eax
movzx eax, word [ebp - 0x28]
cdq
sub ecx, eax
mov edx, dword [0x1005f0c8]
not edx
and edx, dword [ebp - 0x38]
add edx, dword [ebp - 0x34]
add ecx, edx
mov byte [ebp - 0x14], cl
movsx eax, word [ebp - 0x20]
sar eax, 7
cdq
mov dword [0x1005f160], eax
mov dword [0x1005f164], edx
movzx eax, byte [ebp - 0x13]
shl eax, 3
mov word [ebp - 0x28], ax
movzx ecx, byte [ebp - 0x16]
test ecx, ecx
jne 0x10012be5
mov dword [ebp - 0x1e8], 1
jmp 0x10012bef
mov dword [ebp - 0x1e8], 0
movzx edx, byte [ebp - 0x15]
mov eax, dword [ebp - 0x2c]
add eax, edx
sub eax, dword [ebp - 0x1e8]
jne 0x10012c0c
mov dword [ebp - 0x1ec], 1
jmp 0x10012c16
mov dword [ebp - 0x1ec], 0
movsx ecx, byte [ebp - 0x19]
test ecx, ecx
jne 0x10012c2a
mov dword [ebp - 0x1f0], 1
jmp 0x10012c34
mov dword [ebp - 0x1f0], 0
mov edx, dword [ebp - 0x1ec]
add edx, dword [ebp - 0x1f0]
mov word [ebp - 0x24], dx
mov eax, dword [0x1005f0a8]
mov ecx, dword [0x1005f0ac]
mov dword [ebp - 0x734], eax
mov dword [ebp - 0x730], ecx
cmp dword [ebp - 0x730], 0
ja 0x10012f17
jb 0x10012c77
cmp dword [ebp - 0x734], 3
ja 0x10012f17
mov edx, dword [ebp - 0x734]
mov dword [ebp - 0xe0c], edx
mov eax, dword [ebp - 0xe0c]
jmp dword [eax*4 + 0x1001f12c]
mov dx, word [0x1005f138]
add dx, 1
mov word [0x1005f138], dx
jmp 0x10012b44
mov eax, dword [ebp - 0xe4]
add eax, 0x699
mov dword [ebp - 0xbc], eax
movzx ecx, word [0x1005f138]
sub ecx, dword [ebp - 0x58]
mov word [0x1005f138], cx
movzx eax, byte [ebp - 0x15]
cdq
add eax, 0x2e355d59
mov dword [ebp - 0x40], eax
movsx eax, byte [str._CpuC3StatesChanges]
cdq
push edx
push eax
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x34]
push eax
call fcn.1003a730
add eax, dword [ebp - 0x34]
adc edx, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
mov ecx, dword [ebp - 0x50]
sub ecx, 0xbcd74dff
mov byte [ebp - 0x16], cl
movsx edx, word [0x1005f114]
add edx, 0x32793d83
mov word [0x1005f0ec], dx
movsx eax, byte [0x1005f03b]
cdq
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0xd04], edx
sub eax, ecx
mov byte [0x1005f03b], al
mov byte [ebp - 0x14], 0x78
movsx eax, word [0x1005f110]
movsx ecx, word [ebp - 0x20]
xor eax, ecx
mov dword [0x1005f100], eax
mov eax, dword [0x1005f0a0]
cdq
mov ecx, 8
imul ecx, ecx, 0x5a
mov dword [ecx + 0x102b2af8], eax
mov dword [ecx + 0x102b2afc], edx
mov dword [ebp - 4], 6
mov edx, dword [ebp - 0x40]
cmp dword [0x1005f0e4], edx
jge 0x10013198
cmp dword [ebp - 0x2c], 0
jne 0x10013013
mov dword [ebp - 0x1f4], 1
jmp 0x1001301d
mov dword [ebp - 0x1f4], 0
movzx eax, word [0x1005f138]
cmp dword [ebp - 0x1f4], eax
jge 0x10013038
mov dword [ebp - 0x1f8], 1
jmp 0x10013042
mov dword [ebp - 0x1f8], 0
mov ecx, dword [ebp - 0x1f8]
not ecx
cmp dword [0x1005f0e8], ecx
jge 0x1001312c
mov byte [ebp - 4], 7
movsx edx, word [ebp - 0x20]
add edx, dword [0x1005f104]
mov ecx, edx
movzx eax, word [0x1005f138]
cdq
mov edx, dword [ebp - 0x34]
sub edx, eax
xor ecx, edx
mov byte [0x1005f09f], cl
mov ax, word [ebp - 0x20]
mov word [0x1005f158], ax
push 0x4b3dc
push 0x3dd22677
mov ecx, dword [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x48]
push edx
call fcn.1003a730
mov dword [ebp - 0x2c], eax
movsx eax, word [0x1005f0e0]
movsx ecx, word [0x1005f0c0]
sub eax, ecx
movsx edx, word [0x1005f0e0]
sub edx, eax
mov word [0x1005f0e0], dx
mov eax, dword [ebp - 0x54]
sub eax, 0xeddc
mov byte [0x1005f0a5], al
jmp 0x1001311a
mov dword [ebp - 4], 6
jmp 0x1001312a
jmp 0x10013193
mov eax, dword [0x1005f150]
add eax, 0xa4
mov dword [0x1005f104], eax
movzx ecx, byte [str.a_StartIdle_]
sub ecx, 0x2e
jne 0x10013153
mov dword [ebp - 0x1fc], 1
jmp 0x1001315d
mov dword [ebp - 0x1fc], 0
mov edx, dword [ebp - 0x1fc]
mov dword [ebp - 0x2c], edx
mov byte [ebp - 0x18], 4
movzx eax, word [ebp - 0x28]
sub eax, 0x461f
mov dword [ebp - 0x3c], eax
movzx eax, byte [ebp - 0x12]
cdq
mov ecx, dword [0x1005f0cc]
push ecx
mov ecx, dword [0x1005f0c8]
push ecx
push edx
push eax
call fcn.1003a730
mov byte [ebp - 0x12], al
jmp 0x10013384
movsx edx, word [ebp - 0x20]
not edx
movzx eax, byte [ebp - 0x15]
cmp edx, eax
jg 0x100131b2
mov dword [ebp - 0x200], 1
jmp 0x100131bc
mov dword [ebp - 0x200], 0
movsx ecx, word [0x1005f110]
not ecx
cmp ecx, dword [ebp - 0x200]
jl 0x1001327d
mov edx, dword [0x1005f118]
mov eax, dword [0x1005f11c]
mov dword [ebp - 0xad4], edx
mov dword [ebp - 0xad0], eax
mov ecx, dword [ebp - 0xad4]
or ecx, dword [ebp - 0xad0]
je 0x10013209
mov edx, dword [ebp - 0x6c]
xor eax, eax
mov dword [ebp - 0x754], edx
mov dword [ebp - 0x750], eax
jmp 0x1001321b
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x754], ecx
mov dword [ebp - 0x750], edx
mov eax, dword [ebp - 0x754]
mov dword [0x1005f0e8], eax
mov ecx, 8
mov word [0x1005f0ec], cx
mov dword [ebp - 0x58], 0xd439
mov edx, dword [ebp - 0x48]
or edx, dword [ebp - 0x44]
je 0x10013255
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x75c], eax
mov dword [ebp - 0x758], ecx
jmp 0x1001326c
mov edx, dword [0x1005f120]
mov eax, dword [0x1005f124]
mov dword [ebp - 0x75c], edx
mov dword [ebp - 0x758], eax
mov cl, byte [ebp - 0x75c]
mov byte [0x1005f077], cl
jmp 0x10013384
movsx edx, byte [0x1005f013]
cmp dword [ebp - 0x54], edx
jbe 0x10013295
mov dword [ebp - 0x204], 1
jmp 0x1001329f
mov dword [ebp - 0x204], 0
mov eax, dword [ebp - 0x204]
not eax
test eax, eax
je 0x10013309
xor ecx, ecx
mov dword [0x1005f0c8], 8
mov dword [0x1005f0cc], ecx
mov edx, dword [ebp - 0x48]
sub edx, 0xd2
mov eax, dword [ebp - 0x44]
sbb eax, 0
add edx, dword [0x1005f0a8]
adc eax, dword [0x1005f0ac]
mov dword [0x1005f0a8], edx
mov dword [0x1005f0ac], eax
movzx eax, byte [ebp - 0x15]
add eax, 0x77
cdq
mov ecx, dword [0x1005f118]
mov esi, dword [0x1005f11c]
and ecx, eax
and esi, edx
mov dword [0x1005f118], ecx
mov dword [0x1005f11c], esi
jmp 0x10013384
movzx edx, byte [ebp - 0x17]
cmp edx, dword [ebp - 0x3c]
jne 0x10013326
xor eax, eax
mov dword [ebp - 0x764], 1
mov dword [ebp - 0x760], eax
jmp 0x10013331
xorps xmm0, xmm0
movlpd qword [ebp - 0x764], xmm0
mov ecx, dword [ebp - 0x760]
cmp ecx, dword [0x1005f0fc]
jl 0x10013384
jg 0x1001334f
mov edx, dword [ebp - 0x764]
cmp edx, dword [0x1005f0f8]
jbe 0x10013384
movsx eax, byte [0x1005f013]
add eax, 0x330ccf9a
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x3c]
add ecx, 0x2e1d
mov word [0x1005f15c], cx
mov edx, dword [ebp - 0x6c]
add edx, 0x367bb305
xor eax, eax
mov dword [0x1005f150], edx
mov dword [0x1005f154], eax
jmp 0x100133e4
mov dword [ebp - 4], 0xffffffff
jmp 0x100133f4
movzx eax, byte [ebp - 0x11]
cdq
mov dword [ebp - 0xadc], eax
mov dword [ebp - 0xad8], edx
mov ecx, dword [ebp - 0xadc]
cmp ecx, dword [ebp - 0x50]
jne 0x1001341b
mov edx, dword [ebp - 0xad8]
cmp edx, dword [ebp - 0x4c]
je 0x10013427
mov dword [ebp - 0x208], 1
jmp 0x10013431
mov dword [ebp - 0x208], 0
movzx eax, byte [ebp - 0x11]
cmp eax, 0x4f
je 0x10013446
mov dword [ebp - 0x20c], 1
jmp 0x10013450
mov dword [ebp - 0x20c], 0
mov ecx, dword [ebp - 0x208]
cmp ecx, dword [ebp - 0x20c]
jl 0x10013689
movsx edx, byte [0x1005f077]
movsx eax, byte [0x1005f013]
cmp edx, eax
je 0x10013480
mov dword [ebp - 0x210], 1
jmp 0x1001348a
mov dword [ebp - 0x210], 0
mov eax, dword [ebp - 0x210]
not eax
cdq
mov dword [ebp - 0xae4], eax
mov dword [ebp - 0xae0], edx
mov ecx, dword [ebp - 0xae0]
cmp ecx, dword [0x1005f154]
jb 0x100134c9
ja 0x100134bd
mov edx, dword [ebp - 0xae4]
cmp edx, dword [0x1005f150]
jb 0x100134c9
mov dword [ebp - 0x214], 1
jmp 0x100134d3
mov dword [ebp - 0x214], 0
movsx eax, word [0x1005f0e0]
movsx ecx, word [0x1005f0e0]
cmp eax, ecx
jle 0x100134f9
xor edx, edx
mov dword [ebp - 0x76c], 1
mov dword [ebp - 0x768], edx
jmp 0x10013504
xorps xmm0, xmm0
movlpd qword [ebp - 0x76c], xmm0
mov eax, dword [0x1005f0e8]
cdq
xor eax, dword [0x1005f0f8]
xor edx, dword [0x1005f0fc]
mov dword [ebp - 0xaec], eax
mov dword [ebp - 0xae8], edx
mov eax, dword [ebp - 0x768]
cmp eax, dword [ebp - 0xae8]
jg 0x1001354c
jl 0x10013540
mov ecx, dword [ebp - 0x76c]
cmp ecx, dword [ebp - 0xaec]
jae 0x1001354c
mov dword [ebp - 0x218], 1
jmp 0x10013556
mov dword [ebp - 0x218], 0
mov edx, dword [ebp - 0x214]
cmp edx, dword [ebp - 0x218]
jle 0x1001365c
movzx eax, byte [ebp - 0x14]
cmp dword [ebp - 0x2c], eax
jl 0x100135e5
movzx ecx, byte [str.a_StartIdle_]
movzx edx, byte [0x1005f09f]
add ecx, edx
jne 0x1001358f
mov dword [ebp - 0x21c], 1
jmp 0x10013599
mov dword [ebp - 0x21c], 0
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x38], eax
mov ecx, dword [0x1005fc3c]
xor edx, edx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], edx
mov eax, dword [0x1005f0b4]
sub eax, 1
mov dword [0x1005f0b4], eax
movsx ecx, byte [0x1005f077]
movzx edx, byte [ebp - 0x16]
sub ecx, edx
mov byte [0x1005f077], cl
movzx eax, byte [ebp - 0x15]
movsx ecx, word [ebp - 0x20]
sub eax, ecx
movzx edx, byte [ebp - 0x15]
add edx, eax
mov byte [ebp - 0x15], dl
jmp 0x1001365a
cmp dword [ebp - 0x40], 0
jne 0x100135f7
mov dword [ebp - 0x220], 1
jmp 0x10013601
mov dword [ebp - 0x220], 0
cmp dword [ebp - 0x220], 0x8d
jge 0x1001365a
movzx eax, byte [ebp - 0x14]
test eax, eax
jne 0x1001365a
movsx ecx, byte [0x1005f0a5]
test ecx, ecx
jne 0x1001365a
mov edx, dword [ebp - 0x3c]
add edx, 0x2268ddad
mov byte [ebp - 0x12], dl
mov eax, dword [ebp - 0x3c]
cdq
mov dword [0x1005f150], eax
mov dword [0x1005f154], edx
movzx eax, byte [ebp - 0x14]
movzx ecx, byte [ebp - 0x11]
lea edx, [ecx + eax + 0x3cd9bdb0]
mov byte [ebp - 0x11], dl
movzx eax, byte [ebp - 0x17]
movzx ecx, byte [ebp - 0x13]
add eax, ecx
mov byte [ebp - 0x17], al
jmp 0x10013689
movsx edx, word [0x1005f110]
mov eax, dword [ebp - 0x40]
sub eax, edx
mov dword [ebp - 0x40], eax
mov cl, byte [0x1005f0e8]
mov byte [ebp - 0x15], cl
movsx edx, byte [0x1005f076]
mov eax, dword [ebp - 0x40]
imul eax, edx
mov ecx, dword [ebp - 0x40]
sub ecx, eax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x25c], 0
mov ecx, dword [ebp - 0x60]
mov esi, dword [ebp - 0x5c]
movsx eax, word [0x1005f108]
cdq
mov dword [ebp - 0xaf4], ecx
mov dword [ebp - 0xaf0], esi
mov dword [ebp - 0xafc], eax
mov dword [ebp - 0xaf8], edx
mov edx, dword [ebp - 0xaf4]
cmp edx, dword [ebp - 0xafc]
jne 0x100136e1
mov eax, dword [ebp - 0xaf0]
cmp eax, dword [ebp - 0xaf8]
jne 0x100136e1
mov dword [ebp - 0x224], 1
jmp 0x100136eb
mov dword [ebp - 0x224], 0
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0xb04], ecx
mov dword [ebp - 0xb00], edx
cmp dword [ebp - 0xb04], 0x5c
jne 0x1001371b
cmp dword [ebp - 0xb00], 0
jne 0x1001371b
mov dword [ebp - 0x228], 1
jmp 0x10013725
mov dword [ebp - 0x228], 0
mov eax, dword [ebp - 0x224]
cmp eax, dword [ebp - 0x228]
jg 0x100137e3
movzx ecx, word [0x1005f138]
cmp dword [0x1005f0b4], ecx
ja 0x100137b8
imul edx, dword [ebp - 0x38], 0x979ccf3
xor eax, eax
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x5c], eax
movzx ecx, byte [ebp - 0x13]
movzx edx, byte [ebp - 0x13]
sub ecx, edx
movzx eax, byte [ebp - 0x13]
and eax, ecx
mov byte [ebp - 0x13], al
movsx ecx, byte [0x1005f09e]
imul ecx, dword [0x1005f0e8]
mov edx, dword [0x1005f0e8]
sub edx, ecx
mov dword [0x1005f0e8], edx
movsx eax, byte [0x1005f077]
cdq
mov ecx, dword [0x1005f118]
mov esi, dword [0x1005f11c]
sub ecx, eax
sbb esi, edx
mov edx, dword [0x1005f118]
mov eax, dword [0x1005f11c]
sub edx, ecx
sbb eax, esi
mov dword [0x1005f118], edx
mov dword [0x1005f11c], eax
jmp 0x100137e3
mov dword [0x1005f0b4], 0x22114214
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x40], ecx
movsx eax, byte [ebp - 0x19]
cdq
add eax, dword [0x1005f0c8]
movsx edx, word [ebp - 0x20]
mov ecx, dword [ebp - 0x54]
add ecx, edx
add eax, ecx
mov byte [0x1005f013], al
mov dword [ebp - 0x38c], 0
movzx eax, byte [ebp - 0x12]
cdq
push edx
push eax
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ebp - 0x48]
push eax
call fcn.1003a730
mov ecx, dword [ebp - 0x48]
sub ecx, eax
mov eax, dword [ebp - 0x44]
sbb eax, edx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], eax
mov ecx, dword [0x1005f160]
mov edx, dword [0x1005f164]
and ecx, 0xa396394c
and edx, 0xd6fb4
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], edx
movzx eax, word [0x1005f128]
cdq
mov dword [0x1005f0b8], eax
mov dword [0x1005f0bc], edx
movsx eax, word [0x1005f0c0]
cdq
mov ecx, dword [ebp - 0x68]
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0xd08], edx
add eax, ecx
mov word [0x1005f0c0], ax
mov dword [ebp - 0x518], 0
cmp dword [ebp - 0x3c], 0
jne 0x1001387a
mov dword [ebp - 0x22c], 1
jmp 0x10013884
mov dword [ebp - 0x22c], 0
mov eax, dword [ebp - 0x38]
add eax, dword [ebp - 0x22c]
mov dword [ebp - 0x54], eax
imul ecx, dword [0x1005f104], 0x795a
mov word [0x1005f0c0], cx
mov dx, word [0x1005fc3c]
mov word [ebp - 0x24], dx
movsx eax, word [0x1005f0c0]
sub eax, dword [ebp - 0x40]
mov word [0x1005f0c0], ax
mov ecx, dword [0x1005f0f8]
add ecx, 0x359f
mov edx, dword [0x1005f0fc]
adc edx, 0
mov dword [0x1005f0d8], ecx
mov dword [0x1005f0dc], edx
movsx eax, byte [0x1005f077]
movzx ecx, byte [ebp - 0x14]
cmp eax, ecx
jge 0x10013978
mov dword [ebp - 0xe8], 0x4c
jmp 0x1001390b
mov edx, dword [ebp - 0xe8]
sub edx, 1
mov dword [ebp - 0xe8], edx
cmp dword [ebp - 0xe8], 0
jle 0x10013978
mov ax, word [ebp - 0x28]
mov byte [str.a_StartIdle_], al
movsx eax, byte [0x1005f077]
cdq
push edx
push eax
mov ecx, dword [0x1005f0dc]
push ecx
mov edx, dword [0x1005f0d8]
push edx
call fcn.1003a730
mov dword [0x1005f0d8], eax
mov dword [0x1005f0dc], edx
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0xde0], ecx
sub eax, 0xde
mov dword [ebp - 0x2c], eax
movsx edx, word [0x1005f0c0]
sub edx, dword [0x1005f0a0]
mov word [0x1005f0c0], dx
mov eax, dword [ebp - 0x38]
add eax, 1
mov dword [ebp - 0x38], eax
jmp 0x100138fc
mov dword [ebp - 0x258], 0
movzx eax, byte [ebp - 0x16]
cdq
mov dword [ebp - 0xb0c], eax
mov dword [ebp - 0xb08], edx
mov ecx, dword [0x1005f0a8]
cmp ecx, dword [ebp - 0xb0c]
jne 0x10013bd8
mov edx, dword [0x1005f0ac]
cmp edx, dword [ebp - 0xb08]
jne 0x10013bd8
mov dword [ebp - 0x38], 4
movsx eax, word [0x1005f114]
cdq
sub eax, dword [ebp - 0x34]
mov word [0x1005f114], ax
movsx eax, word [0x1005f108]
movsx ecx, byte [ebp - 0x19]
sub eax, ecx
movsx edx, word [0x1005f108]
sub edx, eax
mov word [0x1005f108], dx
movzx eax, byte [ebp - 0x14]
add eax, 0xa1
mov dword [0x1005f0e8], eax
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x230], ecx
cmp dword [ebp - 0x230], 4
ja case.default.0x10013a16
mov edx, dword [ebp - 0x230]
jmp dword [edx*4 + 0x1001f13c]
movzx eax, word [0x1005f10c]
mov ecx, 4
imul edx, ecx, 0x92
mov dword [edx + 0x102b27c0], eax
mov eax, 0x5bc
mov word [0x1005f138], ax
movzx ecx, word [0x1005f128]
add ecx, 0x1d36
mov word [0x1005f10c], cx
jmp case.default.0x10013a16
mov eax, dword [0x1005f0d0]
sub eax, 0xbe64
cdq
mov dword [0x1005f120], eax
mov dword [0x1005f124], edx
movsx eax, word [ebp - 0x24]
cdq
add eax, dword [ebp - 0x34]
mov word [ebp - 0x24], ax
movsx edx, word [ebp - 0x20]
add edx, dword [ebp - 0x58]
movsx eax, word [ebp - 0x20]
sub eax, edx
mov word [ebp - 0x20], ax
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x5c]
push 0
push 0x407d
push edx
push ecx
call fcn.1003a730
mov byte [0x1005f03b], al
mov eax, dword [ebp - 0x50]
or eax, dword [ebp - 0x4c]
je 0x10013ac1
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x774], ecx
mov dword [ebp - 0x770], edx
jmp 0x10013ad2
movsx eax, word [ebp - 0x24]
cdq
mov dword [ebp - 0x774], eax
mov dword [ebp - 0x770], edx
mov al, byte [ebp - 0x774]
mov byte [ebp - 0x19], al
jmp case.default.0x10013a16
movzx eax, byte [ebp - 0x16]
xor eax, 0x28a6
cdq
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], edx
movsx ecx, word [ebp - 0x24]
add ecx, 0x93
mov word [0x1005f15c], cx
mov byte [ebp - 0x12], 8
movsx edx, word [0x1005f0e0]
shl edx, 3
mov byte [ebp - 0x16], dl
jmp case.default.0x10013a16
movzx eax, word [0x1005f158]
not eax
cdq
mov ecx, dword [ebp - 0x68]
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0xd0c], edx
sub eax, ecx
xor ecx, ecx
sub ecx, eax
mov dword [ebp - 0x40], ecx
movzx edx, word [ebp - 0x28]
sub edx, dword [ebp - 0x6c]
mov word [ebp - 0x28], dx
mov eax, dword [ebp - 0x3c]
cdq
mov ecx, eax
add ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x3c]
cdq
add eax, ecx
mov dword [ebp - 0x3c], eax
mov edx, 0xaf
mov word [0x1005f0ec], dx
movzx eax, word [0x1005f10c]
add eax, 0xf3
mov byte [0x1005f013], al
jmp case.default.0x10013a16
mov eax, dword [ebp - 0x40]
cdq
add eax, dword [0x1005f0d8]
mov dword [ebp - 0x40], eax
mov eax, dword [0x1005f0d0]
cdq
mov ecx, eax
mov edx, dword [0x1005f120]
mov eax, dword [0x1005f124]
mov dword [ebp - 0xd10], eax
add ecx, edx
mov eax, dword [0x1005f0d0]
cdq
add eax, ecx
mov dword [0x1005f0d0], eax
movzx ecx, byte [0x1005f09f]
movzx edx, byte [ebp - 0x17]
add ecx, edx
mov byte [0x1005f09f], cl
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
sub eax, 0x98
sbb ecx, 0
mov dword [0x1005f130], eax
mov dword [0x1005f134], ecx
jmp 0x10013dbc
cmp dword [ebp - 0x38], 0
je 0x10013c81
movzx edx, word [0x1005f138]
not edx
mov word [ebp - 0x20], dx
mov eax, dword [ebp - 0x54]
sub eax, 0x66
mov ecx, dword [0x1005f0e4]
and ecx, eax
mov dword [0x1005f0e4], ecx
mov edx, dword [0x1005f118]
mov eax, dword [0x1005f11c]
mov dword [ebp - 0xb14], edx
mov dword [ebp - 0xb10], eax
mov ecx, dword [ebp - 0xb14]
or ecx, dword [ebp - 0xb10]
je 0x10013c34
movzx edx, byte [ebp - 0x11]
mov dword [ebp - 0x234], edx
jmp 0x10013c3e
movsx eax, byte [ebp - 0x19]
mov dword [ebp - 0x234], eax
mov eax, dword [ebp - 0x234]
cdq
mov dword [0x1005f140], eax
mov dword [0x1005f144], edx
mov dword [0x1005f0b0], 0xb39b6e91
movsx eax, word [ebp - 0x20]
cdq
mov ecx, dword [0x1005f118]
mov edx, dword [0x1005f11c]
mov dword [ebp - 0xd14], edx
not ecx
add eax, ecx
not eax
mov dword [0x1005f104], eax
jmp 0x10013dbc
movsx eax, word [ebp - 0x20]
test eax, eax
je 0x10013ce4
mov ecx, dword [0x1005f100]
add ecx, 0x411a
xor edx, edx
mov dword [0x1005f0d8], ecx
mov dword [0x1005f0dc], edx
movsx eax, word [0x1005f0e0]
cdq
mov ecx, eax
add ecx, dword [ebp - 0x48]
movzx edx, byte [ebp - 0x13]
mov eax, dword [ebp - 0x2c]
sub eax, edx
cdq
and ecx, eax
mov byte [ebp - 0x11], cl
mov eax, dword [0x1005f0e8]
sub eax, 0xe5
cdq
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
mov eax, dword [0x1005f0b4]
add eax, 0x82ee
mov byte [0x1005f09f], al
jmp 0x10013dbc
cmp dword [ebp - 0x6c], 0
je 0x10013dbc
movsx eax, byte [0x1005f04f]
cdq
xor eax, 0x6271ab57
xor edx, 0xe0082
mov dword [0x1005f0b8], eax
mov dword [0x1005f0bc], edx
movzx ecx, byte [ebp - 0x12]
add ecx, 0x3b
mov byte [0x1005f076], cl
mov edx, 0x2092
mov word [0x1005f108], dx
mov eax, dword [0x1005f0a8]
not eax
mov ecx, dword [0x1005f0ac]
not ecx
sub eax, 0xd6064bbc
sbb ecx, 0
mov dword [ebp - 0xb1c], eax
mov dword [ebp - 0xb18], ecx
mov edx, dword [ebp - 0xb1c]
or edx, dword [ebp - 0xb18]
jne 0x10013d62
mov dword [ebp - 0x238], 1
jmp 0x10013d6c
mov dword [ebp - 0x238], 0
cmp dword [0x1005f0d0], 0
jne 0x10013d89
xor eax, eax
mov dword [ebp - 0x77c], 1
mov dword [ebp - 0x778], eax
jmp 0x10013d94
xorps xmm0, xmm0
movlpd qword [ebp - 0x77c], xmm0
mov eax, 0x7feb7e01
sub eax, dword [ebp - 0x238]
cdq
mov ecx, dword [ebp - 0x77c]
sub ecx, dword [ebp - 0x48]
mov esi, dword [ebp - 0x778]
sbb esi, dword [ebp - 0x44]
sub eax, ecx
sbb edx, esi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
mov dword [ebp - 0xa18], 0
movzx edx, word [0x1005f10c]
sub edx, 0xf5f7
mov word [0x1005f128], dx
mov eax, dword [0x1005f0f8]
add eax, 0x3e
mov dword [ebp - 0x58], eax
movsx ecx, byte [0x1005f077]
movsx edx, byte [0x1005f03b]
imul ecx, edx
movsx eax, byte [0x1005f077]
sub eax, ecx
mov byte [0x1005f077], al
mov dword [ebp - 0x388], 0
mov dword [ebp - 0xec], 0x235e
movzx eax, word [0x1005f138]
cdq
mov ecx, 8
imul ecx, ecx, 0xa53a
mov dword [ecx + 0x10335cf8], eax
mov dword [ecx + 0x10335cfc], edx
movzx eax, word [0x1005f10c]
cdq
mov ecx, dword [ebp - 0x48]
sub ecx, eax
mov eax, dword [ebp - 0x44]
sbb eax, edx
push eax
push ecx
mov ecx, dword [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x48]
push edx
call fcn.1003a730
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
movzx eax, byte [ebp - 0x11]
test eax, eax
jne 0x10013e72
mov dword [ebp - 0x23c], 1
jmp 0x10013e7c
mov dword [ebp - 0x23c], 0
movzx ecx, byte [ebp - 0x11]
not ecx
xor ecx, dword [ebp - 0x23c]
mov dword [0x1005f0e4], ecx
movsx edx, word [0x1005f0c0]
sub edx, 0x55
mov eax, dword [ebp - 0x3c]
imul eax, edx
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x68]
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0xd18], edx
mov eax, 1
imul edx, eax, 0x37
mov byte [edx + 0x101b0b60], cl
movsx eax, byte [0x1005f077]
shl eax, 1
mov byte [0x1005f09e], al
cmp dword [ebp - 0xec], 0x228c
jle 0x10013f40
movsx ecx, word [0x1005f108]
add ecx, 0xb470
mov byte [0x1005f0a4], cl
mov dword [0x1005f104], 4
movzx edx, byte [ebp - 0x16]
add edx, 0xec
movsx eax, word [0x1005f110]
and eax, edx
mov word [0x1005f110], ax
movsx eax, byte [0x1005f0a5]
cdq
sub eax, dword [0x1005f130]
mov byte [0x1005f0a5], al
movsx ecx, word [ebp - 0x24]
mov edx, dword [ebp - 0x2c]
sub edx, ecx
mov eax, dword [ebp - 0x2c]
xor eax, edx
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0xec]
sub ecx, 1
mov dword [ebp - 0xec], ecx
jmp 0x10013ec9
mov dword [ebp - 0x818], 0
mov edx, dword [0x1005f160]
mov eax, dword [0x1005f164]
mov dword [ebp - 0xb24], edx
mov dword [ebp - 0xb20], eax
mov ecx, dword [ebp - 0xb24]
or ecx, dword [ebp - 0xb20]
je 0x1001402b
mov edx, dword [0x1005f0e4]
not edx
movsx eax, word [0x1005f110]
add edx, eax
movzx ecx, byte [ebp - 0x16]
add ecx, dword [ebp - 0x54]
add edx, ecx
mov esi, edx
movsx eax, byte [0x1005f077]
cdq
mov ecx, eax
mov edi, edx
sub ecx, dword [ebp - 0x48]
sbb edi, dword [ebp - 0x44]
not ecx
not edi
movzx eax, byte [ebp - 0x15]
cdq
push edx
push eax
push edi
push ecx
call fcn.1003a730
add esi, eax
mov word [ebp - 0x28], si
mov edx, 1
imul eax, edx, 0x38bd
mov cl, byte [ebp - 0x24]
mov byte [eax + 0x100e2ce0], cl
mov edx, dword [ebp - 0x58]
add edx, 0x5342
mov dword [0x1005f0d0], edx
movzx eax, byte [ebp - 0x11]
movzx ecx, byte [ebp - 0x11]
add eax, ecx
jne 0x10013ff4
mov dword [ebp - 0x240], 1
jmp 0x10013ffe
mov dword [ebp - 0x240], 0
movsx eax, word [ebp - 0x20]
movzx edx, byte [ebp - 0x14]
sub eax, edx
imul eax, dword [ebp - 0x240]
cdq
mov dword [0x1005f0d8], eax
mov dword [0x1005f0dc], edx
movzx eax, byte [str.a_StartIdle_]
add eax, 0x16
mov word [0x1005f158], ax
mov dword [ebp - 0x514], 0
movsx ecx, word [ebp - 0x20]
test ecx, ecx
je 0x10014279
cmp dword [ebp - 0x38], 0
jne 0x10014053
mov edx, dword [ebp - 0x50]
or edx, dword [ebp - 0x4c]
je 0x10014277
mov eax, dword [ebp - 0x54]
xor ecx, ecx
mov edx, dword [ebp - 0x60]
mov esi, dword [ebp - 0x5c]
mov dword [ebp - 0xb2c], eax
mov dword [ebp - 0xb28], ecx
mov dword [ebp - 0xb34], edx
mov dword [ebp - 0xb30], esi
mov eax, dword [ebp - 0xb2c]
cmp eax, dword [ebp - 0xb34]
jne 0x1001409e
mov ecx, dword [ebp - 0xb28]
cmp ecx, dword [ebp - 0xb30]
jne 0x1001409e
mov dword [ebp - 0x244], 1
jmp 0x100140a8
mov dword [ebp - 0x244], 0
cmp dword [ebp - 0x54], 0x36
jne 0x100140ba
mov dword [ebp - 0x248], 1
jmp 0x100140c4
mov dword [ebp - 0x248], 0
mov edx, dword [ebp - 0x244]
cmp edx, dword [ebp - 0x248]
jl 0x1001424a
mov eax, 1
mov word [ebp - 0x28], ax
mov ecx, dword [0x1005f104]
shr ecx, 3
mov dword [ebp - 0x38], ecx
mov byte [0x1005f013], 0x3b
movsx eax, byte [str._CpuC3StatesChanges]
cdq
xor eax, 0x58414334
mov byte [ebp - 0x18], al
movzx edx, word [ebp - 0x28]
mov dword [ebp - 0x24c], edx
cmp dword [ebp - 0x24c], 0
je 0x10014123
cmp dword [ebp - 0x24c], 1
je 0x10014173
jmp 0x10014248
movzx eax, byte [ebp - 0x11]
movzx ecx, word [0x1005f0ec]
sub eax, ecx
movzx edx, byte [ebp - 0x11]
sub edx, eax
mov byte [ebp - 0x11], dl
mov eax, dword [0x1005fc3c]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x17], 1
mov eax, dword [ebp - 0x3c]
add eax, 0x91c9
cdq
mov ecx, dword [0x1005f118]
mov esi, dword [0x1005f11c]
push edx
push eax
push esi
push ecx
call fcn.1003a730
mov dword [0x1005f118], eax
mov dword [0x1005f11c], edx
jmp 0x10014248
mov edx, dword [0x1005f120]
mov eax, dword [0x1005f124]
mov ecx, dword [0x1005f120]
mov esi, dword [0x1005f124]
push esi
push ecx
push eax
push edx
call fcn.1003a730
mov ecx, eax
mov esi, edx
movzx eax, word [0x1005f158]
cdq
add eax, dword [ebp - 0x34]
adc edx, dword [ebp - 0x30]
push edx
push eax
push esi
push ecx
call fcn.1003a730
mov dword [ebp - 0xb3c], eax
mov dword [ebp - 0xb38], edx
mov edx, dword [ebp - 0xb3c]
or edx, dword [ebp - 0xb38]
jne 0x100141d4
mov dword [ebp - 0x250], 1
jmp 0x100141de
mov dword [ebp - 0x250], 0
mov eax, dword [ebp - 0x38]
sub eax, dword [ebp - 0x250]
mov dword [0x1005f100], eax
movzx ecx, byte [str.a_StartIdle_]
and ecx, 0x7b
movzx edx, byte [ebp - 0x12]
imul edx, ecx
mov byte [ebp - 0x12], dl
movsx eax, byte [ebp - 0x18]
cdq
add eax, 0x8f3d1e29
adc edx, 0x6a7dd
mov dword [0x1005f140], eax
mov dword [0x1005f144], edx
movzx eax, byte [ebp - 0x14]
sub eax, 0xfb4b
mov byte [ebp - 0x13], al
mov ecx, 0x5604
mov word [ebp - 0x28], cx
push 0
push 0xce
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ebp - 0x48]
push eax
call fcn.1003a730
mov word [ebp - 0x20], ax
jmp 0x10014277
movsx ecx, word [ebp - 0x24]
test ecx, ecx
je 0x10014277
mov edx, dword [ebp - 0x48]
not edx
mov word [0x1005f108], dx
movsx eax, byte [str._CpuC3StatesChanges]
cdq
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x54]
xor eax, 0x1b31
mov byte [ebp - 0x15], al
jmp 0x100142c2
movzx ecx, byte [ebp - 0x14]
cmp dword [ebp - 0x2c], ecx
jl 0x100142c2
mov edx, dword [0x1005fc3c]
mov dword [ebp - 0x3c], edx
mov byte [0x1005f0a5], 8
mov eax, dword [0x1005f0b8]
or eax, dword [0x1005f0bc]
je 0x100142ad
mov ecx, dword [0x1005f0d0]
mov dword [ebp - 0x254], ecx
jmp 0x100142b7
movsx edx, word [ebp - 0x24]
mov dword [ebp - 0x254], edx
mov al, byte [ebp - 0x254]
mov byte [0x1005f09e], al
mov dword [ebp - 0x86c], 0
xor ecx, ecx
mov byte [ebp - 0x7b], cl
lea edx, [ebp - 0x101a]
push edx
lea ecx, [ebp - 0x7b]
call fcn.100027a0
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], 0
jmp 0x10014301
mov eax, dword [ebp - 0x90]
add eax, 1
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0x1e
jae 0x10014363
mov ecx, dword [ebp - 0x90]
mov edx, dword [ebp - 0x94]
lea eax, [edx + ecx*2 + 2]
mov dword [ebp - 0xa0c], eax
mov ecx, dword [ebp - 0xa0c]
movzx edx, word [ecx]
mov eax, dword [ebp - 0x94]
movsx ecx, byte [eax]
xor edx, ecx
mov word [ebp - 0x192], dx
mov edx, dword [ebp - 0x90]
mov eax, dword [ebp - 0x94]
lea ecx, [eax + edx*2 + 2]
mov dword [ebp - 0xa10], ecx
mov edx, dword [ebp - 0xa10]
mov ax, word [ebp - 0x192]
mov word [edx], ax
jmp 0x100142f2
mov ecx, 0x1e
shl ecx, 1
mov edx, dword [ebp - 0x94]
lea eax, [edx + ecx + 2]
mov dword [ebp - 0xa14], eax
xor ecx, ecx
mov edx, dword [ebp - 0xa14]
mov word [edx], cx
mov eax, dword [ebp - 0x94]
add eax, 2
mov dword [ebp - 0xa1c], eax
lea ecx, [ebp - 0xa18]
push ecx
lea edx, [ebp - 0x258]
push edx
mov eax, dword [ebp - 0xa1c]
push eax
call fcn.10004ce0
movzx ecx, byte [ebp - 0x15]
add ecx, dword [ebp - 0x54]
movzx edx, byte [ebp - 0x15]
add edx, ecx
mov byte [ebp - 0x15], dl
mov eax, dword [0x1005f0d0]
add eax, 0x58
movsx ecx, byte [ebp - 0x19]
sub ecx, eax
mov byte [ebp - 0x19], cl
mov edx, dword [ebp - 0x54]
sub edx, 1
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x5c]
mov ecx, dword [0x1005f0d8]
sub ecx, dword [ebp - 0x60]
mov edx, dword [0x1005f0dc]
sbb edx, eax
mov dword [0x1005f0d8], ecx
mov dword [0x1005f0dc], edx
lea eax, [ebp - 0x25c]
push eax
mov ecx, dword [ebp - 0x258]
push ecx
call fcn.10027a00
mov dword [ebp - 0xfc], eax
mov edx, dword [ebp - 0x25c]
push edx
mov eax, dword [ebp - 0xfc]
push eax
push 0x27
push 0x1004d47c
call fcn.1001f3f0
push 0x40
mov ecx, dword [ebp - 0xfc]
push ecx
lea edx, [ebp - 0xf1c]
push edx
call fcn.10020a90
mov eax, dword [0x1005f0f0]
not eax
mov ecx, dword [0x1005f0f4]
not ecx
add eax, dword [0x1005f0f0]
adc ecx, dword [0x1005f0f4]
mov dword [ebp - 0xb44], eax
mov dword [ebp - 0xb40], ecx
mov edx, dword [ebp - 0xb44]
or edx, dword [ebp - 0xb40]
jne 0x10014489
xor eax, eax
mov dword [ebp - 0x784], 1
mov dword [ebp - 0x780], eax
jmp 0x10014494
xorps xmm0, xmm0
movlpd qword [ebp - 0x784], xmm0
mov eax, dword [ebp - 0x40]
cdq
mov ecx, dword [0x1005f120]
mov esi, dword [0x1005f124]
sub ecx, eax
sbb esi, edx
push esi
push ecx
mov edx, dword [ebp - 0x780]
push edx
mov eax, dword [ebp - 0x784]
push eax
call fcn.1003a730
mov dword [ebp - 0xb4c], eax
mov dword [ebp - 0xb48], edx
mov ecx, dword [ebp - 0xb4c]
or ecx, dword [ebp - 0xb48]
jne 0x100144dd
mov byte [ebp - 0x74], 1
jmp 0x100144e1
mov byte [ebp - 0x74], 0
mov dl, byte [ebp - 0x74]
mov byte [ebp - 0x17], dl
movzx eax, byte [ebp - 0x11]
sub eax, 0x389c7587
mov byte [ebp - 0x13], al
movzx ecx, word [ebp - 0x28]
movzx edx, byte [ebp - 0x13]
imul ecx, edx
movzx eax, word [ebp - 0x28]
sub eax, ecx
mov word [ebp - 0x28], ax
imul ecx, dword [ebp - 0xf0], 0x26d
mov edx, dword [ebp - 0x260]
imul edx, dword [ebp - 0xf0]
sub ecx, edx
mov eax, dword [ebp - 0x260]
xor eax, dword [ebp - 0xf0]
cmp ecx, eax
je 0x10016d70
cmp dword [ebp - 0x54], 0
je 0x100147e7
cmp dword [ebp - 0x2c], 0
je 0x10014604
movsx eax, byte [ebp - 0x18]
cdq
mov ecx, dword [ebp - 0x44]
push ecx
mov ecx, dword [ebp - 0x48]
push ecx
push edx
push eax
call fcn.1003a730
mov dword [ebp - 0x2c], eax
movsx edx, byte [0x1005f04f]
imul eax, edx, 0x4dbf
mov word [ebp - 0x20], ax
mov byte [ebp - 0x12], 0xaa
movsx ecx, word [0x1005f108]
not ecx
mov edx, dword [0x1005f0e4]
add edx, ecx
jne 0x10014594
mov dword [ebp - 0x264], 1
jmp 0x1001459e
mov dword [ebp - 0x264], 0
movzx eax, byte [ebp - 0x11]
add eax, dword [ebp - 0x264]
mov word [ebp - 0x24], ax
mov ecx, dword [0x1005f0d8]
or ecx, dword [0x1005f0dc]
je 0x100145ce
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x78c], edx
mov dword [ebp - 0x788], eax
jmp 0x100145e0
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x78c], ecx
mov dword [ebp - 0x788], edx
mov al, byte [ebp - 0x78c]
mov byte [ebp - 0x17], al
mov ecx, dword [0x1005f0b0]
add ecx, 0xa03565ed
movsx eax, byte [ebp - 0x19]
cdq
or eax, ecx
mov byte [ebp - 0x19], al
jmp 0x100147e2
movzx edx, byte [ebp - 0x15]
test edx, edx
je 0x10014660
movzx eax, byte [ebp - 0x17]
cdq
mov ecx, dword [0x1005f118]
mov esi, dword [0x1005f11c]
add ecx, eax
adc esi, edx
mov edx, dword [0x1005f118]
mov eax, dword [0x1005f11c]
xor edx, ecx
xor eax, esi
mov dword [0x1005f118], edx
mov dword [0x1005f11c], eax
movzx ecx, byte [ebp - 0x14]
imul edx, ecx, 0xc
mov eax, dword [0x1005f0b0]
sub eax, edx
mov dword [0x1005f0b0], eax
movzx ecx, byte [ebp - 0x15]
sub ecx, dword [0x1005f0b0]
mov byte [ebp - 0x15], cl
jmp 0x100147e2
mov edx, dword [ebp - 0x38]
cmp dword [0x1005f0e8], edx
jne 0x1001474d
movsx eax, word [0x1005f114]
movsx ecx, word [0x1005f110]
sub eax, ecx
movsx edx, word [0x1005f114]
sub edx, eax
mov word [0x1005f114], dx
mov eax, dword [ebp - 0x2c]
sub eax, 0x62
cdq
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], edx
movzx eax, word [0x1005f0ec]
cdq
xor eax, dword [0x1005f0f8]
xor edx, dword [0x1005f0fc]
mov dword [0x1005f0f8], eax
mov dword [0x1005f0fc], edx
movzx eax, byte [ebp - 0x12]
cdq
mov ecx, 0x4396ed1a
sub ecx, eax
mov esi, 0xa9fe0
sbb esi, edx
not ecx
not esi
movsx eax, byte [ebp - 0x18]
movzx edx, byte [ebp - 0x14]
sub eax, edx
cdq
and ecx, eax
and esi, edx
mov dword [ebp - 0xb54], ecx
mov dword [ebp - 0xb50], esi
mov eax, dword [ebp - 0xb54]
or eax, dword [ebp - 0xb50]
jne 0x1001470f
xor ecx, ecx
mov dword [ebp - 0x794], 1
mov dword [ebp - 0x790], ecx
jmp 0x1001471a
xorps xmm0, xmm0
movlpd qword [ebp - 0x794], xmm0
mov edx, dword [ebp - 0x794]
mov eax, dword [ebp - 0x790]
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x5c], eax
movsx ecx, byte [0x1005f077]
sub ecx, dword [0x1005f104]
movsx edx, byte [0x1005f077]
or edx, ecx
mov byte [0x1005f077], dl
jmp 0x100147e2
movzx eax, word [ebp - 0x28]
not eax
movzx ecx, byte [ebp - 0x14]
cmp eax, ecx
jge 0x1001476f
xor edx, edx
mov dword [ebp - 0x79c], 1
mov dword [ebp - 0x798], edx
jmp 0x1001477a
xorps xmm0, xmm0
movlpd qword [ebp - 0x79c], xmm0
mov eax, dword [0x1005f154]
cmp eax, dword [ebp - 0x798]
jb 0x100147e2
ja 0x10014797
mov ecx, dword [0x1005f150]
cmp ecx, dword [ebp - 0x79c]
jbe 0x100147e2
movzx eax, word [0x1005f138]
cdq
push edx
push eax
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x34]
push eax
call fcn.1003a730
mov ecx, dword [ebp - 0x34]
sub ecx, eax
mov eax, dword [ebp - 0x30]
sbb eax, edx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], eax
mov ecx, dword [0x1005fc3c]
xor edx, edx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], edx
movsx eax, byte [0x1005f076]
mov ecx, dword [ebp - 0x40]
imul ecx, eax
mov edx, dword [ebp - 0x40]
imul edx, ecx
mov dword [ebp - 0x40], edx
jmp 0x100148d3
cmp dword [0x1005f104], 0
jne 0x10014804
xor eax, eax
mov dword [ebp - 0x7a4], 1
mov dword [ebp - 0x7a0], eax
jmp 0x1001480f
xorps xmm0, xmm0
movlpd qword [ebp - 0x7a4], xmm0
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0xb5c], ecx
mov dword [ebp - 0xb58], edx
mov eax, dword [ebp - 0xb58]
cmp eax, dword [ebp - 0x7a0]
ja 0x1001484b
jb 0x1001483f
mov ecx, dword [ebp - 0xb5c]
cmp ecx, dword [ebp - 0x7a4]
jae 0x1001484b
mov dword [ebp - 0x268], 1
jmp 0x10014855
mov dword [ebp - 0x268], 0
mov edx, dword [ebp - 0x54]
cmp edx, dword [ebp - 0x268]
jne 0x100148d3
movsx eax, byte [ebp - 0x19]
not eax
mov word [ebp - 0x20], ax
mov ecx, 8
imul ecx, ecx, 0x53
movsx eax, byte [0x1005f076]
cdq
mov esi, dword [ecx + 0x100e7934]
push esi
mov ecx, dword [ecx + 0x100e7930]
push ecx
push edx
push eax
call fcn.1003a730
mov byte [0x1005f076], al
mov edx, dword [ebp - 0x38]
imul edx, dword [0x1005f0b4]
mov dword [ebp - 0x38], edx
movsx eax, byte [ebp - 0x19]
movsx ecx, byte [0x1005f04f]
sub eax, ecx
mov byte [ebp - 0x19], al
movsx edx, word [ebp - 0x20]
sub edx, 0xc7d1
mov word [0x1005f128], dx
movzx eax, byte [ebp - 0x12]
sub eax, 0xacd3
mov ecx, dword [ebp - 0x38]
add ecx, eax
mov dword [ebp - 0x38], ecx
movsx edx, word [ebp - 0x24]
cmp edx, dword [ebp - 0x40]
je 0x100148e8
mov dword [ebp - 0x26c], 1
jmp 0x100148f2
mov dword [ebp - 0x26c], 0
movsx eax, word [ebp - 0x24]
cmp eax, 0x35
je 0x10014907
mov dword [ebp - 0x270], 1
jmp 0x10014911
mov dword [ebp - 0x270], 0
mov ecx, dword [ebp - 0x26c]
cmp ecx, dword [ebp - 0x270]
jge 0x10014ad5
xor edx, edx
mov dword [0x1005f0f0], 1
mov dword [0x1005f0f4], edx
mov eax, dword [0x1005fc3c]
mov dword [0x1005f0e8], eax
mov byte [ebp - 0x13], 0x85
movsx ecx, byte [0x1005f013]
add ecx, 0x50a96a6c
mov dword [ebp - 0x40], ecx
movsx edx, byte [0x1005f0a5]
imul eax, edx, 0xd4
mov dword [ebp - 0x54], eax
movsx ecx, word [0x1005f114]
mov dword [ebp - 0x54], ecx
mov edx, dword [0x1005f130]
sub edx, 0x2e
mov byte [0x1005f0a4], dl
mov eax, dword [0x1005f0f0]
mov ecx, dword [0x1005f0f4]
mov dword [ebp - 0x57c], eax
mov dword [ebp - 0x578], ecx
mov edx, dword [ebp - 0x57c]
or edx, dword [ebp - 0x578]
je 0x100149bc
cmp dword [ebp - 0x57c], 1
jne 0x100149b7
cmp dword [ebp - 0x578], 0
je 0x10014a85
jmp 0x10014ad3
mov eax, dword [ebp - 0x2c]
imul eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x2c]
or ecx, eax
mov dword [ebp - 0x2c], ecx
movzx edx, byte [ebp - 0x11]
movsx eax, byte [str._CpuC3StatesChanges]
sub edx, eax
movzx ecx, byte [ebp - 0x11]
add ecx, edx
mov byte [ebp - 0x11], cl
movzx edx, byte [ebp - 0x14]
imul eax, edx, 0xa2ca
mov byte [ebp - 0x12], al
cmp dword [ebp - 0x38], 0
jne 0x10014a00
mov dword [ebp - 0x274], 1
jmp 0x10014a0a
mov dword [ebp - 0x274], 0
movsx eax, word [ebp - 0x20]
cdq
mov ecx, eax
mov esi, edx
mov edx, dword [ebp - 0x34]
add edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x30]
adc eax, dword [ebp - 0x4c]
add ecx, edx
adc esi, eax
movzx eax, word [0x1005f148]
add eax, dword [ebp - 0x274]
movzx edx, word [0x1005f148]
movsx edi, byte [ebp - 0x19]
imul edx, edi
add eax, edx
cdq
push edx
push eax
push esi
push ecx
call fcn.1003a730
mov dword [0x1005f140], eax
mov dword [0x1005f144], edx
push 0
push 0xd327
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.1003a730
mov ecx, eax
mov esi, edx
movzx eax, byte [str.a_StartIdle_]
cdq
push esi
push ecx
push edx
push eax
call fcn.1003a730
mov byte [str.a_StartIdle_], al
jmp 0x10014ad3
movsx edx, byte [0x1005f09e]
test edx, edx
je 0x10014a9c
movsx eax, word [ebp - 0x24]
mov dword [ebp - 0x278], eax
jmp 0x10014aa9
movsx ecx, byte [0x1005f077]
mov dword [ebp - 0x278], ecx
mov eax, dword [ebp - 0x278]
cdq
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], edx
movsx edx, byte [0x1005f077]
mov eax, 4
imul ecx, eax, 0x19
mov dword [ecx + 0x10093290], edx
imul edx, dword [ebp - 0x2c], 0x1a
mov word [ebp - 0x24], dx
jmp 0x10014afc
mov eax, dword [0x1005fc3c]
xor ecx, ecx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
mov dl, byte [0x1005fc3c]
mov byte [0x1005f013], dl
movzx eax, byte [ebp - 0x14]
sub eax, 0x217a
mov byte [0x1005f04f], al
movzx ecx, word [ebp - 0xf1c]
cmp ecx, 0x5a4d
jne 0x10016d70
mov edx, 1
mov word [0x1005f138], dx
movzx eax, byte [ebp - 0x15]
imul ecx, eax, 0x966ee7d8
xor edx, edx
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x64], edx
mov eax, dword [0x1005f0b0]
sub eax, 0x2f
mov byte [0x1005f077], al
movsx ecx, word [ebp - 0x20]
mov dword [0x1005f100], ecx
mov ecx, dword [ebp - 0x68]
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0xd1c], edx
sub ecx, 0x27b9
movsx eax, byte [ebp - 0x18]
cdq
sub eax, ecx
mov byte [ebp - 0x18], al
movsx eax, word [0x1005f0e0]
imul ecx, eax, 0x8c
mov byte [0x1005f04f], cl
movsx edx, word [ebp - 0x20]
movsx eax, byte [0x1005f09e]
add edx, eax
mov word [ebp - 0x20], dx
movzx ecx, word [0x1005f138]
mov dword [ebp - 0x27c], ecx
cmp dword [ebp - 0x27c], 0
je 0x10014ba8
cmp dword [ebp - 0x27c], 1
je 0x10014c17
jmp 0x10014c50
mov ecx, dword [0x1005f118]
mov edx, dword [0x1005f11c]
mov dword [ebp - 0xd20], edx
not ecx
movsx eax, byte [0x1005f03b]
cdq
sub ecx, eax
movzx eax, byte [0x1005f0a4]
not eax
cdq
add ecx, eax
not ecx
mov byte [0x1005f04f], cl
mov eax, dword [ebp - 0x2c]
sub eax, 0xe7
mov word [0x1005f15c], ax
movzx ecx, byte [ebp - 0x13]
mov edx, 4
imul eax, edx, 0x21
mov dword [eax + 0x10103b20], ecx
movsx ecx, byte [0x1005f0a5]
movzx edx, word [ebp - 0x28]
add ecx, edx
mov byte [0x1005f0a5], cl
mov eax, dword [0x1005fc3c]
mov dword [ebp - 0x2c], eax
jmp 0x10014c50
movsx eax, word [ebp - 0x24]
sub eax, 0x3252
cdq
push edx
push eax
mov ecx, dword [0x1005f0f4]
push ecx
mov edx, dword [0x1005f0f0]
push edx
call fcn.1003a730
mov dword [0x1005f0f0], eax
mov dword [0x1005f0f4], edx
mov byte [str.a_StartIdle_], 0x30
mov eax, dword [ebp - 0x34]
mov dword [0x1005f0d0], eax
mov dword [ebp - 4], 0xa
movzx eax, word [0x1005f10c]
cdq
mov ecx, dword [ebp - 0x68]
mov esi, dword [ebp - 0x64]
mov dword [ebp - 0xb64], eax
mov dword [ebp - 0xb60], edx
mov dword [ebp - 0xb6c], ecx
mov dword [ebp - 0xb68], esi
mov edx, dword [ebp - 0xb60]
cmp edx, dword [ebp - 0xb68]
jb 0x10014cc0
ja 0x10014c9b
mov eax, dword [ebp - 0xb64]
cmp eax, dword [ebp - 0xb6c]
jb 0x10014cc0
movzx eax, byte [ebp - 0x16]
cdq
add eax, dword [ebp - 0x48]
adc edx, dword [ebp - 0x44]
push edx
push eax
mov ecx, dword [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x48]
push edx
call fcn.1003a730
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
jmp 0x10014da9
movsx eax, byte [0x1005f09e]
test eax, eax
jne 0x10014cd7
mov dword [ebp - 0x280], 1
jmp 0x10014ce1
mov dword [ebp - 0x280], 0
cmp dword [ebp - 0x280], 0x5f
jle 0x10014cf6
mov dword [ebp - 0x284], 1
jmp 0x10014d00
mov dword [ebp - 0x284], 0
cmp dword [ebp - 0x284], 0
jg 0x10014da9
movzx ecx, word [0x1005f148]
movsx edx, word [0x1005f0c0]
imul ecx, edx
mov word [0x1005f148], cx
movzx eax, byte [ebp - 0x12]
movsx ecx, word [ebp - 0x24]
sub eax, ecx
movzx edx, byte [ebp - 0x12]
sub edx, eax
mov byte [ebp - 0x12], dl
movzx eax, byte [ebp - 0x13]
add eax, dword [ebp - 0x3c]
movzx ecx, byte [ebp - 0x13]
imul ecx, eax
mov byte [ebp - 0x13], cl
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x64]
sub edx, 1
sbb eax, 0
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x64], eax
movzx eax, word [0x1005f158]
cdq
mov ecx, dword [0x1005f120]
mov esi, dword [0x1005f124]
sub ecx, eax
sbb esi, edx
add ecx, 0x3f876670
adc esi, 0xd1aaf
mov dword [ebp - 0xb74], ecx
mov dword [ebp - 0xb70], esi
mov edx, dword [ebp - 0xb74]
or edx, dword [ebp - 0xb70]
jne 0x10014d9f
mov byte [ebp - 0x75], 1
jmp 0x10014da3
mov byte [ebp - 0x75], 0
mov al, byte [ebp - 0x75]
mov byte [ebp - 0x12], al
jmp 0x10014e30
mov dword [ebp - 4], 0xffffffff
jmp 0x10014e40
mov eax, dword [0x1005fc3c]
mov dword [ebp - 0xf4], eax
mov ecx, dword [0x1005f0a8]
or ecx, dword [0x1005f0ac]
je 0x10014eba
movzx edx, byte [0x1005f0a4]
test edx, edx
je 0x10014e6c
mov al, byte [ebp - 0x17]
mov byte [ebp - 0x76], al
jmp 0x10014e72
mov cl, byte [ebp - 0x17]
mov byte [ebp - 0x76], cl
mov dl, byte [ebp - 0x76]
mov byte [ebp - 0x14], dl
push 0
push 0xbe
mov eax, dword [0x1005f144]
push eax
mov ecx, dword [0x1005f140]
push ecx
call fcn.1003a730
mov word [0x1005f138], ax
mov edx, dword [0x1005f0c8]
sub edx, 0x96a1773b
mov eax, dword [0x1005f0cc]
sbb eax, 0xdc94a
mov dword [0x1005f140], edx
mov dword [0x1005f144], eax
jmp 0x10014f35
mov ecx, dword [ebp - 0x68]
mov edx, dword [ebp - 0x64]
push 0
push 0x31
push edx
push ecx
call fcn.1003a730
mov ecx, eax
movsx eax, word [ebp - 0x20]
cdq
sub eax, ecx
mov word [ebp - 0x20], ax
mov edx, dword [ebp - 0x38]
xor edx, 0x463f612a
mov dword [ebp - 0x38], edx
movsx eax, byte [0x1005f09e]
test eax, eax
jne 0x10014efb
mov dword [ebp - 0x288], 1
jmp 0x10014f05
mov dword [ebp - 0x288], 0
mov ecx, dword [0x1005f0e4]
sub ecx, dword [ebp - 0x288]
jne 0x10014f21
mov edx, 1
mov word [ebp - 0x86], dx
jmp 0x10014f2a
xor eax, eax
mov word [ebp - 0x86], ax
mov cx, word [ebp - 0x86]
mov word [ebp - 0x24], cx
mov edx, dword [ebp - 0xf4]
add edx, 0x826
mov dword [ebp - 0xa24], edx
mov al, byte [ebp - 0x16]
add al, 1
mov byte [ebp - 0x16], al
movsx ecx, byte [0x1005f0a5]
mov edx, dword [ebp - 0x3c]
not edx
imul ecx, edx
not ecx
mov byte [0x1005f077], cl
mov byte [ebp - 0x19], 8
mov eax, dword [0x1005f160]
mov ecx, dword [0x1005f164]
add eax, 0x8eef
adc ecx, 0
mov dword [0x1005f0f8], eax
mov dword [0x1005f0fc], ecx
movsx edx, byte [0x1005f09e]
mov eax, dword [ebp - 0x54]
sub eax, edx
mov esi, eax
mov ecx, dword [0x1005f0a8]
not ecx
mov edx, dword [0x1005f0ac]
not edx
push 0
push 0x96b43edc
push edx
push ecx
call fcn.1003a730
sub esi, eax
mov word [ebp - 0x20], si
movzx eax, word [0x1005f138]
mov ecx, dword [ebp - 0x3c]
sub ecx, eax
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0xf4]
add edx, 0x712
mov dword [ebp - 0x2a0], edx
movzx eax, word [ebp - 0x28]
mov ecx, 0xed
sub ecx, eax
not ecx
test ecx, ecx
je 0x10015040
mov dl, byte [ebp - 0x13]
add dl, 1
mov byte [ebp - 0x13], dl
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0xd24], edx
xor ecx, 0x95b9
movsx eax, word [0x1005f108]
cdq
sub eax, ecx
mov word [0x1005f108], ax
movzx eax, word [0x1005f148]
cdq
xor eax, dword [ebp - 0x34]
xor edx, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
movsx eax, word [0x1005f0c0]
sar eax, 5
mov word [0x1005f128], ax
jmp 0x100150e5
movsx eax, byte [str._CpuC3StatesChanges]
cdq
mov dword [ebp - 0xb7c], eax
mov dword [ebp - 0xb78], edx
cmp dword [ebp - 0xb78], 0x96d9e
jl 0x1001507a
jg 0x1001506e
cmp dword [ebp - 0xb7c], 0x2b6c6b9c
jbe 0x1001507a
mov dword [ebp - 0x28c], 1
jmp 0x10015084
mov dword [ebp - 0x28c], 0
mov ecx, dword [ebp - 0x28c]
not ecx
test ecx, ecx
jne 0x10015099
cmp dword [ebp - 0x38], 0xdd00
ja 0x100150e5
mov edx, dword [ebp - 0x3c]
add edx, dword [0x1005f0d0]
mov dword [ebp - 0x3c], edx
mov ecx, dword [ebp - 0x60]
mov esi, dword [ebp - 0x5c]
add ecx, 0x37
adc esi, 0
movsx eax, word [0x1005f110]
cdq
push esi
push ecx
push edx
push eax
call fcn.1003a730
mov word [0x1005f110], ax
mov edx, dword [0x1005f140]
add edx, 0x71d4
mov dword [ebp - 0x2c], edx
movsx eax, word [ebp - 0x24]
imul eax, dword [ebp - 0x58]
mov word [0x1005f15c], ax
mov ecx, dword [ebp - 0xf4]
add ecx, 0x72d
mov dword [ebp - 0xd28], ecx
movzx edx, byte [ebp - 0x15]
cmp dword [0x1005f0e8], edx
jne 0x1001510f
mov dword [ebp - 0x290], 1
jmp 0x10015119
mov dword [ebp - 0x290], 0
cmp dword [0x1005f0e8], 0x50
jne 0x1001512e
mov dword [ebp - 0x294], 1
jmp 0x10015138
mov dword [ebp - 0x294], 0
mov eax, dword [ebp - 0x290]
cmp eax, dword [ebp - 0x294]
jge 0x10015281
mov dword [ebp - 0xf8], 0
jmp 0x10015165
mov ecx, dword [ebp - 0xf8]
add ecx, 2
mov dword [ebp - 0xf8], ecx
cmp dword [ebp - 0xf8], 0x274
jge 0x10015281
mov byte [0x1005f0a5], 0
mov edx, dword [0x1005f118]
mov eax, dword [0x1005f11c]
mov dword [ebp - 0xb84], edx
mov dword [ebp - 0xb80], eax
mov ecx, dword [ebp - 0xb84]
or ecx, dword [ebp - 0xb80]
je 0x100151ad
movzx edx, byte [ebp - 0x17]
mov dword [ebp - 0x298], edx
jmp 0x100151b6
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x298], eax
mov cl, byte [ebp - 0x298]
mov byte [0x1005f076], cl
mov dl, byte [0x1005fc3c]
mov byte [ebp - 0x18], dl
mov eax, dword [0x1005f0e4]
mov dword [ebp - 0x54], eax
mov cl, byte [0x1005f0a5]
mov byte [ebp - 0xa20], cl
cmp byte [ebp - 0xa20], 0
je 0x100151ed
jmp 0x10015274
movzx edx, word [ebp - 0x28]
movzx eax, byte [ebp - 0x16]
imul edx, eax
movzx ecx, word [ebp - 0x28]
add ecx, edx
mov word [ebp - 0x28], cx
movzx edx, byte [ebp - 0x14]
add edx, 0xb35ee9a
mov dword [ebp - 0x2c], edx
movzx eax, word [0x1005f138]
movsx ecx, byte [ebp - 0x19]
imul eax, ecx
mov byte [ebp - 0x14], al
mov edx, dword [0x1005f100]
xor edx, 0x5237256a
mov word [ebp - 0x28], dx
movzx eax, byte [0x1005f0a4]
test eax, eax
je 0x10015246
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x29c], ecx
jmp 0x10015250
movzx edx, word [ebp - 0x28]
mov dword [ebp - 0x29c], edx
mov ax, word [ebp - 0x29c]
mov word [0x1005f10c], ax
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x50]
xor edx, 0xab582924
xor ecx, edx
not ecx
mov word [0x1005f0c0], cx
mov al, byte [ebp - 0x13]
add al, 1
mov byte [ebp - 0x13], al
jmp 0x10015156
mov ecx, dword [ebp - 0x2a0]
add ecx, dword [ebp - 0x2a0]
cmp dword [ebp - 0xa24], ecx
je 0x10016d70
movsx edx, byte [ebp - 0x18]
cmp dword [0x1005f0b4], edx
jne 0x100154b9
mov eax, dword [0x1005f118]
mov ecx, dword [0x1005f11c]
mov edx, dword [ebp - 0x60]
mov esi, dword [ebp - 0x5c]
mov dword [ebp - 0xb8c], eax
mov dword [ebp - 0xb88], ecx
mov dword [ebp - 0xb94], edx
mov dword [ebp - 0xb90], esi
mov eax, dword [ebp - 0xb8c]
cmp eax, dword [ebp - 0xb94]
jne 0x100152fa
mov ecx, dword [ebp - 0xb88]
cmp ecx, dword [ebp - 0xb90]
jne 0x100152fa
mov dword [ebp - 0x2a4], 1
jmp 0x10015304
mov dword [ebp - 0x2a4], 0
mov edx, dword [0x1005f118]
mov eax, dword [0x1005f11c]
mov dword [ebp - 0xb9c], edx
mov dword [ebp - 0xb98], eax
cmp dword [ebp - 0xb9c], 0x21
jne 0x10015339
cmp dword [ebp - 0xb98], 0
jne 0x10015339
mov dword [ebp - 0x2a8], 1
jmp 0x10015343
mov dword [ebp - 0x2a8], 0
mov ecx, dword [ebp - 0x2a4]
cmp ecx, dword [ebp - 0x2a8]
jne 0x10015395
movzx edx, byte [ebp - 0x11]
imul eax, edx, 0xbf32
movsx ecx, byte [0x1005f076]
sub eax, ecx
mov byte [0x1005f0a4], al
movzx eax, byte [ebp - 0x11]
cdq
mov edx, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0xd2c], ecx
sub eax, edx
mov byte [ebp - 0x11], al
mov byte [str.a_StartIdle_], 0xf2
movzx edx, byte [ebp - 0x14]
not edx
mov word [ebp - 0x20], dx
jmp 0x100154b9
cmp dword [ebp - 0x38], 0
jne 0x10015435
movsx eax, word [0x1005f15c]
cdq
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x40], 0x8f
movsx eax, byte [0x1005f077]
cdq
push 0xbd7a0
push 0xa8d614e0
push edx
push eax
call fcn.1003a730
mov byte [ebp - 0x15], al
movsx eax, word [ebp - 0x24]
movsx ecx, byte [0x1005f03b]
imul eax, ecx
not eax
mov byte [ebp - 0x15], al
movsx eax, byte [ebp - 0x18]
cdq
mov ecx, dword [0x1005f120]
mov esi, dword [0x1005f124]
add ecx, eax
adc esi, edx
mov edx, dword [0x1005f120]
mov eax, dword [0x1005f124]
sub edx, ecx
sbb eax, esi
mov dword [0x1005f120], edx
mov dword [0x1005f124], eax
movsx eax, byte [0x1005f076]
cdq
mov ecx, dword [ebp - 0x50]
sub ecx, eax
mov eax, dword [ebp - 0x4c]
sbb eax, edx
add ecx, dword [ebp - 0x50]
adc eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], eax
jmp 0x100154b9
cmp dword [ebp - 0x30], 0xffffffff
jl 0x10015452
jg 0x10015446
cmp dword [ebp - 0x34], 0xffffff4d
jbe 0x10015452
mov dword [ebp - 0x2ac], 1
jmp 0x1001545c
mov dword [ebp - 0x2ac], 0
cmp dword [ebp - 0x2ac], 0xc9a5
jl 0x100154b9
movzx eax, byte [ebp - 0x11]
cdq
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0xd30], edx
sub eax, ecx
mov byte [ebp - 0x11], al
movzx eax, byte [ebp - 0x12]
movsx ecx, word [ebp - 0x20]
sub eax, ecx
movzx edx, byte [ebp - 0x12]
imul edx, eax
mov byte [ebp - 0x12], dl
movsx eax, byte [0x1005f09e]
xor eax, dword [ebp - 0x58]
movsx ecx, byte [0x1005f09e]
sub ecx, eax
mov byte [0x1005f09e], cl
mov dx, word [0x1005fc3c]
mov word [0x1005f108], dx
movzx eax, word [0x1005f138]
sub eax, 0x8f09
cdq
mov dword [0x1005f150], eax
mov dword [0x1005f154], edx
mov eax, dword [ebp - 0x48]
sub eax, 0x52709969
mov byte [0x1005f0a5], al
mov ecx, dword [ebp - 0x34]
or ecx, dword [ebp - 0x30]
jne 0x100154f2
mov dword [ebp - 0x2b0], 1
jmp 0x100154fc
mov dword [ebp - 0x2b0], 0
movzx edx, byte [ebp - 0x12]
test edx, edx
jne 0x10015510
mov dword [ebp - 0x2b4], 1
jmp 0x1001551a
mov dword [ebp - 0x2b4], 0
mov eax, dword [0x1005f104]
or eax, dword [ebp - 0x2b0]
movsx ecx, word [ebp - 0x24]
imul ecx, dword [ebp - 0x2b4]
add eax, ecx
xor edx, edx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
movzx eax, byte [0x1005f0a4]
cdq
add eax, dword [0x1005f0f0]
mov byte [0x1005f0a4], al
mov eax, dword [ebp - 0xfc]
push eax
call fcn.10010d50
mov dword [ebp - 0xac], eax
mov dword [0x1005f0b0], 0
mov cx, word [0x1005fc3c]
mov word [ebp - 0x28], cx
movsx edx, byte [0x1005f09e]
shl edx, 7
mov byte [0x1005f03b], dl
movsx eax, byte [0x1005f077]
add eax, dword [0x1005f0d0]
mov byte [0x1005f077], al
mov ecx, dword [0x1005f0f8]
mov dword [ebp - 0x54], ecx
movzx edx, word [0x1005f10c]
movsx eax, word [ebp - 0x20]
add edx, eax
mov dword [ebp - 0x54], edx
mov ecx, dword [0x1005f0b0]
mov dword [ebp - 0xa28], ecx
cmp dword [ebp - 0xa28], 0
je 0x100155c6
jmp 0x100155f6
movsx eax, byte [0x1005f04f]
cdq
push 0x324ed
push 0x653e7c1f
push edx
push eax
call fcn.1003a730
mov dword [0x1005f0f8], eax
mov dword [0x1005f0fc], edx
movsx edx, byte [ebp - 0x19]
mov eax, dword [ebp - 0x6c]
sub eax, edx
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0xac], 0
jne 0x10016023
mov ecx, dword [ebp - 0x3c]
sar ecx, 5
mov dword [ebp - 0x2c], ecx
mov edx, 4
imul eax, edx, 0x75
movzx ecx, word [0x1005f148]
sub ecx, dword [eax + 0x10101570]
mov word [0x1005f148], cx
movsx edx, byte [str._CpuC3StatesChanges]
xor edx, 0x49817d5
mov word [ebp - 0x20], dx
mov eax, dword [0x1005f118]
mov ecx, dword [0x1005f11c]
mov dword [ebp - 0xd34], ecx
xor eax, 0xa6b217f0
mov dword [ebp - 0x38], eax
push 0
push 0x2135dcaf
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x34]
push eax
call fcn.1003a730
mov byte [ebp - 0x19], al
mov cl, byte [0x1005f0c8]
mov byte [ebp - 0x14], cl
movzx eax, byte [ebp - 0x16]
cdq
mov dword [ebp - 0xba4], eax
mov dword [ebp - 0xba0], edx
mov edx, dword [0x1005f0f4]
cmp edx, dword [ebp - 0xba0]
jl 0x100156ac
jg 0x100156a0
mov eax, dword [0x1005f0f0]
cmp eax, dword [ebp - 0xba4]
jb 0x100156ac
mov dword [ebp - 0x2b8], 1
jmp 0x100156b6
mov dword [ebp - 0x2b8], 0
cmp dword [0x1005f0f4], 0
jl 0x100156d6
jg 0x100156ca
cmp dword [0x1005f0f0], 0x11
jb 0x100156d6
mov dword [ebp - 0x2bc], 1
jmp 0x100156e0
mov dword [ebp - 0x2bc], 0
mov ecx, dword [ebp - 0x2b8]
cmp ecx, dword [ebp - 0x2bc]
jg 0x100157a5
movsx edx, byte [str._CpuC3StatesChanges]
sub edx, 0x6bd5f91b
mov dword [0x1005f0a0], edx
movsx eax, word [ebp - 0x24]
test eax, eax
je 0x10015727
mov ecx, dword [0x1005f160]
mov edx, dword [0x1005f164]
mov dword [ebp - 0x58c], ecx
mov dword [ebp - 0x588], edx
jmp 0x10015738
movsx eax, byte [ebp - 0x18]
cdq
mov dword [ebp - 0x58c], eax
mov dword [ebp - 0x588], edx
mov eax, dword [ebp - 0x58c]
mov ecx, dword [ebp - 0x588]
mov dword [0x1005f0c8], eax
mov dword [0x1005f0cc], ecx
movsx edx, byte [ebp - 0x18]
movzx eax, byte [ebp - 0x11]
xor edx, eax
mov word [0x1005f148], dx
mov ecx, 0xffff9bc4
mov word [ebp - 0x24], cx
push 0xf315d
push 0xaae3a89e
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ebp - 0x48]
push eax
call fcn.1003a730
mov byte [ebp - 0x12], al
mov ecx, dword [ebp - 0x58]
xor edx, edx
add ecx, 0x464d7d5f
adc edx, 0x77bc3
mov dword [0x1005f0d8], ecx
mov dword [0x1005f0dc], edx
jmp 0x10015837
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
push 0
push 0x44710c88
push ecx
push eax
call fcn.1003a730
mov dword [0x1005f150], eax
mov dword [0x1005f154], edx
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], eax
mov ecx, dword [0x1005f0fc]
push ecx
mov edx, dword [0x1005f0f8]
push edx
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
call fcn.1003a730
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
mov edx, dword [0x1005f160]
mov eax, dword [0x1005f164]
mov dword [ebp - 0xd38], eax
xor edx, 0x7e
mov dword [ebp - 0x54], edx
movsx eax, byte [ebp - 0x18]
cdq
mov ecx, dword [0x1005f118]
mov esi, dword [0x1005f11c]
add ecx, eax
adc esi, edx
mov dword [0x1005f118], ecx
mov dword [0x1005f11c], esi
mov edx, dword [0x1005fc3c]
xor eax, eax
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], eax
mov ecx, dword [0x1005fc3c]
mov dword [ebp - 0x104], ecx
mov dword [ebp - 0x100], 0
jmp 0x1001585e
mov edx, dword [ebp - 0x100]
add edx, 2
mov dword [ebp - 0x100], edx
cmp dword [ebp - 0x100], 0xae
jge 0x1001594f
mov eax, dword [ebp - 0x48]
or eax, dword [ebp - 0x44]
je 0x10015882
movzx ecx, byte [ebp - 0x12]
mov dword [ebp - 0x2c0], ecx
jmp 0x1001588f
movsx edx, word [0x1005f108]
mov dword [ebp - 0x2c0], edx
mov al, byte [ebp - 0x2c0]
mov byte [ebp - 0x17], al
mov ecx, 1
imul edx, ecx, 0xc
movzx eax, byte [edx + 0x100e2cd0]
add eax, dword [ebp - 0x58]
mov dword [ebp - 0x58], eax
movzx eax, byte [0x1005f0a4]
cdq
add eax, dword [ebp - 0x48]
adc edx, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
mov ecx, dword [0x1005f140]
or ecx, dword [0x1005f144]
je 0x100158e3
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x7ac], edx
mov dword [ebp - 0x7a8], eax
jmp 0x100158fb
mov ecx, dword [0x1005f120]
mov edx, dword [0x1005f124]
mov dword [ebp - 0x7ac], ecx
mov dword [ebp - 0x7a8], edx
mov eax, dword [ebp - 0x7ac]
mov dword [ebp - 0x58], eax
movsx ecx, word [0x1005f0c0]
add ecx, 0x7d842033
movsx eax, word [ebp - 0x24]
cdq
add eax, 0x7d7765a6
sub ecx, eax
xor ecx, dword [ebp - 0x38]
mov dword [0x1005f0a0], ecx
movsx edx, word [0x1005f108]
imul eax, edx, 0xf255
mov dword [0x1005f0b0], eax
mov cx, word [0x1005f148]
add cx, 1
mov word [0x1005f148], cx
jmp 0x1001584f
mov edx, dword [ebp - 0x104]
add edx, 0x867
mov dword [ebp - 0xd3c], edx
push 0
push 0x3e
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.1003a730
mov byte [ebp - 0x17], al
mov edx, dword [ebp - 0x54]
sub edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x54]
and eax, edx
mov dword [ebp - 0x54], eax
mov ecx, dword [0x1005f100]
xor edx, edx
add ecx, dword [0x1005f150]
adc edx, dword [0x1005f154]
add ecx, dword [0x1005f150]
adc edx, dword [0x1005f154]
mov dword [0x1005f150], ecx
mov dword [0x1005f154], edx
movzx eax, word [0x1005f128]
cdq
mov ecx, dword [0x1005f120]
mov edx, dword [0x1005f124]
mov dword [ebp - 0xd40], edx
sub eax, ecx
mov dword [ebp - 0x3c], eax
movzx eax, byte [ebp - 0x11]
movzx ecx, byte [0x1005f0a4]
lea edx, [ecx + eax - 0x9b8c]
mov byte [0x1005f0a4], dl
mov eax, dword [ebp - 0x50]
add eax, 1
mov ecx, dword [ebp - 0x4c]
adc ecx, 0
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x104]
add edx, 0x620
mov dword [ebp - 0xa2c], edx
movsx eax, byte [ebp - 0x18]
test eax, eax
je 0x10015a21
movsx ecx, byte [0x1005f076]
mov dword [ebp - 0x2c4], ecx
jmp 0x10015a2e
movsx edx, word [0x1005f110]
mov dword [ebp - 0x2c4], edx
mov ax, word [ebp - 0x2c4]
mov word [0x1005f148], ax
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0xbac], ecx
mov dword [ebp - 0xba8], edx
mov eax, dword [ebp - 0xbac]
or eax, dword [ebp - 0xba8]
jne 0x10015a6f
xor ecx, ecx
mov dword [ebp - 0xbb4], 1
mov dword [ebp - 0xbb0], ecx
jmp 0x10015a7a
xorps xmm0, xmm0
movlpd qword [ebp - 0xbb4], xmm0
movzx edx, word [0x1005f10c]
test edx, edx
jne 0x10015a99
xor eax, eax
mov dword [ebp - 0xbbc], 1
mov dword [ebp - 0xbb8], eax
jmp 0x10015aa4
xorps xmm0, xmm0
movlpd qword [ebp - 0xbbc], xmm0
mov ecx, dword [ebp - 0xbb4]
sub ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0xbbc]
and edx, dword [ebp - 0x34]
xor ecx, edx
mov dword [ebp - 0x2c], ecx
mov eax, dword [0x1005f0b0]
imul eax, dword [0x1005f104]
test eax, eax
jne 0x10015ad1
mov byte [ebp - 0x71], 1
jmp 0x10015ad5
mov byte [ebp - 0x71], 0
mov cl, byte [ebp - 0x71]
mov byte [ebp - 0x11], cl
mov edx, dword [ebp - 0x104]
add edx, 0x83f
mov dword [ebp - 0x2c8], edx
mov eax, dword [ebp - 0xa2c]
sub eax, dword [ebp - 0x2c8]
mov ecx, 0x2bb
sub ecx, dword [ebp - 0x2c8]
cmp eax, ecx
je 0x1001601e
movzx edx, byte [0x1005f09f]
cmp edx, dword [0x1005f0a0]
jle 0x10015c85
mov dword [ebp - 4], 0xc
movsx eax, byte [0x1005f09e]
test eax, eax
jne 0x10015b3d
mov dword [ebp - 0x2cc], 1
jmp 0x10015b47
mov dword [ebp - 0x2cc], 0
mov ecx, dword [0x1005f150]
or ecx, dword [0x1005f154]
jne 0x10015b69
xor edx, edx
mov dword [ebp - 0x7b4], 1
mov dword [ebp - 0x7b0], edx
jmp 0x10015b74
xorps xmm0, xmm0
movlpd qword [ebp - 0x7b4], xmm0
mov eax, dword [ebp - 0x2cc]
imul eax, dword [0x1005f0d0]
cdq
mov ebx, eax
movzx eax, byte [ebp - 0x11]
movzx ecx, byte [ebp - 0x15]
sub eax, ecx
cdq
mov esi, eax
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x5c]
push eax
push edx
mov ecx, dword [ebp - 0x7b0]
push ecx
mov edx, dword [ebp - 0x7b4]
push edx
call fcn.1003a730
not eax
add esi, eax
add ebx, esi
mov byte [ebp - 0x12], bl
movzx eax, word [ebp - 0x28]
add eax, 0xd676
mov word [ebp - 0x24], ax
mov ecx, dword [0x1005f0a8]
add ecx, 0x3b557625
mov word [0x1005f114], cx
movzx eax, word [0x1005f0ec]
cdq
add eax, 0x69fa59f1
mov byte [str._CpuC3StatesChanges], al
movzx edx, byte [ebp - 0x17]
mov eax, dword [ebp - 0x58]
lea ecx, [eax + edx - 0x1751]
mov dword [ebp - 0x58], ecx
jmp 0x10015c73
mov dword [ebp - 4], 0xffffffff
jmp 0x10015c83
jmp 0x10015cee
mov edx, dword [0x1005f0f0]
add edx, dword [0x1005f0a8]
mov eax, dword [0x1005f0f4]
adc eax, dword [0x1005f0ac]
mov dword [0x1005f0f0], edx
mov dword [0x1005f0f4], eax
cmp dword [0x1005f100], 0
je 0x10015cbc
movzx ecx, byte [ebp - 0x13]
mov dword [ebp - 0x2d0], ecx
jmp 0x10015cc6
movsx edx, byte [ebp - 0x19]
mov dword [ebp - 0x2d0], edx
mov al, byte [ebp - 0x2d0]
mov byte [ebp - 0x15], al
movsx ecx, byte [0x1005f076]
not ecx
movzx edx, byte [ebp - 0x13]
sub ecx, edx
add ecx, dword [ebp - 0x38]
xor eax, eax
mov dword [0x1005f0c8], ecx
mov dword [0x1005f0cc], eax
mov dword [ebp - 0x108], 0x4d
movsx ecx, byte [ebp - 0x18]
movsx edx, byte [ebp - 0x18]
imul ecx, edx
movsx eax, byte [ebp - 0x18]
add eax, ecx
mov byte [ebp - 0x18], al
mov dword [0x1005f0e4], 1
movzx eax, byte [ebp - 0x16]
cdq
mov ecx, dword [ebp - 0x60]
mov esi, dword [ebp - 0x5c]
push esi
push ecx
push edx
push eax
call fcn.1003a730
mov byte [ebp - 0x16], al
movzx eax, byte [ebp - 0x17]
cdq
sub eax, 0xf447f4f7
mov byte [ebp - 0x13], al
movzx edx, word [0x1005f10c]
add edx, 0x95
mov dword [0x1005f0d0], edx
movzx eax, word [0x1005f138]
mov dword [ebp - 0x38], eax
movsx ecx, byte [0x1005f04f]
cmp dword [0x1005f0e8], ecx
jne 0x10015d72
mov dword [ebp - 0x2d4], 1
jmp 0x10015d7c
mov dword [ebp - 0x2d4], 0
cmp dword [0x1005f0e8], 3
jne 0x10015d91
mov dword [ebp - 0x2d8], 1
jmp 0x10015d9b
mov dword [ebp - 0x2d8], 0
mov edx, dword [ebp - 0x2d4]
cmp edx, dword [ebp - 0x2d8]
jge 0x10015ff5
movsx eax, word [ebp - 0x20]
test eax, eax
je 0x10015f96
mov ecx, dword [ebp - 0x54]
cmp dword [ebp - 0x2c], ecx
ja 0x10015dcd
mov dword [ebp - 0x2dc], 1
jmp 0x10015dd7
mov dword [ebp - 0x2dc], 0
cmp dword [ebp - 0x2c], 1
jg 0x10015de9
mov dword [ebp - 0x2e0], 1
jmp 0x10015df3
mov dword [ebp - 0x2e0], 0
mov edx, dword [ebp - 0x2dc]
cmp edx, dword [ebp - 0x2e0]
je 0x10015e44
imul eax, dword [ebp - 0x54], 0xf60a38b9
xor ecx, ecx
mov edx, dword [0x1005f160]
mov esi, dword [0x1005f164]
add edx, eax
adc esi, ecx
mov dword [0x1005f160], edx
mov dword [0x1005f164], esi
mov byte [0x1005f0a5], 0x94
mov eax, dword [0x1005fc3c]
xor ecx, ecx
mov dword [0x1005f0c8], eax
mov dword [0x1005f0cc], ecx
jmp 0x10015f94
movzx edx, word [0x1005f0ec]
movsx eax, byte [0x1005f03b]
cmp edx, eax
jne 0x10015e62
mov dword [ebp - 0x2e4], 1
jmp 0x10015e6c
mov dword [ebp - 0x2e4], 0
movsx ecx, word [ebp - 0x24]
not ecx
movzx edx, byte [ebp - 0x17]
imul ecx, edx
cmp dword [ebp - 0x2e4], ecx
jge 0x10015f0f
movzx eax, byte [ebp - 0x11]
sub eax, 0x5a49
mov dword [0x1005f100], eax
movzx ecx, byte [ebp - 0x12]
test ecx, ecx
je 0x10015eb4
mov edx, dword [0x1005f120]
mov eax, dword [0x1005f124]
mov dword [ebp - 0x7bc], edx
mov dword [ebp - 0x7b8], eax
jmp 0x10015ec5
movsx eax, byte [ebp - 0x19]
cdq
mov dword [ebp - 0x7bc], eax
mov dword [ebp - 0x7b8], edx
mov cx, word [ebp - 0x7bc]
mov word [0x1005f10c], cx
movzx edx, word [0x1005f0ec]
movzx eax, byte [ebp - 0x15]
sub edx, eax
movzx ecx, word [0x1005f0ec]
or ecx, edx
mov word [0x1005f0ec], cx
mov edx, dword [0x1005f120]
mov eax, dword [0x1005f124]
mov dword [ebp - 0xd48], eax
add edx, 0xfc
mov byte [ebp - 0x12], dl
jmp 0x10015f94
movzx ecx, byte [ebp - 0x12]
test ecx, ecx
je 0x10015f94
movzx edx, byte [ebp - 0x17]
imul eax, edx, 0x220f
cdq
mov ecx, dword [0x1005f160]
mov esi, dword [0x1005f164]
push edx
push eax
push esi
push ecx
call fcn.1003a730
mov dword [0x1005f160], eax
mov dword [0x1005f164], edx
mov edx, dword [ebp - 0x3c]
not edx
mov eax, dword [0x1005f0a0]
not eax
lea ecx, [edx + eax - 0x46]
test ecx, ecx
jne 0x10015f64
mov edx, 1
mov word [ebp - 0x88], dx
jmp 0x10015f6d
xor eax, eax
mov word [ebp - 0x88], ax
mov cx, word [ebp - 0x88]
mov word [0x1005f0e0], cx
movzx edx, byte [ebp - 0x14]
imul eax, edx, 0xb1
cdq
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
mov al, byte [0x1005fc3c]
mov byte [ebp - 0x14], al
jmp 0x10015ff5
mov cl, byte [ebp - 0x16]
add cl, 1
mov byte [ebp - 0x16], cl
movzx edx, byte [ebp - 0x14]
sub edx, 0x7dfb9aa4
mov dword [ebp - 0x40], edx
mov eax, dword [0x1005fc3c]
mov dword [0x1005f0a0], eax
mov dword [ebp - 0x3c], 0x953c
movzx ecx, byte [ebp - 0x15]
add ecx, 0xf8
movsx edx, byte [0x1005f09e]
sub edx, ecx
mov byte [0x1005f09e], dl
movzx ecx, byte [0x1005f0a4]
movzx eax, byte [str.a_StartIdle_]
imul ecx, eax
mov dl, byte [0x1005f0a4]
shl dl, cl
mov byte [0x1005f0a4], dl
mov eax, dword [ebp - 0x108]
add eax, 1
mov dword [ebp - 0x108], eax
cmp dword [ebp - 0x108], 0x97a
jl 0x10015d57
mov dword [ebp - 0xa0], 0
jmp 0x100160c4
mov dword [ebp - 4], 0xe
mov ecx, 8
mov esi, str.4_S_10000000_100
lea edi, [ebp - 0xe3c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor ecx, ecx
mov dword [ebp - 0xe1a], ecx
lea edx, [ebp - 0xe3c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cdq
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], edx
jmp 0x1001609c
mov dword [ebp - 4], 0xffffffff
jmp 0x100160ac
mov edx, dword [0x103c5c04]
push edx
mov eax, dword [ebp - 0xac]
push eax
call fcn.10006e50
mov dword [0x103c5c08], eax
movzx ecx, byte [ebp - 0x15]
movsx edx, byte [ebp - 0x19]
cmp ecx, edx
jne 0x10016306
mov dword [ebp - 4], 0x10
movzx eax, byte [ebp - 0x11]
test eax, eax
jne 0x100160ef
mov dword [ebp - 0x2e8], 1
jmp 0x100160f9
mov dword [ebp - 0x2e8], 0
movzx ecx, byte [ebp - 0x13]
mov eax, ecx
imul eax, dword [ebp - 0x2e8]
cdq
mov dword [ebp - 0xbc4], eax
mov dword [ebp - 0xbc0], edx
mov edx, dword [ebp - 0xbc0]
cmp edx, dword [ebp - 0x4c]
jb 0x1001628c
ja 0x10016133
mov eax, dword [ebp - 0xbc4]
cmp eax, dword [ebp - 0x50]
jbe 0x1001628c
movsx eax, byte [0x1005f03b]
cdq
mov dword [ebp - 0xbcc], eax
mov dword [ebp - 0xbc8], edx
mov ecx, dword [ebp - 0xbcc]
cmp ecx, dword [0x1005f0f8]
jne 0x1001616f
mov edx, dword [ebp - 0xbc8]
cmp edx, dword [0x1005f0fc]
jne 0x1001616f
mov dword [ebp - 0x2ec], 1
jmp 0x10016179
mov dword [ebp - 0x2ec], 0
movsx eax, byte [0x1005f03b]
cmp eax, 0x2f
jne 0x10016191
mov dword [ebp - 0x2f0], 1
jmp 0x1001619b
mov dword [ebp - 0x2f0], 0
mov ecx, dword [ebp - 0x2ec]
cmp ecx, dword [ebp - 0x2f0]
jle 0x10016208
mov edx, dword [str.Received_Dual_Tone]
mov dword [ebp - 0xcdc], edx
mov eax, dword [0x1004d4cc]
mov dword [ebp - 0xcd8], eax
mov ecx, dword [0x1004d4d0]
mov dword [ebp - 0xcd4], ecx
mov edx, dword [0x1004d4d4]
mov dword [ebp - 0xcd0], edx
mov ax, word [0x1004d4d8]
mov word [ebp - 0xccc], ax
mov cl, byte [0x1004d4da]
mov byte [ebp - 0xcca], cl
lea edx, [ebp - 0xcdc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [0x1005f0e4], eax
jmp 0x1001628c
mov eax, 0x484fdd8b
test eax, eax
je 0x1001628c
cmp dword [ebp - 0x38], 0
je 0x1001628c
movzx ecx, byte [ebp - 0x17]
add ecx, 0xf3
mov byte [0x1005f013], cl
movsx edx, byte [0x1005f03b]
xor edx, 0xdc
mov word [0x1005f138], dx
mov eax, 0xa3
mov word [0x1005f15c], ax
movsx ecx, word [0x1005f0e0]
test ecx, ecx
je 0x1001626a
mov edx, dword [0x1005f0b8]
mov eax, dword [0x1005f0bc]
mov dword [ebp - 0x7c4], edx
mov dword [ebp - 0x7c0], eax
jmp 0x1001627e
movzx eax, byte [0x1005f0a4]
cdq
mov dword [ebp - 0x7c4], eax
mov dword [ebp - 0x7c0], edx
mov cx, word [ebp - 0x7c4]
mov word [0x1005f158], cx
jmp 0x100162f4
mov dword [ebp - 4], 0xffffffff
jmp 0x10016304
jmp 0x1001637b
movzx eax, byte [ebp - 0x15]
mov dword [0x1005f104], eax
mov ecx, dword [0x1005fc3c]
xor edx, edx
mov dword [0x1005f118], ecx
mov dword [0x1005f11c], edx
push 0xf4895
push 0xa43e06ce
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
call fcn.1003a730
mov dword [0x1005f0c8], eax
mov dword [0x1005f0cc], edx
movsx edx, byte [0x1005f077]
imul eax, edx, 0x6773
mov byte [0x1005f09f], al
mov ecx, dword [ebp - 0x68]
mov edx, dword [ebp - 0x64]
add ecx, 0x497cd3bb
adc edx, 0x47781
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x64], edx
movsx eax, word [ebp - 0x24]
add eax, 0x7c5a
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0xa30]
sub ecx, 0xa8
cmp ecx, 0x226
je 0x10016d70
movzx edx, byte [0x1005f0a4]
mov eax, dword [ebp - 0x38]
add eax, edx
mov dword [ebp - 0x38], eax
mov ecx, dword [0x1005f0b0]
add ecx, 0x62831045
mov dword [ebp - 0x40], ecx
movzx eax, word [0x1005f10c]
cdq
push 0x866ba
push 0xb6cb6f3c
push edx
push eax
call fcn.1003a730
mov word [0x1005f0c0], ax
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0xbd4], edx
mov dword [ebp - 0xbd0], eax
mov ecx, dword [ebp - 0xbd4]
or ecx, dword [ebp - 0xbd0]
jne 0x10016404
xor edx, edx
mov dword [ebp - 0x7cc], 1
mov dword [ebp - 0x7c8], edx
jmp 0x1001640f
xorps xmm0, xmm0
movlpd qword [ebp - 0x7cc], xmm0
mov eax, dword [0x1005f140]
or eax, dword [0x1005f144]
jne 0x10016428
mov dword [ebp - 0x2f4], 1
jmp 0x10016432
mov dword [ebp - 0x2f4], 0
mov eax, dword [ebp - 0x2f4]
sub eax, 0x6cea
cdq
mov ecx, dword [0x1005f120]
mov esi, dword [0x1005f124]
not ecx
not esi
add ecx, 0xa1f8
adc esi, 0
not ecx
not esi
xor eax, ecx
xor edx, esi
mov dword [ebp - 0xbdc], eax
mov dword [ebp - 0xbd8], edx
mov edx, dword [ebp - 0xbdc]
or edx, dword [ebp - 0xbd8]
jne 0x1001648d
xor eax, eax
mov dword [ebp - 0x7d4], 1
mov dword [ebp - 0x7d0], eax
jmp 0x10016498
xorps xmm0, xmm0
movlpd qword [ebp - 0x7d4], xmm0
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x5c]
xor ecx, dword [ebp - 0x7cc]
xor edx, dword [ebp - 0x7c8]
sub ecx, dword [ebp - 0x7d4]
sbb edx, dword [ebp - 0x7d0]
mov dword [0x1005f0f8], ecx
mov dword [0x1005f0fc], edx
mov al, byte [0x1005fc3c]
mov byte [ebp - 0x15], al
movsx ecx, byte [0x1005f04f]
movzx edx, word [ebp - 0x28]
cmp ecx, edx
jne 0x100164e5
mov dword [ebp - 0x2f8], 1
jmp 0x100164ef
mov dword [ebp - 0x2f8], 0
movsx eax, byte [0x1005f04f]
cmp eax, 0x1d
jne 0x10016507
mov dword [ebp - 0x2fc], 1
jmp 0x10016511
mov dword [ebp - 0x2fc], 0
mov ecx, dword [ebp - 0x2f8]
cmp ecx, dword [ebp - 0x2fc]
jg 0x100166ee
mov dword [ebp - 4], 0x12
mov byte [ebp - 4], 0x13
movzx eax, byte [ebp - 0x16]
not eax
cdq
mov ecx, eax
mov esi, edx
and ecx, dword [ebp - 0x50]
and esi, dword [ebp - 0x4c]
not ecx
not esi
movzx eax, byte [ebp - 0x16]
cdq
mov edi, dword [0x1005f118]
mov ebx, dword [0x1005f11c]
xor edi, eax
xor ebx, edx
sub ecx, edi
sbb esi, ebx
mov dword [ebp - 0xbe4], ecx
mov dword [ebp - 0xbe0], esi
mov edx, dword [ebp - 0xbe4]
or edx, dword [ebp - 0xbe0]
jne 0x1001658a
xor eax, eax
mov dword [ebp - 0x7dc], 1
mov dword [ebp - 0x7d8], eax
jmp 0x10016595
xorps xmm0, xmm0
movlpd qword [ebp - 0x7dc], xmm0
mov ecx, dword [ebp - 0x7dc]
mov edx, dword [ebp - 0x7d8]
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], edx
mov eax, dword [0x1005fc3c]
xor ecx, ecx
mov dword [0x1005f150], eax
mov dword [0x1005f154], ecx
mov edx, 8
mov word [0x1005f0c0], dx
mov eax, dword [ebp - 0x48]
sub eax, 0x319868c8
mov ecx, dword [ebp - 0x44]
sbb ecx, 0x1879e
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], ecx
movzx eax, byte [ebp - 0x15]
sub eax, 0x2a
cdq
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
mov edx, 4
imul eax, edx, 0x82
mov ecx, dword [0x1005f0b4]
mov dword [eax + 0x102b27c0], ecx
jmp 0x10016670
mov dword [ebp - 4], 0x12
jmp 0x10016680
jmp 0x100166dc
mov dword [ebp - 4], 0xffffffff
jmp 0x100166ec
jmp 0x1001676b
mov eax, dword [ebp - 0x34]
or eax, dword [ebp - 0x30]
je 0x1001676b
movsx ecx, word [0x1005f108]
sub ecx, dword [0x1005f0e4]
mov word [0x1005f108], cx
movzx eax, word [0x1005f10c]
cdq
add eax, 0xbed7ee32
mov byte [ebp - 0x14], al
movsx edx, word [ebp - 0x20]
movzx eax, word [0x1005f148]
imul edx, eax
movsx ecx, word [ebp - 0x20]
sub ecx, edx
mov word [ebp - 0x20], cx
mov edx, dword [ebp - 0x34]
or edx, dword [ebp - 0x30]
je 0x10016750
movzx eax, word [0x1005f148]
cdq
mov dword [ebp - 0x7ec], eax
mov dword [ebp - 0x7e8], edx
jmp 0x10016762
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x7ec], eax
mov dword [ebp - 0x7e8], ecx
mov dl, byte [ebp - 0x7ec]
mov byte [ebp - 0x17], dl
cmp dword [0x103c5c08], 0
jne 0x1001684b
movzx eax, byte [ebp - 0x13]
add eax, dword [ebp - 0x58]
movzx ecx, byte [ebp - 0x13]
sub ecx, eax
mov byte [ebp - 0x13], cl
mov edx, dword [0x1005fc3c]
xor eax, eax
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x48]
sub ecx, 1
mov edx, dword [ebp - 0x44]
sbb edx, 0
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0xac]
push eax
call fcn.10006de0
mov byte [0x1005f076], 0xb6
mov byte [ebp - 0x12], 1
push 0xb18dd
push 0xaee00585
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x34]
push edx
call fcn.1003a730
mov word [ebp - 0x20], ax
movzx eax, byte [ebp - 0x11]
not eax
movsx ecx, byte [0x1005f013]
imul eax, ecx
cdq
sub eax, dword [ebp - 0x48]
sbb edx, dword [ebp - 0x44]
mov dword [ebp - 0xbec], eax
mov dword [ebp - 0xbe8], edx
mov edx, dword [ebp - 0xbec]
or edx, dword [ebp - 0xbe8]
jne 0x1001681f
xor eax, eax
mov dword [ebp - 0x7f4], 1
mov dword [ebp - 0x7f0], eax
jmp 0x1001682a
xorps xmm0, xmm0
movlpd qword [ebp - 0x7f4], xmm0
mov ecx, dword [ebp - 0x7f4]
mov edx, dword [ebp - 0x7f0]
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0xa0], 0
jmp 0x10016d70
mov eax, 2
imul ecx, eax, 0x3d4e
mov dx, word [0x1005f138]
mov word [ecx + 0x10156048], dx
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0xbf4], eax
mov dword [ebp - 0xbf0], ecx
mov edx, dword [ebp - 0xbf4]
or edx, dword [ebp - 0xbf0]
jne 0x10016898
xor eax, eax
mov dword [ebp - 0xbfc], 1
mov dword [ebp - 0xbf8], eax
jmp 0x100168a3
xorps xmm0, xmm0
movlpd qword [ebp - 0xbfc], xmm0
mov ecx, dword [ebp - 0x6c]
sub ecx, dword [ebp - 0x58]
mov edx, dword [0x1005f118]
mov eax, dword [0x1005f11c]
mov dword [ebp - 0xd4c], eax
sub edx, dword [ebp - 0xbfc]
add ecx, edx
mov byte [0x1005f03b], cl
mov ecx, dword [0x1005f0a8]
or ecx, dword [0x1005f0ac]
jne 0x100168ea
xor edx, edx
mov dword [ebp - 0x7fc], 1
mov dword [ebp - 0x7f8], edx
jmp 0x100168f5
xorps xmm0, xmm0
movlpd qword [ebp - 0x7fc], xmm0
mov eax, dword [ebp - 0x7fc]
mov ecx, dword [ebp - 0x7f8]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], ecx
mov edx, dword [0x1005f0c8]
or edx, dword [0x1005f0cc]
jne 0x10016921
mov dword [ebp - 0x300], 1
jmp 0x1001692b
mov dword [ebp - 0x300], 0
mov eax, dword [ebp - 0x54]
add eax, dword [ebp - 0x300]
not eax
movsx ecx, word [0x1005f0c0]
not ecx
mov edx, dword [0x1005f0e8]
sub edx, ecx
add eax, edx
mov dword [ebp - 0x38], eax
call dword [0x103c5c08]
mov eax, dword [ebp - 0xac]
push eax
call fcn.10006de0
mov dword [ebp - 0x38], 4
mov ecx, 8
imul ecx, ecx, 0x15ed
mov eax, dword [0x1005f0e8]
cdq
add eax, dword [ecx + 0x10103f18]
mov dword [0x1005f0e8], eax
mov edx, dword [ebp - 0x54]
add edx, 1
mov dword [ebp - 0x54], edx
movsx eax, word [ebp - 0x24]
movsx ecx, byte [0x1005f0a5]
imul eax, ecx
mov word [ebp - 0x24], ax
mov edx, dword [ebp - 0x54]
imul edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x54]
imul eax, edx
mov dword [ebp - 0x54], eax
movsx ecx, byte [0x1005f013]
and ecx, 0xc62
mov dword [ebp - 0x40], ecx
movzx eax, byte [ebp - 0x15]
cdq
xor eax, 0x236133fc
mov dword [ebp - 0x40], eax
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x304], edx
cmp dword [ebp - 0x304], 4
ja case.default.0x100169e5
mov eax, dword [ebp - 0x304]
jmp dword [eax*4 + 0x1001f150]
mov ecx, dword [0x1005f120]
mov edx, dword [0x1005f124]
push 0
push 0x356653aa
push edx
push ecx
call fcn.1003a730
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
movzx eax, byte [0x1005f0a4]
cdq
mov ecx, dword [0x1005f160]
mov esi, dword [0x1005f164]
sub ecx, eax
sbb esi, edx
mov edx, dword [0x1005f160]
mov eax, dword [0x1005f164]
and edx, ecx
and eax, esi
mov dword [0x1005f160], edx
mov dword [0x1005f164], eax
movzx ecx, byte [ebp - 0x14]
test ecx, ecx
je 0x10016a5f
mov edx, dword [0x1005f130]
mov eax, dword [0x1005f134]
mov dword [ebp - 0x594], edx
mov dword [ebp - 0x590], eax
jmp 0x10016a73
movsx eax, byte [0x1005f076]
cdq
mov dword [ebp - 0x594], eax
mov dword [ebp - 0x590], edx
mov ecx, dword [ebp - 0x594]
mov edx, dword [ebp - 0x590]
mov dword [0x1005f150], ecx
mov dword [0x1005f154], edx
movsx eax, word [0x1005f108]
add eax, 0x17b5
mov dword [0x1005f104], eax
cmp dword [0x1005f0b0], 0
je 0x10016abb
movzx eax, word [0x1005f0ec]
cdq
mov dword [ebp - 0x804], eax
mov dword [ebp - 0x800], edx
jmp 0x10016ad3
mov ecx, dword [0x1005f160]
mov edx, dword [0x1005f164]
mov dword [ebp - 0x804], ecx
mov dword [ebp - 0x800], edx
mov eax, dword [ebp - 0x804]
mov dword [0x1005f0e4], eax
jmp case.default.0x100169e5
cmp dword [0x1005f0d0], 0
jne 0x10016b00
xor ecx, ecx
mov dword [ebp - 0xc04], 1
mov dword [ebp - 0xc00], ecx
jmp 0x10016b0b
xorps xmm0, xmm0
movlpd qword [ebp - 0xc04], xmm0
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x60]
mov esi, dword [ebp - 0x5c]
push esi
push ecx
push eax
push edx
call fcn.1003a730
mov ecx, eax
movzx eax, byte [ebp - 0x14]
movzx edx, word [0x1005f10c]
sub eax, edx
cdq
xor ecx, eax
movsx eax, byte [ebp - 0x18]
cdq
mov edx, dword [ebp - 0x50]
add edx, dword [ebp - 0xc04]
add eax, edx
sub ecx, eax
mov byte [ebp - 0x16], cl
mov eax, dword [0x1005f0a8]
sub eax, dword [0x1005f140]
mov ecx, dword [0x1005f0ac]
sbb ecx, dword [0x1005f144]
push ecx
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
movsx ecx, byte [0x1005f013]
add ecx, 0x67
jne 0x10016b95
mov dword [ebp - 0x308], 1
jmp 0x10016b9f
mov dword [ebp - 0x308], 0
movzx edx, byte [ebp - 0x13]
imul eax, edx, 0xffffd074
movzx ecx, word [0x1005f0ec]
add ecx, dword [ebp - 0x308]
sub eax, ecx
cdq
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
mov edx, dword [ebp - 0x38]
xor edx, dword [0x1005f0d0]
mov dword [0x1005f0d0], edx
mov ax, word [0x1005fc3c]
mov word [0x1005f10c], ax
jmp case.default.0x100169e5
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0xc0c], ecx
mov dword [ebp - 0xc08], edx
mov eax, dword [ebp - 0xc0c]
or eax, dword [ebp - 0xc08]
je 0x10016c12
movzx eax, byte [ebp - 0x14]
cdq
mov dword [ebp - 0x80c], eax
mov dword [ebp - 0x808], edx
jmp 0x10016c2a
mov ecx, dword [0x1005f160]
mov edx, dword [0x1005f164]
mov dword [ebp - 0x80c], ecx
mov dword [ebp - 0x808], edx
mov eax, dword [ebp - 0x80c]
mov dword [ebp - 0x40], eax
xor ecx, ecx
mov dword [0x1005f0f0], 0xe0
mov dword [0x1005f0f4], ecx
jmp case.default.0x100169e5
cmp dword [0x1005f0d0], 0
jne 0x10016c5f
mov dword [ebp - 0x30c], 1
jmp 0x10016c69
mov dword [ebp - 0x30c], 0
movzx edx, byte [ebp - 0x12]
movzx eax, word [0x1005f0ec]
movsx ecx, byte [ebp - 0x18]
sub eax, ecx
add eax, dword [ebp - 0x30c]
lea edx, [eax + edx + 0x580d2710]
mov byte [0x1005f09f], dl
movzx eax, byte [ebp - 0x13]
imul ecx, eax, 0xd
mov byte [0x1005f09f], cl
mov dl, byte [0x1005fc3c]
mov byte [0x1005f09f], dl
cmp dword [ebp - 0x58], 0
je 0x10016cbe
mov eax, dword [ebp - 0x2c]
cdq
mov dword [ebp - 0x5bc], eax
mov dword [ebp - 0x5b8], edx
jmp 0x10016cd5
mov eax, dword [0x1005f118]
mov ecx, dword [0x1005f11c]
mov dword [ebp - 0x5bc], eax
mov dword [ebp - 0x5b8], ecx
mov dx, word [ebp - 0x5bc]
mov word [0x1005f0c0], dx
mov eax, 8
imul ecx, eax, 0x456
mov edx, dword [ebp - 0x58]
sub edx, dword [ecx + 0x10260478]
mov dword [ebp - 0x58], edx
movsx eax, byte [ebp - 0x19]
sar eax, 1
cdq
mov dword [0x1005f140], eax
mov dword [0x1005f144], edx
jmp case.default.0x100169e5
mov eax, dword [ebp - 0x34]
or eax, dword [ebp - 0x30]
jne 0x10016d22
mov dword [ebp - 0x310], 1
jmp 0x10016d2c
mov dword [ebp - 0x310], 0
movsx ecx, byte [0x1005f09e]
sub ecx, 0xdf
not ecx
mov edx, dword [ebp - 0x310]
sub edx, ecx
mov word [0x1005f10c], dx
mov dword [0x1005f100], 0xaf2a5d49
mov eax, dword [ebp - 0x50]
add eax, 1
mov ecx, dword [ebp - 0x4c]
adc ecx, 0
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], ecx
mov eax, 1
jmp 0x1001f0e4
mov edx, 0x3de
sub edx, dword [ebp - 0x10c]
mov eax, dword [ebp - 0x10c]
and eax, 0x150
add edx, eax
mov ecx, dword [ebp - 0xa34]
add ecx, dword [ebp - 0x10c]
cmp edx, ecx
je 0x1001f0e4
xor edx, edx
mov dword [ebp - 0x68], 0xaee3
mov dword [ebp - 0x64], edx
mov eax, dword [0x1005f140]
mov edx, dword [0x1005f144]
mov cl, 5
call fcn.1003a770
mov word [0x1005f10c], ax
movzx eax, word [0x1005f10c]
cdq
mov dword [ebp - 0xc14], eax
mov dword [ebp - 0xc10], edx
movzx edx, word [ebp - 0xf1c]
cmp edx, 0x5a4d
jne 0x10016df0
cmp dword [ebp - 0xa0], 0
jne 0x1001f0e4
mov eax, 2
mov word [0x1005f0e0], ax
movzx eax, word [0x1005f158]
cdq
add eax, 0x2d911cf4
mov ecx, dword [ebp - 0x38]
sub ecx, eax
mov dword [ebp - 0x38], ecx
movsx eax, byte [ebp - 0x18]
cdq
mov ecx, dword [0x1005f120]
mov esi, dword [0x1005f124]
push edx
push eax
push esi
push ecx
call fcn.1003a730
mov ecx, dword [0x1005f120]
mov esi, dword [0x1005f124]
sub ecx, eax
sbb esi, edx
mov dword [0x1005f120], ecx
mov dword [0x1005f124], esi
mov byte [str._CpuC3StatesChanges], 0x66
movzx edx, byte [ebp - 0x12]
mov dword [ebp - 0x54], edx
mov eax, dword [0x1005f0d8]
or eax, dword [0x1005f0dc]
jne 0x10016e67
mov byte [ebp - 0x77], 1
jmp 0x10016e6b
mov byte [ebp - 0x77], 0
mov cl, byte [ebp - 0x77]
mov byte [0x1005f0a5], cl
mov byte [ebp - 0x16], 0xd8
movsx edx, word [0x1005f0e0]
mov dword [ebp - 0x110], edx
cmp dword [ebp - 0x110], 0
je 0x10016ead
cmp dword [ebp - 0x110], 1
je 0x10016f71
cmp dword [ebp - 0x110], 2
je 0x10016fe8
jmp 0x10017007
movzx eax, word [ebp - 0x28]
test eax, eax
je 0x10016ec4
movzx ecx, word [0x1005f128]
mov dword [ebp - 0x314], ecx
jmp 0x10016ecd
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x314], edx
mov eax, dword [ebp - 0x314]
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x58]
add ecx, 0xc0fc
mov word [ebp - 0x20], cx
movzx edx, word [0x1005f10c]
sub edx, 0x754d30bc
mov word [0x1005f0c0], dx
mov eax, dword [0x1005f0d8]
or eax, dword [0x1005f0dc]
jne 0x10016f18
xor ecx, ecx
mov dword [ebp - 0x5c4], 1
mov dword [ebp - 0x5c0], ecx
jmp 0x10016f23
xorps xmm0, xmm0
movlpd qword [ebp - 0x5c4], xmm0
mov edx, dword [ebp - 0x5c4]
sub edx, dword [0x1005f0b8]
mov eax, dword [ebp - 0x5c0]
sbb eax, dword [0x1005f0bc]
mov dword [ebp - 0xc1c], edx
mov dword [ebp - 0xc18], eax
mov ecx, dword [ebp - 0xc1c]
or ecx, dword [ebp - 0xc18]
jne 0x10016f5b
mov byte [ebp - 0x78], 1
jmp 0x10016f5f
mov byte [ebp - 0x78], 0
mov dl, byte [ebp - 0x78]
mov byte [ebp - 0x13], dl
mov byte [str._CpuC3StatesChanges], 0xf5
jmp 0x10017007
movsx eax, word [0x1005f110]
cdq
push 0xb4d17
push 0x4258c58e
push edx
push eax
call fcn.1003a730
mov ecx, dword [0x1005f0f0]
sub ecx, eax
mov eax, dword [0x1005f0f4]
sbb eax, edx
mov dword [0x1005f0f0], ecx
mov dword [0x1005f0f4], eax
movsx ecx, word [0x1005f108]
sub ecx, 0x7e517e34
mov byte [0x1005f09f], cl
movsx edx, word [0x1005f0c0]
test edx, edx
je 0x10016fcd
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x318], eax
jmp 0x10016fda
movzx ecx, word [0x1005f10c]
mov dword [ebp - 0x318], ecx
mov dl, byte [ebp - 0x318]
mov byte [0x1005f04f], dl
jmp 0x10017007
mov byte [ebp - 0x12], 0xf0
movzx eax, byte [ebp - 0x11]
movzx ecx, byte [ebp - 0x13]
sub eax, ecx
movzx edx, byte [ebp - 0x11]
or edx, eax
mov byte [ebp - 0x11], dl
mov al, byte [0x1005fc3c]
mov byte [ebp - 0x13], al
mov ecx, 9
mov esi, str.NVRAM_ReadRestrict
lea edi, [ebp - 0xe64]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea ecx, [ebp - 0xe64]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [0x1005f104], eax
mov edx, dword [0x1005fc3c]
mov dword [ebp - 0x114], edx
cmp dword [0x1005f100], 0
je 0x10017047
jmp 0x100171ff
movzx eax, word [ebp - 0x28]
imul eax, eax, 0x1f70
cdq
mov dword [ebp - 0xc24], eax
mov dword [ebp - 0xc20], edx
mov ecx, dword [ebp - 0xc20]
cmp ecx, dword [ebp - 0x4c]
ja 0x100170d3
jb 0x10017076
mov edx, dword [ebp - 0xc24]
cmp edx, dword [ebp - 0x50]
jae 0x100170d3
movzx eax, byte [ebp - 0x12]
add eax, dword [ebp - 0x6c]
xor eax, 0x97
mov dword [0x1005f0b0], eax
mov ecx, dword [0x1005f0a8]
add ecx, 1
mov edx, dword [0x1005f0ac]
adc edx, 0
mov dword [0x1005f0a8], ecx
mov dword [0x1005f0ac], edx
movzx eax, byte [0x1005f0a4]
imul ecx, eax, 0xe7
mov dword [0x1005f0b0], ecx
mov edx, dword [ebp - 0x3c]
shl edx, 8
mov dword [ebp - 0x3c], edx
movzx eax, word [0x1005f148]
imul ecx, eax, 0x3c
mov dword [ebp - 0x38], ecx
jmp 0x100171ff
movsx edx, byte [ebp - 0x18]
test edx, edx
je 0x1001712e
mov eax, 0x2e27ef29
or eax, 0x23436
je 0x1001712e
movsx ecx, byte [0x1005f076]
movzx edx, byte [ebp - 0x14]
lea eax, [edx + ecx - 0xba5b025]
mov byte [ebp - 0x14], al
movsx eax, word [0x1005f0e0]
cdq
push edx
push eax
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x34]
push edx
call fcn.1003a730
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
movsx eax, byte [0x1005f04f]
cdq
xor eax, dword [ebp - 0x50]
mov byte [0x1005f04f], al
jmp 0x100171ff
movsx eax, word [0x1005f0c0]
cmp eax, 0xd5
jne 0x100171ff
movzx ecx, word [0x1005f138]
imul ecx, dword [ebp - 0x40]
imul ecx, dword [ebp - 0x2c]
mov word [ebp - 0x28], cx
movzx edx, byte [ebp - 0x13]
and edx, 0xad67aa1f
xor eax, eax
mov dword [0x1005f130], edx
mov dword [0x1005f134], eax
movzx ecx, byte [ebp - 0x15]
add ecx, dword [0x1005f0b4]
movzx edx, byte [ebp - 0x15]
add edx, ecx
mov byte [ebp - 0x15], dl
mov eax, dword [0x1005f140]
or eax, dword [0x1005f144]
jne 0x1001719e
xor ecx, ecx
mov dword [ebp - 0xc2c], 1
mov dword [ebp - 0xc28], ecx
jmp 0x100171a9
xorps xmm0, xmm0
movlpd qword [ebp - 0xc2c], xmm0
movzx edx, byte [ebp - 0x14]
sub edx, dword [0x1005f0b4]
mov ecx, edx
mov edx, dword [ebp - 0xc2c]
add edx, dword [0x1005f0c8]
not edx
xor ecx, edx
movzx eax, word [0x1005f148]
xor eax, 0x3e
cdq
xor eax, dword [ebp - 0x34]
add ecx, eax
mov word [ebp - 0x28], cx
movzx eax, byte [ebp - 0x14]
movzx ecx, word [ebp - 0x28]
xor eax, ecx
not eax
mov byte [0x1005f03b], al
movsx edx, byte [0x1005f03b]
movzx eax, word [0x1005f158]
sub edx, eax
not edx
mov byte [ebp - 0x18], dl
mov ecx, dword [ebp - 0x114]
add ecx, 0x7c3
mov dword [ebp - 0x31c], ecx
mov edx, dword [str.Country]
mov eax, dword [0x1004d530]
mov dword [ebp - 0xcb4], edx
mov dword [ebp - 0xcb0], eax
lea ecx, [ebp - 0xcb4]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov byte [ebp - 0x15], al
mov edx, dword [ebp - 0x114]
add edx, 0x8b8
mov dword [ebp - 0xa38], edx
mov eax, dword [0x1005f130]
mov edx, dword [0x1005f134]
mov cl, 5
call fcn.1003a770
mov byte [ebp - 0x11], al
mov ecx, dword [ebp - 0x54]
xor ecx, 0x2af2
mov al, byte [ebp - 0x19]
sar al, cl
mov byte [ebp - 0x19], al
movzx eax, byte [ebp - 0x13]
cdq
push 0xabcf9
push 0x4836cf8f
push edx
push eax
call fcn.1003a730
mov byte [ebp - 0x16], al
mov ecx, dword [ebp - 0x114]
add ecx, 0x777
mov dword [ebp - 0xd50], ecx
movsx edx, byte [0x1005f09e]
not edx
mov dword [ebp - 0x58], edx
movzx eax, word [ebp - 0x28]
cdq
push 0x343e5
push 0x54305dc9
push edx
push eax
call fcn.1003a730
mov byte [ebp - 0x15], al
movsx eax, word [0x1005f15c]
imul ecx, eax, 0x5878
test ecx, ecx
jne 0x100172e5
xor edx, edx
mov dword [ebp - 0x66c], 1
mov dword [ebp - 0x668], edx
jmp 0x100172f0
xorps xmm0, xmm0
movlpd qword [ebp - 0x66c], xmm0
mov eax, dword [ebp - 0x668]
push eax
mov ecx, dword [ebp - 0x66c]
push ecx
mov edx, dword [0x1005f0bc]
push edx
mov eax, dword [0x1005f0b8]
push eax
call fcn.1003a730
mov dword [ebp - 0xc34], eax
mov dword [ebp - 0xc30], edx
mov ecx, dword [ebp - 0xc34]
or ecx, dword [ebp - 0xc30]
jne 0x1001733e
xor edx, edx
mov dword [ebp - 0x674], 1
mov dword [ebp - 0x670], edx
jmp 0x10017349
xorps xmm0, xmm0
movlpd qword [ebp - 0x674], xmm0
mov eax, dword [ebp - 0x674]
mov ecx, dword [ebp - 0x670]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x31c]
add edx, dword [ebp - 0x31c]
cmp dword [ebp - 0xa38], edx
je 0x1001f0e4
movzx eax, word [0x1005f148]
test eax, eax
jne 0x10017394
movzx ecx, byte [ebp - 0x17]
not ecx
test ecx, ecx
jne 0x10017394
mov dword [ebp - 0x320], 0
jmp 0x1001739e
mov dword [ebp - 0x320], 1
movzx edx, word [0x1005f138]
cmp dword [ebp - 0x6c], edx
jne 0x100173b6
mov dword [ebp - 0x324], 1
jmp 0x100173c0
mov dword [ebp - 0x324], 0
mov eax, dword [ebp - 0x320]
cmp eax, dword [ebp - 0x324]
jne 0x1001742b
movsx ecx, word [0x1005f108]
test ecx, ecx
jne 0x100173e5
mov dword [ebp - 0x328], 1
jmp 0x100173ef
mov dword [ebp - 0x328], 0
movzx edx, byte [ebp - 0x12]
not edx
cmp dword [ebp - 0x328], edx
jge 0x10017409
mov dword [ebp - 0x32c], 1
jmp 0x10017413
mov dword [ebp - 0x32c], 0
movsx eax, byte [ebp - 0x19]
cmp eax, dword [ebp - 0x32c]
jge 0x1001742b
mov dword [ebp - 0x330], 0
jmp 0x10017435
mov dword [ebp - 0x330], 1
mov ecx, dword [ebp - 0x330]
not ecx
test ecx, ecx
je 0x10017467
mov ecx, 9
mov esi, 0x1004d534
lea edi, [ebp - 0xe8c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea edx, [ebp - 0xe8c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov byte [0x1005f076], al
mov dword [ebp - 4], 0x16
mov byte [ebp - 0x17], 4
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0xd54], ecx
mov word [0x1005f148], ax
cmp dword [ebp - 0x2c], 0
je 0x100174a3
mov edx, dword [0x1005f0d8]
mov eax, dword [0x1005f0dc]
mov dword [ebp - 0x67c], edx
mov dword [ebp - 0x678], eax
jmp 0x100174b5
mov eax, dword [0x1005f0e4]
cdq
mov dword [ebp - 0x67c], eax
mov dword [ebp - 0x678], edx
mov cx, word [ebp - 0x67c]
mov word [0x1005f158], cx
mov eax, dword [0x1005f0a0]
cdq
push 0x3ecb
push 0xe9c1df0c
push edx
push eax
call fcn.1003a730
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
cmp dword [0x1005f0a0], 0
je 0x100174f9
mov dx, word [0x1005f108]
mov word [ebp - 0x8a], dx
jmp 0x10017506
mov ax, word [0x1005f0e0]
mov word [ebp - 0x8a], ax
mov cl, byte [ebp - 0x8a]
mov byte [ebp - 0x14], cl
movzx edx, byte [ebp - 0x17]
mov dword [ebp - 0x334], edx
cmp dword [ebp - 0x334], 4
ja case.default.0x1001752c
mov eax, dword [ebp - 0x334]
jmp dword [eax*4 + 0x1001f164]
mov cl, byte [0x1005fc3c]
mov byte [ebp - 0x14], cl
movzx edx, word [ebp - 0x28]
mov eax, dword [ebp - 0x40]
imul eax, edx
mov ecx, dword [ebp - 0x40]
add ecx, eax
mov dword [ebp - 0x40], ecx
mov edx, 2
imul eax, edx, 0xaa
movzx ecx, word [eax + 0x10103d78]
mov dword [0x1005f0e8], ecx
jmp case.default.0x1001752c
movzx edx, word [0x1005f158]
mov eax, dword [0x1005f0e4]
add eax, edx
mov dword [0x1005f0e4], eax
movzx eax, byte [0x1005f09f]
cdq
mov ecx, dword [ebp - 0x60]
mov esi, dword [ebp - 0x5c]
push esi
push ecx
push edx
push eax
call fcn.1003a730
mov byte [0x1005f09f], al
mov dl, byte [0x1005fc3c]
mov byte [ebp - 0x18], dl
movsx eax, byte [ebp - 0x19]
cdq
mov ecx, dword [ebp - 0x48]
sub ecx, eax
mov eax, dword [ebp - 0x44]
sbb eax, edx
add ecx, dword [ebp - 0x48]
adc eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], eax
jmp case.default.0x1001752c
movsx ecx, word [0x1005f15c]
sub ecx, dword [ebp - 0x38]
xor edx, edx
mov eax, dword [0x1005f164]
add ecx, dword [0x1005f160]
adc edx, eax
not ecx
not edx
mov dword [0x1005f0b8], ecx
mov dword [0x1005f0bc], edx
mov ecx, dword [ebp - 0x48]
sub ecx, dword [0x1005f0d8]
mov edx, dword [ebp - 0x44]
sbb edx, dword [0x1005f0dc]
mov eax, dword [ebp - 0x48]
sub eax, ecx
mov ecx, dword [ebp - 0x44]
sbb ecx, edx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], ecx
mov ecx, dword [0x1005f0d8]
xor ecx, 0x826ee9de
movsx eax, byte [0x1005f03b]
cdq
sub eax, ecx
mov byte [0x1005f03b], al
jmp case.default.0x1001752c
movzx edx, byte [ebp - 0x17]
shl edx, 8
mov byte [0x1005f04f], dl
mov eax, dword [0x1005f104]
and eax, 0xa35ce0f2
mov byte [ebp - 0x18], al
movzx eax, word [0x1005f10c]
cdq
mov ecx, dword [0x1005f0ac]
push ecx
mov ecx, dword [0x1005f0a8]
push ecx
push edx
push eax
call fcn.1003a730
mov ecx, eax
movzx eax, word [0x1005f10c]
cdq
sub eax, ecx
mov word [0x1005f10c], ax
movsx edx, byte [ebp - 0x19]
add edx, dword [ebp - 0x6c]
imul edx, dword [ebp - 0x6c]
mov dword [ebp - 0x6c], edx
jmp case.default.0x1001752c
mov eax, dword [0x1005f0e8]
xor eax, 0x2b142f91
cdq
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], edx
movsx eax, word [0x1005f15c]
sub eax, dword [ebp - 0x58]
movsx ecx, word [0x1005f15c]
imul ecx, eax
mov word [0x1005f15c], cx
xor edx, edx
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x30], edx
jmp 0x10017715
mov dword [ebp - 4], 0xffffffff
jmp 0x10017725
mov ecx, dword [0x1005fc3c]
mov dword [ebp - 0x120], ecx
movzx edx, byte [ebp - 0x14]
movsx eax, word [0x1005f15c]
cmp edx, eax
jg 0x1001778e
movzx ecx, byte [ebp - 0x12]
sub ecx, 0x7c1c2148
mov byte [0x1005f0a4], cl
movsx edx, word [0x1005f0e0]
shl edx, 3
mov byte [ebp - 0x19], dl
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
mov cl, 2
call fcn.1003a770
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], edx
mov eax, dword [ebp - 0x48]
add eax, 0x31
mov ecx, dword [ebp - 0x44]
adc ecx, 0
mov dword [0x1005f0b8], eax
mov dword [0x1005f0bc], ecx
mov dword [ebp - 0x40], 0x1c6ec433
mov edx, dword [ebp - 0x120]
add edx, 0x6ca
mov dword [ebp - 0x434], edx
movzx eax, byte [ebp - 0x11]
cdq
mov dword [ebp - 0xc3c], eax
mov dword [ebp - 0xc38], edx
mov eax, dword [ebp - 0xc38]
cmp eax, dword [0x1005f134]
jl 0x100177db
jg 0x100177cf
mov ecx, dword [ebp - 0xc3c]
cmp ecx, dword [0x1005f130]
jbe 0x100177db
mov dword [ebp - 0x33c], 1
jmp 0x100177e5
mov dword [ebp - 0x33c], 0
movzx edx, byte [ebp - 0x11]
cmp edx, 0x2c
jle 0x100177fa
mov dword [ebp - 0x340], 1
jmp 0x10017804
mov dword [ebp - 0x340], 0
mov eax, dword [ebp - 0x33c]
cmp eax, dword [ebp - 0x340]
jle 0x10017843
mov ecx, dword [0x1005fc3c]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x2c]
xor edx, 0x37e8f03c
movsx eax, word [ebp - 0x20]
imul eax, edx
mov word [ebp - 0x20], ax
mov eax, dword [ebp - 0x3c]
cdq
sub eax, 0xe872ce78
mov word [0x1005f15c], ax
jmp 0x100178d1
mov ecx, 0x44f81bcd
test ecx, ecx
je 0x100178d1
movzx edx, word [ebp - 0x28]
imul eax, edx, 0x48
cdq
mov dword [0x1005f160], eax
mov dword [0x1005f164], edx
movsx eax, word [0x1005f15c]
cdq
or eax, dword [0x1005f0c8]
not eax
sub eax, dword [0x1005f0b4]
mov word [0x1005f128], ax
mov eax, dword [0x1005fc3c]
mov dword [ebp - 0x40], eax
mov cx, word [ebp - 0x24]
add cx, 1
mov word [ebp - 0x24], cx
mov eax, dword [0x1005f0d0]
cdq
mov ecx, eax
mov esi, edx
sub ecx, dword [ebp - 0x50]
sbb esi, dword [ebp - 0x4c]
not ecx
not esi
add ecx, dword [0x1005f0f0]
adc esi, dword [0x1005f0f4]
movsx eax, byte [ebp - 0x19]
cdq
and eax, dword [0x1005f0a8]
and edx, dword [0x1005f0ac]
push edx
push eax
push esi
push ecx
call fcn.1003a730
mov word [ebp - 0x20], ax
mov edx, dword [ebp - 0x120]
add edx, 0x533
mov dword [ebp - 0x42c], edx
movsx eax, byte [0x1005f03b]
movzx ecx, byte [ebp - 0x11]
cmp eax, ecx
jl 0x100178fe
mov dword [ebp - 0x344], 1
jmp 0x10017908
mov dword [ebp - 0x344], 0
movsx edx, byte [0x1005f03b]
cmp edx, 0x62
jl 0x10017920
mov dword [ebp - 0x348], 1
jmp 0x1001792a
mov dword [ebp - 0x348], 0
mov eax, dword [ebp - 0x344]
cmp eax, dword [ebp - 0x348]
jge 0x10017df4
mov dword [ebp - 0x118], 0x110
jmp 0x10017957
mov ecx, dword [ebp - 0x118]
sub ecx, 1
mov dword [ebp - 0x118], ecx
cmp dword [ebp - 0x118], 0
jle 0x10017df2
mov dword [ebp - 4], 0x18
mov dword [ebp - 0x11c], 0
jmp 0x10017986
mov edx, dword [ebp - 0x11c]
add edx, 1
mov dword [ebp - 0x11c], edx
cmp dword [ebp - 0x11c], 0x16
jge 0x10017cb1
mov byte [0x1005f013], 4
mov eax, dword [ebp - 0x34]
mov dword [0x1005f0e8], eax
movsx ecx, word [0x1005f15c]
sub ecx, dword [0x1005f104]
mov word [0x1005f15c], cx
mov dl, byte [ebp - 0x11]
mov eax, 1
imul ecx, eax, 0x113b
mov byte [ecx + 0x10331f28], dl
movsx edx, byte [0x1005f0a5]
sub edx, 0x32b56b3e
mov dword [ebp - 0x40], edx
movsx eax, byte [0x1005f013]
mov dword [ebp - 0x34c], eax
cmp dword [ebp - 0x34c], 4
ja case.default.0x100179fa
mov ecx, dword [ebp - 0x34c]
jmp dword [ecx*4 + 0x1001f178]
movzx edx, byte [ebp - 0x12]
movsx eax, word [ebp - 0x20]
add edx, eax
movzx ecx, byte [ebp - 0x12]
imul ecx, edx
mov byte [ebp - 0x12], cl
mov eax, dword [0x1005f0b8]
mov edx, dword [0x1005f0bc]
mov cl, 2
call fcn.1003a840
mov dword [ebp - 0x6c], eax
jmp case.default.0x100179fa
movsx edx, byte [0x1005f09e]
movzx eax, byte [ebp - 0x15]
add edx, eax
mov byte [0x1005f09e], dl
movzx eax, byte [ebp - 0x15]
cdq
add eax, dword [0x1005f0b8]
adc edx, dword [0x1005f0bc]
mov dword [0x1005f0b8], eax
mov dword [0x1005f0bc], edx
mov ecx, dword [0x1005f0a8]
sub ecx, 0x52026272
mov dword [0x1005f0d0], ecx
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0xc44], edx
mov dword [ebp - 0xc40], eax
mov ecx, dword [ebp - 0xc44]
or ecx, dword [ebp - 0xc40]
je 0x10017aa4
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x684], edx
mov dword [ebp - 0x680], eax
jmp 0x10017ab5
movzx eax, byte [ebp - 0x11]
cdq
mov dword [ebp - 0x684], eax
mov dword [ebp - 0x680], edx
mov cl, byte [ebp - 0x684]
mov byte [ebp - 0x13], cl
movsx dx, byte [str._CpuC3StatesChanges]
mov word [0x1005f10c], dx
jmp case.default.0x100179fa
movsx eax, byte [0x1005f04f]
imul eax, eax, 0xc7
cdq
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
mov ecx, dword [0x1005f120]
mov edx, dword [0x1005f124]
push 0xea4d2
push 0x6afcd132
push edx
push ecx
call fcn.1003a730
mov ecx, eax
movzx eax, word [0x1005f0ec]
cdq
sub eax, ecx
mov word [0x1005f0ec], ax
mov edx, dword [0x1005fc3c]
mov dword [ebp - 0x6c], edx
mov ax, word [0x1005f0ec]
add ax, 1
mov word [0x1005f0ec], ax
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x5c]
push 0
push 0x78
push edx
push ecx
call fcn.1003a730
mov byte [ebp - 0x15], al
mov eax, dword [ebp - 0x3c]
add eax, 0xb9
mov word [0x1005f15c], ax
jmp case.default.0x100179fa
movzx eax, word [0x1005f158]
cdq
push edx
push eax
mov ecx, dword [0x1005f0f4]
push ecx
mov edx, dword [0x1005f0f0]
push edx
call fcn.1003a730
mov dword [0x1005f0f0], eax
mov dword [0x1005f0f4], edx
movsx eax, byte [0x1005f077]
sub eax, 0x3f6a7402
mov byte [ebp - 0x16], al
mov eax, dword [0x1005f0d0]
cdq
mov ecx, dword [ebp - 0x60]
mov esi, dword [ebp - 0x5c]
push esi
push ecx
push edx
push eax
call fcn.1003a730
mov ecx, eax
mov esi, edx
mov eax, dword [0x1005f0d0]
cdq
push esi
push ecx
push edx
push eax
call fcn.1003a730
mov dword [0x1005f0d0], eax
movsx eax, byte [0x1005f077]
cdq
mov ecx, eax
mov esi, edx
add ecx, 0x88ab49b3
adc esi, 0x3b384
movzx eax, byte [ebp - 0x14]
cdq
push esi
push ecx
push edx
push eax
call fcn.1003a730
mov byte [ebp - 0x14], al
movzx edx, byte [ebp - 0x14]
sub edx, 0x622f5403
movzx eax, byte [ebp - 0x11]
or eax, edx
mov byte [ebp - 0x11], al
jmp case.default.0x100179fa
movzx ecx, byte [ebp - 0x17]
movzx edx, byte [ebp - 0x11]
sub ecx, edx
movzx eax, byte [ebp - 0x17]
sub eax, ecx
mov byte [ebp - 0x17], al
movzx ecx, byte [ebp - 0x16]
sub ecx, 0x4b280218
xor edx, edx
mov eax, dword [ebp - 0x60]
mov esi, dword [ebp - 0x5c]
add eax, ecx
adc esi, edx
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], esi
mov ecx, dword [0x1005f0b8]
or ecx, dword [0x1005f0bc]
je 0x10017c50
mov edx, dword [0x1005f150]
mov eax, dword [0x1005f154]
mov dword [ebp - 0x68c], edx
mov dword [ebp - 0x688], eax
jmp 0x10017c64
movsx eax, word [0x1005f0e0]
cdq
mov dword [ebp - 0x68c], eax
mov dword [ebp - 0x688], edx
mov cx, word [ebp - 0x68c]
mov word [0x1005f148], cx
mov dx, word [ebp - 0x28]
sub dx, 1
mov word [ebp - 0x28], dx
movsx eax, byte [str._CpuC3StatesChanges]
cdq
mov ecx, dword [ebp - 0x68]
mov esi, dword [ebp - 0x64]
sub ecx, eax
sbb esi, edx
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x64], esi
movzx edx, byte [ebp - 0x15]
imul eax, edx, 0xcb2ed3f8
mov dword [ebp - 0x58], eax
mov cl, byte [ebp - 0x17]
add cl, 1
mov byte [ebp - 0x17], cl
jmp 0x10017977
jmp 0x10017dd4
mov dword [ebp - 4], 0xffffffff
jmp 0x10017de4
mov eax, dword [ebp - 0x6c]
add eax, 1
mov dword [ebp - 0x6c], eax
jmp 0x10017948
jmp 0x10017e3d
movzx ecx, byte [ebp - 0x14]
mov dword [0x1005f0e4], ecx
movzx edx, byte [ebp - 0x15]
test edx, edx
je 0x10017e1f
mov eax, dword [0x1005f130]
mov ecx, dword [0x1005f134]
mov dword [ebp - 0x69c], eax
mov dword [ebp - 0x698], ecx
jmp 0x10017e31
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x69c], edx
mov dword [ebp - 0x698], eax
mov cl, byte [ebp - 0x69c]
mov byte [0x1005f013], cl
mov edx, dword [ebp - 0x120]
add edx, 0x684
mov dword [ebp - 0x430], edx
xor eax, eax
mov byte [ebp - 0x7a], al
lea ecx, [ebp - 0x105c]
push ecx
lea ecx, [ebp - 0x7a]
call fcn.10003340
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], 0
jmp 0x10017e84
mov edx, dword [ebp - 0x98]
add edx, 1
mov dword [ebp - 0x98], edx
cmp dword [ebp - 0x98], 0x1f
jae 0x10017ee6
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x9c]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 0xa3c], edx
mov eax, dword [ebp - 0xa3c]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x9c]
movsx eax, byte [edx]
xor ecx, eax
mov word [ebp - 0x190], cx
mov ecx, dword [ebp - 0x98]
mov edx, dword [ebp - 0x9c]
lea eax, [edx + ecx*2 + 2]
mov dword [ebp - 0x810], eax
mov ecx, dword [ebp - 0x810]
mov dx, word [ebp - 0x190]
mov word [ecx], dx
jmp 0x10017e75
mov eax, 0x1f
shl eax, 1
mov ecx, dword [ebp - 0x9c]
lea edx, [ecx + eax + 2]
mov dword [ebp - 0x814], edx
xor eax, eax
mov ecx, dword [ebp - 0x814]
mov word [ecx], ax
mov edx, dword [ebp - 0x9c]
add edx, 2
mov dword [ebp - 0x81c], edx
lea eax, [ebp - 0x818]
push eax
lea ecx, [ebp - 0x388]
push ecx
mov edx, dword [ebp - 0x81c]
push edx
call fcn.10004ce0
mov eax, dword [ebp - 0x2c]
cdq
mov dword [ebp - 0xc54], eax
mov dword [ebp - 0xc50], edx
mov eax, dword [ebp - 0xc50]
cmp eax, dword [0x1005f0dc]
ja 0x100181b7
jb 0x10017f67
mov ecx, dword [ebp - 0xc54]
cmp ecx, dword [0x1005f0d8]
ja 0x100181b7
movzx edx, byte [ebp - 0x16]
test edx, edx
je 0x1001815f
movzx eax, byte [ebp - 0x17]
movsx ecx, word [0x1005f0c0]
xor eax, ecx
jne 0x10017f8e
mov dword [ebp - 0x35c], 1
jmp 0x10017f98
mov dword [ebp - 0x35c], 0
cmp dword [ebp - 0x35c], 1
jne 0x10017fad
mov dword [ebp - 0x360], 1
jmp 0x10017fb7
mov dword [ebp - 0x360], 0
movsx edx, word [0x1005f0c0]
cmp edx, dword [ebp - 0x360]
je 0x10018101
mov eax, dword [ebp - 0x54]
cmp dword [ebp - 0x40], eax
je 0x10017fde
mov dword [ebp - 0x364], 1
jmp 0x10017fe8
mov dword [ebp - 0x364], 0
cmp dword [ebp - 0x40], 0x37
je 0x10017ffa
mov dword [ebp - 0x368], 1
jmp 0x10018004
mov dword [ebp - 0x368], 0
mov ecx, dword [ebp - 0x364]
cmp ecx, dword [ebp - 0x368]
je 0x100180ff
mov edx, dword [0x1005f0b0]
imul edx, dword [ebp - 0x58]
mov eax, dword [0x1005f0b0]
add eax, edx
mov dword [0x1005f0b0], eax
mov cx, word [ebp - 0x28]
sub cx, 1
mov word [ebp - 0x28], cx
mov edx, dword [0x1005f0f0]
or edx, dword [0x1005f0f4]
jne 0x10018052
mov dword [ebp - 0x36c], 1
jmp 0x1001805c
mov dword [ebp - 0x36c], 0
mov eax, dword [0x1005f0e8]
imul eax, dword [ebp - 0x36c]
movsx ecx, byte [str._CpuC3StatesChanges]
not ecx
movzx edx, word [0x1005f128]
add ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x40]
and ecx, 0xffffffaa
movzx edx, byte [str.a_StartIdle_]
mov esi, dword [ebp - 0x6c]
not esi
sub edx, esi
xor ecx, edx
sub eax, ecx
mov byte [ebp - 0x19], al
movzx eax, word [0x1005f158]
mov ecx, dword [0x1005f100]
sub ecx, eax
mov ebx, dword [0x1005f0d8]
sub ebx, ecx
not ebx
movzx eax, byte [str.a_StartIdle_]
cdq
mov ecx, dword [0x1005f120]
mov edx, dword [0x1005f124]
mov dword [ebp - 0xd58], edx
xor ecx, eax
movzx eax, byte [ebp - 0x13]
cdq
add ecx, eax
add ebx, ecx
mov byte [0x1005f076], bl
movzx eax, byte [ebp - 0x16]
mov ecx, 4
imul edx, ecx, 0x14d8
mov dword [edx + 0x100dd428], eax
mov eax, dword [0x1005f0b0]
add eax, 0x2758575f
mov byte [0x1005f013], al
jmp 0x1001815d
movsx eax, byte [0x1005f04f]
cdq
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], edx
cmp dword [ebp - 0x58], 0
jne 0x10018121
mov dword [ebp - 0x370], 1
jmp 0x1001812b
mov dword [ebp - 0x370], 0
movzx ecx, byte [ebp - 0x11]
xor ecx, dword [ebp - 0x370]
mov byte [str._CpuC3StatesChanges], cl
mov edx, 1
imul eax, edx, 0x8736
movzx ecx, byte [eax + 0x10149450]
movzx edx, word [0x1005f138]
add edx, ecx
mov word [0x1005f138], dx
jmp 0x100181b2
movzx eax, byte [ebp - 0x13]
imul ecx, eax, 0xe7e
mov byte [ebp - 0x11], cl
movsx edx, word [ebp - 0x20]
sub edx, dword [0x1005f100]
and edx, dword [ebp - 0x2c]
xor eax, eax
push eax
push edx
mov ecx, dword [0x1005f0ac]
push ecx
mov edx, dword [0x1005f0a8]
push edx
call fcn.1003a730
mov byte [0x1005f09f], al
mov byte [ebp - 0x18], 0xe7
mov eax, dword [0x1005f120]
mov ecx, dword [0x1005f124]
mov dword [ebp - 0xd5c], ecx
sub eax, 0x52
mov dword [0x1005f0b4], eax
jmp 0x100184d3
movzx edx, byte [ebp - 0x11]
test edx, edx
je 0x10018209
mov eax, dword [ebp - 0x40]
cdq
push 0xd4548
push 0xa88b6ed1
push edx
push eax
call fcn.1003a730
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x48]
or eax, dword [ebp - 0x44]
jne 0x100181e5
mov byte [ebp - 0x79], 1
jmp 0x100181e9
mov byte [ebp - 0x79], 0
mov cl, byte [ebp - 0x79]
mov byte [0x1005f077], cl
movzx edx, byte [ebp - 0x15]
mov eax, dword [ebp - 0x40]
sub eax, edx
mov ecx, dword [ebp - 0x40]
imul ecx, eax
mov dword [ebp - 0x40], ecx
jmp 0x100184d3
movzx eax, word [0x1005f138]
cdq
mov dword [ebp - 0xc5c], eax
mov dword [ebp - 0xc58], edx
mov edx, dword [ebp - 0xc58]
cmp edx, dword [0x1005f144]
jl 0x100183ba
jg 0x10018243
mov eax, dword [ebp - 0xc5c]
cmp eax, dword [0x1005f140]
jb 0x100183ba
movsx ecx, word [0x1005f108]
test ecx, ecx
jne 0x1001825a
mov dword [ebp - 0x374], 1
jmp 0x10018264
mov dword [ebp - 0x374], 0
movzx edx, word [0x1005f128]
movsx eax, word [ebp - 0x24]
mov ecx, dword [ebp - 0x374]
sub ecx, eax
movzx eax, word [0x1005f0ec]
not eax
xor esi, esi
sub esi, eax
imul ecx, esi
sub edx, ecx
mov dword [0x1005f0b0], edx
movzx eax, byte [ebp - 0x16]
not eax
cdq
mov ecx, dword [ebp - 0x64]
sub eax, dword [ebp - 0x68]
sbb edx, ecx
mov dword [ebp - 0xc64], eax
mov dword [ebp - 0xc60], edx
mov edx, dword [ebp - 0xc64]
or edx, dword [ebp - 0xc60]
jne 0x100182c4
mov dword [ebp - 0x378], 1
jmp 0x100182ce
mov dword [ebp - 0x378], 0
movsx eax, word [0x1005f114]
sub eax, dword [ebp - 0x378]
mov word [ebp - 0x24], ax
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0xd60], eax
not edx
sub ecx, edx
movsx eax, word [0x1005f15c]
cdq
xor ecx, eax
mov word [ebp - 0x28], cx
movsx eax, byte [0x1005f077]
cdq
add eax, 0x9cd3c6f2
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x6c], 0
jne 0x1001832a
xor ecx, ecx
mov dword [ebp - 0x6a4], 1
mov dword [ebp - 0x6a0], ecx
jmp 0x10018335
xorps xmm0, xmm0
movlpd qword [ebp - 0x6a4], xmm0
movzx edx, word [ebp - 0x28]
and edx, dword [ebp - 0x6c]
jne 0x10018352
xor eax, eax
mov dword [ebp - 0x6ac], 1
mov dword [ebp - 0x6a8], eax
jmp 0x1001835d
xorps xmm0, xmm0
movlpd qword [ebp - 0x6ac], xmm0
movsx eax, byte [ebp - 0x18]
cdq
mov ecx, dword [ebp - 0x64]
add eax, dword [ebp - 0x68]
adc edx, ecx
mov esi, dword [ebp - 0x6a4]
sub esi, eax
mov edi, dword [ebp - 0x6a0]
sbb edi, edx
mov eax, dword [ebp - 0x2c]
cdq
push edx
push eax
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x34]
push eax
call fcn.1003a730
not eax
not edx
mov ecx, dword [ebp - 0x6ac]
sub ecx, eax
mov eax, dword [ebp - 0x6a8]
sbb eax, edx
push eax
push ecx
push edi
push esi
call fcn.1003a730
mov dword [0x1005f0f0], eax
mov dword [0x1005f0f4], edx
jmp 0x100184d3
movzx ecx, byte [ebp - 0x17]
test ecx, ecx
je 0x100184d3
movsx edx, word [0x1005f15c]
imul edx, dword [ebp - 0x38]
test edx, edx
jne 0x100183e1
mov dword [ebp - 0x37c], 1
jmp 0x100183eb
mov dword [ebp - 0x37c], 0
movzx eax, byte [ebp - 0x11]
mov ecx, dword [ebp - 0x37c]
sub ecx, eax
jne 0x10018405
mov dword [ebp - 0x380], 1
jmp 0x1001840f
mov dword [ebp - 0x380], 0
movzx eax, byte [ebp - 0x15]
not eax
movzx edx, byte [ebp - 0x13]
imul eax, edx
cdq
mov ecx, eax
mov esi, edx
movsx eax, byte [0x1005f04f]
cdq
add eax, dword [0x1005f0d8]
adc edx, dword [0x1005f0dc]
add ecx, eax
adc esi, edx
mov dword [ebp - 0xc6c], ecx
mov dword [ebp - 0xc68], esi
mov edx, dword [ebp - 0xc6c]
or edx, dword [ebp - 0xc68]
jne 0x1001845f
mov dword [ebp - 0x384], 1
jmp 0x10018469
mov dword [ebp - 0x384], 0
mov eax, dword [ebp - 0x380]
imul eax, dword [ebp - 0x384]
mov byte [ebp - 0x18], al
mov cx, word [0x1005fc3c]
mov word [ebp - 0x24], cx
movzx edx, word [0x1005f138]
movzx eax, byte [0x1005f0a4]
sub edx, eax
movzx ecx, word [0x1005f138]
or ecx, edx
mov word [0x1005f138], cx
movzx eax, word [0x1005f128]
cdq
mov ecx, eax
sub ecx, dword [0x1005f0b8]
movzx eax, word [0x1005f128]
cdq
add eax, ecx
mov word [0x1005f128], ax
movzx edx, byte [ebp - 0x13]
imul eax, edx, 0x1e0fc6c8
mov dword [0x1005f0d0], eax
lea ecx, [ebp - 0x38c]
push ecx
mov edx, dword [ebp - 0x388]
push edx
call fcn.10027a00
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x38c]
push eax
mov ecx, dword [ebp - 0x14c]
push ecx
push 0x27
push 0x1004d55c
call fcn.1001f3f0
push 0x40
mov edx, dword [ebp - 0x14c]
push edx
lea eax, [ebp - 0xf5c]
push eax
call fcn.10020a90
mov ecx, dword [0x1005f104]
xor edx, edx
push edx
push ecx
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.1003a730
add eax, dword [ebp - 0x34]
adc edx, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
mov byte [0x1005f09f], 0xb4
movzx eax, byte [ebp - 0x11]
cdq
add eax, 0xa6e40833
mov edx, dword [0x1005f100]
add edx, eax
mov dword [0x1005f100], edx
mov ax, word [0x1005fc3c]
mov word [0x1005f158], ax
mov ecx, dword [ebp - 0x390]
xor ecx, dword [ebp - 0x820]
mov edx, dword [ebp - 0x390]
add edx, 0x3a9
cmp ecx, edx
je 0x1001d077
mov dword [ebp - 0x124], 0
jmp 0x100185a4
mov eax, dword [ebp - 0x124]
add eax, 1
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0x13f
jge 0x1001867a
cmp dword [ebp - 0x40], 0
je 0x100185d4
mov ecx, dword [0x1005f0a8]
mov edx, dword [0x1005f0ac]
mov dword [ebp - 0x59c], ecx
mov dword [ebp - 0x598], edx
jmp 0x100185e6
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x59c], eax
mov dword [ebp - 0x598], ecx
mov edx, dword [ebp - 0x59c]
mov eax, dword [ebp - 0x598]
mov dword [0x1005f118], edx
mov dword [0x1005f11c], eax
cmp dword [0x1005f0e4], 0
jne 0x10018612
mov dword [ebp - 0x394], 1
jmp 0x1001861c
mov dword [ebp - 0x394], 0
mov ecx, dword [ebp - 0x394]
mov dword [ebp - 0x38], ecx
mov edx, dword [0x1005f0b0]
imul edx, dword [ebp - 0x38]
mov dword [0x1005f0b0], edx
mov ecx, dword [0x1005f160]
mov edx, dword [0x1005f164]
mov dword [ebp - 0xd64], edx
not ecx
sub ecx, 0x65
movzx eax, byte [ebp - 0x17]
add eax, 0x63
cdq
and ecx, eax
mov dword [ebp - 0x3c], ecx
mov eax, dword [0x1005f150]
add eax, 1
mov ecx, dword [0x1005f154]
adc ecx, 0
mov dword [0x1005f150], eax
mov dword [0x1005f154], ecx
jmp 0x10018595
mov byte [ebp - 0x15], 0
movzx edx, byte [ebp - 0x13]
sub edx, 0x3ab60bea
mov word [0x1005f138], dx
mov eax, dword [ebp - 0x58]
sub eax, dword [ebp - 0x6c]
mov dword [ebp - 0x58], eax
mov ecx, dword [0x1005f120]
mov edx, dword [0x1005f124]
mov dword [ebp - 0xd68], edx
add ecx, 0x8e4c4df5
movzx eax, word [0x1005f0ec]
cdq
sub eax, ecx
mov word [0x1005f0ec], ax
mov eax, dword [0x1005f160]
mov ecx, dword [0x1005f164]
mov dword [ebp - 0xd6c], ecx
sub eax, 0xd6
mov dword [0x1005f104], eax
movzx eax, word [0x1005f10c]
cdq
push edx
push eax
mov edx, dword [0x1005f0f4]
push edx
mov eax, dword [0x1005f0f0]
push eax
call fcn.1003a730
mov dword [ebp - 0x40], eax
mov cl, byte [ebp - 0x15]
mov byte [ebp - 0x824], cl
cmp byte [ebp - 0x824], 0
je 0x10018711
jmp 0x10018824
movzx edx, byte [0x1005f09f]
test edx, edx
jne 0x10018728
mov dword [ebp - 0x398], 1
jmp 0x10018732
mov dword [ebp - 0x398], 0
movzx eax, byte [ebp - 0x13]
test eax, eax
jne 0x10018746
mov dword [ebp - 0x39c], 1
jmp 0x10018750
mov dword [ebp - 0x39c], 0
movsx eax, byte [str._CpuC3StatesChanges]
imul eax, dword [ebp - 0x398]
movzx ecx, byte [ebp - 0x11]
sub ecx, dword [ebp - 0x39c]
sub eax, ecx
cdq
mov ecx, eax
mov esi, edx
movzx eax, byte [ebp - 0x15]
not eax
cdq
sub eax, dword [0x1005f150]
sbb edx, dword [0x1005f154]
mov edi, dword [0x1005f160]
mov ebx, dword [0x1005f164]
not edi
not ebx
xor eax, edi
xor edx, ebx
push edx
push eax
push esi
push ecx
call fcn.1003a730
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x30]
mov cl, 1
call fcn.1003a770
mov word [0x1005f15c], ax
cmp dword [0x1005f0b4], 0
jne 0x100187cd
mov dword [ebp - 0x3a0], 1
jmp 0x100187d7
mov dword [ebp - 0x3a0], 0
mov edx, dword [0x1005f0b4]
not edx
imul edx, dword [ebp - 0x3a0]
mov byte [ebp - 0x13], dl
movsx eax, byte [str._CpuC3StatesChanges]
cdq
mov ecx, eax
sub ecx, 0x10b04b50
movzx eax, byte [str.a_StartIdle_]
cdq
add eax, ecx
mov byte [str.a_StartIdle_], al
movzx eax, byte [ebp - 0x16]
cdq
mov edx, dword [0x1005f120]
mov ecx, dword [0x1005f124]
mov dword [ebp - 0xd70], ecx
add eax, edx
mov byte [ebp - 0x16], al
movzx edx, word [ebp - 0xf5c]
cmp edx, 0x5a4d
jne 0x1001d077
movzx eax, byte [ebp - 0x17]
movsx ecx, byte [0x1005f0a5]
cmp eax, ecx
jne 0x10018852
mov dword [ebp - 0x3a4], 1
jmp 0x1001885c
mov dword [ebp - 0x3a4], 0
movzx edx, byte [ebp - 0x17]
cmp edx, 0x10
jne 0x10018871
mov dword [ebp - 0x3a8], 1
jmp 0x1001887b
mov dword [ebp - 0x3a8], 0
mov eax, dword [ebp - 0x3a4]
cmp eax, dword [ebp - 0x3a8]
jle 0x10018bf4
cmp dword [ebp - 0x2c], 0
je 0x10018a44
mov dword [0x1005f0b4], 2
movzx ecx, word [0x1005f10c]
movzx edx, word [ebp - 0x28]
and ecx, edx
mov word [0x1005f10c], cx
movzx eax, byte [ebp - 0x17]
add eax, 0xad
mov word [0x1005f0c0], ax
mov ecx, dword [0x1005f0cc]
push ecx
mov edx, dword [0x1005f0c8]
push edx
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.1003a730
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
movsx edx, word [0x1005f15c]
mov eax, dword [0x1005f0a0]
add eax, edx
mov dword [0x1005f0a0], eax
movsx ecx, byte [0x1005f076]
imul edx, ecx, 0xe25
mov dword [ebp - 0x58], edx
mov eax, dword [0x1005f0b4]
mov dword [ebp - 0x128], eax
cmp dword [ebp - 0x128], 0
je 0x10018937
cmp dword [ebp - 0x128], 1
je 0x1001898a
cmp dword [ebp - 0x128], 2
je 0x100189b5
jmp 0x10018a3f
mov ecx, dword [0x1005f0d8]
sub ecx, 0x4d11
mov edx, dword [ebp - 0x54]
add edx, ecx
mov dword [ebp - 0x54], edx
movzx eax, word [0x1005f158]
mov ecx, dword [ebp - 0x38]
sub ecx, eax
mov dword [ebp - 0x38], ecx
push 0
push 0x72
mov edx, dword [ebp - 0x4c]
push edx
mov eax, dword [ebp - 0x50]
push eax
call fcn.1003a730
mov ecx, dword [0x1005f130]
sub ecx, eax
mov eax, dword [0x1005f134]
sbb eax, edx
mov dword [0x1005f130], ecx
mov dword [0x1005f134], eax
jmp 0x10018a3f
movzx ecx, byte [ebp - 0x15]
imul ecx, dword [ebp - 0x3c]
mov byte [ebp - 0x11], cl
movzx edx, word [ebp - 0x28]
movzx eax, word [0x1005f0ec]
and edx, eax
mov word [ebp - 0x28], dx
movzx ecx, byte [ebp - 0x11]
sar ecx, 8
mov byte [ebp - 0x16], cl
jmp 0x10018a3f
movzx edx, byte [ebp - 0x14]
sub edx, dword [ebp - 0x2c]
jne 0x100189ca
mov dword [ebp - 0x3ac], 1
jmp 0x100189d4
mov dword [ebp - 0x3ac], 0
movzx eax, byte [ebp - 0x12]
movzx ecx, word [0x1005f0ec]
sub eax, ecx
movzx edx, byte [ebp - 0x14]
imul eax, edx
movsx ecx, byte [0x1005f0a5]
movzx edx, word [0x1005f128]
xor ecx, edx
or ecx, dword [ebp - 0x3ac]
imul eax, ecx
test eax, eax
jne 0x10018a0b
mov byte [ebp - 0x6d], 1
jmp 0x10018a0f
mov byte [ebp - 0x6d], 0
mov al, byte [ebp - 0x6d]
mov byte [0x1005f03b], al
movsx ecx, byte [0x1005f03b]
imul edx, ecx, 0x99
mov dword [0x1005f0a0], edx
movsx eax, word [ebp - 0x20]
sub eax, 0x5b4b0c0d
imul eax, dword [0x1005f0d0]
mov dword [0x1005f0d0], eax
jmp 0x10018bf4
cmp dword [0x1005f0e4], 0x7fb53576
jne 0x10018a5c
mov dword [ebp - 0x3b0], 1
jmp 0x10018a66
mov dword [ebp - 0x3b0], 0
movzx ecx, word [0x1005f10c]
test ecx, ecx
jne 0x10018a86
cmp dword [0x1005f100], 0
je 0x10018a86
mov dword [ebp - 0x3b4], 1
jmp 0x10018a90
mov dword [ebp - 0x3b4], 0
mov edx, dword [ebp - 0x3b0]
cmp edx, dword [ebp - 0x3b4]
jge 0x10018bf4
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0xd74], edx
sub ecx, 0x4a46d7b8
movzx eax, byte [ebp - 0x11]
cdq
sub eax, ecx
mov byte [ebp - 0x11], al
mov byte [ebp - 0x17], 0x2b
mov eax, dword [0x1005f100]
sub eax, 0xb5b
mov byte [ebp - 0x13], al
movzx ecx, word [0x1005f10c]
sub ecx, dword [0x1005f0a0]
jne 0x10018aea
mov dword [ebp - 0x3bc], 1
jmp 0x10018af4
mov dword [ebp - 0x3bc], 0
cmp dword [ebp - 0x38], 0
jne 0x10018b06
mov dword [ebp - 0x3b8], 1
jmp 0x10018b10
mov dword [ebp - 0x3b8], 0
movsx edx, word [ebp - 0x20]
test edx, edx
jne 0x10018b2c
mov edx, dword [0x1005fc3c]
mov dword [ebp - 0x134], edx
mov byte [ebp - 0x15], 3
movzx eax, byte [ebp - 0x15]
add eax, 0x186aa09c
mov byte [ebp - 0x17], al
mov byte [0x1005f013], 0x7e
movzx eax, word [0x1005f128]
cdq
sub eax, 0x92338d73
mov byte [ebp - 0x13], al
movsx ecx, byte [ebp - 0x19]
mov edx, 4
imul eax, edx, 0x76da
mov dword [eax + 0x101db6d8], ecx
movzx ecx, byte [ebp - 0x15]
mov dword [ebp - 0x3c4], ecx
cmp dword [ebp - 0x3c4], 3
ja case.default.0x10018c59
mov edx, dword [ebp - 0x3c4]
jmp dword [edx*4 + 0x1001f18c]
movsx eax, byte [0x1005f04f]
movzx ecx, byte [ebp - 0x15]
imul eax, ecx
mov byte [0x1005f04f], al
push 0
push 0xa10978e7
mov edx, dword [0x1005f134]
push edx
mov eax, dword [0x1005f130]
push eax
call fcn.1003a730
mov dword [ebp - 0x54], eax
movzx eax, byte [0x1005f09f]
cdq
mov esi, eax
sub esi, dword [0x1005f150]
mov ecx, dword [ebp - 0x54]
xor edx, edx
push edx
push ecx
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.1003a730
sub esi, eax
movsx edx, word [ebp - 0x24]
sub edx, dword [ebp - 0x38]
movzx eax, byte [0x1005f09f]
not eax
mov ecx, dword [ebp - 0x54]
add ecx, eax
imul edx, ecx
add esi, edx
mov dword [ebp - 0x38], esi
mov edx, dword [0x1005fc3c]
mov dword [ebp - 0x2c], edx
jmp case.default.0x10018c59
mov byte [ebp - 0x16], 0x83
movsx eax, byte [ebp - 0x19]
add eax, 0xc262
mov dword [0x1005f100], eax
mov ecx, dword [ebp - 0x2c]
mov edx, 4
imul eax, edx, 0xf
mov dword [eax + 0x100dd368], ecx
movzx ecx, word [0x1005f148]
sub ecx, 0xe9
mov dword [ebp - 0x40], ecx
mov edx, dword [0x1005fc3c]
mov dword [0x1005f0b0], edx
imul eax, dword [ebp - 0x54], 0xf40b
mov ecx, dword [ebp - 0x3c]
xor ecx, eax
mov dword [ebp - 0x3c], ecx
jmp case.default.0x10018c59
mov edx, dword [0x1005f130]
and edx, 0x9d
mov byte [ebp - 0x13], dl
mov eax, dword [0x1005f0f8]
not eax
mov ecx, dword [0x1005f0fc]
not ecx
mov edx, dword [0x1005f160]
mov esi, dword [0x1005f164]
sub edx, dword [0x1005f130]
sbb esi, dword [0x1005f134]
movzx edi, byte [ebp - 0x15]
not edi
imul edi, dword [ebp - 0x58]
xor ebx, ebx
xor edx, edi
xor esi, ebx
push esi
push edx
push ecx
push eax
call fcn.1003a730
mov dword [ebp - 0x2c], eax
mov al, byte [0x1005fc3c]
mov byte [0x1005f04f], al
jmp case.default.0x10018c59
movzx ecx, byte [ebp - 0x17]
add ecx, 0x71150257
mov word [0x1005f0c0], cx
movsx eax, byte [ebp - 0x19]
cdq
sub eax, 0xc9b0eb59
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp - 0x134]
add edx, 0x812
mov dword [ebp - 0xd78], edx
cmp dword [ebp - 0x54], 0xf78e8678
jbe 0x10019054
movsx eax, byte [ebp - 0x19]
test eax, eax
je 0x10018f39
mov dword [ebp - 0x12c], 0x8d
jmp 0x10018df2
cmp dword [ebp - 0x12c], 0
jle 0x10018f34
movsx edx, byte [0x1005f09e]
test edx, edx
je 0x10018f13
movsx eax, word [ebp - 0x20]
imul ecx, eax, 0x505afa92
mov dword [ebp - 0x54], ecx
mov dx, word [ebp - 0x6c]
mov word [0x1005f148], dx
mov ax, word [0x1005f110]
mov word [0x1005f10c], ax
movsx ecx, byte [0x1005f04f]
test ecx, ecx
jne 0x10018e49
mov edx, dword [0x1005f0c8]
add edx, 1
mov eax, dword [0x1005f0cc]
adc eax, 0
mov dword [0x1005f0c8], edx
mov dword [0x1005f0cc], eax
jmp 0x10018de3
jmp 0x10019054
mov ecx, dword [ebp - 0x38]
not ecx
test ecx, ecx
ja 0x10019054
xor edx, edx
mov eax, dword [0x1005f118]
mov ecx, dword [0x1005f11c]
add eax, dword [ebp - 0x58]
adc ecx, edx
mov edx, dword [0x1005f118]
mov esi, dword [0x1005f11c]
add edx, eax
adc esi, ecx
mov dword [0x1005f118], edx
mov dword [0x1005f11c], esi
movzx eax, word [0x1005f138]
imul ecx, eax, 0xc81e
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0xd7c], eax
xor edx, 0x94ef9739
mov dword [ebp - 0x3c], edx
mov ecx, dword [0x1005f0f0]
or ecx, dword [0x1005f0f4]
jne 0x10018fb3
mov dword [ebp - 0x3d4], 1
jmp 0x10018fbd
mov dword [ebp - 0x3d4], 0
movzx edx, word [ebp - 0x28]
movzx eax, word [0x1005f10c]
imul eax, dword [ebp - 0x3d4]
sub edx, eax
jne 0x10018fdf
mov dword [ebp - 0x3dc], 1
jmp 0x10018fe9
mov dword [ebp - 0x3dc], 0
mov ecx, dword [ebp - 0x48]
or ecx, dword [ebp - 0x44]
jne 0x10018ffd
mov ecx, dword [ebp - 0x134]
add ecx, 0x712
mov dword [ebp - 0xd80], ecx
mov edx, dword [0x1005f0a8]
or edx, dword [0x1005f0ac]
je 0x100192a8
mov byte [0x1005f077], 2
movsx eax, byte [0x1005f0a5]
test eax, eax
jne 0x10019096
mov dword [ebp - 0x3e0], 1
jmp 0x100190a0
mov dword [ebp - 0x3e0], 0
movsx ecx, word [0x1005f108]
not ecx
imul ecx, dword [ebp - 0x3e0]
mov dword [ebp - 0x38], ecx
mov dl, byte [0x1005f108]
mov byte [0x1005f09f], dl
mov byte [0x1005f0a4], 0x49
movsx eax, byte [0x1005f076]
cdq
mov ecx, 8
imul ecx, ecx, 0x3e1c
mov dword [ecx + 0x10124f90], eax
mov dword [ecx + 0x10124f94], edx
xor edx, edx
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x5c]
add eax, dword [ebp - 0x38]
adc ecx, edx
mov edx, dword [ebp - 0x60]
mov esi, dword [ebp - 0x5c]
push ecx
push eax
push esi
push edx
call fcn.1003a730
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], edx
mov al, byte [0x1005f077]
mov byte [ebp - 0x130], al
cmp byte [ebp - 0x130], 0
je 0x10019136
cmp byte [ebp - 0x130], 1
je 0x1001918f
cmp byte [ebp - 0x130], 2
je 0x10019248
movsx eax, byte [0x1005f04f]
cdq
xor eax, dword [0x1005f0f8]
mov byte [0x1005f013], al
movsx ecx, word [ebp - 0x24]
imul eax, ecx, 0x34
cdq
mov esi, eax
mov edi, edx
movsx eax, word [ebp - 0x24]
cdq
push edx
push eax
mov edx, dword [ebp - 0x4c]
push edx
mov eax, dword [ebp - 0x50]
push eax
call fcn.1003a730
push edx
push eax
push edi
push esi
call fcn.1003a730
mov dword [0x1005f0d0], eax
movsx ecx, byte [0x1005f076]
imul edx, ecx, 0xbe852e0c
mov byte [0x1005f0a5], dl
jmp 0x100192a8
mov eax, 8
imul ecx, eax, 0x4a2
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x4c]
mov dword [ecx + 0x10124f90], edx
mov dword [ecx + 0x10124f94], eax
movsx eax, byte [0x1005f013]
cdq
xor eax, dword [0x1005f130]
xor edx, dword [0x1005f134]
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
movsx eax, word [0x1005f108]
movsx ecx, word [0x1005f0e0]
imul eax, ecx
movsx edx, byte [ebp - 0x18]
mov ecx, dword [ebp - 0x40]
or ecx, edx
sub eax, ecx
mov dword [0x1005f0a0], eax
mov edx, dword [0x1005f0a8]
or edx, dword [0x1005f0ac]
jne 0x10019223
mov ecx, dword [ebp - 0x134]
add ecx, 0x715
mov dword [ebp - 0x428], ecx
movsx edx, byte [0x1005f077]
test edx, edx
je 0x10019643
mov eax, dword [0x1005f118]
mov ecx, dword [0x1005f11c]
mov dword [ebp - 0xc8c], eax
mov dword [ebp - 0xc88], ecx
mov edx, dword [ebp - 0xc8c]
or edx, dword [ebp - 0xc88]
je 0x100193fe
mov dword [ebp - 0x138], 0x2f
mov al, byte [0x1005f09e]
mov byte [0x1005f09e], al
mov eax, dword [ebp - 0x3c]
sar eax, 3
cdq
mov dword [0x1005f130], eax
mov dword [0x1005f134], edx
mov ecx, dword [ebp - 0x68]
mov edx, dword [ebp - 0x64]
sub ecx, dword [0x1005f0b8]
sbb edx, dword [0x1005f0bc]
mov eax, dword [0x1005f0b8]
xor eax, 0x6cedd751
mov esi, dword [0x1005f0bc]
xor esi, 0x66d4b
push esi
push eax
push edx
push ecx
call fcn.1003a730
mov word [0x1005f108], ax
mov ecx, dword [ebp - 0x58]
sub ecx, 0x4dc1471
mov byte [0x1005f09e], cl
movzx edx, byte [ebp - 0x17]
test edx, edx
jne 0x10019372
mov dword [ebp - 0x3e4], 1
jmp 0x1001937c
mov dword [ebp - 0x3e4], 0
mov eax, dword [0x1005f0b4]
imul eax, dword [ebp - 0x3e4]
xor ecx, ecx
mov dword [0x1005f140], eax
mov dword [0x1005f144], ecx
movzx eax, word [0x1005f148]
cdq
push edx
push eax
mov edx, dword [ebp - 0x4c]
push edx
mov eax, dword [ebp - 0x50]
push eax
call fcn.1003a730
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
mov ecx, dword [0x1005fc3c]
mov dword [0x1005f0e4], ecx
movsx eax, byte [ebp - 0x19]
cdq
push 0x5ffd1
push 0x3f903d22
push edx
push eax
call fcn.1003a730
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], edx
mov edx, dword [ebp - 0x138]
add edx, 1
mov dword [ebp - 0x138], edx
cmp dword [ebp - 0x138], 0xde4
jl 0x1001935e
movzx eax, byte [ebp - 0x17]
test eax, eax
je 0x10019534
movzx ecx, byte [ebp - 0x16]
movsx edx, byte [0x1005f03b]
sub ecx, edx
mov byte [ebp - 0x16], cl
movzx eax, byte [ebp - 0x11]
test eax, eax
jne 0x1001942e
movzx ecx, word [ebp - 0x28]
test ecx, ecx
je 0x100195e1
movzx eax, byte [ebp - 0x17]
cdq
add eax, dword [ebp - 0x48]
adc edx, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
mov edx, 0xf7e27
mov dword [0x1005f0f8], 0xe95bc8dc
mov dword [0x1005f0fc], edx
movsx eax, byte [0x1005f077]
test eax, eax
je 0x1001967f
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x3f0], ecx
jmp 0x10019689
movzx edx, byte [ebp - 0x14]
mov dword [ebp - 0x3f0], edx
mov eax, dword [ebp - 0x3f0]
cdq
mov dword [0x1005f130], eax
mov dword [0x1005f134], edx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x6c], eax
mov ecx, 1
imul edx, ecx, 0x4edf
movsx eax, byte [edx + 0x101b0b60]
mov ecx, dword [ebp - 0x3c]
sub ecx, eax
mov dword [ebp - 0x3c], ecx
mov edx, dword [0x1005fc3c]
mov dword [ebp - 0x13c], edx
movzx eax, byte [ebp - 0x15]
test eax, eax
je 0x100197d8
movzx eax, byte [ebp - 0x13]
cdq
mov ecx, dword [0x1005f0ac]
push ecx
mov ecx, dword [0x1005f0a8]
push ecx
push edx
push eax
call fcn.1003a730
mov ecx, eax
movzx eax, byte [ebp - 0x13]
cdq
sub eax, ecx
mov byte [ebp - 0x13], al
mov edx, dword [0x1005f0a0]
mov dword [0x1005f100], edx
movzx eax, byte [0x1005f09f]
add eax, dword [0x1005f100]
movzx ecx, byte [0x1005f09f]
sub ecx, eax
mov byte [0x1005f09f], cl
movzx edx, word [ebp - 0x28]
not edx
add edx, dword [ebp - 0x54]
mov esi, edx
xor edi, edi
mov eax, dword [ebp - 0x3c]
cdq
mov ecx, eax
mov ebx, edx
movsx eax, word [0x1005f0e0]
cdq
mov dword [ebp - 0x828], edi
mov edi, dword [0x1005f164]
add eax, dword [0x1005f160]
adc edx, edi
push edx
push eax
push ebx
push ecx
call fcn.1003a730
add esi, eax
mov edi, dword [ebp - 0x828]
adc edi, edx
mov dword [0x1005f0f8], esi
mov dword [0x1005f0fc], edi
movzx edx, byte [ebp - 0x17]
imul eax, edx, 0xffff8f66
mov ecx, dword [0x1005f0e4]
xor ecx, dword [0x1005f0b0]
imul eax, ecx
not eax
mov dword [ebp - 0x40], eax
movzx edx, word [0x1005f0ec]
test edx, edx
je 0x100197b3
mov edx, dword [ebp - 0x13c]
add edx, 0x579
mov dword [ebp - 0x3fc], edx
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x5c]
add eax, dword [ebp - 0x34]
adc ecx, dword [ebp - 0x30]
add eax, dword [ebp - 0x34]
adc ecx, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
movzx eax, byte [ebp - 0x14]
cdq
sub eax, 0xc8dec2bc
mov byte [str.a_StartIdle_], al
movsx edx, byte [0x1005f0a5]
not edx
mov word [0x1005f114], dx
movzx eax, word [0x1005f10c]
movzx ecx, word [0x1005f148]
add eax, ecx
movzx edx, word [0x1005f10c]
sub edx, eax
mov word [0x1005f10c], dx
mov al, byte [0x1005f0a5]
mov byte [0x1005f09e], al
mov ecx, dword [ebp - 0x13c]
add ecx, 0x704
mov dword [ebp - 0x82c], ecx
mov edx, dword [0x1005f104]
sub edx, dword [0x1005f100]
mov dword [0x1005f104], edx
movsx eax, word [0x1005f108]
mov ecx, dword [ebp - 0x40]
add ecx, eax
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x3c]
sub edx, 0x62703ee9
movsx eax, word [ebp - 0x20]
sub eax, edx
mov word [ebp - 0x20], ax
movsx ecx, word [ebp - 0x20]
test ecx, ecx
je 0x100198a8
mov ecx, dword [0x1005f0a8]
or ecx, dword [0x1005f0ac]
je 0x1001d09e
mov edx, dword [0x1005f0b8]
mov eax, dword [0x1005f0bc]
mov dword [ebp - 0x5fc], edx
mov dword [ebp - 0x5f8], eax
jmp 0x1001d0b0
mov eax, dword [0x1005f0d0]
cdq
mov dword [ebp - 0x5fc], eax
mov dword [ebp - 0x5f8], edx
mov cl, byte [ebp - 0x5fc]
mov byte [ebp - 0x12], cl
movzx edx, byte [str.a_StartIdle_]
sub edx, 7
mov dword [0x1005f0e4], edx
movsx eax, byte [0x1005f077]
add eax, 0x405b1767
movsx ecx, byte [ebp - 0x19]
imul ecx, eax
mov byte [ebp - 0x19], cl
mov edx, dword [ebp - 0xbc]
imul edx, dword [ebp - 0xbc]
mov eax, dword [ebp - 0xbc]
or eax, 0x3df
xor edx, eax
mov ecx, dword [ebp - 0x850]
imul ecx, dword [ebp - 0xbc]
cmp edx, ecx
je 0x1001f0e4
mov dword [ebp - 4], 0x32
mov dword [0x1005f0e4], 0
movsx eax, word [ebp - 0x24]
add eax, 0x81
cdq
mov dword [0x1005f118], eax
mov dword [0x1005f11c], edx
movzx eax, byte [ebp - 0x11]
add eax, 0x596b
cdq
mov ecx, dword [0x1005f150]
sub ecx, eax
mov eax, dword [0x1005f154]
sbb eax, edx
mov dword [0x1005f150], ecx
mov dword [0x1005f154], eax
xor ecx, ecx
mov dword [0x1005f140], 4
mov dword [0x1005f144], ecx
mov edx, dword [ebp - 0x3c]
xor edx, dword [ebp - 0x3c]
mov dword [ebp - 0x3c], edx
mov eax, dword [0x1005f0e4]
mov dword [ebp - 0x854], eax
cmp dword [ebp - 0x854], 0
je 0x1001d18c
jmp 0x1001d284
imul ecx, dword [0x1005f0a0], 0x1507
mov word [0x1005f148], cx
movsx edx, byte [ebp - 0x18]
movzx eax, byte [ebp - 0x12]
imul edx, eax
test edx, edx
jne 0x1001d1b8
mov dword [ebp - 0x4b8], 1
jmp 0x1001d1c2
mov dword [ebp - 0x4b8], 0
mov ecx, dword [0x1005f0f0]
or ecx, dword [0x1005f0f4]
jne 0x1001d1dc
mov dword [ebp - 0x4bc], 1
jmp 0x1001d1e6
mov dword [ebp - 0x4bc], 0
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0x40]
sub eax, edx
imul eax, dword [ebp - 0x4b8]
movsx ecx, word [ebp - 0x20]
mov edx, dword [ebp - 0x4bc]
sub edx, dword [ebp - 0x40]
add ecx, edx
sub eax, ecx
mov byte [str.a_StartIdle_], al
mov eax, 0xffffca36
mov word [ebp - 0x24], ax
mov cx, word [0x1005f0e0]
add cx, 1
mov word [0x1005f0e0], cx
mov edx, 8
imul eax, edx, 0x14ba
mov ecx, dword [0x1005f150]
mov edx, dword [0x1005f154]
mov dword [eax + 0x101fad10], ecx
mov dword [eax + 0x101fad14], edx
movzx eax, byte [ebp - 0x17]
mov ecx, dword [ebp - 0x6c]
sub ecx, eax
not ecx
mov esi, ecx
xor edi, edi
mov ecx, dword [ebp - 0x68]
mov ebx, dword [ebp - 0x64]
mov edx, dword [0x1005f164]
add ecx, dword [0x1005f160]
adc ebx, edx
mov eax, dword [ebp - 0x40]
cdq
push edx
push eax
push ebx
push ecx
call fcn.1003a730
add esi, eax
adc edi, edx
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x5c], edi
jmp 0x1001d2c6
mov dword [ebp - 4], 0xffffffff
jmp 0x1001d2d6
movzx edx, byte [ebp - 0x14]
cmp edx, dword [0x1005f0e4]
jl 0x1001d2ee
mov dword [ebp - 0x4c0], 1
jmp 0x1001d2f8
mov dword [ebp - 0x4c0], 0
movzx eax, byte [ebp - 0x14]
cmp eax, 0x57
jl 0x1001d30d
mov dword [ebp - 0x4c4], 1
jmp 0x1001d317
mov dword [ebp - 0x4c4], 0
mov ecx, dword [ebp - 0x4c0]
cmp ecx, dword [ebp - 0x4c4]
jg 0x1001d416
mov edx, dword [0x1005f160]
mov eax, dword [0x1005f164]
mov dword [ebp - 0x978], edx
mov dword [ebp - 0x974], eax
mov ecx, dword [ebp - 0x978]
or ecx, dword [ebp - 0x974]
je 0x1001d411
push 0
push 0xe9
mov edx, dword [0x1005f134]
push edx
mov eax, dword [0x1005f130]
push eax
call fcn.1003a730
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
mov ecx, dword [0x1005f0b8]
or ecx, dword [0x1005f0bc]
jne 0x1001d38b
mov dword [ebp - 0x4c8], 1
jmp 0x1001d395
mov dword [ebp - 0x4c8], 0
mov edx, dword [0x1005f0b8]
or edx, dword [0x1005f0bc]
jne 0x1001d3af
mov dword [ebp - 0x4cc], 1
jmp 0x1001d3b9
mov dword [ebp - 0x4cc], 0
movsx eax, word [0x1005f0c0]
imul eax, dword [ebp - 0x4c8]
mov ecx, dword [ebp - 0x2c]
not ecx
add ecx, dword [ebp - 0x4cc]
imul eax, ecx
cdq
mov dword [0x1005f150], eax
mov dword [0x1005f154], edx
movzx edx, byte [ebp - 0x16]
movsx eax, word [ebp - 0x20]
and edx, eax
movzx ecx, byte [ebp - 0x16]
sub ecx, edx
mov byte [ebp - 0x16], cl
mov edx, dword [0x1005fc3c]
mov dword [ebp - 0x58], edx
movzx eax, word [0x1005f138]
add eax, 0x267f59f3
xor ecx, ecx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], ecx
jmp 0x1001d4d1
movsx edx, byte [0x1005f03b]
test edx, edx
je 0x1001d4d1
movsx eax, byte [0x1005f013]
sub eax, 0x70b2e2b2
mov byte [ebp - 0x15], al
mov ecx, 1
imul edx, ecx, 0x230d
mov al, byte [edx + 0x102772c8]
mov byte [ebp - 0x18], al
movzx ecx, word [0x1005f138]
add ecx, dword [ebp - 0x6c]
mov word [ebp - 0x24], cx
movsx edx, byte [0x1005f077]
test edx, edx
jne 0x1001d46d
mov dword [ebp - 0x4d0], 1
jmp 0x1001d477
mov dword [ebp - 0x4d0], 0
mov eax, dword [0x1005f0ac]
push eax
mov ecx, dword [0x1005f0a8]
push ecx
mov edx, dword [0x1005f0dc]
push edx
mov eax, dword [0x1005f0d8]
push eax
call fcn.1003a730
mov ecx, eax
mov esi, edx
movsx edx, byte [0x1005f013]
mov eax, dword [ebp - 0x4d0]
sub eax, edx
add eax, 0x3eeb93f5
cdq
sub ecx, eax
sbb esi, edx
mov dword [0x1005f120], ecx
mov dword [0x1005f124], esi
movsx eax, word [0x1005f108]
and eax, 0x1624
mov word [0x1005f114], ax
movzx ecx, word [ebp - 0xf5c]
cmp ecx, 0x5a4d
jne 0x1001d4ed
cmp dword [ebp - 0xa0], 0
jne 0x1001f0e4
mov dword [ebp - 4], 0x34
mov dword [ebp - 0x174], 0xf
movzx edx, byte [ebp - 0x11]
shl edx, 5
mov word [0x1005f0c0], dx
movsx eax, byte [0x1005f0a5]
mov ecx, dword [0x1005f0e4]
sub ecx, eax
xor eax, eax
sub eax, ecx
cdq
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
mov edx, dword [0x1005f0f0]
sub edx, 0xe1a6102b
mov dword [ebp - 0x3c], edx
mov eax, 0xffffc6d9
mov word [0x1005f110], ax
mov byte [ebp - 0x18], 0xea
movsx eax, byte [0x1005f09e]
cdq
sub eax, dword [ebp - 0x48]
mov byte [0x1005f09e], al
movsx ecx, byte [ebp - 0x18]
test ecx, ecx
je 0x1001d568
movzx edx, byte [ebp - 0x14]
mov dword [ebp - 0x4d4], edx
jmp 0x1001d571
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x4d4], eax
mov ecx, dword [ebp - 0x4d4]
mov dword [0x1005f0b0], ecx
mov edx, dword [0x1005f118]
mov eax, dword [0x1005f11c]
push 0xb9314
push 0x248761b7
push eax
push edx
call fcn.1003a730
mov dword [0x1005f0a0], eax
movsx eax, byte [ebp - 0x19]
cdq
sub eax, 0xcdf09f47
sbb edx, 0x29d64
mov ecx, dword [0x1005f0b0]
xor esi, esi
push edx
push eax
push esi
push ecx
call fcn.1003a730
mov dword [0x1005f0b0], eax
mov edx, dword [ebp - 0x174]
add edx, 1
mov dword [ebp - 0x174], edx
cmp dword [ebp - 0x174], 0x578
jl 0x1001d535
jmp 0x1001d654
mov dword [ebp - 4], 0xffffffff
jmp 0x1001d664
movsx ecx, byte [str._CpuC3StatesChanges]
movzx edx, byte [0x1005f09f]
imul ecx, edx
mov byte [str._CpuC3StatesChanges], cl
mov eax, 0xffff98aa
mov word [ebp - 0x24], ax
movzx ecx, word [0x1005f148]
movzx edx, byte [ebp - 0x15]
imul ecx, edx
mov word [0x1005f158], cx
mov eax, dword [0x1005fc3c]
mov dword [ebp - 0x178], eax
cmp dword [0x1005f104], 0
je 0x1001d86b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret