Function at 0x1001780a
Capabilities:
Clear file content
Get file attributes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10062eaf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2ec
push esi
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x100189c7
lea eax, [ebp + 0x18]
mov dword [ebp - 0x234], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1fc], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x224], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp - 0x234]
movzx eax, byte [eax]
test eax, eax
je 0x1001788c
mov byte [ebp - 0x33], 0
movzx eax, byte [ebp - 0x33]
test eax, eax
je 0x10017887
push 0x14f4
push 0x1453
push 0x2669
call dword [sym.imp.GDI32.dll_GetPixel]
jmp 0x100189c2
mov eax, dword [ebp - 0x1fc]
mov dword [ebp - 0x1c0], eax
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x238], eax
mov eax, dword [ebp - 0x22c]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x80], 0
jmp 0x100178bd
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 1
jge 0x100178d3
mov eax, dword [ebp - 0x80]
mov dword [ebp + eax*4 - 0x2a8], 0
jmp 0x100178b6
mov byte [ebp - 0x2f], 0
push 0x404c
push 0x7511
push 0x40d3
push 1
push 1
push 0
lea eax, [ebp - 0x2f]
push eax
push 0x3695
push 0x38f6
call fcn.10023ccf
add esp, 0x24
mov byte [ebp - 0x34], 0
movzx eax, byte [ebp - 0x34]
test eax, eax
je 0x10017916
push 0
call dword [sym.imp.USER32.dll_RegisterClassW]
mov eax, dword [ebp - 0x60]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x1c0]
add ecx, dword [eax]
mov dword [ebp - 0x228], ecx
mov eax, dword [ebp - 0x60]
mov eax, dword [eax]
add eax, 8
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], 9
mov dword [ebp - 0x74], 0
jmp 0x1001794b
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 4
jne 0x100179a7
mov dword [ebp - 0x64], 1
mov dword [ebp - 0x64], 1
jmp 0x10017968
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0x13
jg 0x100179a5
mov dword [ebp - 0x7c], 0x9fb023ed
mov dword [ebp - 0x7c], 0xffffffe3
jmp 0x10017985
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 3
jne 0x100179a3
push 0
push 0xb8a
push 0x79af
push 0
call fcn.10026bd3
add esp, 0x10
jmp 0x1001797e
jmp 0x10017961
jmp 0x10017944
and dword [ebp - 0x88], 0
jmp 0x100179c5
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x78]
inc eax
inc eax
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x60]
mov eax, dword [eax]
mov eax, dword [eax + 4]
sub eax, 8
shr eax, 1
cmp dword [ebp - 0x88], eax
jae 0x10018765
mov dword [ebp - 0x244], 0xfd3df75d
push 3
lea ecx, [ebp - 0x284]
call fcn.1000ad98
and dword [ebp - 4], 0
mov dword [ebp - 0x23c], 0xad67a4be
push 1
push 0x4149
push 0x1b49
push 0x5bf3
push 1
lea eax, [ebp - 0x2cc]
push eax
push 0x42ed
lea eax, [ebp - 0x284]
push eax
call fcn.10014ef2
add esp, 0x20
push 1
push 0x7115
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x244]
push eax
push 0x2b1d
push 0x36d0
push 0x587f
push 0
push 1
lea eax, [ebp - 0x284]
push eax
call fcn.10023e34
add esp, 0x28
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x284]
call fcn.1000adfa
push 4
lea ecx, [ebp - 0x170]
call fcn.1000ad98
mov dword [ebp - 4], 1
mov dword [ebp - 0x94], 0x98ceef9a
push 1
push 1
lea eax, [ebp - 0x48]
push eax
push 0
push 0x49b2
lea eax, [ebp - 0x170]
push eax
call fcn.10015478
add esp, 0x18
mov dword [ebp - 0x48], 0
jmp 0x10017ac3
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 2
jge 0x10017ad6
mov eax, dword [ebp - 0x48]
mov dword [ebp + eax*4 - 0x2c], 0x52061f6
jmp 0x10017abc
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0x2c], 3
jmp 0x10017afb
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x2c]
dec eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x2c], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x2c], 0
jl 0x10017ce6
mov dword [ebp - 0x54], 0x76ab2aee
mov esi, dword [ebp - 0x54]
push 4
pop eax
shl eax, 0
push dword [ebp + eax - 0x2c]
lea ecx, [ebp - 0x170]
call fcn.1000adff
cmp esi, dword [eax]
jne 0x10017b3b
mov dword [ebp - 0xf4], 1
jmp 0x10017b42
and dword [ebp - 0xf4], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x2c]
cmp eax, dword [ebp - 0xf4]
je 0x10017b60
mov dword [ebp - 0x194], 1
jmp 0x10017b67
and dword [ebp - 0x194], 0
push 4
pop eax
shl eax, 0
push dword [ebp + eax - 0x2c]
lea ecx, [ebp - 0x170]
call fcn.1000adff
mov ecx, dword [ebp - 0x194]
add ecx, dword [eax]
je 0x10017b98
cmp dword [ebp - 0x54], 0
je 0x10017b98
mov dword [ebp - 0x19c], 1
jmp 0x10017b9f
and dword [ebp - 0x19c], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x2c]
add eax, dword [ebp - 0x19c]
cmp dword [ebp - 0x54], eax
jle 0x10017bc0
mov dword [ebp - 0x1f4], 1
jmp 0x10017bc7
and dword [ebp - 0x1f4], 0
push 4
pop eax
shl eax, 0
push dword [ebp + eax - 0x2c]
lea ecx, [ebp - 0x170]
call fcn.1000adff
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x2c], 0
je 0x10017bfe
mov eax, 0xfffd
test eax, eax
je 0x10017bfe
mov dword [ebp - 0x1a4], 1
jmp 0x10017c05
and dword [ebp - 0x1a4], 0
mov eax, dword [ebp - 0x54]
cmp dword [ebp - 0x1a4], eax
jl 0x10017c1c
mov dword [ebp - 0x18c], 1
jmp 0x10017c23
and dword [ebp - 0x18c], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x2c]
cmp dword [ebp - 0x18c], eax
jle 0x10017c47
mov eax, 0xdb39
test eax, eax
jne 0x10017c47
and dword [ebp - 0xc0], 0
jmp 0x10017c51
mov dword [ebp - 0xc0], 1
push 4
pop eax
shl eax, 0
push dword [ebp + eax - 0x2c]
lea ecx, [ebp - 0x170]
call fcn.1000adff
mov eax, dword [eax]
cmp eax, dword [ebp - 0xc0]
jne 0x10017c7c
mov dword [ebp - 0x134], 1
jmp 0x10017c83
and dword [ebp - 0x134], 0
push 4
pop eax
shl eax, 0
push dword [ebp + eax - 0x2c]
lea ecx, [ebp - 0x170]
call fcn.1000adff
mov eax, dword [eax]
sub eax, dword [ebp - 0x134]
cmp eax, dword [ebp - 0x54]
jg 0x10017cb1
mov dword [ebp - 0x98], 1
jmp 0x10017cb8
and dword [ebp - 0x98], 0
push 4
pop eax
shl eax, 0
push dword [ebp + eax - 0x2c]
lea ecx, [ebp - 0x170]
call fcn.1000adff
mov ecx, dword [ebp - 0x98]
mov dword [eax], ecx
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x94], eax
jmp 0x10017ae6
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x2c]
cmp dword [ebp - 0x94], eax
je 0x10017d04
mov dword [ebp - 0xc8], 1
jmp 0x10017d0b
and dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x94], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x170]
call fcn.1000adfa
mov dword [ebp - 0x21c], 0x2a43d953
mov dword [ebp - 0x1d8], 0x746e33a7
push 4
lea ecx, [ebp - 0x278]
call fcn.1000ad98
mov dword [ebp - 4], 2
mov dword [ebp - 0x1d0], 0x570e81de
mov dword [ebp - 0x1d4], 0xd1d8475
mov dword [ebp - 0x6c], 0
jmp 0x10017d72
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 4
jge 0x10017d8e
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x278]
call fcn.1000adff
mov dword [eax], 0x55248722
jmp 0x10017d6b
mov byte [ebp - 0x31], 0
movzx eax, byte [ebp - 0x31]
test eax, eax
je 0x10017db7
push 1
push 1
push 0x5d09
push 1
push 0x1414
push 0x2181
call fcn.10015478
add esp, 0x18
push 1
lea eax, [ebp - 0x1d4]
push eax
push 0
push 0x4613
lea eax, [ebp - 0x1d0]
push eax
push 1
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x1d8]
push eax
push 0x5f20
lea eax, [ebp - 0x278]
push eax
push 0x3215
push 0x5998
call fcn.10016851
add esp, 0x30
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x278]
call fcn.1000adfa
push 0x568d
push 0x7758
push 0x3b33
lea eax, [ebp - 0x78]
push eax
push 1
lea eax, [ebp - 0x240]
push eax
push 1
call fcn.1001597f
add esp, 0x1c
mov dword [ebp - 0x14], 0x3ae35568
mov dword [ebp - 0x198], 0xfffffffc
push 2
lea ecx, [ebp - 0x218]
call fcn.1000ad98
mov dword [ebp - 4], 3
mov dword [ebp - 0x84], 0
jmp 0x10017e6f
mov eax, dword [ebp - 0x84]
inc eax
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 2
jge 0x10017e8e
push dword [ebp - 0x84]
lea ecx, [ebp - 0x218]
call fcn.1000adff
and dword [eax], 0
jmp 0x10017e62
mov dword [ebp - 0x14], 0
jmp 0x10017e9e
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xfffffffe
jl 0x10018122
mov dword [ebp - 0x10], 0xa473eb90
mov dword [ebp - 0x8c], 0xfffffffa
mov dword [ebp - 0x10], 0xb
jmp 0x10017ec9
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xfffffff6
je 0x10017f3c
mov dword [ebp - 0x138], 6
mov eax, dword [ebp - 0x138]
inc eax
mov dword [ebp - 0x138], eax
mov byte [ebp - 0x2d], 0
movzx eax, byte [ebp - 0x2d]
test eax, eax
je 0x10017f3a
push 0x3ac9
push 0x1b66
push 0x2c25
push 1
push 0x323d
push 0x4985
push 0x794a
push 0x170
push 0xfc9
push 0x7ef6
push 0x5c14
push 1
push 0x4f7f
push 0x3ee7
call fcn.10015e7d
add esp, 0x38
jmp 0x10017ec2
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x2b4], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2bc], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x2d4], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x298], eax
push 0xfffffffffffffff9
pop eax
test eax, eax
jne 0x10017f79
mov eax, 0x8cae
test eax, eax
jne 0x10017f79
and dword [ebp - 0xd0], 0
jmp 0x10017f83
mov dword [ebp - 0xd0], 1
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x198], eax
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x198], eax
je 0x10017fa6
mov dword [ebp - 0x230], 1
jmp 0x10017fad
and dword [ebp - 0x230], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x2a0], eax
mov eax, 0xc234ac01
sub eax, 0x79ae4f78
imul eax, dword [ebp - 0x14]
test eax, eax
je 0x10018092
mov dword [ebp - 0xe0], 0x18f8f6a1
push 1
lea ecx, [ebp - 0x218]
call fcn.1000adff
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x294], eax
cmp dword [ebp - 0x14], 0xfffffffc
je 0x10017ff9
cmp dword [ebp - 0x14], 0
push 1
lea ecx, [ebp - 0x218]
call fcn.1000adff
cmp dword [eax], 0
jne 0x10018017
mov dword [ebp - 0xd8], 1
jmp 0x1001801e
and dword [ebp - 0xd8], 0
cmp dword [ebp - 0xd8], 0
jle 0x10018033
mov dword [ebp - 0x140], 1
jmp 0x1001803a
and dword [ebp - 0x140], 0
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2b0], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x2b8], eax
mov eax, dword [ebp - 0xe0]
cmp dword [ebp - 0x10], eax
jg 0x1001806c
mov dword [ebp - 0x178], 1
jmp 0x10018073
and dword [ebp - 0x178], 0
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
je 0x1001808d
jmp 0x10017e97
jmp 0x1001811d
mov dword [ebp - 0x58], 0
jmp 0x100180a2
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 4
jge 0x100180b8
mov eax, dword [ebp - 0x58]
mov dword [ebp + eax*4 - 0x2f8], 0x3314648a
jmp 0x1001809b
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c0], eax
cmp dword [ebp - 0x10], 4
jbe 0x100180d3
mov dword [ebp - 0xe8], 1
jmp 0x100180da
and dword [ebp - 0xe8], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x2f8]
cmp dword [ebp - 0xe8], eax
jne 0x100180fb
mov dword [ebp - 0x148], 1
jmp 0x10018102
and dword [ebp - 0x148], 0
mov esi, dword [ebp - 0x8c]
add esi, dword [ebp - 0x148]
push 1
lea ecx, [ebp - 0x218]
call fcn.1000adff
mov dword [eax], esi
jmp 0x10017e97
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x218]
call fcn.1000adfa
mov eax, dword [ebp - 0x78]
movzx eax, word [eax]
and eax, 0xfff
mov dword [ebp - 0x1f8], eax
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x50], 1
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x2c8], 0xacc4
mov dword [ebp - 0x2d0], 0x8b15e31
mov dword [ebp - 0x2d8], 0xfffffffc
mov dword [ebp - 0x2dc], 0x8ab9c279
push 4
lea ecx, [ebp - 0x250]
call fcn.1000ad98
mov dword [ebp - 4], 4
mov dword [ebp - 0x18], 0
jmp 0x100181ad
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jge 0x100181c3
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x1bc], 0
jmp 0x100181a6
mov dword [ebp - 0x18], 0
jmp 0x100181d3
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x100181e9
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x258], 0x8787d636
jmp 0x100181cc
push 1
push 1
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.100161d7
add esp, 0x10
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x5934
push 0x4e1a
push 0
push 0x188b
push 0x4b10
push 1
push 0x77e0
lea eax, [ebp - 0x118]
push eax
push 0x2169
call fcn.10024dec
add esp, 0x30
mov dword [ebp - 0x50], 8
jmp 0x1001824d
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0x1c
jg 0x100186e8
mov dword [ebp - 0x4c], 0xfffffff9
push 2
lea ecx, [ebp - 0x290]
call fcn.1000ad98
mov byte [ebp - 4], 5
mov dword [ebp - 0x1e8], 0x1d979388
mov dword [ebp - 0x1c], 0
jmp 0x10018289
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
jge 0x1001829c
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x5c], 0xdfa90ef8
jmp 0x10018282
mov dword [ebp - 0x1c], 0
jmp 0x100182ac
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x100182c8
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x290]
call fcn.1000adff
mov dword [eax], 0x25ad92ed
jmp 0x100182a5
mov dword [ebp - 0x24], 0
jmp 0x100182d8
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 2
jg 0x100186d4
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x20], 2
jmp 0x10018300
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jl 0x100184b0
mov dword [ebp - 0x70], 0
jmp 0x1001831a
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 1
jge 0x10018330
mov eax, dword [ebp - 0x70]
mov dword [ebp + eax*4 - 0x100], 0
jmp 0x10018313
mov byte [ebp - 0x2e], 0
movzx eax, byte [ebp - 0x2e]
test eax, eax
je 0x10018347
push 0x252
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xf0], eax
push 3
lea ecx, [ebp - 0x250]
call fcn.1000adff
mov ecx, dword [ebp - 0xf0]
mov dword [eax], ecx
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp + eax*4 - 0x1bc]
cmp eax, dword [ebp - 0xf0]
jg 0x10018383
mov dword [ebp - 0x190], 1
jmp 0x1001838a
and dword [ebp - 0x190], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x258]
cmp eax, dword [ebp - 0x190]
jl 0x100183ab
mov dword [ebp - 0xf8], 1
jmp 0x100183b2
and dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0x20]
push 4
pop ecx
shl ecx, 1
mov ecx, dword [ebp + ecx - 0x1bc]
add ecx, dword [ebp - 0xf8]
push 4
pop edx
imul edx, edx, 0
imul ecx, dword [ebp + edx - 0x100]
cmp dword [ebp + eax*4 - 0x1bc], ecx
jle 0x100183ea
mov dword [ebp - 0x150], 1
jmp 0x100183f1
and dword [ebp - 0x150], 0
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0x150], eax
jle 0x10018408
mov dword [ebp - 0x1e0], 1
jmp 0x1001840f
and dword [ebp - 0x1e0], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x5c]
mov dword [ebp - 0x29c], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x100]
mov dword [ebp - 0x2c4], eax
mov eax, dword [ebp - 0x4c]
dec eax
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x4c]
sub ecx, 0x3c25aaf2
mov edx, dword [ebp - 0x24]
mov edx, dword [ebp + edx*4 - 0x1bc]
add edx, ecx
sub edx, dword [ebp + eax*4 - 0x1bc]
jne 0x1001846c
mov eax, 0xf85a06c0
test eax, eax
jne 0x1001846c
and dword [ebp - 0x180], 0
jmp 0x10018476
mov dword [ebp - 0x180], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x5c]
cmp dword [ebp - 0x180], eax
jne 0x10018494
mov dword [ebp - 0x108], 1
jmp 0x1001849b
and dword [ebp - 0x108], 0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x108]
mov dword [ebp + eax*4 - 0x1bc], ecx
jmp 0x100182f9
mov dword [ebp - 0x38], 0xa
jmp 0x100184c0
mov eax, dword [ebp - 0x38]
dec eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 2
jne 0x100186cf
mov dword [ebp - 0x44], 0xffffffff
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x40], 0xad14ca72
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x2a4], eax
push 3
lea ecx, [ebp - 0x250]
call fcn.1000adff
cmp dword [eax], 0
je 0x1001850e
xor eax, eax
inc eax
je 0x1001850e
mov dword [ebp - 0x158], 1
jmp 0x10018515
and dword [ebp - 0x158], 0
mov eax, dword [ebp - 0x44]
add eax, dword [ebp - 0x158]
cmp eax, dword [ebp - 0x40]
jl 0x1001852f
mov dword [ebp - 0x110], 1
jmp 0x10018536
and dword [ebp - 0x110], 0
cmp dword [ebp - 0x110], 0x2de47e5f
jle 0x1001854e
mov dword [ebp - 0x1a0], 1
jmp 0x10018555
and dword [ebp - 0x1a0], 0
mov eax, dword [ebp - 0x1a0]
neg eax
push 4
pop ecx
imul ecx, ecx, 0
sub eax, dword [ebp + ecx - 0x5c]
push 4
pop ecx
imul ecx, ecx, 0
imul eax, dword [ebp + ecx - 0x258]
test eax, eax
je 0x1001858b
cmp dword [ebp - 0x44], 0
je 0x1001858b
mov dword [ebp - 0x220], 1
jmp 0x10018592
and dword [ebp - 0x220], 0
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x2e0], eax
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x5c], 0xe410f713
mov eax, 0xe410f713
test eax, eax
je 0x100185c5
xor eax, eax
je 0x100185c5
mov dword [ebp - 0x160], 1
jmp 0x100185cc
and dword [ebp - 0x160], 0
mov eax, dword [ebp - 0x160]
sub eax, dword [ebp - 0x40]
je 0x100185db
cmp dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x120], eax
push 1
lea ecx, [ebp - 0x290]
call fcn.1000adff
mov ecx, dword [ebp - 0x120]
mov dword [eax], ecx
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x44], 0
je 0x10018615
push 7
pop eax
test eax, eax
je 0x10018615
mov dword [ebp - 0x188], 1
jmp 0x1001861c
and dword [ebp - 0x188], 0
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0x128], eax
cmp dword [ebp - 0x128], 0
jne 0x1001863d
mov dword [ebp - 0x130], 1
jmp 0x10018644
and dword [ebp - 0x130], 0
cmp dword [ebp - 0x130], 0x8456a9e5
jbe 0x1001865c
mov dword [ebp - 0xb8], 1
jmp 0x10018663
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0xb8]
dec eax
cmp eax, dword [ebp - 0x44]
jge 0x1001867b
mov dword [ebp - 0xbc], 1
jmp 0x10018682
and dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0xbc], eax
jne 0x10018699
mov dword [ebp - 0xc4], 1
jmp 0x100186a0
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0xc4]
jne 0x100186b7
mov dword [ebp - 0xcc], 1
jmp 0x100186be
and dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x1e8], eax
jmp 0x100184b9
jmp 0x100182d1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x290]
call fcn.1000adfa
jmp 0x10018246
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x250]
call fcn.1000adfa
mov eax, dword [ebp - 0x240]
mov dword [ebp - 0x1f0], eax
cmp dword [ebp - 0x1f0], 3
je 0x10018710
jmp 0x10018760
mov eax, dword [ebp - 0x228]
add eax, dword [ebp - 0x1f8]
mov dword [ebp - 0x200], eax
push 0x75f
push 0
push 0x666b
push 1
push 1
push 0x7905
push dword [ebp - 0x238]
push 0x6818
push 0x5a2b
lea eax, [ebp - 0x200]
push eax
push 0x1ff9
push 0x5d02
call fcn.1002464c
add esp, 0x30
jmp 0x100179b0
push 1
lea ecx, [ebp - 0xb0]
call fcn.1000ad98
mov dword [ebp - 4], 6
push 2
lea ecx, [ebp - 0x1b0]
call fcn.1000ad98
mov byte [ebp - 4], 7
mov dword [ebp - 0xdc], 0x4e1c2e93
mov dword [ebp - 0x1cc], 0x78ee3f2f
lea eax, [ebp - 0xb0]
push eax
push 0
lea eax, [ebp - 0x1c8]
push eax
call fcn.10023944
add esp, 0xc
push 1
lea eax, [ebp - 0x1b0]
push eax
lea eax, [ebp - 0x1c8]
push eax
push 0
call fcn.10026bd3
add esp, 0x10
push 0
lea ecx, [ebp - 0xb0]
call fcn.1000adff
mov esi, eax
push 0
lea ecx, [ebp - 0xb0]
call fcn.1000adff
mov ecx, dword [esi]
cmp ecx, dword [eax]
jge 0x10018887
push 0
lea ecx, [ebp - 0x1b0]
call fcn.1000adff
cmp dword [eax], 1
jae 0x10018814
mov dword [ebp - 0xd4], 1
jmp 0x1001881b
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x2ac], eax
push 0
lea ecx, [ebp - 0xb0]
call fcn.1000adff
push 1
lea ecx, [ebp - 0x1b0]
call fcn.1000adff
push 0
lea ecx, [ebp - 0x1b0]
call fcn.1000adff
cmp dword [eax], 1
jl 0x1001886b
mov dword [ebp - 0xe4], 1
jmp 0x10018872
and dword [ebp - 0xe4], 0
cmp dword [ebp - 0xe4], 0
je 0x10018887
mov dword [ebp - 0xec], 1
jmp 0x1001888e
and dword [ebp - 0xec], 0
push 0
lea ecx, [ebp - 0xb0]
call fcn.1000adff
mov eax, dword [eax]
cmp eax, dword [ebp - 0xec]
je 0x100188b1
mov dword [ebp - 0xb4], 1
jmp 0x100188b8
and dword [ebp - 0xb4], 0
cmp dword [ebp - 0xb4], 1
jne 0x100188cd
mov dword [ebp - 0xfc], 1
jmp 0x100188d4
and dword [ebp - 0xfc], 0
push 0
lea ecx, [ebp - 0x1b0]
call fcn.1000adff
mov ecx, dword [ebp - 0xfc]
cmp ecx, dword [eax]
jl 0x100188f7
mov dword [ebp - 0x104], 1
jmp 0x100188fe
and dword [ebp - 0x104], 0
cmp dword [ebp - 0x104], 0x33c017f2
jle 0x10018916
mov dword [ebp - 0x10c], 1
jmp 0x1001891d
and dword [ebp - 0x10c], 0
push 0
lea ecx, [ebp - 0xb0]
call fcn.1000adff
mov esi, dword [ebp - 0x10c]
add esi, dword [eax]
push 0
lea ecx, [ebp - 0xb0]
call fcn.1000adff
cmp esi, dword [eax]
je 0x1001894f
mov dword [ebp - 0x114], 1
jmp 0x10018956
and dword [ebp - 0x114], 0
push 0
lea ecx, [ebp - 0xb0]
call fcn.1000adff
mov eax, dword [eax]
cmp eax, dword [ebp - 0x114]
jl 0x10018979
mov dword [ebp - 0x11c], 1
jmp 0x10018980
and dword [ebp - 0x11c], 0
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x1cc], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1b0]
call fcn.1000adfa
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb0]
call fcn.1000adfa
push 0x137f
push 0x1ca4
lea eax, [ebp - 0x60]
push eax
push 0
call fcn.10021fbf
add esp, 0x10
jmp 0x10018cd4
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1ec], eax
mov dword [ebp - 0x3c], 0xfffffff6
mov dword [ebp - 0x1c4], 2
mov dword [ebp - 0x1dc], 5
mov dword [ebp - 0x1e4], 1
mov dword [ebp - 0x68], 0
jmp 0x10018a05
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 3
jge 0x10018a1b
mov eax, dword [ebp - 0x68]
mov dword [ebp + eax*4 - 0x20c], 0
jmp 0x100189fe
mov dword [ebp - 0x3c], 0
jmp 0x10018a2b
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 2
jg 0x10018cb1
and dword [ebp - 0x26c], 0
and dword [ebp - 0x268], 0
and dword [ebp - 0x264], 0
and dword [ebp - 0x260], 0
lea ecx, [ebp - 0x8d]
call fcn.1000ae0e
push eax
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebp - 0x2e8]
call fcn.1000ae11
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0xa4]
call fcn.1000add4
mov dword [ebp - 4], 8
push 3
lea ecx, [ebp - 0xa4]
call fcn.1000adff
mov dword [eax], 2
jmp 0x10018ac6
push 3
lea ecx, [ebp - 0xa4]
call fcn.1000adff
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x124]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x124]
mov dword [ecx], eax
push 3
lea ecx, [ebp - 0xa4]
call fcn.1000adff
cmp dword [eax], 0
jl 0x10018c9d
push 3
lea ecx, [ebp - 0xa4]
call fcn.1000adff
mov esi, dword [eax]
push 3
lea ecx, [ebp - 0xa4]
call fcn.1000adff
mov eax, dword [eax]
mov eax, dword [ebp + eax*4 - 0x20c]
cmp dword [ebp + esi*4 - 0x20c], eax
jge 0x10018b16
mov dword [ebp - 0x12c], 1
jmp 0x10018b1d
and dword [ebp - 0x12c], 0
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x1c4], eax
xor eax, eax
inc eax
je 0x10018b50
cmp dword [ebp - 0x3c], 0
je 0x10018b50
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x20c], 0
je 0x10018b50
mov dword [ebp - 0x13c], 1
jmp 0x10018b57
and dword [ebp - 0x13c], 0
cmp dword [ebp - 0x13c], 1
ja 0x10018b6c
mov dword [ebp - 0x144], 1
jmp 0x10018b73
and dword [ebp - 0x144], 0
cmp dword [ebp - 0x144], 9
jge 0x10018b88
mov dword [ebp - 0x14c], 1
jmp 0x10018b8f
and dword [ebp - 0x14c], 0
mov esi, dword [ebp - 0x14c]
neg esi
push 3
lea ecx, [ebp - 0xa4]
call fcn.1000adff
cmp esi, dword [eax]
jne 0x10018bb4
mov dword [ebp - 0x154], 1
jmp 0x10018bbb
and dword [ebp - 0x154], 0
push 3
lea ecx, [ebp - 0xa4]
call fcn.1000adff
mov eax, dword [eax]
mov eax, dword [ebp + eax*4 - 0x20c]
cmp eax, dword [ebp - 0x154]
jle 0x10018be5
mov dword [ebp - 0x15c], 1
jmp 0x10018bec
and dword [ebp - 0x15c], 0
cmp dword [ebp - 0x15c], 0xfffffff9
jge 0x10018c01
mov dword [ebp - 0x164], 1
jmp 0x10018c08
and dword [ebp - 0x164], 0
push 3
lea ecx, [ebp - 0xa4]
call fcn.1000adff
mov eax, dword [eax]
mov eax, dword [ebp + eax*4 - 0x20c]
cmp dword [ebp - 0x164], eax
jg 0x10018c32
mov dword [ebp - 0x174], 1
jmp 0x10018c39
and dword [ebp - 0x174], 0
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x174], eax
je 0x10018c50
mov dword [ebp - 0x17c], 1
jmp 0x10018c57
and dword [ebp - 0x17c], 0
mov eax, dword [ebp - 0x1dc]
cmp dword [ebp - 0x17c], eax
jge 0x10018c71
mov dword [ebp - 0x184], 1
jmp 0x10018c78
and dword [ebp - 0x184], 0
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0x1e4], eax
mov byte [ebp - 0x30], 0
movzx eax, byte [ebp - 0x30]
test eax, eax
je 0x10018c98
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
jmp 0x10018aa2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa4]
call fcn.1000adfa
jmp 0x10018a24
mov byte [ebp - 0x32], 0
movzx eax, byte [ebp - 0x32]
test eax, eax
je 0x10018cc5
push 0
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push 0
push dword [ebp - 0x1ec]
call fcn.10010115
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret