Function at 0x1004df67
Capabilities:
Accept command line arguments
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10082536
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2e4
push esi
mov dword [ebp - 0x28], 0xf7e2799a
mov dword [ebp - 0x1f0], 8
mov dword [ebp - 0x2b8], 7
mov dword [ebp - 0x28], 0
jmp 0x1004dfb1
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x15
jne 0x1004e1d6
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x94], 0x467bb1a8
mov dword [ebp - 0x58], 0xfffffff7
mov dword [ebp - 0x14c], 0x2b948214
mov dword [ebp - 0x1c], 0
jmp 0x1004dfed
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xfffffff1
jne 0x1004e0a8
mov dword [ebp - 0x48], 0xffffffff
mov byte [ebp - 0x30], 0
movzx eax, byte [ebp - 0x30]
test eax, eax
je 0x1004e012
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x48], 0
jmp 0x1004e022
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 4
jl 0x1004e0a3
mov dword [ebp - 0x40], 0x2c9cc141
mov dword [ebp - 0x40], 1
jmp 0x1004e03f
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0x15
je 0x1004e08a
mov dword [ebp - 0x44], 0x69576881
mov dword [ebp - 0x44], 0
jmp 0x1004e05c
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x13
jg 0x1004e088
mov byte [ebp - 0x2b], 0
movzx eax, byte [ebp - 0x2b]
test eax, eax
je 0x1004e086
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_SelectPalette]
jmp 0x1004e055
jmp 0x1004e038
mov byte [ebp - 0x2f], 0
movzx eax, byte [ebp - 0x2f]
test eax, eax
je 0x1004e09e
push 0
call dword [sym.imp.KERNEL32.dll_SetThreadLocale]
jmp 0x1004e01b
jmp 0x1004dfe6
cmp dword [ebp - 0x1c], 0
jne 0x1004e0bd
cmp dword [ebp - 0x28], 0
jne 0x1004e0bd
and dword [ebp - 0x1b8], 0
jmp 0x1004e0c7
mov dword [ebp - 0x1b8], 1
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x28]
neg eax
jne 0x1004e0de
xor eax, eax
jne 0x1004e0de
and dword [ebp - 0x1f8], 0
jmp 0x1004e0e8
mov dword [ebp - 0x1f8], 1
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x290], eax
cmp dword [ebp - 0x28], 1
jg 0x1004e103
mov dword [ebp - 0x130], 1
jmp 0x1004e10a
and dword [ebp - 0x130], 0
mov eax, dword [ebp - 0x94]
cmp dword [ebp - 0x130], eax
jne 0x1004e124
mov dword [ebp - 0x13c], 1
jmp 0x1004e12b
and dword [ebp - 0x13c], 0
mov eax, dword [ebp - 0x13c]
sub eax, 0x6de6
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x58], eax
jg 0x1004e14d
mov dword [ebp - 0x144], 1
jmp 0x1004e154
and dword [ebp - 0x144], 0
mov eax, dword [ebp - 0x94]
cmp dword [ebp - 0x144], eax
jge 0x1004e16e
mov dword [ebp - 0x9c], 1
jmp 0x1004e175
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x14c], eax
cmp dword [ebp - 0x14c], 1
jle 0x1004e19c
cmp dword [ebp - 0x58], 0
je 0x1004e19c
mov dword [ebp - 0xa4], 1
jmp 0x1004e1a3
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0x28]
imul eax, dword [ebp - 0xa4]
cmp dword [ebp - 0x1c], eax
jle 0x1004e1be
mov dword [ebp - 0x154], 1
jmp 0x1004e1c5
and dword [ebp - 0x154], 0
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x1f0], eax
jmp 0x1004dfaa
mov byte [ebp - 0x2d], 0
movzx eax, byte [ebp - 0x2d]
test eax, eax
je 0x1004e1f8
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_SetBkColor]
mov dword [ebp - 0x24], 0xfa51
mov dword [ebp - 0x68], 0x43d9532b
mov dword [ebp - 0xf4], 0x5425a80e
mov dword [ebp - 0xac], 1
mov dword [ebp - 0xcc], 0x15cc48b1
mov dword [ebp - 0xbc], 0xffffffff
mov dword [ebp - 0x230], 1
mov dword [ebp - 0x22c], 1
mov dword [ebp - 0x228], 1
mov dword [ebp - 0x224], 1
lea ecx, [ebp - 0x5d]
call fcn.10008c23
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x2e0]
call fcn.10016a4b
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x2a0]
call fcn.10016a11
and dword [ebp - 4], 0
mov dword [ebp - 0x2b4], 0
mov dword [ebp - 0x17c], 0xffffffff
mov dword [ebp - 0x1e0], 0xd1d8
mov dword [ebp - 0x78], 0xfffffff9
mov dword [ebp - 0xe4], 0xffff
mov dword [ebp - 0xec], 0xffffffff
mov dword [ebp - 0x1d4], 0xfffffff6
mov dword [ebp - 0x4c], 0
jmp 0x1004e2df
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 3
jge 0x1004e2f5
mov eax, dword [ebp - 0x4c]
mov dword [ebp + eax*4 - 0x260], 0xabe3335a
jmp 0x1004e2d8
mov byte [ebp - 0x2a], 0
movzx eax, byte [ebp - 0x2a]
test eax, eax
je 0x1004e317
push 0
push 0xb75
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x2a4], eax
mov eax, dword [ebp - 0x1e0]
mov dword [ebp - 0xac], eax
push 0
lea ecx, [ebp - 0x2a0]
call fcn.10016a3c
mov dword [eax], 0xbd3d
cmp dword [ebp - 0xac], 0xbd3d
jle 0x1004e357
mov dword [ebp - 0x16c], 1
jmp 0x1004e35e
and dword [ebp - 0x16c], 0
mov eax, dword [ebp - 0x17c]
lea eax, [eax*4 - 6]
test eax, eax
je 0x1004e380
xor eax, eax
inc eax
je 0x1004e380
mov dword [ebp - 0x15c], 1
jmp 0x1004e387
and dword [ebp - 0x15c], 0
cmp dword [ebp - 0x15c], 0xfffc
ja 0x1004e39f
mov dword [ebp - 0xb4], 1
jmp 0x1004e3a6
and dword [ebp - 0xb4], 0
cmp dword [ebp - 0xb4], 0x726845d4
je 0x1004e3be
mov dword [ebp - 0x164], 1
jmp 0x1004e3c5
and dword [ebp - 0x164], 0
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xbc]
cmp dword [ebp - 0x16c], eax
jne 0x1004e3eb
mov dword [ebp - 0xc4], 1
jmp 0x1004e3f2
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0x68]
cmp dword [ebp - 0xc4], eax
jne 0x1004e409
mov dword [ebp - 0x174], 1
jmp 0x1004e410
and dword [ebp - 0x174], 0
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0xcc], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0xcc]
mov dword [ebp + eax - 0x260], ecx
cmp dword [ebp - 0x68], 0xffffffff
je 0x1004e451
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x260], 0
je 0x1004e451
mov dword [ebp - 0xd4], 1
jmp 0x1004e458
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0x17c]
cmp dword [ebp - 0xd4], eax
jle 0x1004e472
mov dword [ebp - 0x188], 1
jmp 0x1004e479
and dword [ebp - 0x188], 0
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
cmp eax, dword [ebp - 0x188]
jne 0x1004e497
mov dword [ebp - 0xdc], 1
jmp 0x1004e49e
and dword [ebp - 0xdc], 0
cmp dword [ebp - 0xdc], 0x7a762afe
jne 0x1004e4c6
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x260], 0
je 0x1004e4c6
mov dword [ebp - 0x190], 1
jmp 0x1004e4cd
and dword [ebp - 0x190], 0
cmp dword [ebp - 0x190], 0x1c4e
jne 0x1004e4e5
mov dword [ebp - 0x1f4], 1
jmp 0x1004e4ec
and dword [ebp - 0x1f4], 0
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x278], eax
mov eax, dword [ebp - 0xe4]
cmp dword [ebp - 0xf4], eax
jl 0x1004e512
mov dword [ebp - 0x198], 1
jmp 0x1004e519
and dword [ebp - 0x198], 0
mov eax, dword [ebp - 0x198]
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0xec], 4
je 0x1004e53a
mov dword [ebp - 0x1a0], 1
jmp 0x1004e541
and dword [ebp - 0x1a0], 0
cmp dword [ebp - 0x1a0], 0x4b5b
je 0x1004e559
mov dword [ebp - 0x1a8], 1
jmp 0x1004e560
and dword [ebp - 0x1a8], 0
mov eax, dword [ebp - 0xf4]
imul eax, dword [ebp - 0x1a8]
mov dword [ebp - 0x1d4], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2a0]
call fcn.10016a37
mov dword [ebp - 0x270], 0
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], 0
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x50], 0xeb44952
mov dword [ebp - 0x38], 0xffffffff
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x18c], 0x9a67b9c5
mov dword [ebp - 0x54], 0
jmp 0x1004e5e3
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 4
jge 0x1004e5f9
mov eax, dword [ebp - 0x54]
mov dword [ebp + eax*4 - 0x2f0], 0xb51404fc
jmp 0x1004e5dc
mov dword [ebp - 0x18], 0xfffffffb
cmp dword [ebp - 0x18], 0
jne 0x1004e788
cmp dword [ebp - 0x18], 0
jg 0x1004e61c
mov dword [ebp - 0x184], 1
jmp 0x1004e623
and dword [ebp - 0x184], 0
cmp dword [ebp - 0x184], 0xffffffff
jge 0x1004e638
mov dword [ebp - 0x100], 1
jmp 0x1004e63f
and dword [ebp - 0x100], 0
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0x100], eax
jl 0x1004e656
mov dword [ebp - 0x158], 1
jmp 0x1004e65d
and dword [ebp - 0x158], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 0x158]
jl 0x1004e67a
mov dword [ebp - 0x108], 1
jmp 0x1004e681
and dword [ebp - 0x108], 0
cmp dword [ebp - 0x108], 0xfffffff8
jl 0x1004e696
mov dword [ebp - 0x180], 1
jmp 0x1004e69d
and dword [ebp - 0x180], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x180], eax
jge 0x1004e6b4
mov dword [ebp - 0x110], 1
jmp 0x1004e6bb
and dword [ebp - 0x110], 0
cmp dword [ebp - 0x110], 0xc6c8951b
jbe 0x1004e6d6
cmp dword [ebp - 0x18], 0
jne 0x1004e6d6
and dword [ebp - 0x160], 0
jmp 0x1004e6e0
mov dword [ebp - 0x160], 1
mov eax, dword [ebp - 0x160]
sub eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x18]
jg 0x1004e6fa
mov dword [ebp - 0x118], 1
jmp 0x1004e701
and dword [ebp - 0x118], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x118], eax
jge 0x1004e71b
cmp dword [ebp - 0x50], 0
jne 0x1004e71b
and dword [ebp - 0x1a4], 0
jmp 0x1004e725
mov dword [ebp - 0x1a4], 1
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0x1a4], eax
jg 0x1004e73c
mov dword [ebp - 0x120], 1
jmp 0x1004e743
and dword [ebp - 0x120], 0
mov eax, dword [ebp - 0x38]
imul eax, dword [ebp - 0x120]
test eax, eax
je 0x1004e75a
mov eax, 0xed6c
test eax, eax
jne 0x1004e760
cmp dword [ebp - 0x18], 0
je 0x1004e772
cmp dword [ebp - 0x50], 0
je 0x1004e772
mov dword [ebp - 0x1ec], 1
jmp 0x1004e779
and dword [ebp - 0x1ec], 0
cmp dword [ebp - 0x18], 0
jne 0x1004e788
and dword [ebp - 0x168], 0
jmp 0x1004e792
mov dword [ebp - 0x168], 1
mov eax, dword [ebp - 0x38]
imul eax, dword [ebp - 0x168]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x18c], eax
mov eax, dword [ebp - 0x18c]
mov dword [ebp - 0x88], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x88]
mov dword [ebp + eax - 0x2f0], ecx
cmp dword [ebp - 0x88], 0x6daafd55
jg 0x1004e7e5
mov dword [ebp - 0x170], 1
jmp 0x1004e7ec
and dword [ebp - 0x170], 0
cmp dword [ebp - 0x170], 1
jne 0x1004e801
mov dword [ebp - 0x138], 1
jmp 0x1004e808
and dword [ebp - 0x138], 0
mov eax, dword [ebp - 0x138]
add eax, 5
je 0x1004e82c
mov dword [ebp - 0x19c], 0xd4c01e07
mov eax, dword [ebp - 0x19c]
inc eax
mov dword [ebp - 0x19c], eax
jmp 0x1004e87d
mov byte [ebp - 0x2c], 0
movzx eax, byte [ebp - 0x2c]
test eax, eax
je 0x1004e87d
push 0x934
push 0x14b
push 0xa8b
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
push 0x1dc8
push 0x21fd
push 0x974
push 0x7a5
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov dword [ebp - 0x148], 3
mov dword [ebp - 0x1fc], 2
cmp dword [ebp - 0x24], 0x941f
jge 0x1004e8a3
mov dword [ebp - 0x70], 1
jmp 0x1004e8a7
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x27c], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x284], eax
xor eax, eax
imul eax, eax, 6
test eax, eax
jne 0x1004e8ce
mov dword [ebp - 0x140], 1
jmp 0x1004e8d5
and dword [ebp - 0x140], 0
mov eax, dword [ebp - 0x140]
add eax, 0xee61
je 0x1004e8f1
cmp dword [ebp - 0x24], 0
je 0x1004e8f1
and dword [ebp - 0x178], 0
jmp 0x1004e8fb
mov dword [ebp - 0x178], 1
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x178], eax
jl 0x1004e912
mov dword [ebp - 0x194], 1
jmp 0x1004e919
and dword [ebp - 0x194], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x70]
mov dword [ebp + eax - 0x270], ecx
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x148]
sub eax, 0x13abe9af
cmp eax, dword [ebp - 0x194]
jg 0x1004e951
mov dword [ebp - 0x150], 1
jmp 0x1004e958
and dword [ebp - 0x150], 0
cmp dword [ebp - 0x150], 0
jg 0x1004e96d
mov dword [ebp - 0xf8], 1
jmp 0x1004e974
and dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0xf8], eax
jl 0x1004e98b
mov dword [ebp - 0xfc], 1
jmp 0x1004e992
and dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0xfc], eax
je 0x1004e9a9
mov dword [ebp - 0x1dc], 1
jmp 0x1004e9b0
and dword [ebp - 0x1dc], 0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28c], eax
mov dword [ebp - 0x1fc], 0x3d5943e2
mov dword [ebp - 0x21c], 3
mov dword [ebp - 0x218], 3
mov dword [ebp - 0x214], 3
mov dword [ebp - 0x210], 3
lea ecx, [ebp - 0x7d]
call fcn.10008c23
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x2d8]
call fcn.10016a4b
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x208]
call fcn.10016a11
mov dword [ebp - 4], 1
mov dword [ebp - 0x14], 0xfffffffa
mov dword [ebp - 0x274], 0x8e1b61ba
mov dword [ebp - 0x1d8], 0x2a82a10a
mov dword [ebp - 0x2ac], 0x6bc044b0
push 3
lea ecx, [ebp - 0x23c]
call fcn.100169cf
mov byte [ebp - 4], 2
mov dword [ebp - 0x1bc], 7
mov dword [ebp - 0x3c], 0
jmp 0x1004ea74
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 3
jge 0x1004ea90
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x23c]
call fcn.10016a3c
mov dword [eax], 0x5cd3860a
jmp 0x1004ea6d
mov dword [ebp - 0x14], 0
jmp 0x1004eaa0
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jg 0x1004ed57
mov dword [ebp - 0x74], 0x15e1abe8
mov dword [ebp - 0x64], 0xfffffff7
mov dword [ebp - 0x6c], 0x74c38b6b
push 1
lea ecx, [ebp - 0x1b4]
call fcn.100169cf
mov byte [ebp - 4], 3
push 3
lea ecx, [ebp - 0x254]
call fcn.100169cf
mov byte [ebp - 4], 4
mov dword [ebp - 0x20], 0
jmp 0x1004eaf1
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 1
jge 0x1004eb0d
push dword [ebp - 0x20]
lea ecx, [ebp - 0x1b4]
call fcn.10016a3c
mov dword [eax], 0x2bf33880
jmp 0x1004eaea
mov dword [ebp - 0x20], 0
jmp 0x1004eb1d
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
jge 0x1004eb39
push dword [ebp - 0x20]
lea ecx, [ebp - 0x254]
call fcn.10016a3c
mov dword [eax], 0xf0cf
jmp 0x1004eb16
mov byte [ebp - 0x2e], 0
movzx eax, byte [ebp - 0x2e]
test eax, eax
je 0x1004eb4d
push 0
call dword [sym.imp.GDI32.dll_CreatePalette]
push 1
lea ecx, [ebp - 0x254]
call fcn.10016a3c
mov dword [ebp - 0x5c], eax
push 0
lea ecx, [ebp - 0x23c]
call fcn.10016a3c
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x104]
mov ecx, dword [ebp - 0x5c]
mov ecx, dword [ecx]
mov dword [eax], ecx
push dword [ebp - 0x14]
lea ecx, [ebp - 0x208]
call fcn.10016a3c
mov eax, dword [eax]
mov dword [ebp - 0x1e4], eax
mov eax, dword [ebp - 0x104]
mov eax, dword [eax]
mov dword [ebp - 0x1c0], eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x5c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x1e4]
cmp eax, dword [ebp - 0x1c0]
jne 0x1004ebc6
mov dword [ebp - 0x1d0], 1
jmp 0x1004ebcd
and dword [ebp - 0x1d0], 0
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x294], eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x208]
call fcn.10016a3c
mov eax, dword [eax]
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
je 0x1004ec9a
push 0
lea ecx, [ebp - 0x1b4]
call fcn.10016a3c
cmp dword [eax], 0x9eed08e1
ja 0x1004ec14
mov dword [ebp - 0x10c], 1
jmp 0x1004ec1b
and dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x10c], eax
jne 0x1004ec32
mov dword [ebp - 0x114], 1
jmp 0x1004ec39
and dword [ebp - 0x114], 0
mov eax, dword [ebp - 0x6c]
cmp dword [ebp - 0x114], eax
jl 0x1004ec57
push dword [ebp - 0x14]
lea ecx, [ebp - 0x208]
call fcn.10016a3c
cmp dword [eax], 0
jne 0x1004ec69
cmp dword [ebp - 0x1d8], 0
jne 0x1004ec69
and dword [ebp - 0x11c], 0
jmp 0x1004ec73
mov dword [ebp - 0x11c], 1
push 0
lea ecx, [ebp - 0x1b4]
call fcn.10016a3c
mov ecx, dword [ebp - 0x11c]
imul ecx, dword [eax]
add ecx, dword [ebp - 0x14]
je 0x1004ec9a
mov dword [ebp - 0x124], 1
jmp 0x1004eca1
and dword [ebp - 0x124], 0
push 0
lea ecx, [ebp - 0x1b4]
call fcn.10016a3c
mov eax, dword [eax]
mov ecx, dword [ebp - 0x124]
lea esi, [ecx + eax - 0x7804]
push 0
lea ecx, [ebp - 0x1b4]
call fcn.10016a3c
add esi, dword [eax]
cmp esi, dword [ebp - 0x74]
jg 0x1004ecdd
mov dword [ebp - 0x12c], 1
jmp 0x1004ece4
and dword [ebp - 0x12c], 0
mov eax, dword [ebp - 0x74]
add eax, dword [ebp - 0x12c]
cmp eax, 0x5a4e
jge 0x1004ed06
cmp dword [ebp - 0x6c], 0
je 0x1004ed06
mov dword [ebp - 0x134], 1
jmp 0x1004ed0d
and dword [ebp - 0x134], 0
mov eax, dword [ebp - 0x134]
sub eax, dword [ebp - 0x1bc]
je 0x1004ed1f
cmp dword [ebp - 0x14], 0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x208]
call fcn.10016a3c
mov dword [ebp - 0x74], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x254]
call fcn.10016a37
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1b4]
call fcn.10016a37
jmp 0x1004ea99
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x23c]
call fcn.10016a37
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x208]
call fcn.10016a37
mov byte [ebp - 0x29], 0
mov dword [ebp - 0x34], 0x7d65121a
push 4
lea ecx, [ebp - 0x1cc]
call fcn.100169cf
mov dword [ebp - 4], 5
mov dword [ebp - 0x84], 0xfffffffa
mov dword [ebp - 0x98], 0xfd522803
mov dword [ebp - 0xa0], 0xa8db8846
mov dword [ebp - 0x1e8], 0x7c8a
mov dword [ebp - 0xf0], 1
mov dword [ebp - 0x10], 0
jmp 0x1004edd6
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 4
jge 0x1004edf2
push dword [ebp - 0x10]
lea ecx, [ebp - 0x1cc]
call fcn.10016a3c
mov dword [eax], 0xfffffffd
jmp 0x1004edcf
mov dword [ebp - 0x10], 0
jmp 0x1004ee02
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jge 0x1004ee18
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x248], 5
jmp 0x1004edfb
mov dword [ebp - 0x10], 0
jmp 0x1004ee28
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jge 0x1004ee3e
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x2c4], 0xffffffff
jmp 0x1004ee21
mov dword [ebp - 0x10], 0
jmp 0x1004ee4e
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jge 0x1004ee64
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x2d0], 0x6c5533f2
jmp 0x1004ee47
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x2a8], eax
cmp dword [ebp - 0x34], 1
jg 0x1004ee7c
mov dword [ebp - 0x7c], 1
jmp 0x1004ee80
and dword [ebp - 0x7c], 0
push 2
lea ecx, [ebp - 0x1cc]
call fcn.10016a3c
mov ecx, dword [ebp - 0x7c]
mov dword [eax], ecx
cmp dword [ebp - 0x7c], 1
jle 0x1004eea4
mov dword [ebp - 0x8c], 1
jmp 0x1004eeab
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x84]
cmp dword [ebp - 0x8c], eax
jl 0x1004eec5
mov dword [ebp - 0x90], 1
jmp 0x1004eecc
and dword [ebp - 0x90], 0
mov eax, 0xfd81
sub eax, dword [ebp - 0x90]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x280], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x248], 0x4a6b2c4e
jg 0x1004ef14
mov dword [ebp - 0xa8], 1
jmp 0x1004ef1b
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0xa8]
jg 0x1004ef41
push 1
lea ecx, [ebp - 0x1cc]
call fcn.10016a3c
cmp dword [eax], 0
jne 0x1004ef41
and dword [ebp - 0xb0], 0
jmp 0x1004ef4b
mov dword [ebp - 0xb0], 1
mov eax, dword [ebp - 0xb0]
add eax, 0x9e14
jne 0x1004ef76
push 2
lea ecx, [ebp - 0x1cc]
call fcn.10016a3c
cmp dword [eax], 0
jne 0x1004ef76
mov dword [ebp - 0xb8], 1
jmp 0x1004ef7d
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0x84]
cmp dword [ebp - 0xb8], eax
jge 0x1004ef97
mov dword [ebp - 0xc0], 1
jmp 0x1004ef9e
and dword [ebp - 0xc0], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0xc0]
sub ecx, dword [ebp + eax - 0x248]
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0xc8], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0xc8]
mov dword [ebp + eax - 0x2c4], ecx
cmp dword [ebp - 0xc8], 0
jne 0x1004efe8
cmp dword [ebp - 0x34], 0
jne 0x1004efe8
and dword [ebp - 0xd0], 0
jmp 0x1004eff2
mov dword [ebp - 0xd0], 1
mov eax, dword [ebp - 0x1e8]
cmp dword [ebp - 0xd0], eax
jl 0x1004f00c
mov dword [ebp - 0xd8], 1
jmp 0x1004f013
and dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0x84]
cmp dword [ebp - 0xd8], eax
je 0x1004f02d
mov dword [ebp - 0xe0], 1
jmp 0x1004f034
and dword [ebp - 0xe0], 0
cmp dword [ebp - 0xe0], 6
je 0x1004f049
mov dword [ebp - 0xe8], 1
jmp 0x1004f050
and dword [ebp - 0xe8], 0
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x2b0], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x248]
mov dword [ebp - 0x288], eax
push 4
pop eax
shl eax, 1
mov dword [ebp + eax - 0x2d0], 8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1cc]
call fcn.10016a37
movzx eax, byte [ebp - 0x29]
test eax, eax
je 0x1004f0c0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
push 0
push 0
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret