Function at 0x1002c48d
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x16c
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x1002cdd6
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x50]
mov ecx, dword [ecx + 0x10]
mov dword [eax], ecx
mov dword [ebp - 4], 0x469ad59e
mov dword [ebp - 0x4c], 0x9a46bb21
mov dword [ebp - 0xe4], 0xc59458d8
mov dword [ebp - 0xc8], 1
mov dword [ebp - 8], 0
jmp 0x1002c4f4
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
jge 0x1002c507
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0xc], 1
jmp 0x1002c4ed
mov dword [ebp - 8], 0
jmp 0x1002c517
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 2
jge 0x1002c52d
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x120], 0xafd208dd
jmp 0x1002c510
mov dword [ebp - 8], 0
jmp 0x1002c53d
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 3
jge 0x1002c553
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x160], 0x5bcd
jmp 0x1002c536
mov dword [ebp - 4], 0
jmp 0x1002c563
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jg 0x1002c870
mov dword [ebp - 0x30], 0xffffffff
mov dword [ebp - 0x14], 0
jmp 0x1002c584
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x1002c59a
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x12c], 0x59653e3f
jmp 0x1002c57d
mov dword [ebp - 0x14], 0
jmp 0x1002c5aa
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jge 0x1002c5c0
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x148], 0xb5a26cde
jmp 0x1002c5a3
mov eax, dword [ebp - 4]
cmp dword [ebp + eax*4 - 0xc], 0
je 0x1002c690
mov eax, dword [ebp - 4]
cmp dword [ebp + eax*4 - 0xc], 0
jne 0x1002c66b
mov eax, dword [ebp - 4]
cmp dword [ebp + eax*4 - 0xc], 0xffffffff
jb 0x1002c5f9
mov eax, dword [ebp - 4]
cmp dword [ebp + eax*4 - 0xc], 0
jne 0x1002c5f9
and dword [ebp - 0xdc], 0
jmp 0x1002c603
mov dword [ebp - 0xdc], 1
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0xc]
cmp dword [ebp - 0xdc], eax
jle 0x1002c62d
mov eax, 0xb719
test eax, eax
jne 0x1002c62d
mov eax, 0x7263
test eax, eax
jne 0x1002c62d
and dword [ebp - 0xa0], 0
jmp 0x1002c637
mov dword [ebp - 0xa0], 1
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0xc]
cmp eax, dword [ebp - 0xa0]
jle 0x1002c64f
mov dword [ebp - 0x64], 1
jmp 0x1002c653
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0xc]
imul eax, dword [ebp - 0x64]
test eax, eax
jne 0x1002c66b
and dword [ebp - 0xac], 0
jmp 0x1002c675
mov dword [ebp - 0xac], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xc]
cmp dword [ebp - 0xac], eax
je 0x1002c690
mov dword [ebp - 0x6c], 1
jmp 0x1002c694
and dword [ebp - 0x6c], 0
cmp dword [ebp - 0x6c], 0xcadfb1af
jb 0x1002c6a9
mov dword [ebp - 0xb4], 1
jmp 0x1002c6b0
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0xc]
mov ecx, dword [ebp - 0xb4]
lea eax, [ecx + eax - 0xffff]
push 4
pop ecx
imul ecx, ecx, 0
cmp eax, dword [ebp + ecx - 0xc]
jg 0x1002c6d9
mov dword [ebp - 0x74], 1
jmp 0x1002c6dd
and dword [ebp - 0x74], 0
cmp dword [ebp - 0x74], 0
ja 0x1002c6ef
mov dword [ebp - 0xbc], 1
jmp 0x1002c6f6
and dword [ebp - 0xbc], 0
cmp dword [ebp - 0xbc], 0x220985a9
je 0x1002c70b
mov dword [ebp - 0x7c], 1
jmp 0x1002c70f
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x7c]
push 4
pop ecx
shl ecx, 1
mov dword [ebp + ecx - 0x12c], eax
mov dword [ebp - 0x30], 0
jmp 0x1002c731
mov eax, dword [ebp - 0x30]
dec eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jl 0x1002c86b
mov dword [ebp - 0x1c], 0xfb389fa1
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc4], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xc4]
mov dword [ebp + eax - 0x148], ecx
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xc]
cmp dword [ebp - 0xc4], eax
je 0x1002c77c
mov dword [ebp - 0xf8], 1
jmp 0x1002c783
and dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 4], eax
jle 0x1002c797
mov dword [ebp - 0x84], 1
jmp 0x1002c79e
and dword [ebp - 0x84], 0
cmp dword [ebp - 0x84], 1
jne 0x1002c7b3
mov dword [ebp - 0xcc], 1
jmp 0x1002c7ba
and dword [ebp - 0xcc], 0
cmp dword [ebp - 0xcc], 1
je 0x1002c7cf
mov dword [ebp - 0x8c], 1
jmp 0x1002c7d6
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x8c]
neg eax
cmp dword [ebp - 0x1c], eax
jl 0x1002c7ef
mov dword [ebp - 0xd4], 1
jmp 0x1002c7f6
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0xd4]
sub eax, dword [ebp - 0x1c]
push 4
pop ecx
shl ecx, 1
cmp eax, dword [ebp + ecx - 0x12c]
jl 0x1002c819
mov dword [ebp - 0x94], 1
jmp 0x1002c820
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x94]
sub eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x1c]
jge 0x1002c83a
mov dword [ebp - 0x58], 1
jmp 0x1002c83e
and dword [ebp - 0x58], 0
cmp dword [ebp - 0x58], 1
jne 0x1002c850
mov dword [ebp - 0x10c], 1
jmp 0x1002c857
and dword [ebp - 0x10c], 0
mov dword [ebp - 0x1c], 0x6042c8cd
cmp dword [ebp - 0x4c], 0
je 0x1002c866
jmp 0x1002c86b
jmp 0x1002c72a
jmp 0x1002c55c
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 4], eax
jne 0x1002c8ec
mov dword [ebp - 0x14c], 0x5c00d4b
mov dword [ebp - 0x10], 0
jmp 0x1002c892
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jge 0x1002c8a8
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x16c], 0xfa755584
jmp 0x1002c88b
mov dword [ebp - 0x10], 0
jmp 0x1002c8b8
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jge 0x1002c8ce
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x138], 0x3fa8726a
jmp 0x1002c8b1
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x138]
inc eax
push 4
pop ecx
shl ecx, 1
mov dword [ebp + ecx - 0x138], eax
jmp 0x1002c9ef
mov dword [ebp - 0x28], 0x1e1d
mov dword [ebp - 0x104], 7
mov byte [ebp - 0x16], 0
movzx eax, byte [ebp - 0x16]
test eax, eax
je 0x1002c911
push 0
call fcn.1002c3c8
pop ecx
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x28]
push 4
pop ecx
shl ecx, 0
cmp eax, dword [ebp + ecx - 0x120]
jg 0x1002c938
cmp dword [ebp - 0x4c], 0
je 0x1002c938
mov dword [ebp - 0x118], 1
jmp 0x1002c93f
and dword [ebp - 0x118], 0
cmp dword [ebp - 0x28], 0xfffffffc
je 0x1002c957
cmp dword [ebp - 0x28], 0
je 0x1002c957
mov dword [ebp - 0x9c], 1
jmp 0x1002c95e
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x9c]
add eax, 0xaa7a
cmp eax, dword [ebp - 4]
je 0x1002c980
cmp dword [ebp - 0x28], 0
je 0x1002c980
mov dword [ebp - 0xa8], 1
jmp 0x1002c987
and dword [ebp - 0xa8], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x120]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xe4]
cmp eax, dword [ebp - 0xa8]
jle 0x1002c9b4
mov dword [ebp - 0xa4], 1
jmp 0x1002c9bb
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 0
jae 0x1002c9dc
mov dword [ebp - 0xb0], 1
jmp 0x1002c9e3
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x3c]
cmp dword [eax], 0
jne 0x1002cdd4
mov dword [ebp - 0x48], 6
mov dword [ebp - 0x48], 2
jmp 0x1002ca12
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0xe
jge 0x1002ca90
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x38], 0
jmp 0x1002ca2f
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 2
jge 0x1002ca45
mov eax, dword [ebp - 0x38]
mov dword [ebp + eax*4 - 0x154], 7
jmp 0x1002ca28
push 1
call fcn.1002c3c8
pop ecx
mov dword [ebp - 0x44], 1
jmp 0x1002ca5d
mov eax, dword [ebp - 0x44]
dec eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jl 0x1002ca8b
mov byte [ebp - 0x1d], 0
push 1
lea eax, [ebp - 0x1d]
push eax
push 0x2a48
push 0x750b
push 0x2e31
push 0x14f
call fcn.1002c411
add esp, 0x18
jmp 0x1002ca56
jmp 0x1002ca0b
mov byte [ebp - 0x15], 0
movzx eax, byte [ebp - 0x15]
test eax, eax
je 0x1002caba
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]
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + 0x24]
and eax, 0x40
je 0x1002cae4
push 0x7523
push 0
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.100351ce
add esp, 0x10
jmp 0x1002cdd4
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + 0x24]
and eax, 0x80
je 0x1002cdd4
mov dword [ebp - 0x2c], 0xfffffff7
mov dword [ebp - 0x100], 0
mov dword [ebp - 0x40], 0
jmp 0x1002cb16
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 4
jge 0x1002cb2c
mov eax, dword [ebp - 0x40]
mov dword [ebp + eax*4 - 0xf4], 0xffffffff
jmp 0x1002cb0f
push 4
pop eax
imul eax, eax, 0
push 4
pop ecx
imul ecx, ecx, 3
mov ecx, dword [ebp + ecx - 0xf4]
cmp dword [ebp + eax - 0xf4], ecx
jg 0x1002cc32
mov dword [ebp - 0xc0], 0xaeb9ae77
mov dword [ebp - 0x114], 0xfffffff8
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xf4]
cmp dword [ebp - 0xc0], eax
je 0x1002cb81
mov dword [ebp - 0xd8], 1
jmp 0x1002cb88
and dword [ebp - 0xd8], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xf4]
cmp dword [ebp - 0xd8], eax
jle 0x1002cbb2
mov eax, 0x3358
test eax, eax
je 0x1002cbb2
mov dword [ebp - 0xb8], 1
jmp 0x1002cbb9
and dword [ebp - 0xb8], 0
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0xf4]
cmp dword [ebp - 0xb8], eax
jg 0x1002cbda
mov dword [ebp - 0xd0], 1
jmp 0x1002cbe1
and dword [ebp - 0xd0], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xf4]
cmp dword [ebp - 0xd0], eax
jl 0x1002cc02
mov dword [ebp - 0xe0], 1
jmp 0x1002cc09
and dword [ebp - 0xe0], 0
mov eax, dword [ebp - 0xc0]
cmp eax, dword [ebp - 0xe0]
jne 0x1002cc20
mov dword [ebp - 0x5c], 1
jmp 0x1002cc24
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x114], eax
jmp 0x1002ccbc
mov dword [ebp - 0x24], 9
mov dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0x24]
dec eax
mov dword [ebp - 0x24], eax
je 0x1002cc90
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x24], eax
jne 0x1002cc5a
cmp dword [ebp - 0x24], 0
jne 0x1002cc65
xor eax, eax
inc eax
jne 0x1002cc65
and dword [ebp - 0x60], 0
jmp 0x1002cc6c
mov dword [ebp - 0x60], 1
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x60], eax
jl 0x1002cc7d
mov dword [ebp - 0x68], 1
jmp 0x1002cc81
and dword [ebp - 0x68], 0
cmp dword [ebp - 0x68], 1
jne 0x1002cc90
mov dword [ebp - 0x70], 1
jmp 0x1002cc94
and dword [ebp - 0x70], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xf4]
cmp dword [ebp - 0x70], eax
jne 0x1002ccaf
mov dword [ebp - 0x78], 1
jmp 0x1002ccb3
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0x2c], 0
jmp 0x1002cccc
mov eax, dword [ebp - 0x2c]
dec eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffe6
jl 0x1002cdc4
mov dword [ebp - 0x54], 0x627e80a
mov dword [ebp - 0x34], 0
jmp 0x1002cced
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 2
jge 0x1002cd03
mov eax, dword [ebp - 0x34]
mov dword [ebp + eax*4 - 0x140], 0xfffffff7
jmp 0x1002cce6
cmp dword [ebp - 0x54], 0
je 0x1002cd12
mov eax, 0x6dd3ed23
test eax, eax
jne 0x1002cd7d
cmp dword [ebp - 0x100], 0
jne 0x1002cd45
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0xf4], 1
jne 0x1002cd39
cmp dword [ebp - 0x54], 0
je 0x1002cd39
mov dword [ebp - 0x80], 1
jmp 0x1002cd3d
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x54]
cmp dword [ebp - 0x80], eax
je 0x1002cd61
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xf4], 0
je 0x1002cd61
mov dword [ebp - 0x88], 1
jmp 0x1002cd68
and dword [ebp - 0x88], 0
cmp dword [ebp - 0x88], 0xed0bd2f2
jbe 0x1002cd7d
and dword [ebp - 0x90], 0
jmp 0x1002cd87
mov dword [ebp - 0x90], 1
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x90]
mov dword [ebp + eax - 0x140], ecx
mov byte [ebp - 0x17], 0
movzx eax, byte [ebp - 0x17]
test eax, eax
je 0x1002cdbf
push 0
push 0x2b7e
push 0xbd9
push 0x295b
call fcn.100305fb
add esp, 0x10
jmp 0x1002ccc5
mov eax, dword [ebp - 0x98]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [eax + 0x24]
mov dword [ecx], eax
jmp 0x1002cdfe
mov eax, dword [ebp + 8]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x110]
movzx eax, byte [eax]
test eax, eax
je 0x1002cdfe
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esp, ebp
pop ebp
ret