Function at 0x1003be70
Capabilities:
Check os version
Contain obfuscated stackstrings
Delete directory
Delete file
Get file size
Get keyboard layout
Query service status
Read .ini file
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006a62a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xb74
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x54], 0x6915a136
mov dword [ebp - 0x254], 0x1780eec2
mov dword [ebp - 0x2b8], 0
mov dword [ebp - 0x65c], 0xffffffff
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0xa88], eax
imul eax, dword [ebp - 0x54], 0xfffffff8
cmp eax, 0xcb55
jl 0x1003beda
mov dword [ebp - 0x6c0], 1
jmp 0x1003bee1
and dword [ebp - 0x6c0], 0
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0xa64], eax
mov eax, dword [ebp - 0x54]
sub eax, dword [ebp - 0x54]
mov dword [ebp - 0x254], eax
imul eax, dword [ebp - 0x254], 0x6eab
cmp eax, 0xffff
ja 0x1003bf13
mov dword [ebp - 0x594], 1
jmp 0x1003bf1a
and dword [ebp - 0x594], 0
mov eax, dword [ebp - 0x54]
cmp dword [ebp - 0x594], eax
je 0x1003bf31
mov dword [ebp - 0x600], 1
jmp 0x1003bf38
and dword [ebp - 0x600], 0
mov eax, dword [ebp - 0x54]
cmp dword [ebp - 0x600], eax
jne 0x1003bf4f
mov dword [ebp - 0x608], 1
jmp 0x1003bf56
and dword [ebp - 0x608], 0
mov eax, dword [ebp - 0x608]
sub eax, dword [ebp - 0x2b8]
jne 0x1003bf70
mov dword [ebp - 0x610], 1
jmp 0x1003bf77
and dword [ebp - 0x610], 0
mov eax, dword [ebp - 0x54]
sub eax, dword [ebp - 0x610]
jne 0x1003bf94
cmp dword [ebp - 0x254], 0
jne 0x1003bf94
and dword [ebp - 0x618], 0
jmp 0x1003bf9e
mov dword [ebp - 0x618], 1
mov eax, dword [ebp - 0x618]
sub eax, dword [ebp - 0x2b8]
cmp eax, dword [ebp - 0x65c]
jge 0x1003bfbe
mov dword [ebp - 0x6e0], 1
jmp 0x1003bfc5
and dword [ebp - 0x6e0], 0
mov eax, dword [ebp - 0x2b8]
cmp dword [ebp - 0x54], eax
je 0x1003bfdc
mov dword [ebp - 0x620], 1
jmp 0x1003bfe3
and dword [ebp - 0x620], 0
mov eax, dword [ebp - 0x620]
mov dword [ebp - 0x65c], eax
mov byte [ebp - 0x94], 0
movzx eax, byte [ebp - 0x94]
test eax, eax
je 0x1003c007
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
cmp dword [0x10616eac], 0
jne 0x100405b2
mov dword [ebp - 0xac], 0x97f6af11
mov dword [ebp - 0x200], 0x7d19fa5
push 4
lea ecx, [ebp - 0x918]
call fcn.10016555
and dword [ebp - 4], 0
mov dword [ebp - 0x214], 0
jmp 0x1003c052
mov eax, dword [ebp - 0x214]
inc eax
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 4
jge 0x1003c071
push dword [ebp - 0x214]
lea ecx, [ebp - 0x918]
call fcn.100165f3
or dword [eax], 0xffffffff
jmp 0x1003c045
mov dword [ebp - 0xac], 0xfffffff6
jmp 0x1003c08a
mov eax, dword [ebp - 0xac]
inc eax
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0x1d
jne 0x1003c2c9
mov dword [ebp - 0x260], 0xffffffff
push 1
lea ecx, [ebp - 0x6ac]
call fcn.10016555
mov byte [ebp - 4], 1
mov dword [ebp - 0x78], 0x226c312f
mov dword [ebp - 0x6c], 0
jmp 0x1003c0c9
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 1
jge 0x1003c0e5
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x6ac]
call fcn.100165f3
mov dword [eax], 0x91df82
jmp 0x1003c0c2
mov dword [ebp - 0x6c], 0
jmp 0x1003c0f5
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 3
jge 0x1003c10b
mov eax, dword [ebp - 0x6c]
mov dword [ebp + eax*4 - 0xac4], 8
jmp 0x1003c0ee
cmp dword [ebp - 0x260], 0xffffffff
jbe 0x1003c120
mov dword [ebp - 0x5b0], 1
jmp 0x1003c127
and dword [ebp - 0x5b0], 0
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x59c], eax
push 0
lea ecx, [ebp - 0x6ac]
call fcn.100165f3
mov ecx, dword [ebp - 0x59c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x59c]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
jne 0x1003c25d
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x9b8], eax
mov eax, dword [ebp - 0x200]
mov dword [ebp - 0xaa4], eax
push 0
lea ecx, [ebp - 0x6ac]
call fcn.100165f3
cmp dword [eax], 1
jbe 0x1003c18e
mov dword [ebp - 0x2d0], 1
jmp 0x1003c195
and dword [ebp - 0x2d0], 0
mov eax, dword [ebp - 0xac]
cmp dword [ebp - 0x2d0], eax
je 0x1003c1af
mov dword [ebp - 0x5a8], 1
jmp 0x1003c1b6
and dword [ebp - 0x5a8], 0
mov eax, dword [ebp - 0x78]
cmp dword [ebp - 0x5a8], eax
jge 0x1003c1c5
cmp dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x260]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0xfffffff7
jle 0x1003c1e0
mov dword [ebp - 0x2d8], 1
jmp 0x1003c1e7
and dword [ebp - 0x2d8], 0
mov eax, dword [ebp - 0xac]
cmp dword [ebp - 0x2d8], eax
jl 0x1003c201
mov dword [ebp - 0x2a8], 1
jmp 0x1003c208
and dword [ebp - 0x2a8], 0
push 0
lea ecx, [ebp - 0x6ac]
call fcn.100165f3
mov ecx, dword [ebp - 0x2a8]
mov dword [eax], ecx
push 3
lea ecx, [ebp - 0x918]
call fcn.100165f3
mov ecx, dword [ebp - 0x2a8]
mov dword [eax], ecx
mov eax, dword [ebp - 0x200]
mov dword [ebp - 0x9c0], eax
mov eax, dword [ebp - 0x260]
mov ecx, dword [ebp - 0x200]
sub ecx, dword [ebp - 0x200]
sub eax, ecx
jne 0x1003c25d
and dword [ebp - 0x2e0], 0
jmp 0x1003c267
mov dword [ebp - 0x2e0], 1
mov eax, dword [ebp - 0x5b0]
cmp eax, dword [ebp - 0x2e0]
je 0x1003c281
mov dword [ebp - 0x5b8], 1
jmp 0x1003c288
and dword [ebp - 0x5b8], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x5b8]
mov dword [ebp + eax - 0xac4], ecx
cmp dword [ebp - 0x78], 0
je 0x1003c2b5
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x6ac]
call fcn.100165d7
jmp 0x1003c07d
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x6ac]
call fcn.100165d7
jmp 0x1003c07d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x918]
call fcn.100165d7
mov dword [ebp - 0x1a8], 0xa6318529
mov dword [ebp - 0xf4], 0x39beb064
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x6f0], 0xfffffffe
mov dword [ebp - 0x940], 0xfffffff7
mov dword [ebp - 0x93c], 0xfffffff7
mov dword [ebp - 0x938], 0xfffffff7
mov dword [ebp - 0x934], 0xfffffff7
mov dword [ebp - 0x5c], 0
jmp 0x1003c335
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 2
jge 0x1003c34b
mov eax, dword [ebp - 0x5c]
mov dword [ebp + eax*4 - 0x2a0], 0xe1265ab3
jmp 0x1003c32e
mov dword [ebp - 0x5c], 0
jmp 0x1003c35b
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 2
jge 0x1003c371
mov eax, dword [ebp - 0x5c]
mov dword [ebp + eax*4 - 0x6fc], 0xffffffff
jmp 0x1003c354
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xf4]
cmp dword [ebp - 0x1a8], eax
jg 0x1003c449
xor eax, eax
inc eax
je 0x1003c3ab
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x2a0], 0
je 0x1003c3ab
mov dword [ebp - 0x2e8], 1
jmp 0x1003c3b2
and dword [ebp - 0x2e8], 0
imul eax, dword [ebp - 0x2e8], 0xdfd
cmp eax, dword [ebp - 0x1a8]
jl 0x1003c3d0
mov dword [ebp - 0x5c0], 1
jmp 0x1003c3d7
and dword [ebp - 0x5c0], 0
mov eax, dword [ebp - 0xf4]
cmp dword [ebp - 0x5c0], eax
jge 0x1003c3f7
cmp dword [ebp - 0xf4], 0
jne 0x1003c3f7
and dword [ebp - 0x2f0], 0
jmp 0x1003c401
mov dword [ebp - 0x2f0], 1
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x2f0]
cmp eax, dword [ebp - 0x14]
jl 0x1003c41b
mov dword [ebp - 0x290], 1
jmp 0x1003c422
and dword [ebp - 0x290], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x290]
mov dword [ebp + eax - 0x2a0], ecx
mov eax, dword [ebp - 0x290]
sub eax, dword [ebp - 0x14]
jne 0x1003c449
and dword [ebp - 0x5c8], 0
jmp 0x1003c453
mov dword [ebp - 0x5c8], 1
imul eax, dword [ebp - 0x14], 0
cmp eax, dword [ebp - 0x5c8]
jl 0x1003c46b
mov dword [ebp - 0x2f8], 1
jmp 0x1003c472
and dword [ebp - 0x2f8], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x2f8], eax
jne 0x1003c489
mov dword [ebp - 0x5d0], 1
jmp 0x1003c490
and dword [ebp - 0x5d0], 0
cmp dword [ebp - 0x5d0], 0xb379
jge 0x1003c73b
mov dword [ebp - 0x84], 1
mov dword [ebp - 0x268], 0x82e70d5d
mov dword [ebp - 0x14], 0x12
jmp 0x1003c4c4
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x18
je 0x1003c6fb
mov dword [ebp - 0xec], 1
mov dword [ebp - 0x10c], 0x8a4122e7
cmp dword [ebp - 0x84], 0
jne 0x1003c4f7
mov dword [ebp - 0x310], 1
jmp 0x1003c4fe
and dword [ebp - 0x310], 0
cmp dword [ebp - 0xec], 0
jne 0x1003c50e
cmp dword [ebp - 0x84], 0
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0xa6c], eax
mov eax, dword [ebp - 0x84]
cmp dword [ebp - 0x14], eax
jl 0x1003c531
mov dword [ebp - 0x300], 1
jmp 0x1003c538
and dword [ebp - 0x300], 0
mov eax, dword [ebp - 0xec]
add eax, dword [ebp - 0x300]
push 4
pop ecx
imul ecx, ecx, 0
sub eax, dword [ebp + ecx - 0x2a0]
cmp eax, dword [ebp - 0xec]
jne 0x1003c56e
cmp dword [ebp - 0x84], 0
je 0x1003c56e
mov dword [ebp - 0x5d8], 1
jmp 0x1003c575
and dword [ebp - 0x5d8], 0
mov eax, dword [ebp - 0x5d8]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0x1a8]
cmp dword [ebp - 0xf4], eax
jge 0x1003c59b
mov dword [ebp - 0x308], 1
jmp 0x1003c5a2
and dword [ebp - 0x308], 0
mov eax, dword [ebp - 0x308]
sub eax, 0x4060
sub eax, dword [ebp - 0x84]
jne 0x1003c5c7
cmp dword [ebp - 0x84], 0
jne 0x1003c5c7
and dword [ebp - 0x5e0], 0
jmp 0x1003c5d1
mov dword [ebp - 0x5e0], 1
mov eax, dword [ebp - 0x5e0]
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0xec], 0xffffffff
jbe 0x1003c5f2
mov dword [ebp - 0x5e8], 1
jmp 0x1003c5f9
and dword [ebp - 0x5e8], 0
mov eax, dword [ebp - 0x310]
cmp eax, dword [ebp - 0x5e8]
jle 0x1003c613
mov dword [ebp - 0x318], 1
jmp 0x1003c61a
and dword [ebp - 0x318], 0
mov eax, dword [ebp - 0x84]
cmp eax, dword [ebp - 0x318]
je 0x1003c634
mov dword [ebp - 0x5f0], 1
jmp 0x1003c63b
and dword [ebp - 0x5f0], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x5f0], eax
jne 0x1003c65b
mov eax, 0x3260039c
test eax, eax
je 0x1003c65b
mov dword [ebp - 0x5f8], 1
jmp 0x1003c662
and dword [ebp - 0x5f8], 0
mov eax, dword [ebp - 0x10c]
cmp dword [ebp - 0x5f8], eax
jne 0x1003c67c
mov dword [ebp - 0x6e8], 1
jmp 0x1003c683
and dword [ebp - 0x6e8], 0
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x9c8], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x9f0], eax
mov dword [ebp - 0x6f0], 0xb2cfb115
mov dword [ebp - 0x10c], 0
jmp 0x1003c6be
mov eax, dword [ebp - 0x10c]
dec eax
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0xfffffff5
jg 0x1003c6f6
mov byte [ebp - 0xa3], 0
movzx eax, byte [ebp - 0xa3]
test eax, eax
je 0x1003c6e1
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x2a0]
mov dword [ebp - 0x268], eax
jmp 0x1003c6b1
jmp 0x1003c4bd
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x324], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x324]
mov dword [ebp + eax - 0x6fc], ecx
mov eax, dword [ebp - 0x324]
mov dword [ebp - 0x268], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x268]
mov dword [ebp + eax - 0x2a0], ecx
jmp 0x1003c8a1
mov dword [ebp - 0x33c], 0xfffffff6
mov dword [ebp - 0x770], 0x2f47d66
mov dword [ebp - 0x14], 0
jmp 0x1003c75f
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jg 0x1003c8a1
mov eax, dword [ebp - 0x33c]
mov dword [ebp - 0x9d0], eax
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x2a0], 0xfffffff9
cmp dword [ebp - 0x1a8], 0xfffffff9
je 0x1003c79b
mov dword [ebp - 0x4cc], 1
jmp 0x1003c7a2
and dword [ebp - 0x4cc], 0
imul eax, dword [ebp - 0x4cc], 0
test eax, eax
jne 0x1003c7c6
mov eax, dword [ebp - 0x14]
cmp dword [ebp + eax*4 - 0x6fc], 0
jne 0x1003c7c6
mov dword [ebp - 0x32c], 1
jmp 0x1003c7cd
and dword [ebp - 0x32c], 0
cmp dword [ebp - 0x32c], 0xfc39fa23
jbe 0x1003c7e5
mov dword [ebp - 0x654], 1
jmp 0x1003c7ec
and dword [ebp - 0x654], 0
mov eax, dword [ebp - 0xf4]
add eax, dword [ebp - 0x654]
je 0x1003c80d
push 0xfffffffffffffffe
pop eax
test eax, eax
je 0x1003c80d
mov dword [ebp - 0x334], 1
jmp 0x1003c814
and dword [ebp - 0x334], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x6fc]
cmp eax, dword [ebp - 0x334]
je 0x1003c832
mov dword [ebp - 0x4d4], 1
jmp 0x1003c839
and dword [ebp - 0x4d4], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x940]
cmp dword [ebp - 0x4d4], eax
jl 0x1003c859
mov dword [ebp - 0x5a4], 1
jmp 0x1003c860
and dword [ebp - 0x5a4], 0
mov eax, dword [ebp - 0x33c]
cmp dword [ebp - 0x5a4], eax
jne 0x1003c87a
mov dword [ebp - 0x344], 1
jmp 0x1003c881
and dword [ebp - 0x344], 0
mov eax, dword [ebp - 0x344]
mov dword [ebp - 0x770], eax
mov eax, dword [ebp - 0x14]
cmp dword [ebp + eax*4 - 0x2a0], 0
je 0x1003c89c
jmp 0x1003c8a1
jmp 0x1003c758
mov byte [ebp - 0x164], 0
mov byte [ebp - 0x163], 0x67
mov byte [ebp - 0x162], 2
mov byte [ebp - 0x161], 0x91
mov byte [ebp - 0x160], 0xc7
mov byte [ebp - 0x15f], 6
mov byte [ebp - 0x15e], 0x78
mov byte [ebp - 0x15d], 1
mov byte [ebp - 0x15c], 0x56
mov byte [ebp - 0x15b], 9
mov byte [ebp - 0x15a], 1
mov byte [ebp - 0x159], 3
mov byte [ebp - 0x158], 0xa
mov byte [ebp - 0x157], 2
mov byte [ebp - 0x156], 0x1c
mov byte [ebp - 0x155], 0xb
mov byte [ebp - 0x154], 0x1e
mov byte [ebp - 0x153], 4
mov byte [ebp - 0x152], 9
mov byte [ebp - 0x151], 7
mov byte [ebp - 0x150], 0x57
mov byte [ebp - 0x14f], 8
mov byte [ebp - 0x14e], 0x1c
mov byte [ebp - 0x14d], 0xa
mov byte [ebp - 0x14c], 0x42
mov byte [ebp - 0x14b], 5
mov byte [ebp - 0x14a], 0
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x164]
or eax, 0x2c
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x164]
and ecx, 0x2c
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x164]
mov word [ebp + ecx*2 - 0x96c], ax
mov dword [ebp - 0x1c], 2
and dword [ebp - 0x12c], 0
jmp 0x1003c9b0
mov eax, dword [ebp - 0x1c]
inc eax
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x1b
jae 0x1003cff5
mov dword [ebp - 0x2ac], 0xf95
mov dword [ebp - 0x4c], 0xf7f3e76e
mov dword [ebp - 0x270], 0xff63588c
mov dword [ebp - 0x354], 0xd7c3b7c3
mov dword [ebp - 0x35c], 7
mov byte [ebp - 0xa5], 0
movzx eax, byte [ebp - 0xa5]
test eax, eax
je 0x1003ca05
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x9fc], eax
imul eax, dword [ebp - 0x4c], 0x8ec
mov dword [ebp - 0x270], eax
mov eax, dword [ebp - 0x270]
cmp dword [ebp - 0x4c], eax
jg 0x1003ca32
mov dword [ebp - 0x4dc], 1
jmp 0x1003ca39
and dword [ebp - 0x4dc], 0
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x4dc], eax
jle 0x1003ca50
mov dword [ebp - 0x778], 1
jmp 0x1003ca57
and dword [ebp - 0x778], 0
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0xa74], eax
mov eax, 0x96e6c8ca
test eax, eax
je 0x1003ca6f
cmp dword [ebp - 0x4c], 0
jne 0x1003ca7e
cmp dword [ebp - 0x4c], 0
jne 0x1003ca7e
and dword [ebp - 0x34c], 0
jmp 0x1003ca88
mov dword [ebp - 0x34c], 1
mov eax, dword [ebp - 0x34c]
neg eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 1
jg 0x1003caa5
mov dword [ebp - 0x60c], 1
jmp 0x1003caac
and dword [ebp - 0x60c], 0
mov eax, dword [ebp - 0x60c]
mov dword [ebp - 0x354], eax
mov eax, dword [ebp - 0x35c]
cmp dword [ebp - 0x354], eax
je 0x1003cad2
mov dword [ebp - 0x4e4], 1
jmp 0x1003cad9
and dword [ebp - 0x4e4], 0
cmp dword [ebp - 0x4e4], 0
je 0x1003caee
mov dword [ebp - 0x780], 1
jmp 0x1003caf5
and dword [ebp - 0x780], 0
mov eax, dword [ebp - 0x2ac]
mov dword [ebp - 0xa08], eax
mov eax, dword [ebp - 0x2ac]
dec eax
mov dword [ebp - 0x2ac], eax
mov eax, dword [ebp - 0x270]
mov dword [ebp - 0x35c], eax
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x164]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x1c], eax
jne 0x1003cd96
mov dword [ebp - 0x114], 5
mov dword [ebp - 0x7c], 0x1647
mov byte [ebp - 0xa7], 0
movzx eax, byte [ebp - 0xa7]
test eax, eax
je 0x1003cb6a
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp dword [ebp - 0x114], 0xffffffff
jae 0x1003cbb5
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0xab4], eax
xor eax, eax
inc eax
sub eax, dword [ebp - 0x7c]
cmp dword [ebp - 0x114], eax
jg 0x1003cb99
mov dword [ebp - 0x5ac], 1
jmp 0x1003cba0
and dword [ebp - 0x5ac], 0
cmp dword [ebp - 0x5ac], 0x5e3b372b
jl 0x1003cbb5
and dword [ebp - 0x364], 0
jmp 0x1003cbbf
mov dword [ebp - 0x364], 1
mov eax, dword [ebp - 0x114]
cmp dword [ebp - 0x364], eax
je 0x1003cbdf
cmp dword [ebp - 0x7c], 0
je 0x1003cbdf
mov dword [ebp - 0x4ec], 1
jmp 0x1003cbe6
and dword [ebp - 0x4ec], 0
mov eax, dword [ebp - 0x7c]
cmp dword [ebp - 0x4ec], eax
jl 0x1003cbfd
mov dword [ebp - 0x36c], 1
jmp 0x1003cc04
and dword [ebp - 0x36c], 0
mov eax, dword [ebp - 0x36c]
sub eax, dword [ebp - 0x7c]
cmp eax, dword [ebp - 0x114]
je 0x1003cc2b
mov dword [ebp - 0x788], 0xffff
mov dword [ebp - 0x788], 0x20f746e3
jmp 0x1003cc9f
mov dword [ebp - 0x7c], 0
jmp 0x1003cc3b
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0x23
jl 0x1003cc9f
mov byte [ebp - 0x91], 0
movzx eax, byte [ebp - 0x91]
test eax, eax
je 0x1003cc80
push 0xc04
push 0
push 0x699
push 0x4be
push 0x232c
push 0
push 0x2043
push 0xe61
push 0x1cc9
call dword [sym.imp.USER32.dll_DrawIconEx]
mov byte [ebp - 0x96], 0
movzx eax, byte [ebp - 0x96]
test eax, eax
je 0x1003cc9d
push 0x13da
call dword [sym.imp.USER32.dll_SetCapture]
jmp 0x1003cc34
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0x164]
inc eax
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0x164]
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x64], 0
jmp 0x1003ccd6
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 3
jge 0x1003ccec
mov eax, dword [ebp - 0x64]
mov dword [ebp + eax*4 - 0x820], 0xe1757117
jmp 0x1003cccf
mov dword [ebp - 0x64], 0
jmp 0x1003ccfc
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 1
jge 0x1003cd12
mov eax, dword [ebp - 0x64]
mov dword [ebp + eax*4 - 0x790], 0x1dbe
jmp 0x1003ccf5
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0x820], 0
jmp 0x1003cd40
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x820]
dec eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x820], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x820], 0xffffffe7
jl 0x1003cd91
mov dword [ebp - 0x120], 0x2c0d37ad
mov dword [ebp - 0x120], 0
jmp 0x1003cd73
mov eax, dword [ebp - 0x120]
inc eax
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 1
jge 0x1003cd8f
mov eax, dword [ebp - 0x120]
mov dword [ebp + eax*4 - 0x790], 0xffffffff
jmp 0x1003cd66
jmp 0x1003cd25
jmp 0x1003c9a8
push 3
lea ecx, [ebp - 0x8e8]
call fcn.10016555
mov dword [ebp - 4], 2
mov dword [ebp - 0x144], 0x69ad59e5
mov dword [ebp - 0x208], 0
jmp 0x1003cdcd
mov eax, dword [ebp - 0x208]
inc eax
mov dword [ebp - 0x208], eax
cmp dword [ebp - 0x208], 3
jge 0x1003cdef
push dword [ebp - 0x208]
lea ecx, [ebp - 0x8e8]
call fcn.100165f3
mov dword [eax], 0xfffffff6
jmp 0x1003cdc0
mov byte [ebp - 0xa4], 0
movzx eax, byte [ebp - 0xa4]
test eax, eax
je 0x1003ce11
push 0x1816
push 0xf06
call dword [sym.imp.GDI32.dll_SetStretchBltMode]
mov dword [ebp - 0x144], 2
jmp 0x1003ce2a
mov eax, dword [ebp - 0x144]
dec eax
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], 0
jl 0x1003ce75
mov byte [ebp - 0xd5], 0
movzx eax, byte [ebp - 0xd5]
test eax, eax
je 0x1003ce5c
push 0
push 0x1156
push 0xec6
push 0xd44
call dword [sym.imp.GDI32.dll_GetSystemPaletteEntries]
push dword [ebp - 0x144]
lea ecx, [ebp - 0x8e8]
call fcn.100165f3
mov dword [eax], 0xfffffffd
jmp 0x1003ce1d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8e8]
call fcn.100165d7
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0x163]
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x12c]
movzx ecx, byte [ebp + ecx - 0x166]
movzx ecx, word [ebp + ecx*2 - 0x96c]
add eax, ecx
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ebp + ecx - 0x163]
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x12c]
movzx edx, byte [ebp + edx - 0x166]
movzx edx, word [ebp + edx*2 - 0x96c]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ebp + ecx - 0x163]
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x12c]
movzx edx, byte [ebp + edx - 0x166]
movzx edx, word [ebp + edx*2 - 0x96c]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ebp + ecx - 0x164]
mov word [ebp + ecx*2 - 0x96c], ax
mov dword [ebp - 0x104], 0x7a66
mov dword [ebp - 0xa10], 1
mov dword [ebp - 0x1b0], 0
jmp 0x1003cf3a
mov eax, dword [ebp - 0x1b0]
inc eax
mov dword [ebp - 0x1b0], eax
cmp dword [ebp - 0x1b0], 3
jge 0x1003cf56
mov eax, dword [ebp - 0x1b0]
mov dword [ebp + eax*4 - 0xa24], 0x4f3d
jmp 0x1003cf2d
mov eax, dword [ebp - 0x104]
dec eax
mov dword [ebp - 0x104], eax
mov dword [ebp - 0x104], 0xffffffee
jmp 0x1003cf7c
mov eax, dword [ebp - 0x104]
inc eax
mov dword [ebp - 0x104], eax
cmp dword [ebp - 0x104], 0x13
jle 0x1003cfe9
mov dword [ebp - 0xa7c], 0x25b3
mov dword [ebp - 0xa18], 5
mov dword [ebp - 0x210], 0
jmp 0x1003cfb2
mov eax, dword [ebp - 0x210]
inc eax
mov dword [ebp - 0x210], eax
cmp dword [ebp - 0x210], 4
jge 0x1003cfce
mov eax, dword [ebp - 0x210]
mov dword [ebp + eax*4 - 0xb84], 0xfffffffa
jmp 0x1003cfa5
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0xa24]
dec eax
push 4
pop ecx
shl ecx, 1
mov dword [ebp + ecx - 0xa24], eax
jmp 0x1003cf6f
and dword [ebp - 0x12c], 0
jmp 0x1003c9a8
mov dword [ebp - 0xe4], 0xa77c8748
mov dword [ebp - 0x1b8], 0
jmp 0x1003d018
mov eax, dword [ebp - 0x1b8]
inc eax
mov dword [ebp - 0x1b8], eax
cmp dword [ebp - 0x1b8], 2
jge 0x1003d034
mov eax, dword [ebp - 0x1b8]
mov dword [ebp + eax*4 - 0x2c4], 0xffffffff
jmp 0x1003d00b
mov dword [ebp - 0xe4], 0
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xa9c], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x2c4]
mov dword [ebp - 0xa28], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x2c4]
mov dword [ebp - 0xa84], eax
push 4
pop eax
shl eax, 0
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x2c4]
cmp dword [ebp + eax - 0x2c4], ecx
jge 0x1003d098
mov dword [ebp - 0x668], 1
jmp 0x1003d09f
and dword [ebp - 0x668], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x2c4]
cmp dword [ebp - 0x668], eax
jge 0x1003d0c0
mov dword [ebp - 0x374], 1
jmp 0x1003d0c7
and dword [ebp - 0x374], 0
cmp dword [ebp - 0x374], 1
jne 0x1003d106
mov dword [ebp - 0x4f4], 1
mov eax, dword [ebp - 0x4f4]
mov dword [ebp - 0x4f4], eax
mov byte [ebp - 0xa6], 0
movzx eax, byte [ebp - 0xa6]
test eax, eax
je 0x1003d104
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
jmp 0x1003d16a
mov dword [ebp - 0xe4], 0
jmp 0x1003d11f
mov eax, dword [ebp - 0xe4]
inc eax
mov dword [ebp - 0xe4], eax
cmp dword [ebp - 0xe4], 1
jg 0x1003d16a
mov dword [ebp - 0x13c], 0xffffffff
mov dword [ebp - 0x13c], 1
jmp 0x1003d14b
mov eax, dword [ebp - 0x13c]
dec eax
mov dword [ebp - 0x13c], eax
cmp dword [ebp - 0x13c], 0
jl 0x1003d168
mov eax, dword [ebp - 0x13c]
cmp dword [ebp + eax*4 - 0x2c4], 0
je 0x1003d166
jmp 0x1003d168
jmp 0x1003d13e
jmp 0x1003d112
push 2
pop eax
imul eax, eax, 0xc
xor ecx, ecx
mov word [ebp + eax - 0x96c], cx
push 2
lea ecx, [ebp - 0x630]
call fcn.10016555
mov dword [ebp - 4], 3
mov dword [ebp - 0x8a0], 0x84cbed56
mov dword [ebp - 0x89c], 0x84cbed56
mov dword [ebp - 0x898], 0x84cbed56
mov dword [ebp - 0x894], 0x84cbed56
lea ecx, [ebp - 0x2b9]
call fcn.10016602
push eax
lea eax, [ebp - 0x890]
push eax
lea eax, [ebp - 0x8a0]
push eax
lea ecx, [ebp - 0xb0c]
call fcn.10016605
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x838]
call fcn.100165b1
mov byte [ebp - 4], 4
mov dword [ebp - 0x798], 0xa83afd4
mov dword [ebp - 0x3a4], 2
mov dword [ebp - 0x88c], 0xfffffff8
mov dword [ebp - 0x888], 0xfffffff8
mov dword [ebp - 0x884], 0xfffffff8
mov dword [ebp - 0x880], 0xfffffff8
mov dword [ebp - 0x7a8], 0
mov dword [ebp - 0x218], 0
jmp 0x1003d24e
mov eax, dword [ebp - 0x218]
inc eax
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 2
jge 0x1003d270
push dword [ebp - 0x218]
lea ecx, [ebp - 0x630]
call fcn.100165f3
mov dword [eax], 1
jmp 0x1003d241
push 0
lea ecx, [ebp - 0x630]
call fcn.100165f3
mov dword [eax], 0xffffffe5
jmp 0x1003d2a9
push 0
lea ecx, [ebp - 0x630]
call fcn.100165f3
mov dword [ebp - 0x37c], eax
mov eax, dword [ebp - 0x37c]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x37c]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x630]
call fcn.100165f3
cmp dword [eax], 0xffffffff
jl 0x1003d84c
mov dword [ebp - 0x7f0], 0x38462751
mov dword [ebp - 0x7ec], 0x38462751
mov dword [ebp - 0x7e8], 0x38462751
mov dword [ebp - 0x7e4], 0x38462751
push 2
lea ecx, [ebp - 0x874]
call fcn.10016555
mov byte [ebp - 4], 5
mov dword [ebp - 0xb4], 0x934215e1
push 2
lea ecx, [ebp - 0x85c]
call fcn.10016555
mov byte [ebp - 4], 6
push 3
lea ecx, [ebp - 0x6a0]
call fcn.10016555
mov byte [ebp - 4], 7
mov dword [ebp - 0x2c], 0
jmp 0x1003d334
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 2
jge 0x1003d350
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x874]
call fcn.100165f3
mov dword [eax], 0x9b8bc588
jmp 0x1003d32d
mov dword [ebp - 0x2c], 0
jmp 0x1003d360
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 2
jge 0x1003d37c
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x85c]
call fcn.100165f3
mov dword [eax], 1
jmp 0x1003d359
mov dword [ebp - 0x2c], 0
jmp 0x1003d38c
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 3
jge 0x1003d3a8
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x6a0]
call fcn.100165f3
mov dword [eax], 6
jmp 0x1003d385
push 4
pop eax
imul eax, eax, 3
mov esi, dword [ebp + eax - 0x7f0]
push 1
lea ecx, [ebp - 0x874]
call fcn.100165f3
mov dword [eax], esi
mov dword [ebp - 0xb4], 0x19
jmp 0x1003d3dd
mov eax, dword [ebp - 0xb4]
dec eax
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 0x10
jle 0x1003d81a
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xbc], 0x69945c66
push 1
lea ecx, [ebp - 0x630]
call fcn.100165f3
push 4
pop eax
imul eax, eax, 0
mov esi, dword [ebp + eax - 0x7f0]
push 0
lea ecx, [ebp - 0x630]
call fcn.100165f3
add esi, dword [eax]
mov dword [ebp - 0x798], esi
cmp dword [ebp - 0x3a4], 3
jne 0x1003d442
mov dword [ebp - 0x5b4], 1
jmp 0x1003d449
and dword [ebp - 0x5b4], 0
mov eax, dword [ebp - 0xc4]
cmp dword [ebp - 0x5b4], eax
jge 0x1003d463
mov dword [ebp - 0x384], 1
jmp 0x1003d46a
and dword [ebp - 0x384], 0
mov eax, dword [ebp - 0xb4]
add eax, dword [ebp - 0x384]
cmp eax, 1
jne 0x1003d487
mov dword [ebp - 0x4fc], 1
jmp 0x1003d48e
and dword [ebp - 0x4fc], 0
push 0
lea ecx, [ebp - 0x838]
call fcn.100165f3
mov dword [eax], 0xf63069be
cmp dword [ebp - 0x4fc], 0xf63069be
jle 0x1003d4b9
mov dword [ebp - 0x38c], 1
jmp 0x1003d4c0
and dword [ebp - 0x38c], 0
cmp dword [ebp - 0x38c], 0xa30b
jle 0x1003d4d8
mov dword [ebp - 0x614], 1
jmp 0x1003d4df
and dword [ebp - 0x614], 0
push 0
lea ecx, [ebp - 0x630]
call fcn.100165f3
mov eax, dword [eax]
cmp eax, dword [ebp - 0x614]
jg 0x1003d502
mov dword [ebp - 0x394], 1
jmp 0x1003d509
and dword [ebp - 0x394], 0
push 0
lea ecx, [ebp - 0x874]
call fcn.100165f3
mov ecx, dword [ebp - 0x394]
mov dword [eax], ecx
push 0
lea ecx, [ebp - 0x85c]
call fcn.100165f3
mov dword [eax], 0xad5b481d
mov eax, 0xad5b481d
cmp eax, 0xeed08e15
jae 0x1003d549
mov dword [ebp - 0x504], 1
jmp 0x1003d550
and dword [ebp - 0x504], 0
cmp dword [ebp - 0x504], 0xffffffff
jbe 0x1003d565
mov dword [ebp - 0x39c], 1
jmp 0x1003d56c
and dword [ebp - 0x39c], 0
mov eax, dword [ebp - 0xb4]
cmp dword [ebp - 0x39c], eax
jle 0x1003d586
mov dword [ebp - 0x5bc], 1
jmp 0x1003d58d
and dword [ebp - 0x5bc], 0
cmp dword [ebp - 0x5bc], 0xfffffff9
je 0x1003d5a2
mov dword [ebp - 0x50c], 1
jmp 0x1003d5a9
and dword [ebp - 0x50c], 0
mov eax, dword [ebp - 0x3a4]
imul eax, dword [ebp - 0x50c]
test eax, eax
je 0x1003d5d6
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x88c], 0
je 0x1003d5d6
mov dword [ebp - 0x7a0], 1
jmp 0x1003d5dd
and dword [ebp - 0x7a0], 0
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x974], eax
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x7f0]
mov dword [ebp - 0x97c], eax
push 1
lea ecx, [ebp - 0x6a0]
call fcn.100165f3
mov dword [eax], 3
push 2
lea ecx, [ebp - 0x838]
call fcn.100165f3
or dword [eax], 0xffffffff
push 1
lea ecx, [ebp - 0x6a0]
call fcn.100165f3
mov eax, dword [eax]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x984], eax
push 0
lea ecx, [ebp - 0x838]
call fcn.100165f3
mov eax, dword [ebp - 0x7a8]
inc eax
cmp dword [ebp - 0xc4], eax
je 0x1003d668
mov dword [ebp - 0x3ac], 1
jmp 0x1003d66f
and dword [ebp - 0x3ac], 0
mov eax, dword [ebp - 0xc4]
cmp eax, dword [ebp - 0x3ac]
je 0x1003d689
mov dword [ebp - 0x670], 1
jmp 0x1003d690
and dword [ebp - 0x670], 0
mov eax, dword [ebp - 0xc4]
cmp dword [ebp - 0x670], eax
jle 0x1003d6aa
mov dword [ebp - 0x3b4], 1
jmp 0x1003d6b1
and dword [ebp - 0x3b4], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x88c]
cmp dword [ebp - 0x3b4], eax
jge 0x1003d799
mov dword [ebp - 0x514], 0
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x98c], eax
mov eax, dword [ebp - 0x514]
mov dword [ebp - 0x994], eax
mov eax, dword [ebp - 0x514]
sub eax, 0x572090f9
push 4
pop ecx
imul ecx, ecx, 0
cmp eax, dword [ebp + ecx - 0x7f0]
jl 0x1003d712
mov dword [ebp - 0x298], 1
jmp 0x1003d719
and dword [ebp - 0x298], 0
push 0
lea ecx, [ebp - 0x85c]
call fcn.100165f3
mov ecx, dword [ebp - 0x298]
mov dword [eax], ecx
push 1
lea ecx, [ebp - 0x6a0]
call fcn.100165f3
mov ecx, dword [ebp - 0x298]
cmp ecx, dword [eax]
jge 0x1003d751
mov dword [ebp - 0x3bc], 1
jmp 0x1003d758
and dword [ebp - 0x3bc], 0
push 1
lea ecx, [ebp - 0x6a0]
call fcn.100165f3
mov ecx, dword [ebp - 0x3bc]
cmp ecx, dword [eax]
jl 0x1003d784
mov eax, 0x8e03
test eax, eax
je 0x1003d784
mov dword [ebp - 0x5c4], 1
jmp 0x1003d78b
and dword [ebp - 0x5c4], 0
mov eax, dword [ebp - 0x5c4]
mov dword [ebp - 0xc4], eax
jmp 0x1003d815
mov dword [ebp - 0x7b0], 1
mov dword [ebp - 0xbc], 0xffffffeb
jmp 0x1003d7bc
mov eax, dword [ebp - 0xbc]
inc eax
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xbc], 0xfffffff4
jne 0x1003d815
mov eax, dword [ebp - 0x7b0]
add eax, dword [ebp - 0xc4]
cmp eax, 0xfff8
ja 0x1003d7e4
mov dword [ebp - 0x3c4], 1
jmp 0x1003d7eb
and dword [ebp - 0x3c4], 0
mov eax, dword [ebp - 0x3c4]
mov dword [ebp - 0xc4], eax
mov byte [ebp - 0x98], 0
movzx eax, byte [ebp - 0x98]
test eax, eax
je 0x1003d813
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
jmp 0x1003d7af
jmp 0x1003d3d0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x6a0]
call fcn.100165d7
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x85c]
call fcn.100165d7
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x874]
call fcn.100165d7
jmp 0x1003d285
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x838]
call fcn.100165d7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x630]
call fcn.100165d7
lea eax, [ebp - 0x96c]
push eax
lea ecx, [ebp - 0xb44]
call fcn.10048322
mov dword [ebp - 0x7b8], eax
mov eax, dword [ebp - 0x7b8]
mov dword [ebp - 0x814], eax
mov dword [ebp - 4], 8
push dword [ebp - 0x814]
call fcn.10033988
pop ecx
mov dword [ebp - 0x4b8], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb44]
call fcn.100163f9
push 1
lea ecx, [ebp - 0x640]
call fcn.10016555
mov dword [ebp - 4], 9
mov dword [ebp - 0x220], 0xc257a10d
mov dword [ebp - 0x72c], 0x912e
mov dword [ebp - 0x810], 0xffffffff
mov dword [ebp - 0x6d8], 0
mov dword [ebp - 0x6cc], 5
mov dword [ebp - 0x1c0], 0
jmp 0x1003d915
mov eax, dword [ebp - 0x1c0]
inc eax
mov dword [ebp - 0x1c0], eax
cmp dword [ebp - 0x1c0], 1
jge 0x1003d937
push dword [ebp - 0x1c0]
lea ecx, [ebp - 0x640]
call fcn.100165f3
mov dword [eax], 0xc4d8e5c
jmp 0x1003d908
push 0
lea ecx, [ebp - 0x640]
call fcn.100165f3
mov esi, eax
push 0
lea ecx, [ebp - 0x640]
call fcn.100165f3
mov ecx, dword [esi]
cmp ecx, dword [eax]
je 0x1003d965
mov dword [ebp - 0x51c], 1
jmp 0x1003d96c
and dword [ebp - 0x51c], 0
push 0
lea ecx, [ebp - 0x640]
call fcn.100165f3
mov eax, dword [eax]
cmp eax, dword [ebp - 0x51c]
jl 0x1003d98f
mov dword [ebp - 0x3cc], 1
jmp 0x1003d996
and dword [ebp - 0x3cc], 0
push 0
lea ecx, [ebp - 0x640]
call fcn.100165f3
mov ecx, dword [ebp - 0x3cc]
cmp ecx, dword [eax]
je 0x1003d9b9
mov dword [ebp - 0x61c], 1
jmp 0x1003d9c0
and dword [ebp - 0x61c], 0
cmp dword [ebp - 0x61c], 0x9f5
jg 0x1003d9d8
mov dword [ebp - 0x3d4], 1
jmp 0x1003d9df
and dword [ebp - 0x3d4], 0
cmp dword [ebp - 0x3d4], 0
je 0x1003d9f4
mov dword [ebp - 0x524], 1
jmp 0x1003d9fb
and dword [ebp - 0x524], 0
push 0
lea ecx, [ebp - 0x640]
call fcn.100165f3
mov ecx, dword [ebp - 0x524]
cmp ecx, dword [eax]
jge 0x1003da1e
mov dword [ebp - 0x3dc], 1
jmp 0x1003da25
and dword [ebp - 0x3dc], 0
mov eax, dword [ebp - 0x220]
cmp dword [ebp - 0x3dc], eax
jle 0x1003da3f
mov dword [ebp - 0x5cc], 1
jmp 0x1003da46
and dword [ebp - 0x5cc], 0
mov eax, dword [ebp - 0x72c]
add eax, dword [ebp - 0x5cc]
cmp eax, dword [ebp - 0x810]
jg 0x1003da66
mov dword [ebp - 0x3e4], 1
jmp 0x1003da6d
and dword [ebp - 0x3e4], 0
cmp dword [ebp - 0x3e4], 1
jne 0x1003da82
mov dword [ebp - 0x52c], 1
jmp 0x1003da89
and dword [ebp - 0x52c], 0
mov eax, dword [ebp - 0x6d8]
cmp dword [ebp - 0x52c], eax
jge 0x1003daa3
mov dword [ebp - 0x3ec], 1
jmp 0x1003daaa
and dword [ebp - 0x3ec], 0
mov eax, dword [ebp - 0x220]
cmp dword [ebp - 0x3ec], eax
jge 0x1003dac4
mov dword [ebp - 0x66c], 1
jmp 0x1003dacb
and dword [ebp - 0x66c], 0
mov eax, dword [ebp - 0x6cc]
add eax, dword [ebp - 0x66c]
cmp eax, dword [ebp - 0x220]
jne 0x1003daeb
mov dword [ebp - 0x3f4], 1
jmp 0x1003daf2
and dword [ebp - 0x3f4], 0
push 0
lea ecx, [ebp - 0x640]
call fcn.100165f3
mov eax, dword [eax]
sub eax, dword [ebp - 0x3f4]
mov dword [ebp - 0x220], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x640]
call fcn.100165d7
and dword [ebp - 0x1d0], 0
jmp 0x1003db32
mov eax, dword [ebp - 0x1d0]
inc eax
mov dword [ebp - 0x1d0], eax
cmp dword [ebp - 0x1d0], 0xd
jae 0x1003e00a
push 1
lea ecx, [ebp - 0x67c]
call fcn.10016555
mov dword [ebp - 4], 0xa
mov dword [ebp - 0x80], 4
push 3
lea ecx, [ebp - 0x930]
call fcn.10016555
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x20], 0
jmp 0x1003db7b
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 1
jge 0x1003db97
push dword [ebp - 0x20]
lea ecx, [ebp - 0x67c]
call fcn.100165f3
mov dword [eax], 0xfffffffe
jmp 0x1003db74
mov dword [ebp - 0x20], 0
jmp 0x1003dba7
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 1
jge 0x1003dbbd
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x134], 0x90c4d8e5
jmp 0x1003dba0
mov dword [ebp - 0x20], 0
jmp 0x1003dbcd
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
jge 0x1003dbe6
push dword [ebp - 0x20]
lea ecx, [ebp - 0x930]
call fcn.100165f3
and dword [eax], 0
jmp 0x1003dbc6
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x134], 0
jmp 0x1003dc14
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x134]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x134], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x134], 0
jl 0x1003dcb6
mov dword [ebp - 0x1c8], 0x2e31d832
mov dword [ebp - 0x79c], 1
mov dword [ebp - 0x1c8], 0
jmp 0x1003dc55
mov eax, dword [ebp - 0x1c8]
dec eax
mov dword [ebp - 0x1c8], eax
cmp dword [ebp - 0x1c8], 0
jl 0x1003dcb1
mov dword [ebp - 0xe8], 0x44ad72d7
mov dword [ebp - 0xe8], 0
jmp 0x1003dc81
mov eax, dword [ebp - 0xe8]
inc eax
mov dword [ebp - 0xe8], eax
cmp dword [ebp - 0xe8], 1
jge 0x1003dca3
push dword [ebp - 0xe8]
lea ecx, [ebp - 0x67c]
call fcn.100165f3
mov dword [eax], 0x15f0ed1a
jmp 0x1003dc74
mov eax, dword [ebp - 0x79c]
mov dword [ebp - 0xe8], eax
jmp 0x1003dc48
jmp 0x1003dbf9
mov dword [ebp - 0x80], 0
jmp 0x1003dcc6
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
jg 0x1003dfd7
mov dword [ebp - 0x228], 0xbff44cac
mov dword [ebp - 0x6d4], 1
mov byte [ebp - 0xbd], 0
movzx eax, byte [ebp - 0xbd]
test eax, eax
je 0x1003dd00
push 0
push 0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
mov byte [ebp - 0x9a], 0
movzx eax, byte [ebp - 0x9a]
test eax, eax
je 0x1003dd1f
push 0
push 0x138
call dword [sym.imp.GDI32.dll_SetLayout]
mov dword [ebp - 0x228], 0
jmp 0x1003dd38
mov eax, dword [ebp - 0x228]
dec eax
mov dword [ebp - 0x228], eax
cmp dword [ebp - 0x228], 0
jl 0x1003dfd2
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x54c], 0xc1ed
mov dword [ebp - 0x38], 0
jmp 0x1003dd66
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jg 0x1003dfc6
mov dword [ebp - 0x278], 1
mov dword [ebp - 0x5dc], 1
push dword [ebp - 0x80]
lea ecx, [ebp - 0x67c]
call fcn.100165f3
cmp dword [ebp - 0x38], 1
jl 0x1003dda4
mov dword [ebp - 0x534], 1
jmp 0x1003ddab
and dword [ebp - 0x534], 0
push dword [ebp - 0x80]
lea ecx, [ebp - 0x67c]
call fcn.100165f3
mov ecx, dword [ebp - 0x534]
cmp ecx, dword [eax]
jl 0x1003ddcf
mov dword [ebp - 0x3fc], 1
jmp 0x1003ddd6
and dword [ebp - 0x3fc], 0
cmp dword [ebp - 0x3fc], 0
je 0x1003ddeb
mov dword [ebp - 0x5d4], 1
jmp 0x1003ddf2
and dword [ebp - 0x5d4], 0
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x5d4]
jne 0x1003de09
mov dword [ebp - 0x404], 1
jmp 0x1003de10
and dword [ebp - 0x404], 0
cmp dword [ebp - 0x404], 0xaa9c4ad1
je 0x1003de28
mov dword [ebp - 0x53c], 1
jmp 0x1003de2f
and dword [ebp - 0x53c], 0
mov eax, dword [ebp - 0x53c]
sub eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x6d4]
jle 0x1003de4c
mov dword [ebp - 0x40c], 1
jmp 0x1003de53
and dword [ebp - 0x40c], 0
mov eax, dword [ebp - 0x38]
imul eax, dword [ebp - 0x40c]
cmp eax, 0xed83
jg 0x1003de70
mov dword [ebp - 0x624], 1
jmp 0x1003de77
and dword [ebp - 0x624], 0
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0x624], eax
jl 0x1003de8e
mov dword [ebp - 0x414], 1
jmp 0x1003de95
and dword [ebp - 0x414], 0
mov eax, dword [ebp - 0x278]
imul eax, dword [ebp - 0x414]
imul eax, dword [ebp - 0x278]
cmp eax, 0x6dfe
jle 0x1003debc
mov dword [ebp - 0x544], 1
jmp 0x1003dec3
and dword [ebp - 0x544], 0
cmp dword [ebp - 0x544], 4
ja 0x1003dee1
cmp dword [ebp - 0x5dc], 0
je 0x1003dee1
mov dword [ebp - 0x7f8], 1
jmp 0x1003dee8
and dword [ebp - 0x7f8], 0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x99c], eax
push dword [ebp - 0x80]
lea ecx, [ebp - 0x67c]
call fcn.100165f3
mov eax, dword [eax]
add eax, dword [ebp - 0x54c]
sub eax, dword [ebp - 0x278]
push 4
pop ecx
imul ecx, ecx, 0
cmp eax, dword [ebp + ecx - 0x134]
je 0x1003df28
mov dword [ebp - 0x6dc], 1
jmp 0x1003df2f
and dword [ebp - 0x6dc], 0
mov eax, 0xae9c
cmp eax, 0xe8a7
jne 0x1003df47
mov dword [ebp - 0x41c], 1
jmp 0x1003df4e
and dword [ebp - 0x41c], 0
push dword [ebp - 0x80]
lea ecx, [ebp - 0x67c]
call fcn.100165f3
mov eax, dword [eax]
cmp eax, dword [ebp - 0x41c]
jne 0x1003df78
mov eax, 0xcf69bad9
test eax, eax
jne 0x1003df78
and dword [ebp - 0x424], 0
jmp 0x1003df82
mov dword [ebp - 0x424], 1
mov eax, dword [ebp - 0x5dc]
cmp dword [ebp - 0x424], eax
jle 0x1003dfa2
cmp dword [ebp - 0x54c], 0
jne 0x1003dfa2
and dword [ebp - 0x42c], 0
jmp 0x1003dfac
mov dword [ebp - 0x42c], 1
push 0
lea ecx, [ebp - 0x930]
call fcn.100165f3
mov ecx, dword [ebp - 0x42c]
mov dword [eax], ecx
jmp 0x1003dd5f
mov dword [ebp - 0x38], 6
jmp 0x1003dd2b
jmp 0x1003dcbf
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x930]
call fcn.100165d7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x67c]
call fcn.100165d7
xor eax, eax
mov ecx, dword [ebp - 0x1d0]
mov word [ebp + ecx*2 - 0x96c], ax
jmp 0x1003db25
push 2
lea ecx, [ebp - 0x90c]
call fcn.10016555
mov dword [ebp - 4], 0xc
mov dword [ebp - 0x1d8], 5
mov dword [ebp - 0x230], 0
jmp 0x1003e041
mov eax, dword [ebp - 0x230]
inc eax
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 2
jge 0x1003e060
push dword [ebp - 0x230]
lea ecx, [ebp - 0x90c]
call fcn.100165f3
or dword [eax], 0xffffffff
jmp 0x1003e034
mov dword [ebp - 0x1d8], 1
jmp 0x1003e079
mov eax, dword [ebp - 0x1d8]
dec eax
mov dword [ebp - 0x1d8], eax
cmp dword [ebp - 0x1d8], 0
jl 0x1003e0c9
mov dword [ebp - 0x11c], 0xfffffffb
mov dword [ebp - 0x11c], 0
jmp 0x1003e0a5
mov eax, dword [ebp - 0x11c]
inc eax
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 2
jge 0x1003e0c7
push dword [ebp - 0x11c]
lea ecx, [ebp - 0x90c]
call fcn.100165f3
mov dword [eax], 2
jmp 0x1003e098
jmp 0x1003e06c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x90c]
call fcn.100165d7
cmp dword [ebp - 0x4b8], 0
je 0x100405b2
mov dword [ebp - 0x728], 0
mov dword [ebp - 0x238], 0
jmp 0x1003e108
mov eax, dword [ebp - 0x238]
inc eax
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 2
jge 0x1003e124
mov eax, dword [ebp - 0x238]
mov dword [ebp + eax*4 - 0x9f8], 0x9c28
jmp 0x1003e0fb
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x9f8]
mov dword [ebp - 0x728], eax
mov byte [ebp - 0xa8], 0
movzx eax, byte [ebp - 0xa8]
test eax, eax
je 0x1003e156
push 0
push 0x43a
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x664], 0x6016
mov dword [ebp - 0x730], 0x100087e8
cmp dword [ebp - 0x664], 0x61ee
jle 0x1003e261
push 0x2455
push 0xb01
call dword [sym.imp.GDI32.dll_SetMapMode]
and dword [ebp - 0x23c], 0
jmp 0x1003e1a0
mov eax, dword [ebp - 0x23c]
inc eax
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0x101c
jge 0x1003e261
and dword [ebp - 0x240], 0
jmp 0x1003e1c6
mov eax, dword [ebp - 0x240]
inc eax
mov dword [ebp - 0x240], eax
cmp dword [ebp - 0x240], 0x66a5
jge 0x1003e25c
and dword [ebp - 0x1e4], 0
jmp 0x1003e1ec
mov eax, dword [ebp - 0x1e4]
inc eax
mov dword [ebp - 0x1e4], eax
cmp dword [ebp - 0x1e4], 0x3f1d
jge 0x1003e257
mov ecx, dword [ebp - 0x240]
add ecx, dword [ebp - 0x1e4]
mov eax, dword [ebp - 0x23c]
shl eax, cl
cdq
mov dword [ebp - 0x708], eax
mov dword [ebp - 0x704], edx
push dword [ebp - 0x704]
push dword [ebp - 0x708]
lea ecx, [ebp - 0xb5c]
call fcn.1000a20e
pop ecx
pop ecx
mov dword [ebp - 0x6e4], eax
mov ecx, dword [ebp - 0x6e4]
call fcn.1001622c
push eax
call fcn.10050d73
pop ecx
lea ecx, [ebp - 0xb5c]
call fcn.10016222
jmp 0x1003e1df
jmp 0x1003e1b9
jmp 0x1003e193
mov dword [ebp - 4], 0xd
cmp dword [ebp - 0x664], 0x5cae
jge 0x1003e280
push dword [ebp - 0x730]
call fcn.10050d73
pop ecx
jmp 0x1003e29c
or dword [ebp - 4], 0xffffffff
jmp 0x1003e2a6
mov dword [ebp - 0x40], 0x5e17ca00
mov dword [ebp - 0x118], 0x72b90f99
mov dword [ebp - 0xcc], 0xe022
mov dword [ebp - 0x434], 0x1e15
mov dword [ebp - 0x738], 0x10008848
cmp dword [ebp - 0x434], 0x1f95
jle 0x1003e3ba
and dword [ebp - 0x21c], 0
jmp 0x1003e2fb
mov eax, dword [ebp - 0x21c]
inc eax
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0x5dd2
jge 0x1003e3ba
and dword [ebp - 0x1ec], 0
jmp 0x1003e321
mov eax, dword [ebp - 0x1ec]
inc eax
mov dword [ebp - 0x1ec], eax
cmp dword [ebp - 0x1ec], 0x3246
jge 0x1003e3b5
and dword [ebp - 0x19c], 0
jmp 0x1003e347
mov eax, dword [ebp - 0x19c]
inc eax
mov dword [ebp - 0x19c], eax
cmp dword [ebp - 0x19c], 0x146e
jge 0x1003e3b0
mov eax, dword [ebp - 0x1ec]
xor eax, dword [ebp - 0x19c]
or eax, dword [ebp - 0x21c]
cdq
mov dword [ebp - 0x714], eax
mov dword [ebp - 0x710], edx
push dword [ebp - 0x710]
push dword [ebp - 0x714]
lea ecx, [ebp - 0xb2c]
call fcn.1000a20e
pop ecx
pop ecx
mov dword [ebp - 0x6ec], eax
mov ecx, dword [ebp - 0x6ec]
call fcn.1001622c
push eax
call fcn.10050d73
pop ecx
lea ecx, [ebp - 0xb2c]
call fcn.10016222
jmp 0x1003e33a
jmp 0x1003e314
jmp 0x1003e2ee
push 1
lea ecx, [ebp - 0x250]
call fcn.10016555
mov dword [ebp - 4], 0xf
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0x434], 0x1a3d
jge 0x1003e3ea
push dword [ebp - 0x738]
call fcn.10050d73
pop ecx
jmp 0x1003e406
mov dword [ebp - 4], 0xf
jmp 0x1003e416
mov dword [ebp - 0x88], 0x9338886a
mov dword [ebp - 0x464], 0xb924e19c
mov dword [ebp - 0x748], 0x39b7b3fa
mov dword [ebp - 0x70c], 0xfffffff7
mov dword [ebp - 0x1f4], 0
jmp 0x1003e457
mov eax, dword [ebp - 0x1f4]
inc eax
mov dword [ebp - 0x1f4], eax
cmp dword [ebp - 0x1f4], 1
jge 0x1003e479
push dword [ebp - 0x1f4]
lea ecx, [ebp - 0x250]
call fcn.100165f3
mov dword [eax], 0xfffffff8
jmp 0x1003e44a
cmp dword [ebp - 0x40], 0
jne 0x1003e5be
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x9a4], eax
mov eax, dword [ebp - 0x40]
sub eax, 4
jne 0x1003e4a6
cmp dword [ebp - 0x118], 0
jne 0x1003e4a6
and dword [ebp - 0x554], 0
jmp 0x1003e4b0
mov dword [ebp - 0x554], 1
mov eax, dword [ebp - 0xcc]
cmp dword [ebp - 0x554], eax
jle 0x1003e4ca
mov dword [ebp - 0x2b0], 1
jmp 0x1003e4d1
and dword [ebp - 0x2b0], 0
push 0
lea ecx, [ebp - 0x250]
call fcn.100165f3
mov ecx, dword [ebp - 0x2b0]
mov dword [eax], ecx
mov eax, dword [ebp - 0x40]
cmp dword [ebp - 0x2b0], eax
jg 0x1003e4fd
mov dword [ebp - 0x43c], 1
jmp 0x1003e504
and dword [ebp - 0x43c], 0
mov eax, dword [ebp - 0xcc]
cmp dword [ebp - 0x43c], eax
jge 0x1003e51e
mov dword [ebp - 0x5e4], 1
jmp 0x1003e525
and dword [ebp - 0x5e4], 0
mov eax, dword [ebp - 0x5e4]
add eax, 0x98f0
cmp eax, dword [ebp - 0x40]
jne 0x1003e541
mov dword [ebp - 0x444], 1
jmp 0x1003e548
and dword [ebp - 0x444], 0
mov eax, dword [ebp - 0x444]
neg eax
jne 0x1003e559
cmp dword [ebp - 0xcc], 0
push 0
lea ecx, [ebp - 0x250]
call fcn.100165f3
mov ecx, dword [ebp - 0x118]
cmp dword [eax], ecx
jl 0x1003e57c
mov dword [ebp - 0x55c], 1
jmp 0x1003e583
and dword [ebp - 0x55c], 0
mov eax, dword [ebp - 0x88]
cmp dword [ebp - 0x55c], eax
jg 0x1003e59d
mov dword [ebp - 0x44c], 1
jmp 0x1003e5a4
and dword [ebp - 0x44c], 0
mov eax, dword [ebp - 0x40]
imul ecx, dword [ebp - 0x44c], 0x56ce
sub eax, ecx
jne 0x1003e5be
and dword [ebp - 0x634], 0
jmp 0x1003e5c8
mov dword [ebp - 0x634], 1
mov eax, dword [ebp - 0x88]
cmp dword [ebp - 0x634], eax
jge 0x1003e5f7
mov byte [ebp - 0x9c], 0
movzx eax, byte [ebp - 0x9c]
test eax, eax
je 0x1003e5f5
push 0
push 0x107e
call dword [sym.imp.USER32.dll_MapDialogRect]
jmp 0x1003e649
mov dword [ebp - 0x6f4], 0x834ab462
mov dword [ebp - 0x234], 0
jmp 0x1003e61a
mov eax, dword [ebp - 0x234]
inc eax
mov dword [ebp - 0x234], eax
cmp dword [ebp - 0x234], 2
jge 0x1003e636
mov eax, dword [ebp - 0x234]
mov dword [ebp + eax*4 - 0x9dc], 0x5cf0
jmp 0x1003e60d
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x9dc]
mov dword [ebp - 0x6f4], eax
mov eax, 0xcd1ac8c6
test eax, eax
je 0x1003e8a8
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x9ac], eax
push 0
lea ecx, [ebp - 0x250]
call fcn.100165f3
cmp dword [eax], 9
jae 0x1003e67d
mov dword [ebp - 0x454], 1
jmp 0x1003e684
and dword [ebp - 0x454], 0
mov eax, dword [ebp - 0x454]
sub eax, 8
jne 0x1003e698
cmp dword [ebp - 0xcc], 0
jne 0x1003e6b3
push 0
lea ecx, [ebp - 0x250]
call fcn.100165f3
cmp dword [eax], 0
jne 0x1003e6b3
and dword [ebp - 0x564], 0
jmp 0x1003e6bd
mov dword [ebp - 0x564], 1
mov eax, dword [ebp - 0x564]
sub eax, 0x432313bb
cmp eax, dword [ebp - 0x40]
jge 0x1003e6d9
mov dword [ebp - 0x45c], 1
jmp 0x1003e6e0
and dword [ebp - 0x45c], 0
cmp dword [ebp - 0x45c], 0x4d7aeb8f
jg 0x1003e701
cmp dword [ebp - 0x118], 0
je 0x1003e701
mov dword [ebp - 0x740], 1
jmp 0x1003e708
and dword [ebp - 0x740], 0
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x9b4], eax
push 0
lea ecx, [ebp - 0x250]
call fcn.100165f3
cmp dword [eax], 0
je 0x1003e739
push 6
pop eax
test eax, eax
je 0x1003e739
mov dword [ebp - 0x5ec], 1
jmp 0x1003e740
and dword [ebp - 0x5ec], 0
mov eax, dword [ebp - 0x5ec]
mov dword [ebp - 0x464], eax
mov eax, dword [ebp - 0x88]
cmp dword [ebp - 0x464], eax
jl 0x1003e766
mov dword [ebp - 0x56c], 1
jmp 0x1003e76d
and dword [ebp - 0x56c], 0
push 0
lea ecx, [ebp - 0x250]
call fcn.100165f3
mov ecx, dword [ebp - 0x56c]
cmp ecx, dword [eax]
jle 0x1003e790
mov dword [ebp - 0x46c], 1
jmp 0x1003e797
and dword [ebp - 0x46c], 0
mov eax, dword [ebp - 0x40]
cmp dword [ebp - 0x46c], eax
je 0x1003e7ae
mov dword [ebp - 0x700], 1
jmp 0x1003e7b5
and dword [ebp - 0x700], 0
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x9bc], eax
mov eax, dword [ebp - 0x748]
mov dword [ebp - 0x9c4], eax
mov eax, dword [ebp - 0xcc]
cmp dword [ebp - 0xcc], eax
jne 0x1003e7ed
cmp dword [ebp - 0x70c], 0
jne 0x1003e7ed
and dword [ebp - 0x658], 0
jmp 0x1003e7f7
mov dword [ebp - 0x658], 1
cmp dword [ebp - 0x658], 6
je 0x1003e80c
mov dword [ebp - 0x474], 1
jmp 0x1003e813
and dword [ebp - 0x474], 0
mov eax, dword [ebp - 0x474]
add eax, 9
cmp dword [ebp - 0xcc], eax
jg 0x1003e842
push 0
lea ecx, [ebp - 0x250]
call fcn.100165f3
cmp dword [eax], 0
je 0x1003e842
mov dword [ebp - 0x574], 1
jmp 0x1003e849
and dword [ebp - 0x574], 0
cmp dword [ebp - 0x574], 0xfc8ecea6
jne 0x1003e861
mov dword [ebp - 0x47c], 1
jmp 0x1003e868
and dword [ebp - 0x47c], 0
mov eax, dword [ebp - 0x88]
cmp dword [ebp - 0x47c], eax
jne 0x1003e882
mov dword [ebp - 0x5f4], 1
jmp 0x1003e889
and dword [ebp - 0x5f4], 0
mov eax, dword [ebp - 0x5f4]
sub eax, dword [ebp - 0x88]
add eax, 0x780915d2
je 0x1003e8a8
mov dword [ebp - 0x484], 1
jmp 0x1003e8af
and dword [ebp - 0x484], 0
mov eax, dword [ebp - 0x118]
cmp dword [ebp - 0x484], eax
jne 0x1003e8c9
mov dword [ebp - 0x57c], 1
jmp 0x1003e8d0
and dword [ebp - 0x57c], 0
push 0
lea ecx, [ebp - 0x250]
call fcn.100165f3
mov esi, dword [eax]
sub esi, dword [ebp - 0x57c]
push 0
lea ecx, [ebp - 0x250]
call fcn.100165f3
add esi, dword [eax]
cmp esi, dword [ebp - 0x88]
jne 0x1003e908
mov dword [ebp - 0x48c], 1
jmp 0x1003e90f
and dword [ebp - 0x48c], 0
push 0
lea ecx, [ebp - 0x250]
call fcn.100165f3
mov ecx, dword [ebp - 0x48c]
cmp ecx, dword [eax]
jge 0x1003e932
mov dword [ebp - 0x644], 1
jmp 0x1003e939
and dword [ebp - 0x644], 0
mov eax, dword [ebp - 0x644]
sub eax, dword [ebp - 0x118]
mov esi, dword [ebp - 0x40]
push 0
lea ecx, [ebp - 0x250]
call fcn.100165f3
mov dword [eax], esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x250]
call fcn.100165d7
mov byte [ebp - 0x190], 8
mov byte [ebp - 0x18f], 0xc5
mov byte [ebp - 0x18e], 2
mov byte [ebp - 0x18d], 0x10
mov byte [ebp - 0x18c], 9
mov byte [ebp - 0x18b], 0x10
mov byte [ebp - 0x18a], 0xd
mov byte [ebp - 0x189], 0x17
mov byte [ebp - 0x188], 7
mov byte [ebp - 0x187], 0x32
mov byte [ebp - 0x186], 0xb
mov byte [ebp - 0x185], 0x24
mov byte [ebp - 0x184], 0xa
mov byte [ebp - 0x183], 0x17
mov byte [ebp - 0x182], 3
mov byte [ebp - 0x181], 0x22
mov byte [ebp - 0x180], 0xc
mov byte [ebp - 0x17f], 0x23
mov byte [ebp - 0x17e], 3
mov byte [ebp - 0x17d], 0x8c
mov byte [ebp - 0x17c], 0x83
mov byte [ebp - 0x17b], 0x72
mov byte [ebp - 0x17a], 6
mov byte [ebp - 0x179], 0x10
mov byte [ebp - 0x178], 1
mov byte [ebp - 0x177], 6
mov byte [ebp - 0x176], 0
mov byte [ebp - 0x175], 0x22
mov byte [ebp - 0x174], 4
mov byte [ebp - 0x173], 0x35
mov byte [ebp - 0x172], 5
mov byte [ebp - 0x171], 0x1d
mov dword [ebp - 0x224], 1
push 2
lea ecx, [ebp - 0xa34]
call fcn.10016555
mov dword [ebp - 4], 0x12
mov dword [ebp - 0x9cc], 0x42a1e948
mov dword [ebp - 0x9d4], 0xffffffff
mov dword [ebp - 0x494], 0xffffffff
mov dword [ebp - 0x1fc], 0
jmp 0x1003ea9b
mov eax, dword [ebp - 0x1fc]
inc eax
mov dword [ebp - 0x1fc], eax
cmp dword [ebp - 0x1fc], 2
jge 0x1003eabd
push dword [ebp - 0x1fc]
lea ecx, [ebp - 0xa34]
call fcn.100165f3
mov dword [eax], 3
jmp 0x1003ea8e
mov dword [ebp - 0x224], 0xc
jmp 0x1003ead6
mov eax, dword [ebp - 0x224]
inc eax
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0x1a
jge 0x1003eb02
mov dword [ebp - 0x9e0], 0xf14c90d2
mov dword [ebp - 0x9ec], 0
mov eax, dword [ebp - 0x494]
inc eax
mov dword [ebp - 0x494], eax
jmp 0x1003eac9
mov byte [ebp - 0xcd], 0
movzx eax, byte [ebp - 0xcd]
test eax, eax
je 0x1003eb1c
push 0
call dword [sym.imp.USER32.dll_SetKeyboardState]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa34]
call fcn.100165d7
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x190]
or eax, 0xa1
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x190]
and ecx, 0xa1
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x190]
mov byte [ebp + ecx - 0x6bc], al
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x130], 0xffffffff
mov dword [ebp - 0x280], 0
push 1
lea ecx, [ebp - 0x868]
call fcn.10016555
mov dword [ebp - 4], 0x13
push 3
lea ecx, [ebp - 0x694]
call fcn.10016555
mov byte [ebp - 4], 0x14
mov dword [ebp - 0x28], 0
jmp 0x1003ebbc
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 1
jge 0x1003ebd8
push dword [ebp - 0x28]
lea ecx, [ebp - 0x868]
call fcn.100165f3
mov dword [eax], 0xfffffffa
jmp 0x1003ebb5
mov dword [ebp - 0x28], 0
jmp 0x1003ebe8
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 3
jge 0x1003ec04
push dword [ebp - 0x28]
lea ecx, [ebp - 0x694]
call fcn.100165f3
mov dword [eax], 0x68f928d9
jmp 0x1003ebe1
mov dword [ebp - 0x28], 0
jmp 0x1003ec14
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 2
jge 0x1003ec2a
mov eax, dword [ebp - 0x28]
mov dword [ebp + eax*4 - 0xa04], 9
jmp 0x1003ec0d
cmp dword [ebp - 0x128], 0xffffffff
jg 0x1003ec3f
mov dword [ebp - 0x750], 1
jmp 0x1003ec46
and dword [ebp - 0x750], 0
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0xa0c], eax
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0xa14], eax
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0xa70], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x280], eax
push 0
lea ecx, [ebp - 0x868]
call fcn.100165f3
mov dword [eax], 0xfffffffb
cmp dword [ebp - 0x128], 0xfffffffb
jge 0x1003ecaa
mov dword [ebp - 0x584], 1
jmp 0x1003ecb1
and dword [ebp - 0x584], 0
push 2
lea ecx, [ebp - 0x694]
call fcn.100165f3
mov ecx, dword [ebp - 0x584]
cmp ecx, dword [eax]
jg 0x1003ecd4
mov dword [ebp - 0x49c], 1
jmp 0x1003ecdb
and dword [ebp - 0x49c], 0
mov eax, dword [ebp - 0x49c]
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x130], 0xffffffff
mov esi, dword [ebp - 0x280]
push 2
lea ecx, [ebp - 0x694]
call fcn.100165f3
cmp esi, dword [eax]
jg 0x1003ed33
push 0
lea ecx, [ebp - 0x868]
call fcn.100165f3
cmp dword [eax], 0
jne 0x1003ed33
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xa04], 0
jne 0x1003ed33
and dword [ebp - 0x5fc], 0
jmp 0x1003ed3d
mov dword [ebp - 0x5fc], 1
mov esi, dword [ebp - 0x5fc]
add esi, 0xf62c
push 2
lea ecx, [ebp - 0x694]
call fcn.100165f3
cmp esi, dword [eax]
jg 0x1003ed66
mov dword [ebp - 0x4a4], 1
jmp 0x1003ed6d
and dword [ebp - 0x4a4], 0
push 1
lea ecx, [ebp - 0x694]
call fcn.100165f3
mov ecx, dword [ebp - 0x4a4]
cmp ecx, dword [eax]
jge 0x1003ed90
mov dword [ebp - 0x58c], 1
jmp 0x1003ed97
and dword [ebp - 0x58c], 0
mov eax, dword [ebp - 0x58c]
mov dword [ebp - 0x280], eax
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x694]
call fcn.100165d7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x868]
call fcn.100165d7
mov dword [ebp - 0x18], 2
and dword [ebp - 0x140], 0
jmp 0x1003edd9
cmp dword [ebp - 0x18], 0x20
jae 0x1003fdde
mov dword [ebp - 0x48], 0xfffffff6
mov dword [ebp - 0xd4], 2
mov dword [ebp - 0x2a4], 0xa5bc4220
mov dword [ebp - 0x288], 0
mov dword [ebp - 0x604], 0xffffffff
mov dword [ebp - 0x320], 0x5b0b56ce
mov dword [ebp - 0x338], 0
mov dword [ebp - 0x950], 0x4ab462a7
mov dword [ebp - 0x94c], 0x4ab462a7
mov dword [ebp - 0x948], 0x4ab462a7
mov dword [ebp - 0x944], 0x4ab462a7
mov dword [ebp - 0x718], 0x35db5a26
mov dword [ebp - 0x758], 0xcb090aec
mov dword [ebp - 0x204], 0
jmp 0x1003ee7b
mov eax, dword [ebp - 0x204]
inc eax
mov dword [ebp - 0x204], eax
cmp dword [ebp - 0x204], 3
jge 0x1003ee97
mov eax, dword [ebp - 0x204]
mov dword [ebp + eax*4 - 0x924], 0
jmp 0x1003ee6e
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0xa78], eax
cmp dword [ebp - 0x48], 0
je 0x1003ef78
cmp dword [ebp - 0x48], 0
jne 0x1003eef8
mov eax, dword [ebp - 0x48]
add eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x48]
jg 0x1003eec7
mov dword [ebp - 0x4ac], 1
jmp 0x1003eece
and dword [ebp - 0x4ac], 0
mov eax, dword [ebp - 0x4ac]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x2a4], eax
cmp dword [ebp - 0x2a4], 0
jne 0x1003eef8
and dword [ebp - 0x660], 0
jmp 0x1003ef02
mov dword [ebp - 0x660], 1
cmp dword [ebp - 0x660], 0
ja 0x1003ef17
mov dword [ebp - 0x4b4], 1
jmp 0x1003ef1e
and dword [ebp - 0x4b4], 0
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x4b4], eax
jle 0x1003ef35
mov dword [ebp - 0x2c8], 1
jmp 0x1003ef3c
and dword [ebp - 0x2c8], 0
mov eax, dword [ebp - 0x2c8]
mov dword [ebp - 0x288], eax
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x288], eax
jge 0x1003ef5f
mov dword [ebp - 0x4bc], 1
jmp 0x1003ef66
and dword [ebp - 0x4bc], 0
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x4bc], eax
je 0x1003ef78
cmp dword [ebp - 0x2a4], 0
mov eax, dword [ebp - 0x288]
mov dword [ebp - 0x604], eax
cmp dword [ebp - 0x604], 0x6de6
jg 0x1003ef9c
mov dword [ebp - 0x4c4], 1
jmp 0x1003efa3
and dword [ebp - 0x4c4], 0
cmp dword [ebp - 0x4c4], 0xffffffff
ja 0x1003efbe
mov eax, 0x3388
test eax, eax
jne 0x1003efbe
and dword [ebp - 0x31c], 0
jmp 0x1003efc8
mov dword [ebp - 0x31c], 1
mov eax, dword [ebp - 0x31c]
mov dword [ebp - 0x320], eax
mov eax, dword [ebp - 0x320]
mov dword [ebp - 0x328], eax
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x328]
mov dword [ebp + eax - 0x924], ecx
cmp dword [ebp - 0x328], 0
je 0x1003f017
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x924], 0
je 0x1003f017
mov dword [ebp - 0x330], 1
jmp 0x1003f01e
and dword [ebp - 0x330], 0
mov eax, dword [ebp - 0x330]
mov dword [ebp - 0x338], eax
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x338], eax
jle 0x1003f041
mov dword [ebp - 0x340], 1
jmp 0x1003f048
and dword [ebp - 0x340], 0
cmp dword [ebp - 0x340], 0xffffffff
jge 0x1003f05d
mov dword [ebp - 0x258], 1
jmp 0x1003f064
and dword [ebp - 0x258], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x258]
mov dword [ebp + eax - 0x950], ecx
mov eax, dword [ebp - 0x718]
imul eax, dword [ebp - 0x258]
mov dword [ebp - 0x758], eax
mov dword [ebp - 0xd4], 0
jmp 0x1003f0a2
mov eax, dword [ebp - 0xd4]
inc eax
mov dword [ebp - 0xd4], eax
cmp dword [ebp - 0xd4], 2
jg 0x1003f0bf
mov eax, dword [ebp - 0xd4]
cmp dword [ebp + eax*4 - 0x924], 0
je 0x1003f0bd
jmp 0x1003f0bf
jmp 0x1003f095
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x190]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x18], eax
jne 0x1003f87a
and dword [ebp - 0x8b4], 0
and dword [ebp - 0x8b0], 0
and dword [ebp - 0x8ac], 0
and dword [ebp - 0x8a8], 0
lea ecx, [ebp - 0x2b1]
call fcn.10016602
push eax
lea eax, [ebp - 0x8a4]
push eax
lea eax, [ebp - 0x8b4]
push eax
lea ecx, [ebp - 0xae4]
call fcn.10016605
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x688]
call fcn.100165b1
mov dword [ebp - 4], 0x15
push 1
lea ecx, [ebp - 0x8f4]
call fcn.10016555
mov byte [ebp - 4], 0x16
mov dword [ebp - 0x760], 0xb275cf8b
mov dword [ebp - 0xa80], 0xfffffffb
mov dword [ebp - 0x74], 0
jmp 0x1003f167
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 1
jge 0x1003f17a
mov eax, dword [ebp - 0x74]
mov dword [ebp + eax*4 - 0x34], 0
jmp 0x1003f160
mov dword [ebp - 0x74], 0
jmp 0x1003f18a
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 1
jge 0x1003f1a6
push dword [ebp - 0x74]
lea ecx, [ebp - 0x8f4]
call fcn.100165f3
mov dword [eax], 0x6dc99220
jmp 0x1003f183
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x34], 0
jmp 0x1003f1cb
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x34]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x34], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x34], 3
jg 0x1003f3ad
mov dword [ebp - 0x244], 0x10afbd13
push 4
pop eax
imul eax, eax, 0
push dword [ebp + eax - 0x34]
lea ecx, [ebp - 0x688]
call fcn.100165f3
mov esi, dword [eax]
add esi, 0x15cb
push 0
lea ecx, [ebp - 0x688]
call fcn.100165f3
cmp esi, dword [eax]
je 0x1003f220
mov dword [ebp - 0x360], 1
jmp 0x1003f227
and dword [ebp - 0x360], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x34]
mov dword [ebp - 0x970], eax
push 4
pop eax
imul eax, eax, 0
push dword [ebp + eax - 0x34]
lea ecx, [ebp - 0x688]
call fcn.100165f3
mov esi, eax
push 0
lea ecx, [ebp - 0x688]
call fcn.100165f3
mov ecx, dword [esi]
cmp ecx, dword [eax]
je 0x1003f26d
mov dword [ebp - 0x348], 1
jmp 0x1003f274
and dword [ebp - 0x348], 0
mov eax, dword [ebp - 0x348]
mov dword [ebp - 0x244], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x244]
imul ecx, dword [ebp + eax - 0x34]
mov dword [ebp - 0x724], ecx
push 0
lea ecx, [ebp - 0x8f4]
call fcn.100165f3
mov ecx, dword [ebp - 0x724]
mov dword [eax], ecx
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x34]
mov dword [ebp - 0xa90], eax
push 4
pop eax
imul eax, eax, 0
push dword [ebp + eax - 0x34]
lea ecx, [ebp - 0x688]
call fcn.100165f3
cmp dword [eax], 0x3fd52a42
jle 0x1003f2e5
mov dword [ebp - 0x350], 1
jmp 0x1003f2ec
and dword [ebp - 0x350], 0
push 4
pop eax
imul eax, eax, 0
push dword [ebp + eax - 0x34]
lea ecx, [ebp - 0x688]
call fcn.100165f3
mov ecx, dword [ebp - 0x350]
cmp ecx, dword [eax]
jle 0x1003f317
mov dword [ebp - 0x358], 1
jmp 0x1003f31e
and dword [ebp - 0x358], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x34]
cmp dword [ebp - 0x358], eax
jl 0x1003f342
cmp dword [ebp - 0x244], 0
jne 0x1003f342
and dword [ebp - 0x368], 0
jmp 0x1003f34c
mov dword [ebp - 0x368], 1
mov eax, dword [ebp - 0x360]
sub eax, dword [ebp - 0x368]
je 0x1003f36f
cmp dword [ebp - 0x244], 0
je 0x1003f36f
mov dword [ebp - 0x370], 1
jmp 0x1003f376
and dword [ebp - 0x370], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x34]
cmp dword [ebp - 0x370], eax
je 0x1003f394
mov dword [ebp - 0x378], 1
jmp 0x1003f39b
and dword [ebp - 0x378], 0
mov eax, dword [ebp - 0x378]
dec eax
mov dword [ebp - 0x760], eax
jmp 0x1003f1b6
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x8f4]
call fcn.100165d7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x688]
call fcn.100165d7
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x190]
inc eax
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x70], 0x5c5735e4
mov dword [ebp - 0xf0], 0x700d
mov dword [ebp - 0x388], 0
push 8
pop eax
test eax, eax
je 0x1003f504
cmp dword [ebp - 0x70], 0
jne 0x1003f4db
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0xa98], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0xaa0], eax
mov eax, 0xa4bc4433
sub eax, dword [ebp - 0xf0]
cmp dword [ebp - 0x70], eax
jle 0x1003f444
mov eax, 0x29ed7d41
test eax, eax
jne 0x1003f444
and dword [ebp - 0x380], 0
jmp 0x1003f44e
mov dword [ebp - 0x380], 1
mov eax, dword [ebp - 0x380]
sub eax, dword [ebp - 0xf0]
add eax, dword [ebp - 0x70]
mov dword [ebp - 0x388], eax
mov eax, dword [ebp - 0x388]
add eax, 0xfffa
mov ecx, dword [ebp - 0xf0]
imul ecx, eax
cmp ecx, dword [ebp - 0x70]
jl 0x1003f488
mov dword [ebp - 0x390], 1
jmp 0x1003f48f
and dword [ebp - 0x390], 0
mov eax, dword [ebp - 0x70]
cmp dword [ebp - 0x390], eax
jge 0x1003f4af
mov eax, 0xbbda
test eax, eax
je 0x1003f4af
mov dword [ebp - 0x398], 1
jmp 0x1003f4b6
and dword [ebp - 0x398], 0
mov eax, dword [ebp - 0xf0]
imul eax, dword [ebp - 0x398]
mov ecx, dword [ebp - 0x70]
lea eax, [eax + ecx - 0x25bb5a27]
cmp eax, dword [ebp - 0x70]
jle 0x1003f4db
and dword [ebp - 0x3a0], 0
jmp 0x1003f4e5
mov dword [ebp - 0x3a0], 1
mov eax, dword [ebp - 0x3a0]
neg eax
jne 0x1003f4f8
cmp dword [ebp - 0xf0], 0
je 0x1003f504
mov dword [ebp - 0x768], 1
jmp 0x1003f50b
and dword [ebp - 0x768], 0
mov eax, dword [ebp - 0x70]
sub eax, 0xa
cmp eax, 0xfff7
jbe 0x1003f55f
mov byte [ebp - 0x9e], 0
movzx eax, byte [ebp - 0x9e]
test eax, eax
je 0x1003f534
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov byte [ebp - 0xad], 0
movzx eax, byte [ebp - 0xad]
test eax, eax
je 0x1003f55d
push 0
push 0xc5d
push 0x5d6
push 0x17c2
call dword [sym.imp.GDI32.dll_GetDIBColorTable]
jmp 0x1003f581
mov byte [ebp - 0xa0], 0
movzx eax, byte [ebp - 0xa0]
test eax, eax
je 0x1003f581
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x190]
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0xdc], 0x898f01ba
mov dword [ebp - 0x90], 0x8884515f
mov dword [ebp - 0xf8], 0x6a6c65b0
mov dword [ebp - 0x138], 0xffffffff
mov dword [ebp - 0x20c], 0
jmp 0x1003f5d7
mov eax, dword [ebp - 0x20c]
inc eax
mov dword [ebp - 0x20c], eax
cmp dword [ebp - 0x20c], 3
jge 0x1003f5f3
mov eax, dword [ebp - 0x20c]
mov dword [ebp + eax*4 - 0x170], 7
jmp 0x1003f5ca
push 4
pop eax
shl eax, 0
push 4
pop ecx
shl ecx, 0
mov ecx, dword [ebp + ecx - 0x170]
cmp dword [ebp + eax - 0x170], ecx
jl 0x1003f61b
mov dword [ebp - 0x3a8], 1
jmp 0x1003f622
and dword [ebp - 0x3a8], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x170]
cmp dword [ebp - 0x3a8], eax
jne 0x1003f643
mov dword [ebp - 0x7a4], 1
jmp 0x1003f64a
and dword [ebp - 0x7a4], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x170]
mov dword [ebp - 0xaa8], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x170], 0
je 0x1003f689
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x170], 0
je 0x1003f689
mov dword [ebp - 0x3b0], 1
jmp 0x1003f690
and dword [ebp - 0x3b0], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x170]
mov dword [ebp - 0xdc], 6
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x170]
imul eax, dword [ebp - 0xdc]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0xab0], eax
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x170]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0xab8], eax
push 4
pop eax
shl eax, 0
push 4
pop ecx
shl ecx, 0
mov ecx, dword [ebp + ecx - 0x170]
cmp dword [ebp + eax - 0x170], ecx
jge 0x1003f712
mov dword [ebp - 0x3b8], 1
jmp 0x1003f719
and dword [ebp - 0x3b8], 0
cmp dword [ebp - 0x3b8], 0xfffffff7
jge 0x1003f72e
mov dword [ebp - 0x3c0], 1
jmp 0x1003f735
and dword [ebp - 0x3c0], 0
cmp dword [ebp - 0x3c0], 0x3f36a5b5
je 0x1003f74d
mov dword [ebp - 0x3c8], 1
jmp 0x1003f754
and dword [ebp - 0x3c8], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x170]
cmp dword [ebp - 0x3c8], eax
jne 0x1003f775
mov dword [ebp - 0x3d0], 1
jmp 0x1003f77c
and dword [ebp - 0x3d0], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x170]
imul eax, dword [ebp - 0x3d0]
test eax, eax
jbe 0x1003f7a0
mov dword [ebp - 0x3d8], 1
jmp 0x1003f7a7
and dword [ebp - 0x3d8], 0
mov eax, dword [ebp - 0x3d8]
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x138], 0x12
jmp 0x1003f7cc
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x18f]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x140]
movzx ecx, byte [ebp + ecx - 0x192]
movsx ecx, byte [ebp + ecx - 0x6bc]
add eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0x18f]
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x140]
movzx edx, byte [ebp + edx - 0x192]
movsx edx, byte [ebp + edx - 0x6bc]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0x18f]
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x140]
movzx edx, byte [ebp + edx - 0x192]
movsx edx, byte [ebp + edx - 0x6bc]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0x190]
mov byte [ebp + ecx - 0x6bc], al
push 3
lea ecx, [ebp - 0x650]
call fcn.10016555
mov dword [ebp - 4], 0x17
mov dword [ebp - 0x3e0], 0x42a8
mov dword [ebp - 0x808], 0x100088c0
cmp dword [ebp - 0x3e0], 0x4665
jle 0x1003f9e0
and dword [ebp - 0x22c], 0
jmp 0x1003f950
mov eax, dword [ebp - 0x22c]
inc eax
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x22c], 0x43b3
jge 0x1003f9e0
and dword [ebp - 0x1dc], 0
jmp 0x1003f976
mov eax, dword [ebp - 0x1dc]
inc eax
mov dword [ebp - 0x1dc], eax
cmp dword [ebp - 0x1dc], 0x1001
jge 0x1003f9db
mov eax, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0x1dc]
shl eax, cl
cdq
mov dword [ebp - 0x720], eax
mov dword [ebp - 0x71c], edx
push dword [ebp - 0x71c]
push dword [ebp - 0x720]
lea ecx, [ebp - 0xb74]
call fcn.1000a20e
pop ecx
pop ecx
mov dword [ebp - 0x734], eax
mov ecx, dword [ebp - 0x734]
call fcn.1001622c
push eax
call fcn.10050d73
pop ecx
lea ecx, [ebp - 0xb74]
call fcn.10016222
jmp 0x1003f969
jmp 0x1003f943
mov dword [ebp - 0x73c], 0xfffffff8
mov byte [ebp - 4], 0x18
cmp dword [ebp - 0x3e0], 0x3ee1
jge 0x1003fa06
push dword [ebp - 0x808]
call fcn.10050d73
pop ecx
jmp 0x1003fa22
mov dword [ebp - 4], 0x17
jmp 0x1003fa32
mov dword [ebp - 0x8dc], 0x13d
mov dword [ebp - 0x8d8], 0x13d
mov dword [ebp - 0x8d4], 0x13d
mov dword [ebp - 0x8d0], 0x13d
lea ecx, [ebp - 0x291]
call fcn.10016602
push eax
lea eax, [ebp - 0x8cc]
push eax
lea eax, [ebp - 0x8dc]
push eax
lea ecx, [ebp - 0xb04]
call fcn.10016605
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x7c8]
call fcn.100165b1
mov byte [ebp - 4], 0x1a
mov dword [ebp - 0x744], 0xfffffffd
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x7b4], 0xeceb2cfb
mov dword [ebp - 0x24], 0
jmp 0x1003facb
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 3
jge 0x1003fae7
push dword [ebp - 0x24]
lea ecx, [ebp - 0x650]
call fcn.100165f3
mov dword [eax], 0xfffffffc
jmp 0x1003fac4
mov dword [ebp - 0x24], 0
jmp 0x1003faf7
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 1
jge 0x1003fb0d
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0x264], 0x21ded680
jmp 0x1003faf0
mov dword [ebp - 0x24], 0
jmp 0x1003fb1d
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 2
jge 0x1003fb33
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0x87c], 0xfffffffd
jmp 0x1003fb16
push 3
lea ecx, [ebp - 0x7c8]
call fcn.100165f3
mov dword [ebp - 0x3e8], eax
mov eax, dword [ebp - 0x3e8]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x3e8]
mov dword [ecx], eax
cmp dword [ebp - 0x73c], 1
jne 0x1003fb6c
mov dword [ebp - 0x7ac], 1
jmp 0x1003fb73
and dword [ebp - 0x7ac], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x264]
add eax, 0xb839
mov dword [ebp - 0x3f0], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x3f0]
mov dword [ebp + eax - 0x264], ecx
mov eax, dword [ebp - 0x3f0]
add eax, 5
cmp eax, dword [ebp - 0x744]
jg 0x1003fbbb
mov dword [ebp - 0x800], 1
jmp 0x1003fbc2
and dword [ebp - 0x800], 0
push 2
lea ecx, [ebp - 0x650]
call fcn.100165f3
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x87c], 0x4d0c653d
je 0x1003fbee
mov dword [ebp - 0x3f8], 1
jmp 0x1003fbf5
and dword [ebp - 0x3f8], 0
push 3
lea ecx, [ebp - 0x7c8]
call fcn.100165f3
mov ecx, dword [ebp - 0x3f8]
cmp ecx, dword [eax]
jg 0x1003fc18
mov dword [ebp - 0x400], 1
jmp 0x1003fc1f
and dword [ebp - 0x400], 0
cmp dword [ebp - 0x400], 0x1d4
jg 0x1003fc37
mov dword [ebp - 0x408], 1
jmp 0x1003fc3e
and dword [ebp - 0x408], 0
push 2
lea ecx, [ebp - 0x650]
call fcn.100165f3
push 1
lea ecx, [ebp - 0x650]
call fcn.100165f3
mov esi, eax
push 2
lea ecx, [ebp - 0x650]
call fcn.100165f3
mov ecx, dword [esi]
cmp ecx, dword [eax]
jle 0x1003fc79
mov dword [ebp - 0x25c], 1
jmp 0x1003fc80
and dword [ebp - 0x25c], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x25c]
mov dword [ebp + eax - 0x87c], ecx
cmp dword [ebp - 0x25c], 0xffffffff
jg 0x1003fca8
mov dword [ebp - 0x410], 1
jmp 0x1003fcaf
and dword [ebp - 0x410], 0
mov eax, dword [ebp - 0x410]
mov dword [ebp - 0x418], eax
mov eax, dword [ebp - 0x418]
mov dword [ebp - 0xa8c], eax
xor eax, eax
inc eax
cmp eax, 0xfffffff6
jbe 0x1003fcdb
mov dword [ebp - 0x420], 1
jmp 0x1003fce2
and dword [ebp - 0x420], 0
mov eax, dword [ebp - 0x420]
mov dword [ebp - 0x428], eax
mov esi, dword [ebp - 0x428]
push 3
lea ecx, [ebp - 0x7c8]
call fcn.100165f3
cmp esi, dword [eax]
jl 0x1003fd1e
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x264], 0
jne 0x1003fd1e
mov dword [ebp - 0x430], 1
mov esi, dword [ebp - 0x430]
dec esi
push 1
lea ecx, [ebp - 0x650]
call fcn.100165f3
cmp esi, dword [eax]
jle 0x1003fd4c
mov dword [ebp - 0x754], 0
mov dword [ebp - 0x1e0], 0
jmp 0x1003fe01
mov eax, dword [ebp - 0x1e0]
inc eax
mov dword [ebp - 0x1e0], eax
cmp dword [ebp - 0x1e0], 2
jge 0x1003fe1d
mov eax, dword [ebp - 0x1e0]
mov dword [ebp + eax*4 - 0x9e8], 0x9c28
jmp 0x1003fdf4
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x9e8]
mov dword [ebp - 0x754], eax
mov byte [ebp - 0xc5], 0
movzx eax, byte [ebp - 0xc5]
test eax, eax
je 0x1003fe4f
push 0
push 0x43a
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
inc eax
imul eax, eax, 0xe
mov byte [ebp + eax - 0x6bc], 0
push 3
lea ecx, [ebp - 0x850]
call fcn.10016555
mov dword [ebp - 4], 0x1b
mov dword [ebp - 0x1e8], 0
jmp 0x1003fe8a
mov eax, dword [ebp - 0x1e8]
inc eax
mov dword [ebp - 0x1e8], eax
cmp dword [ebp - 0x1e8], 3
jge 0x1003fea9
push dword [ebp - 0x1e8]
lea ecx, [ebp - 0x850]
call fcn.100165f3
or dword [eax], 0xffffffff
jmp 0x1003fe7d
push 1
lea ecx, [ebp - 0x850]
call fcn.100165f3
cmp dword [eax], 0
je 0x1003ff58
mov dword [ebp - 0x1f0], 0xfffffff9
mov byte [ebp - 0xa2], 0
movzx eax, byte [ebp - 0xa2]
test eax, eax
je 0x1003fee8
push 0
push 0xa08
call dword [sym.imp.USER32.dll_BeginPaint]
mov dword [ebp - 0x1f0], 0
jmp 0x1003ff01
mov eax, dword [ebp - 0x1f0]
dec eax
mov dword [ebp - 0x1f0], eax
cmp dword [ebp - 0x1f0], 0xffffffee
je 0x1003ff56
mov dword [ebp - 0x7e0], 0x40194ddb
mov dword [ebp - 0x75c], 0xe7f737a9
mov esi, dword [ebp - 0x7e0]
push 1
lea ecx, [ebp - 0x850]
call fcn.100165f3
cmp esi, dword [eax]
jl 0x1003ff41
mov dword [ebp - 0x448], 1
jmp 0x1003ff48
and dword [ebp - 0x448], 0
mov eax, dword [ebp - 0x448]
mov dword [ebp - 0x75c], eax
jmp 0x1003fef4
jmp 0x1003ff72
mov byte [ebp - 0xb5], 0
movzx eax, byte [ebp - 0xb5]
test eax, eax
je 0x1003ff72
push 0
call dword [sym.imp.GDI32.dll_CreatePalette]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x850]
call fcn.100165d7
lea eax, [ebp - 0x6bc]
push eax
lea ecx, [ebp - 0xafc]
call fcn.10048347
mov dword [ebp - 4], 0x1c
mov dword [ebp - 0x100], 0xffffffff
push 4
lea ecx, [ebp - 0xa44]
call fcn.10016555
mov byte [ebp - 4], 0x1d
mov dword [ebp - 0x68], 0
jmp 0x1003ffc5
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 1
jge 0x1003ffdb
mov eax, dword [ebp - 0x68]
mov dword [ebp + eax*4 - 0x26c], 0x4e2db58
jmp 0x1003ffbe
mov dword [ebp - 0x68], 0
jmp 0x1003ffeb
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 4
jge 0x10040004
push dword [ebp - 0x68]
lea ecx, [ebp - 0xa44]
call fcn.100165f3
and dword [eax], 0
jmp 0x1003ffe4
mov byte [ebp - 0x92], 0
movzx eax, byte [ebp - 0x92]
test eax, eax
je 0x1004001e
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov dword [ebp - 0x100], 0
jmp 0x10040037
mov eax, dword [ebp - 0x100]
inc eax
mov dword [ebp - 0x100], eax
cmp dword [ebp - 0x100], 0
jg 0x10040184
mov dword [ebp - 0xa94], 0xffffffff
mov dword [ebp - 0x978], 0x515fdc8d
mov dword [ebp - 0xa38], 0
mov eax, dword [ebp - 0x100]
mov ecx, dword [ebp - 0x100]
mov ecx, dword [ebp + ecx*4 - 0x26c]
cmp dword [ebp + eax*4 - 0x26c], ecx
jne 0x1004014e
mov dword [ebp - 0x7bc], 0x143e
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x26c], 0
je 0x10040124
mov dword [ebp - 0x1f8], 0
jmp 0x100400b9
mov eax, dword [ebp - 0x1f8]
inc eax
mov dword [ebp - 0x1f8], eax
cmp dword [ebp - 0x1f8], 3
jge 0x100400d5
mov eax, dword [ebp - 0x1f8]
mov dword [ebp + eax*4 - 0x7d8], 1
jmp 0x100400ac
push 4
pop eax
shl eax, 1
mov dword [ebp + eax - 0x7d8], 0
jmp 0x10040100
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x7d8]
inc eax
push 4
pop ecx
shl ecx, 1
mov dword [ebp + ecx - 0x7d8], eax
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x7d8], 0
jg 0x10040122
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x7d8], 0
je 0x10040120
jmp 0x10040122
jmp 0x100400e7
jmp 0x1004014c
cmp dword [ebp - 0x7bc], 0
je 0x1004012f
jmp 0x10040184
mov byte [ebp - 0x93], 0
movzx eax, byte [ebp - 0x93]
test eax, eax
je 0x1004014c
push 0x1763
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
jmp 0x1004017f
mov dword [ebp - 0x450], 1
mov byte [ebp - 0x95], 0
movzx eax, byte [ebp - 0x95]
test eax, eax
je 0x10040172
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, dword [ebp - 0x450]
dec eax
mov dword [ebp - 0x450], eax
jmp 0x1004002a
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0xa44]
call fcn.100165d7
and dword [ebp - 0x1ac], 0
jmp 0x100401a9
mov eax, dword [ebp - 0x1ac]
inc eax
mov dword [ebp - 0x1ac], eax
cmp dword [ebp - 0x1ac], 0xf
jae 0x1004032a
mov dword [ebp - 0x1a4], 0xfffffffb
mov dword [ebp - 0x458], 1
mov dword [ebp - 0x274], 0x6ab2aee5
push 3
lea ecx, [ebp - 0x900]
call fcn.10016555
mov byte [ebp - 4], 0x1e
mov dword [ebp - 0x1a0], 0
jmp 0x100401fe
mov eax, dword [ebp - 0x1a0]
inc eax
mov dword [ebp - 0x1a0], eax
cmp dword [ebp - 0x1a0], 3
jge 0x10040220
push dword [ebp - 0x1a0]
lea ecx, [ebp - 0x900]
call fcn.100165f3
mov dword [eax], 0xfffffffe
jmp 0x100401f1
mov dword [ebp - 0x1a4], 0xfffffff6
jmp 0x10040239
mov eax, dword [ebp - 0x1a4]
inc eax
mov dword [ebp - 0x1a4], eax
cmp dword [ebp - 0x1a4], 0xa
je 0x10040308
mov dword [ebp - 0x468], 0x5b40194
mov dword [ebp - 0x470], 0xffffffff
mov eax, dword [ebp - 0x458]
mov dword [ebp - 0x980], eax
cmp dword [ebp - 0x458], 0xfffffff9
je 0x1004027b
mov dword [ebp - 0x460], 1
jmp 0x10040282
and dword [ebp - 0x460], 0
mov eax, dword [ebp - 0x460]
mov dword [ebp - 0x274], eax
mov eax, dword [ebp - 0x274]
add eax, 5
cmp eax, 0x971867b8
jae 0x100402aa
mov dword [ebp - 0x764], 1
jmp 0x100402b1
and dword [ebp - 0x764], 0
mov eax, dword [ebp - 0x468]
mov dword [ebp - 0xaac], eax
mov eax, dword [ebp - 0x274]
mov dword [ebp - 0x470], eax
mov eax, dword [ebp - 0x468]
add eax, dword [ebp - 0x470]
jne 0x100402e4
xor eax, eax
jne 0x100402e4
and dword [ebp - 0x478], 0
jmp 0x100402ee
mov dword [ebp - 0x478], 1
push 1
lea ecx, [ebp - 0x900]
call fcn.100165f3
mov ecx, dword [ebp - 0x478]
mov dword [eax], ecx
jmp 0x1004022c
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x900]
call fcn.100165d7
mov eax, dword [ebp - 0x1ac]
mov byte [ebp + eax - 0x6bc], 0
jmp 0x1004019c
mov dword [ebp - 0x148], 0x59e5
mov dword [ebp - 0x8c8], 8
mov dword [ebp - 0x8c4], 8
mov dword [ebp - 0x8c0], 8
mov dword [ebp - 0x8bc], 8
lea ecx, [ebp - 0x289]
call fcn.10016602
push eax
lea eax, [ebp - 0x8b8]
push eax
lea eax, [ebp - 0x8c8]
push eax
lea ecx, [ebp - 0xb14]
call fcn.10016605
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0xa54]
call fcn.100165b1
mov byte [ebp - 4], 0x1f
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x76c], 1
mov dword [ebp - 0x4a8], 0xb0cadfb1
push 2
lea ecx, [ebp - 0x82c]
call fcn.10016555
mov byte [ebp - 4], 0x20
mov dword [ebp - 0x988], 4
mov dword [ebp - 0x1b4], 0
jmp 0x100403e7
mov eax, dword [ebp - 0x1b4]
inc eax
mov dword [ebp - 0x1b4], eax
cmp dword [ebp - 0x1b4], 2
jge 0x10040409
push dword [ebp - 0x1b4]
lea ecx, [ebp - 0x82c]
call fcn.100165f3
mov dword [eax], 0x38886a6c
jmp 0x100403da
mov eax, 0xbe4438b
test eax, eax
je 0x100404f3
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0xa48], eax
cmp dword [ebp - 0x148], 0
jne 0x1004043d
cmp dword [ebp - 0x148], 0
jne 0x1004043d
and dword [ebp - 0x480], 0
jmp 0x10040447
mov dword [ebp - 0x480], 1
mov eax, dword [ebp - 0x108]
cmp dword [ebp - 0x480], eax
jl 0x10040461
mov dword [ebp - 0x7f4], 1
jmp 0x10040468
and dword [ebp - 0x7f4], 0
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x990], eax
push 0
lea ecx, [ebp - 0xa54]
call fcn.100165f3
mov dword [eax], 0xfffffffc
cmp dword [ebp - 0x108], 0xfffffffc
jl 0x100404a2
cmp dword [ebp - 0x108], 0
jne 0x100404a2
and dword [ebp - 0x488], 0
jmp 0x100404ac
mov dword [ebp - 0x488], 1
mov eax, dword [ebp - 0x76c]
cmp dword [ebp - 0x488], eax
jge 0x100404c6
mov dword [ebp - 0x490], 1
jmp 0x100404cd
and dword [ebp - 0x490], 0
mov eax, dword [ebp - 0x490]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x108]
cmp dword [ebp - 0x148], eax
je 0x100404f3
mov dword [ebp - 0x498], 1
jmp 0x100404fa
and dword [ebp - 0x498], 0
cmp dword [ebp - 0x498], 6
jne 0x1004050f
mov dword [ebp - 0x4a0], 1
jmp 0x10040516
and dword [ebp - 0x4a0], 0
mov eax, dword [ebp - 0x4a0]
mov dword [ebp - 0x4a8], eax
mov esi, dword [ebp - 0x4a8]
push 1
lea ecx, [ebp - 0x82c]
call fcn.100165f3
cmp esi, dword [eax]
jle 0x10040545
mov dword [ebp - 0x4b0], 1
jmp 0x1004054c
and dword [ebp - 0x4b0], 0
mov esi, dword [ebp - 0x148]
add esi, dword [ebp - 0x4b0]
push 1
lea ecx, [ebp - 0x82c]
call fcn.100165f3
mov dword [eax], esi
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x82c]
call fcn.100165d7
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0xa54]
call fcn.100165d7
push 1
push 0
lea eax, [ebp - 0xafc]
push eax
push dword [ebp - 0x4b8]
call fcn.10041079
add esp, 0x10
mov dword [0x10616eac], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xafc]
call fcn.100164c2
mov dword [ebp - 0x3c], 0xe387
mov dword [ebp - 0x8c], 9
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x1bc], 1
mov dword [ebp - 0x580], 0xf83943cd
mov dword [ebp - 0x77c], 0xfffffff6
mov dword [ebp - 0x50], 0
jmp 0x100405f8
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 1
jge 0x1004060e
mov eax, dword [ebp - 0x50]
mov dword [ebp + eax*4 - 0x124], 0
jmp 0x100405f1
mov dword [ebp - 0x50], 0
jmp 0x1004061e
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 1
jge 0x10040634
mov eax, dword [ebp - 0x50]
mov dword [ebp + eax*4 - 0x284], 0x7bb5
jmp 0x10040617
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
je 0x1004078b
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x8c], eax
jne 0x10040658
mov dword [ebp - 0x7cc], 1
jmp 0x1004065f
and dword [ebp - 0x7cc], 0
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0xa5c], eax
cmp dword [ebp - 0x30], 0x2151
jg 0x1004067d
mov dword [ebp - 0x4c0], 1
jmp 0x10040684
and dword [ebp - 0x4c0], 0
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x4c0], eax
jle 0x1004069b
mov dword [ebp - 0x4c8], 1
jmp 0x100406a2
and dword [ebp - 0x4c8], 0
cmp dword [ebp - 0x4c8], 0xadaa237f
ja 0x100406ba
mov dword [ebp - 0x4d0], 1
jmp 0x100406c1
and dword [ebp - 0x4d0], 0
mov eax, dword [ebp - 0x4d0]
add eax, 9
neg eax
cmp eax, dword [ebp - 0x8c]
jle 0x100406e0
mov dword [ebp - 0x774], 1
jmp 0x100406e7
and dword [ebp - 0x774], 0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x998], eax
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x3c], eax
jne 0x10040704
mov dword [ebp - 0x4d8], 1
jmp 0x1004070b
and dword [ebp - 0x4d8], 0
mov eax, dword [ebp - 0x8c]
imul eax, dword [ebp - 0x4d8]
imul eax, eax, 7
test eax, eax
jne 0x1004072b
mov dword [ebp - 0x4e0], 1
jmp 0x10040732
and dword [ebp - 0x4e0], 0
mov eax, dword [ebp - 0x4e0]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x3c], eax
jg 0x1004074f
mov dword [ebp - 0x4e8], 1
jmp 0x10040756
and dword [ebp - 0x4e8], 0
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x4e8]
jge 0x1004076d
mov dword [ebp - 0x4f0], 1
jmp 0x10040774
and dword [ebp - 0x4f0], 0
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x4f0], eax
jle 0x1004078b
mov dword [ebp - 0x4f8], 1
jmp 0x10040792
and dword [ebp - 0x4f8], 0
mov eax, dword [ebp - 0x8c]
cmp dword [ebp - 0x4f8], eax
jge 0x100407ac
mov dword [ebp - 0x500], 1
jmp 0x100407b3
and dword [ebp - 0x500], 0
mov eax, dword [ebp - 0x1bc]
cmp dword [ebp - 0x500], eax
je 0x100407d0
cmp dword [ebp - 0x3c], 0
jne 0x100407d0
and dword [ebp - 0x7fc], 0
jmp 0x100407da
mov dword [ebp - 0x7fc], 1
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xa58], eax
mov eax, dword [ebp - 0x8c]
cmp dword [ebp - 0x1bc], eax
je 0x10040800
mov dword [ebp - 0x508], 1
jmp 0x10040807
and dword [ebp - 0x508], 0
cmp dword [ebp - 0x508], 0x9ed080c1
je 0x1004081f
mov dword [ebp - 0x510], 1
jmp 0x10040826
and dword [ebp - 0x510], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x124]
cmp dword [ebp - 0x510], eax
je 0x10040847
mov dword [ebp - 0x518], 1
jmp 0x1004084e
and dword [ebp - 0x518], 0
mov eax, dword [ebp - 0x518]
sub eax, dword [ebp - 0x8c]
je 0x10040b66
mov dword [ebp - 0x550], 0x7cdd5376
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x530], 0xffffffff
mov dword [ebp - 0x27c], 0xfffffff6
mov dword [ebp - 0x58], 0
jmp 0x10040895
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 3
jge 0x100408ab
mov eax, dword [ebp - 0x58]
mov dword [ebp + eax*4 - 0xadc], 0x9934b93d
jmp 0x1004088e
mov dword [ebp - 0x58], 0
jmp 0x100408bb
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 3
jge 0x100408d1
mov eax, dword [ebp - 0x58]
mov dword [ebp + eax*4 - 0xad0], 0xffffffff
jmp 0x100408b4
cmp dword [ebp - 0x1bc], 0
je 0x1004093f
mov eax, dword [ebp - 0x550]
mov dword [ebp - 0x9a0], eax
mov eax, dword [ebp - 0x30]
push 4
pop ecx
imul ecx, ecx, 0
imul eax, dword [ebp + ecx - 0x124]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x8c]
sub eax, dword [ebp - 0x1bc]
cmp eax, dword [ebp - 0x44]
jne 0x1004091b
mov dword [ebp - 0x520], 1
jmp 0x10040922
and dword [ebp - 0x520], 0
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x520], eax
je 0x10040933
cmp dword [ebp - 0x44], 0
je 0x1004093f
mov dword [ebp - 0x528], 1
jmp 0x10040946
and dword [ebp - 0x528], 0
mov eax, dword [ebp - 0x528]
add eax, 0x53e8af80
cmp eax, dword [ebp - 0x530]
jg 0x10040969
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x284], 0
je 0x10040994
mov dword [ebp - 0x44], 0
jmp 0x10040979
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 1
jge 0x1004098f
mov eax, dword [ebp - 0x44]
mov dword [ebp + eax*4 - 0x124], 1
jmp 0x10040972
jmp 0x10040b44
mov dword [ebp - 0x110], 0xffffffff
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0x110], eax
jge 0x100409b5
mov dword [ebp - 0x568], 1
jmp 0x100409bc
and dword [ebp - 0x568], 0
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x124], 9
jl 0x100409d8
mov dword [ebp - 0x538], 1
jmp 0x100409df
and dword [ebp - 0x538], 0
mov eax, dword [ebp - 0x530]
cmp eax, dword [ebp - 0x538]
jne 0x100409f9
mov dword [ebp - 0x540], 1
jmp 0x10040a00
and dword [ebp - 0x540], 0
cmp dword [ebp - 0x540], 0xc342871e
jbe 0x10040a18
mov dword [ebp - 0x548], 1
jmp 0x10040a1f
and dword [ebp - 0x548], 0
mov eax, dword [ebp - 0x110]
imul eax, dword [ebp - 0x548]
cmp eax, dword [ebp - 0x550]
jl 0x10040a40
mov dword [ebp - 0x558], 1
jmp 0x10040a47
and dword [ebp - 0x558], 0
mov eax, dword [ebp - 0x558]
mov dword [ebp - 0x27c], eax
cmp dword [ebp - 0x27c], 5
jg 0x10040a68
mov dword [ebp - 0x560], 1
jmp 0x10040a6f
and dword [ebp - 0x560], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x560]
mov dword [ebp + eax - 0xadc], ecx
cmp dword [ebp - 0x110], 0
jne 0x10040a91
cmp dword [ebp - 0x110], 0
mov eax, dword [ebp - 0x110]
cmp dword [ebp - 0x568], eax
jge 0x10040aab
mov dword [ebp - 0x570], 1
jmp 0x10040ab2
and dword [ebp - 0x570], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x124]
add eax, dword [ebp - 0x570]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x110]
cmp dword [ebp - 0x30], eax
jge 0x10040adf
mov dword [ebp - 0x578], 1
jmp 0x10040ae6
and dword [ebp - 0x578], 0
mov eax, dword [ebp - 0x578]
mov dword [ebp - 0x580], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x580]
mov dword [ebp + eax - 0xad0], ecx
mov dword [ebp - 0x30], 0
jmp 0x10040b15
mov eax, dword [ebp - 0x30]
dec eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xfffffffe
jge 0x10040b44
mov dword [ebp - 0x27c], 0xfffffffe
mov byte [ebp - 0x97], 0
movzx eax, byte [ebp - 0x97]
test eax, eax
je 0x10040b42
push 0x1921
call dword [sym.imp.GDI32.dll_RealizePalette]
jmp 0x10040b0e
mov byte [ebp - 0x99], 0
movzx eax, byte [ebp - 0x99]
test eax, eax
je 0x10040b61
push 0x15f8
call dword [sym.imp.KERNEL32.dll_ExitProcess]
jmp 0x10040c19
mov dword [ebp - 0xfc], 0xa78915ce
cmp dword [ebp - 0xfc], 9
ja 0x10040b85
mov dword [ebp - 0x588], 1
jmp 0x10040b8c
and dword [ebp - 0x588], 0
mov eax, dword [ebp - 0x77c]
cmp dword [ebp - 0x588], eax
jl 0x10040ba6
mov dword [ebp - 0x7dc], 1
jmp 0x10040bad
and dword [ebp - 0x7dc], 0
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0xa60], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x284]
mov dword [ebp - 0x9a8], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0xa68], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x9b0], eax
imul eax, dword [ebp - 0xfc], 0xfffffffb
push 4
pop ecx
imul ecx, ecx, 0
cmp eax, dword [ebp + ecx - 0x284]
jl 0x10040c06
mov dword [ebp - 0x590], 1
jmp 0x10040c0d
and dword [ebp - 0x590], 0
mov eax, dword [ebp - 0x590]
mov dword [ebp - 0xfc], eax
cmp dword [0x10616eac], 0
je 0x10040df5
mov dword [ebp - 0x1c4], 1
mov dword [ebp - 0x1c4], 0xffffffeb
jmp 0x10040c49
mov eax, dword [ebp - 0x1c4]
inc eax
mov dword [ebp - 0x1c4], eax
cmp dword [ebp - 0x1c4], 1
jl 0x10040c95
mov byte [ebp - 0x9b], 0
movzx eax, byte [ebp - 0x9b]
test eax, eax
je 0x10040c72
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
mov byte [ebp - 0x9d], 0
movzx eax, byte [ebp - 0x9d]
test eax, eax
je 0x10040c93
push 1
push 0
push 0x1fcd
call dword [sym.imp.GDI32.dll_SelectPalette]
jmp 0x10040c3c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x784], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x804], eax
mov dword [ebp - 0x1cc], 0
jmp 0x10040cc0
mov eax, dword [ebp - 0x1cc]
inc eax
mov dword [ebp - 0x1cc], eax
cmp dword [ebp - 0x1cc], 1
jge 0x10040cdc
mov eax, dword [ebp - 0x1cc]
mov dword [ebp + eax*4 - 0x1d4], 0
jmp 0x10040cb3
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x1d4], 0
jmp 0x10040d0a
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1d4]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x1d4], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x1d4], 0x10
jg 0x10040d40
mov byte [ebp - 0x9f], 0
movzx eax, byte [ebp - 0x9f]
test eax, eax
je 0x10040d3e
push 0
push 0x1b21
push 0x233
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
jmp 0x10040cef
mov eax, dword [ebp - 0x784]
mov dword [ebp - 0x794], eax
mov eax, dword [ebp - 0x804]
mov dword [ebp - 0x80c], eax
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0x598], 0xc4b4e126
mov dword [ebp - 0x78c], 6
mov eax, dword [ebp - 0xe0]
add eax, dword [ebp - 0xe0]
mov dword [ebp - 0x598], eax
mov eax, dword [ebp - 0x598]
mov dword [ebp - 0x78c], eax
mov dword [ebp - 0xe0], 0
jmp 0x10040dad
mov eax, dword [ebp - 0xe0]
inc eax
mov dword [ebp - 0xe0], eax
cmp dword [ebp - 0xe0], 0x35
jne 0x10040dd2
mov byte [ebp - 0xa1], 0
movzx eax, byte [ebp - 0xa1]
test eax, eax
je 0x10040dd0
push 0
call dword [sym.imp.GDI32.dll_GetObjectType]
jmp 0x10040da0
push dword [ebp - 0x80c]
push dword [ebp - 0x794]
call dword [0x10616eac]
mov dword [ebp - 0x6c4], eax
mov eax, dword [ebp - 0x6c4]
jmp 0x10041068
mov dword [ebp - 0x2cc], 0xffffffff
push 2
lea ecx, [ebp - 0x844]
call fcn.10016555
mov dword [ebp - 4], 0x21
mov dword [ebp - 0x6d0], 1
mov dword [ebp - 0x60], 0
jmp 0x10040e2d
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 2
jge 0x10040e43
mov eax, dword [ebp - 0x60]
mov dword [ebp + eax*4 - 0x198], 0x8094a188
jmp 0x10040e26
mov dword [ebp - 0x60], 0
jmp 0x10040e53
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 2
jge 0x10040e6c
push dword [ebp - 0x60]
lea ecx, [ebp - 0x844]
call fcn.100165f3
and dword [eax], 0
jmp 0x10040e4c
push 4
pop eax
shl eax, 0
push 4
pop ecx
shl ecx, 0
mov ecx, dword [ebp + ecx - 0x198]
cmp dword [ebp + eax - 0x198], ecx
jg 0x10040e94
mov dword [ebp - 0x5a0], 1
jmp 0x10040e9b
and dword [ebp - 0x5a0], 0
mov eax, dword [ebp - 0x5a0]
mov dword [ebp - 0x2cc], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x198]
cmp dword [ebp - 0x2cc], eax
jge 0x10040ec8
mov dword [ebp - 0x2d4], 1
jmp 0x10040ecf
and dword [ebp - 0x2d4], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x198]
cmp dword [ebp - 0x2d4], eax
jg 0x10040ef0
mov dword [ebp - 0x2dc], 1
jmp 0x10040ef7
and dword [ebp - 0x2dc], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x198]
cmp dword [ebp - 0x2dc], eax
jge 0x10040f18
mov dword [ebp - 0x2e4], 1
jmp 0x10040f1f
and dword [ebp - 0x2e4], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x198]
mov ecx, dword [ebp - 0x2e4]
inc ecx
sub eax, ecx
jne 0x10040f59
mov eax, 0x8470ed99
test eax, eax
jne 0x10040f59
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x198], 0
jne 0x10040f59
and dword [ebp - 0x2ec], 0
jmp 0x10040f63
mov dword [ebp - 0x2ec], 1
cmp dword [ebp - 0x2ec], 0xc4365de
jne 0x10040f7b
mov dword [ebp - 0x2f4], 1
jmp 0x10040f82
and dword [ebp - 0x2f4], 0
cmp dword [ebp - 0x2f4], 1
je 0x10040f97
mov dword [ebp - 0x2fc], 1
jmp 0x10040f9e
and dword [ebp - 0x2fc], 0
push 1
lea ecx, [ebp - 0x844]
call fcn.100165f3
mov ecx, dword [ebp - 0x2fc]
cmp ecx, dword [eax]
je 0x10040fc1
mov dword [ebp - 0x304], 1
jmp 0x10040fc8
and dword [ebp - 0x304], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x198]
cmp eax, dword [ebp - 0x304]
je 0x10040fe9
mov dword [ebp - 0x6c8], 1
jmp 0x10040ff0
and dword [ebp - 0x6c8], 0
push 0
lea ecx, [ebp - 0x844]
call fcn.100165f3
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x198], 0x617a9413
jne 0x1004101c
mov dword [ebp - 0x30c], 1
jmp 0x10041023
and dword [ebp - 0x30c], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x198]
cmp eax, dword [ebp - 0x30c]
jne 0x10041044
mov dword [ebp - 0x314], 1
jmp 0x1004104b
and dword [ebp - 0x314], 0
mov eax, dword [ebp - 0x314]
mov dword [ebp - 0x6d0], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x844]
call fcn.100165d7
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret