Function at 0x1001298b
Capabilities:
Accept command line arguments
Delete registry key
Get common file path
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100729d6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x3d4
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x30], 8
mov dword [ebp - 0x3c], 0x8c9a01c7
mov dword [ebp - 0x2ac], 0x6082f4e5
mov dword [ebp - 0x2a8], 0x6082f4e5
mov dword [ebp - 0x2a4], 0x6082f4e5
mov dword [ebp - 0x2a0], 0x6082f4e5
mov dword [ebp - 0x26c], 0x52705104
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x30], eax
jg 0x10012c71
mov dword [ebp - 0x20], 1
mov dword [ebp - 0xf0], 0xa527
mov dword [ebp - 0xf8], 0x1e183a09
mov dword [ebp - 0x274], 0
cmp dword [ebp - 0x20], 0
jne 0x10012a36
cmp dword [ebp - 0x20], 0
jne 0x10012a36
and dword [ebp - 0x218], 0
jmp 0x10012a40
mov dword [ebp - 0x218], 1
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x394], eax
cmp dword [ebp - 0x30], 0x2c4d
jg 0x10012a64
mov eax, 0x8c84
test eax, eax
jne 0x10012a64
and dword [ebp - 0x12c], 0
jmp 0x10012a6e
mov dword [ebp - 0x12c], 1
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x12c]
jle 0x10012a85
mov dword [ebp - 0x178], 1
jmp 0x10012a8c
and dword [ebp - 0x178], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x178], eax
jle 0x10012aa3
mov dword [ebp - 0xc4], 1
jmp 0x10012aaa
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0xc4], eax
jl 0x10012ac1
mov dword [ebp - 0x1fc], 1
jmp 0x10012ac8
and dword [ebp - 0x1fc], 0
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x1fc]
cmp eax, dword [ebp - 0x20]
je 0x10012ae2
mov dword [ebp - 0xcc], 1
jmp 0x10012ae9
and dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0xcc], eax
jg 0x10012b00
mov dword [ebp - 0x204], 1
jmp 0x10012b07
and dword [ebp - 0x204], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x204], eax
jge 0x10012b1e
mov dword [ebp - 0xd4], 1
jmp 0x10012b25
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0xd4], eax
jg 0x10012b3c
mov dword [ebp - 0x9c], 1
jmp 0x10012b43
and dword [ebp - 0x9c], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x9c]
mov dword [ebp + eax - 0x2ac], ecx
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x9c], eax
jle 0x10012b6d
mov dword [ebp - 0x20c], 1
jmp 0x10012b74
and dword [ebp - 0x20c], 0
mov eax, dword [ebp - 0xf0]
cmp dword [ebp - 0x20c], eax
jge 0x10012b8e
mov dword [ebp - 0x214], 1
jmp 0x10012b95
and dword [ebp - 0x214], 0
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x214], eax
jge 0x10012bac
mov dword [ebp - 0xe0], 1
jmp 0x10012bb3
and dword [ebp - 0xe0], 0
imul eax, dword [ebp - 0xe0], 0xffffffff
test eax, eax
je 0x10012bd0
cmp dword [ebp - 0x20], 0
je 0x10012bd0
mov dword [ebp - 0x1c8], 1
jmp 0x10012bd7
and dword [ebp - 0x1c8], 0
cmp dword [ebp - 0x1c8], 7
jl 0x10012bec
mov dword [ebp - 0xe8], 1
jmp 0x10012bf3
and dword [ebp - 0xe8], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0xe8], eax
jne 0x10012c0a
mov dword [ebp - 0x180], 1
jmp 0x10012c11
and dword [ebp - 0x180], 0
mov eax, dword [ebp - 0x3c]
imul eax, dword [ebp - 0x180]
cmp eax, dword [ebp - 0xf0]
jg 0x10012c29
cmp dword [ebp - 0x3c], 0
jne 0x10012c38
cmp dword [ebp - 0x30], 0
jne 0x10012c38
and dword [ebp - 0x1f0], 0
jmp 0x10012c42
mov dword [ebp - 0x1f0], 1
mov eax, dword [ebp - 0x1f0]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x274], eax
mov byte [ebp - 0x3e], 0
movzx eax, byte [ebp - 0x3e]
test eax, eax
je 0x10012c6c
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
jmp 0x10012e02
mov dword [ebp - 0x28], 0xd734895c
mov dword [ebp - 0x3c], 5
jmp 0x10012c88
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 5
jge 0x10012ce0
cmp dword [ebp - 0x28], 0
je 0x10012c96
jmp 0x10012ce0
mov byte [ebp - 0x40], 0
movzx eax, byte [ebp - 0x40]
test eax, eax
je 0x10012cde
push 0
push 0x841
push 0x20c0
push 0
push 0x6fb
push 0x67d
push 0x4e1
push 0x2cb
push 0x17a1
push 0xbd2
push 0x1b75
push 0x1889
call dword [sym.imp.GDI32.dll_MaskBlt]
jmp 0x10012c81
mov dword [ebp - 0x30], 0
jmp 0x10012cf0
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 3
jg 0x10012e02
mov dword [ebp - 0x32c], 0xf6ec
mov dword [ebp - 0x28], 0
jmp 0x10012d14
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 3
jg 0x10012dc4
mov dword [ebp - 0xa8], 0xf1db06d6
mov eax, dword [ebp - 0x28]
mov dword [ebp + eax*4 - 0x2ac], 1
xor eax, eax
inc eax
cmp eax, 0x2283
jle 0x10012d4c
mov dword [ebp - 0x188], 1
jmp 0x10012d53
and dword [ebp - 0x188], 0
mov eax, dword [ebp - 0xa8]
cmp dword [ebp - 0x188], eax
je 0x10012d6d
mov dword [ebp - 0x100], 1
jmp 0x10012d74
and dword [ebp - 0x100], 0
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x100], eax
jle 0x10012d8b
mov dword [ebp - 0x1d0], 1
jmp 0x10012d92
and dword [ebp - 0x1d0], 0
mov eax, dword [ebp - 0xa8]
cmp dword [ebp - 0x1d0], eax
jle 0x10012dac
mov dword [ebp - 0x108], 1
jmp 0x10012db3
and dword [ebp - 0x108], 0
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0xa8], eax
jmp 0x10012d0d
mov dword [ebp - 0x28], 3
jmp 0x10012dd4
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jl 0x10012dfd
mov byte [ebp - 0x4b], 0
movzx eax, byte [ebp - 0x4b]
test eax, eax
je 0x10012dec
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov eax, dword [ebp - 0x28]
cmp dword [ebp + eax*4 - 0x2ac], 0
je 0x10012dfb
jmp 0x10012dfd
jmp 0x10012dcd
jmp 0x10012ce9
mov dword [ebp - 0x26c], 9
mov dword [ebp - 0x334], 0xffffffff
mov dword [ebp - 0x33c], 0xd453606d
mov dword [ebp - 0x2cc], 0x5d09ea9
mov dword [ebp - 0x2c8], 0x5d09ea9
mov dword [ebp - 0x2c4], 0x5d09ea9
mov dword [ebp - 0x2c0], 0x5d09ea9
lea ecx, [ebp - 0xad]
call fcn.1000fa98
push eax
lea eax, [ebp - 0x2bc]
push eax
lea eax, [ebp - 0x2cc]
push eax
lea ecx, [ebp - 0x3b4]
call fcn.1000fa9b
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x3ac]
call fcn.1000fa47
mov dword [ebp - 0x190], 0xfffffffd
mov byte [ebp - 0x42], 0
movzx eax, byte [ebp - 0x42]
test eax, eax
je 0x10012e9b
push 0
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x190]
inc eax
mov dword [ebp - 0x190], eax
lea ecx, [ebp - 0x3ac]
call fcn.1000fa6d
mov dword [ebp - 0x118], 3
mov dword [ebp - 0x54], 0xffffffff
mov dword [ebp - 0x364], 0x5a592c6e
mov dword [ebp - 0x36c], 1
mov dword [ebp - 0x374], 0x632c5b64
mov dword [ebp - 0x398], 0
cmp dword [ebp - 0x118], 0x19ac196a
je 0x10012f04
mov dword [ebp - 0x110], 1
jmp 0x10012f0b
and dword [ebp - 0x110], 0
cmp dword [ebp - 0x110], 1
jge 0x10012f20
mov dword [ebp - 0x210], 1
jmp 0x10012f27
and dword [ebp - 0x210], 0
cmp dword [ebp - 0x210], 0
ja 0x10012f3c
mov dword [ebp - 0x198], 1
jmp 0x10012f43
and dword [ebp - 0x198], 0
mov eax, dword [ebp - 0x118]
cmp eax, dword [ebp - 0x198]
jl 0x10012f5d
mov dword [ebp - 0x120], 1
jmp 0x10012f64
and dword [ebp - 0x120], 0
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x54], 0x19
jmp 0x10012f7d
mov eax, dword [ebp - 0x54]
dec eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0x15
jne 0x10012fb0
mov dword [ebp - 0x3a0], 0xffffffff
mov dword [ebp - 0x39c], 0xfc36fe5a
mov dword [ebp - 0x1d8], 0x678e045d
mov eax, dword [ebp - 0x1d8]
inc eax
mov dword [ebp - 0x1d8], eax
jmp 0x10012f76
movzx eax, byte [0x1063d3fc]
test eax, eax
je 0x10012fce
mov esi, 0x10619df4
mov edi, dword [ebp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 8]
jmp 0x100141ae
mov dword [ebp - 0x128], 0x63b3
mov dword [ebp - 0x228], 0x10007aa8
cmp dword [ebp - 0x128], 0x64bc
jle 0x1001306d
and dword [ebp - 0x68], 0
jmp 0x10012ffb
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0x760e
jge 0x1001306d
and dword [ebp - 0x60], 0
jmp 0x10013011
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0x7339
jge 0x1001306b
mov eax, dword [ebp - 0x68]
and eax, dword [ebp - 0x60]
cdq
mov dword [ebp - 0x288], eax
mov dword [ebp - 0x284], edx
push dword [ebp - 0x284]
push dword [ebp - 0x288]
lea ecx, [ebp - 0x3cc]
call fcn.1000b06a
pop ecx
pop ecx
mov dword [ebp - 0x22c], eax
mov ecx, dword [ebp - 0x22c]
call fcn.1000f793
push eax
call fcn.100598a3
pop ecx
lea ecx, [ebp - 0x3cc]
call fcn.1000f789
jmp 0x1001300a
jmp 0x10012ff4
and dword [ebp - 4], 0
cmp dword [ebp - 0x128], 0x62d4
jge 0x10013089
push dword [ebp - 0x228]
call fcn.100598a3
pop ecx
jmp 0x100130a5
or dword [ebp - 4], 0xffffffff
jmp 0x100130af
mov dword [ebp - 0x8c], 0x8a61928c
mov dword [ebp - 0x378], 0x10fecafe
mov dword [ebp - 0x27c], 0
push 2
lea ecx, [ebp - 0x2d8]
call fcn.1000fa0b
mov dword [ebp - 4], 2
mov dword [ebp - 0x358], 0xfffffffd
mov dword [ebp - 0x1a0], 7
mov dword [ebp - 0x70], 0
jmp 0x10013105
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 2
jge 0x10013121
push dword [ebp - 0x70]
lea ecx, [ebp - 0x2d8]
call fcn.1000fa89
mov dword [eax], 0x515466bc
jmp 0x100130fe
mov dword [ebp - 0x8c], 0
jmp 0x1001313a
mov eax, dword [ebp - 0x8c]
dec eax
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0xffffffed
jle 0x10013414
mov dword [ebp - 0x260], 1
mov dword [ebp - 0x38], 0
jmp 0x10013161
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 4
jge 0x10013177
mov eax, dword [ebp - 0x38]
mov dword [ebp + eax*4 - 0x2e8], 8
jmp 0x1001315a
mov dword [ebp - 0x38], 0
jmp 0x10013187
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 2
jge 0x1001319d
mov eax, dword [ebp - 0x38]
mov dword [ebp + eax*4 - 0xb8], 0xcfe04822
jmp 0x10013180
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0xb8], 3
jmp 0x100131cb
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xb8]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0xb8], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xb8], 0
jl 0x1001340f
mov dword [ebp - 0x90], 0x4bc662a2
mov dword [ebp - 0x308], 0xffffffff
mov dword [ebp - 0x2fc], 9
mov dword [ebp - 0x230], 0xf6e229ed
mov dword [ebp - 0x80], 0x921e124d
mov dword [ebp - 0x78], 0
jmp 0x1001321e
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 2
jge 0x10013234
mov eax, dword [ebp - 0x78]
mov dword [ebp + eax*4 - 0x348], 1
jmp 0x10013217
mov dword [ebp - 0x90], 0
jmp 0x1001324d
mov eax, dword [ebp - 0x90]
inc eax
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 3
jg 0x10013283
mov dword [ebp - 0x310], 0x917ab6da
mov dword [ebp - 0x360], 0
mov dword [ebp - 0x318], 0xd76270e7
mov eax, dword [ebp - 0x1a0]
dec eax
mov dword [ebp - 0x1a0], eax
jmp 0x10013240
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xb8]
cmp dword [ebp + eax*4 - 0x2e8], 0
jne 0x1001338e
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xb8]
mov ecx, dword [ebp - 0x80]
cmp dword [ebp + eax*4 - 0x2e8], ecx
jge 0x100132c3
mov dword [ebp - 0x1a8], 1
jmp 0x100132ca
and dword [ebp - 0x1a8], 0
cmp dword [ebp - 0x260], 1
jg 0x100132df
mov dword [ebp - 0x130], 1
jmp 0x100132e6
and dword [ebp - 0x130], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x2e8]
cmp dword [ebp - 0x130], eax
jle 0x10013306
mov dword [ebp - 0x1f8], 1
jmp 0x1001330d
and dword [ebp - 0x1f8], 0
mov eax, dword [ebp - 0x80]
cmp dword [ebp - 0x1f8], eax
jl 0x10013324
mov dword [ebp - 0x138], 1
jmp 0x1001332b
and dword [ebp - 0x138], 0
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x1a8]
lea eax, [ecx + eax - 0x38967981]
test eax, eax
jl 0x1001334e
mov dword [ebp - 0x140], 1
jmp 0x10013355
and dword [ebp - 0x140], 0
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0xffff
jb 0x10013373
mov dword [ebp - 0x1e0], 1
jmp 0x1001337a
and dword [ebp - 0x1e0], 0
mov eax, dword [ebp - 0x1e0]
sub eax, 9
jne 0x1001338e
and dword [ebp - 0x148], 0
jmp 0x10013398
mov dword [ebp - 0x148], 1
mov eax, dword [ebp - 0x230]
cmp dword [ebp - 0x148], eax
jg 0x100133b2
mov dword [ebp - 0x1b0], 1
jmp 0x100133b9
and dword [ebp - 0x1b0], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x348]
push 1
lea ecx, [ebp - 0x2d8]
call fcn.1000fa89
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0xb8]
mov ecx, dword [ebp + ecx*4 - 0x2e8]
cmp dword [eax], ecx
jge 0x100133f7
mov dword [ebp - 0x150], 1
jmp 0x100133fe
and dword [ebp - 0x150], 0
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x27c], eax
jmp 0x100131b0
jmp 0x1001312d
mov byte [ebp - 0x4d], 0
movzx eax, byte [ebp - 0x4d]
test eax, eax
je 0x10013431
push 0
push 0
push 0
push 0x1d69
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2d8]
call fcn.1000fa6d
mov dword [ebp - 0x388], 0x10619df4
mov dword [ebp - 0x98], 0xfffffff6
mov dword [ebp - 0x320], 0x9532bb11
mov dword [ebp - 0x98], 1
jmp 0x10013477
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0xb
jg 0x100134a2
mov byte [ebp - 0x44], 0
movzx eax, byte [ebp - 0x44]
test eax, eax
je 0x100134a0
push 0x2011
push 0
push 0
push 0x10b8
call dword [sym.imp.GDI32.dll_PolyPolygon]
jmp 0x1001346a
mov dword [ebp - 0x368], 0x10619df8
mov dword [ebp - 0x328], 0x862fd41e
mov byte [ebp - 0x4a], 0
movzx eax, byte [ebp - 0x4a]
test eax, eax
je 0x100134ca
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov byte [ebp - 0x3d], 0
movzx eax, byte [ebp - 0x3d]
test eax, eax
je 0x100134e0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov byte [0x1063d3fc], 1
xor eax, eax
inc eax
imul eax, eax, 0x148
add eax, 0x10619e00
mov dword [ebp - 0x184], eax
xor eax, eax
inc eax
imul eax, eax, 0x1c
add eax, 0x10619e00
mov dword [ebp - 0xac], eax
mov dword [ebp - 0x38c], 0xbcd
mov dword [ebp - 0x330], 0xfffffff8
push 4
lea ecx, [ebp - 0x384]
call fcn.1000fa0b
mov dword [ebp - 4], 3
mov dword [ebp - 0x370], 9
mov dword [ebp - 0x338], 0
mov dword [ebp - 0x208], 0x260389a9
mov dword [ebp - 0x88], 0
jmp 0x1001356b
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 4
jge 0x1001358d
push dword [ebp - 0x88]
lea ecx, [ebp - 0x384]
call fcn.1000fa89
mov dword [eax], 0xfffffffd
jmp 0x1001355e
mov eax, dword [ebp - 0x208]
dec eax
mov dword [ebp - 0x208], eax
mov byte [ebp - 0x3f], 0
movzx eax, byte [ebp - 0x3f]
test eax, eax
je 0x100135b7
push 0
push 0
push 0x141
push 0
call dword [sym.imp.USER32.dll_AppendMenuA]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x384]
call fcn.1000fa6d
mov eax, dword [ebp - 0x184]
mov dword [0x10619df4], eax
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x11c], 0xfffffffd
mov dword [ebp - 0x278], 0xfffffffc
mov dword [ebp - 0x94], 0
jmp 0x10013605
mov eax, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 3
jge 0x10013621
mov eax, dword [ebp - 0x94]
mov dword [ebp + eax*4 - 0x2b8], 4
jmp 0x100135f8
mov dword [ebp - 0x34], 0
jmp 0x10013631
mov eax, dword [ebp - 0x34]
dec eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xfffffff7
jge 0x10013b19
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0x124], 0xffffffff
mov dword [ebp - 0xa4], 7
push 3
lea ecx, [ebp - 0x294]
call fcn.1000fa0b
mov dword [ebp - 4], 4
mov dword [ebp - 0xe4], 0xfffffff7
mov dword [ebp - 0x64], 0
jmp 0x1001368e
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 3
jge 0x100136aa
push dword [ebp - 0x64]
lea ecx, [ebp - 0x294]
call fcn.1000fa89
mov dword [eax], 0xc01d4c3f
jmp 0x10013687
mov dword [ebp - 0x2c], 0x16
jmp 0x100136ba
mov eax, dword [ebp - 0x2c]
dec eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffe5
jl 0x10013b05
mov dword [ebp - 0x58], 0xffffffff
mov dword [ebp - 0x5c], 0x6b37990
mov dword [ebp - 0x134], 9
cmp dword [ebp - 0x34], 0
jne 0x1001379a
cmp dword [ebp - 0x2c], 0xfff839e0
je 0x100136fb
mov dword [ebp - 0x158], 1
jmp 0x10013702
and dword [ebp - 0x158], 0
mov eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x158]
cmp eax, dword [ebp - 0x2c]
jg 0x1001371c
mov dword [ebp - 0x1b8], 1
jmp 0x10013723
and dword [ebp - 0x1b8], 0
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x1b8], eax
jg 0x1001373a
mov dword [ebp - 0x160], 1
jmp 0x10013741
and dword [ebp - 0x160], 0
cmp dword [ebp - 0x160], 0xffff
jbe 0x10013759
mov dword [ebp - 0x1e8], 1
jmp 0x10013760
and dword [ebp - 0x1e8], 0
mov eax, dword [ebp - 0x1e8]
sub eax, 0x6f9ee43d
cmp dword [ebp - 0x58], eax
je 0x1001377c
mov dword [ebp - 0x168], 1
jmp 0x10013783
and dword [ebp - 0x168], 0
mov eax, dword [ebp - 0x34]
imul eax, dword [ebp - 0x168]
test eax, eax
jne 0x1001379a
and dword [ebp - 0x1c0], 0
jmp 0x100137a4
mov dword [ebp - 0x1c0], 1
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x1c0], eax
jge 0x100137bb
mov dword [ebp - 0x170], 1
jmp 0x100137c2
and dword [ebp - 0x170], 0
mov eax, dword [ebp - 0x170]
sub eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x34]
jl 0x100137dc
mov dword [ebp - 0x200], 1
jmp 0x100137e3
and dword [ebp - 0x200], 0
mov eax, dword [ebp - 0x5c]
imul eax, dword [ebp - 0x200]
cmp eax, 0x77ab
jle 0x10013800
mov dword [ebp - 0xd8], 1
jmp 0x10013807
and dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0xd8]
add eax, 0x30b9
je 0x10013a03
mov dword [ebp - 0x390], 0x2699
mov dword [ebp - 0x340], 0
mov dword [ebp - 0x238], 0xffffffff
mov dword [ebp - 0x268], 0x2cfb1158
mov dword [ebp - 0x240], 0xd7d231d5
mov dword [ebp - 0xdc], 0xf23d37f4
mov eax, dword [ebp - 0xdc]
add eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x2c]
jle 0x1001391e
mov eax, dword [ebp - 0xe4]
inc eax
mov dword [ebp - 0xe4], eax
cmp dword [ebp - 0x134], 0x4060a3b7
jne 0x1001388b
mov dword [ebp - 0xec], 1
jmp 0x10013892
and dword [ebp - 0xec], 0
mov dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0xa4]
sub eax, dword [ebp - 0xec]
cmp eax, dword [ebp - 0x124]
jne 0x100138bc
mov dword [ebp - 0xa0], 1
jmp 0x100138c3
and dword [ebp - 0xa0], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xa0]
mov dword [ebp + eax - 0x2b8], ecx
cmp dword [ebp - 0xa0], 0
je 0x100138fd
push 0
lea ecx, [ebp - 0x294]
call fcn.1000fa89
cmp dword [eax], 0
je 0x100138fd
mov dword [ebp - 0xf4], 1
jmp 0x10013904
and dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0x238]
cmp dword [ebp - 0xf4], eax
jg 0x1001391e
mov dword [ebp - 0xfc], 1
jmp 0x10013925
and dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0x11c]
cmp dword [ebp - 0xfc], eax
jge 0x1001393f
mov dword [ebp - 0x104], 1
jmp 0x10013946
and dword [ebp - 0x104], 0
cmp dword [ebp - 0x104], 0xfe98d7e9
jae 0x1001395e
mov dword [ebp - 0x10c], 1
jmp 0x10013965
and dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x268]
cmp dword [ebp - 0x10c], eax
jne 0x1001397f
mov dword [ebp - 0x114], 1
jmp 0x10013986
and dword [ebp - 0x114], 0
mov eax, dword [ebp - 0x114]
add eax, 6
imul eax, dword [ebp - 0x240]
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x5c], 0
jmp 0x100139ac
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0x12
jne 0x10013a01
mov byte [ebp - 0x41], 0
movzx eax, byte [ebp - 0x41]
test eax, eax
je 0x100139ca
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAdjustment]
mov dword [ebp - 0x58], 0xfffffff3
jmp 0x100139da
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0x15
jl 0x100139ff
mov byte [ebp - 0x43], 0
movzx eax, byte [ebp - 0x43]
test eax, eax
je 0x100139fd
push 0
push 0x11e7
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
jmp 0x100139d3
jmp 0x100139a5
jmp 0x10013a17
mov dword [ebp - 0x280], 1
mov dword [ebp - 0x280], 0x6833686a
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xa4]
cmp dword [ebp + eax - 0x2b8], ecx
jl 0x10013a38
mov dword [ebp - 0x248], 1
jmp 0x10013a3f
and dword [ebp - 0x248], 0
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x124], eax
jge 0x10013a56
mov dword [ebp - 0x270], 1
jmp 0x10013a5d
and dword [ebp - 0x270], 0
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x2b8], 0xfffd
je 0x10013a7c
mov dword [ebp - 0xbc], 1
jmp 0x10013a83
and dword [ebp - 0xbc], 0
cmp dword [ebp - 0xbc], 4
jb 0x10013a98
mov dword [ebp - 0x250], 1
jmp 0x10013a9f
and dword [ebp - 0x250], 0
push 0
lea ecx, [ebp - 0x294]
call fcn.1000fa89
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x13c], eax
push 0
lea ecx, [ebp - 0x294]
call fcn.1000fa89
mov ecx, dword [ebp - 0x13c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x278]
cmp dword [ebp - 0x13c], eax
je 0x10013ae7
mov dword [ebp - 0x144], 1
jmp 0x10013aee
and dword [ebp - 0x144], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x144]
mov dword [ebp + eax - 0x2b8], ecx
jmp 0x100136b3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x294]
call fcn.1000fa6d
jmp 0x1001362a
mov eax, dword [ebp - 0xac]
mov dword [0x10619df8], eax
mov dword [ebp - 0x14], 0xa339
mov dword [ebp - 0x48], 0xfffffff6
mov dword [ebp - 0x220], 0x938f738f
mov dword [ebp - 0x2f8], 0xcfdfe92
mov dword [ebp - 0x2f4], 0xcfdfe92
mov dword [ebp - 0x2f0], 0xcfdfe92
mov dword [ebp - 0x2ec], 0xcfdfe92
cmp dword [ebp - 0x14], 0
jne 0x10013c8b
cmp dword [ebp - 0x14], 0
jne 0x10013c8b
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x350], eax
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x14], eax
jne 0x10013b9b
cmp dword [ebp - 0x14], 0
je 0x10013b9b
mov dword [ebp - 0x258], 1
jmp 0x10013ba2
and dword [ebp - 0x258], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x34c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x354], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x35c], eax
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x14], eax
jge 0x10013bd1
mov dword [ebp - 0x14c], 1
jmp 0x10013bd8
and dword [ebp - 0x14c], 0
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x14c]
jle 0x10013bef
mov dword [ebp - 0x154], 1
jmp 0x10013bf6
and dword [ebp - 0x154], 0
cmp dword [ebp - 0x154], 0xfffffff7
jne 0x10013c0b
mov dword [ebp - 0x15c], 1
jmp 0x10013c12
and dword [ebp - 0x15c], 0
cmp dword [ebp - 0x15c], 0x3f29
jl 0x10013c2a
mov dword [ebp - 0x164], 1
jmp 0x10013c31
and dword [ebp - 0x164], 0
mov eax, dword [ebp - 0x164]
sub eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x14]
jne 0x10013c4b
mov dword [ebp - 0x16c], 1
jmp 0x10013c52
and dword [ebp - 0x16c], 0
cmp dword [ebp - 0x16c], 0xe22401db
je 0x10013c6a
mov dword [ebp - 0x174], 1
jmp 0x10013c71
and dword [ebp - 0x174], 0
mov eax, dword [ebp - 0x48]
imul eax, dword [ebp - 0x174]
cmp eax, 0xbd52a284
je 0x10013c8b
and dword [ebp - 0x17c], 0
jmp 0x10013c95
mov dword [ebp - 0x17c], 1
mov eax, dword [ebp - 0x48]
add eax, dword [ebp - 0x17c]
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x48], 0
jmp 0x10013cb4
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 4
jge 0x10013cca
mov eax, dword [ebp - 0x48]
mov dword [ebp + eax*4 - 0x2f8], 7
jmp 0x10013cad
push 4
pop eax
imul eax, eax, 0
push 4
pop ecx
imul ecx, ecx, 0
mov edx, dword [ebp - 0xac]
mov edx, dword [edx + eax]
mov eax, dword [ebp - 0x184]
mov ecx, dword [eax + ecx]
call fcn.1001294a
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x1c], 8
mov dword [ebp - 0x234], 0xfffffff9
mov dword [ebp - 0x1c], 0xb
jmp 0x10013d14
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffef
jge 0x10013e80
mov byte [ebp - 0x4c], 0
mov dword [ebp - 0x18c], 0x1ad9
mov dword [ebp - 0x21c], 0x10007b10
cmp dword [ebp - 0x18c], 0x1b56
jle 0x10013e24
and dword [ebp - 0x6c], 0
jmp 0x10013d53
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x28d0
jge 0x10013e24
and dword [ebp - 0x74], 0
jmp 0x10013d6d
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0x55e4
jge 0x10013e1f
and dword [ebp - 0x7c], 0
jmp 0x10013d87
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0x205c
jge 0x10013e1a
and dword [ebp - 0x84], 0
jmp 0x10013daa
mov eax, dword [ebp - 0x84]
inc eax
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0x7f0c
jge 0x10013e15
mov ecx, dword [ebp - 0x6c]
xor ecx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x7c]
cdq
idiv dword [ebp - 0x84]
xor ecx, edx
mov eax, ecx
cdq
mov dword [ebp - 0x29c], eax
mov dword [ebp - 0x298], edx
push dword [ebp - 0x298]
push dword [ebp - 0x29c]
lea ecx, [ebp - 0x3e4]
call fcn.1000b06a
pop ecx
pop ecx
mov dword [ebp - 0x224], eax
mov ecx, dword [ebp - 0x224]
call fcn.1000f793
push eax
call fcn.100598a3
pop ecx
lea ecx, [ebp - 0x3e4]
call fcn.1000f789
jmp 0x10013d9d
jmp 0x10013d80
jmp 0x10013d66
jmp 0x10013d4c
movzx eax, byte [ebp - 0x4c]
test eax, eax
je 0x10013e36
push 0
push 0
call dword [sym.imp.GDI32.dll_GetNearestPaletteIndex]
mov dword [ebp - 4], 5
cmp dword [ebp - 0x18c], 0x195e
jge 0x10013e55
push dword [ebp - 0x21c]
call fcn.100598a3
pop ecx
jmp 0x10013e71
or dword [ebp - 4], 0xffffffff
jmp 0x10013e7b
jmp 0x10013d0d
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x300], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x304], eax
cmp dword [ebp - 0x1c], 0
jbe 0x10013ea4
mov dword [ebp - 0x194], 1
jmp 0x10013eab
and dword [ebp - 0x194], 0
cmp dword [ebp - 0x194], 0
jb 0x10013ec0
mov dword [ebp - 0x19c], 1
jmp 0x10013ec7
and dword [ebp - 0x19c], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x19c], eax
jle 0x10013ede
mov dword [ebp - 0x1a4], 1
jmp 0x10013ee5
and dword [ebp - 0x1a4], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x1a4], eax
je 0x10013efc
mov dword [ebp - 0x1ac], 1
jmp 0x10013f03
and dword [ebp - 0x1ac], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x1ac], eax
jl 0x10013f1a
mov dword [ebp - 0x1b4], 1
jmp 0x10013f21
and dword [ebp - 0x1b4], 0
mov eax, dword [ebp - 0x1b4]
sub eax, 0x729694d2
cmp eax, 0x6e7f737a
jge 0x10013f42
cmp dword [ebp - 0x1c], 0
jne 0x10013f42
and dword [ebp - 0x1bc], 0
jmp 0x10013f4c
mov dword [ebp - 0x1bc], 1
mov eax, dword [ebp - 0x1c]
sub eax, 6
imul eax, dword [ebp - 0x1bc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x234], eax
push dword [ebp - 0xac]
mov edx, 0x1061a034
mov ecx, dword [ebp - 0x23c]
call fcn.10012956
pop ecx
mov dword [ebp - 0x24], 0x68ec0ae9
mov dword [ebp - 0x244], 0x5ec35211
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x24], 0x17
jmp 0x10013fa7
mov eax, dword [ebp - 0x24]
dec eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x16
jne 0x10014188
mov dword [ebp - 0x18], 1
mov dword [ebp - 0xc8], 0xe44fa3fd
mov dword [ebp - 0x254], 1
cmp dword [ebp - 0x24], 0
je 0x100140c9
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x30c], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x314], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x31c], eax
mov eax, dword [ebp - 0x24]
imul eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x24]
jg 0x10014009
mov dword [ebp - 0x1c4], 1
jmp 0x10014010
and dword [ebp - 0x1c4], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x1c4], eax
jge 0x10014027
mov dword [ebp - 0x1cc], 1
jmp 0x1001402e
and dword [ebp - 0x1cc], 0
mov eax, dword [ebp - 0x18]
imul eax, dword [ebp - 0x1cc]
cmp eax, dword [ebp - 0x18]
jl 0x10014049
mov dword [ebp - 0x1d4], 1
jmp 0x10014050
and dword [ebp - 0x1d4], 0
cmp dword [ebp - 0x1d4], 0x75ff4442
jg 0x10014068
mov dword [ebp - 0x1dc], 1
jmp 0x1001406f
and dword [ebp - 0x1dc], 0
mov eax, dword [ebp - 0x18]
imul eax, dword [ebp - 0x1dc]
cmp eax, dword [ebp - 0x24]
jge 0x1001408a
mov dword [ebp - 0x1e4], 1
jmp 0x10014091
and dword [ebp - 0x1e4], 0
mov eax, dword [ebp - 0x244]
cmp dword [ebp - 0x1e4], eax
jle 0x100140ab
mov dword [ebp - 0x1ec], 1
jmp 0x100140b2
and dword [ebp - 0x1ec], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x1ec], eax
jle 0x100140c9
mov dword [ebp - 0x1f4], 1
jmp 0x100140d0
and dword [ebp - 0x1f4], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x1f4], eax
jge 0x100140ed
mov eax, 0x18bc698d
test eax, eax
jne 0x100140ed
and dword [ebp - 0x24c], 0
jmp 0x100140f7
mov dword [ebp - 0x24c], 1
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x324], eax
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x18], eax
jg 0x10014114
mov dword [ebp - 0xc0], 1
jmp 0x1001411b
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0xc0]
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 0x7b187b35
jl 0x10014142
mov dword [ebp - 0xd0], 1
jmp 0x10014149
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x18], 0
jmp 0x10014165
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffe2
jg 0x10014183
mov dword [ebp - 0x264], 4
mov eax, dword [ebp - 0x25c]
mov dword [ebp - 0x264], eax
jmp 0x1001415e
jmp 0x10013fa0
mov byte [ebp - 0x49], 0
movzx eax, byte [ebp - 0x49]
test eax, eax
je 0x100141a0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, 0x10619df4
mov edi, dword [ebp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret