Function at 0x411d5e
Capabilities:
Accept command line arguments

Disassembly:
mov eax, 0x427b66
call fcn.0041ba64
sub esp, 0x920
mov eax, dword [0x42c300]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push edi
mov dword [ebp - 0x10], eax
mov edi, ecx
call esi
push eax
lea ecx, [ebp - 0x92c]
call fcn.00411d0a
xor ebx, ebx
mov dword [ebp - 4], ebx
call esi
cmp eax, ebx
mov dword [ebp - 0x928], eax
je 0x412450
lea eax, [ebp - 0x918]
push eax
push dword [0x42c12c]
call fcn.00410e07
cmp byte [ebp - 0x918], 0x22
lea esi, [ebp - 0x918]
mov byte [ebp - 0x919], 0x20
jne 0x411dd9
mov byte [ebp - 0x919], 0x22
lea esi, [ebp - 0x917]
mov cl, byte [esi]
mov eax, esi
jmp 0x411de6
cmp cl, bl
je 0x411dee
inc eax
mov cl, byte [eax]
cmp cl, byte [ebp - 0x919]
jne 0x411ddf
mov ecx, dword [ebp - 0x928]
sub eax, esi
cmp byte [ecx], 0x22
push eax
push esi
jne 0x411e0c
inc ecx
push ecx
call fcn.0041c611
push dword [0x42c144]
jmp 0x411e18
push ecx
call fcn.0041c611
push dword [0x42c140]
push dword [ebp - 0x928]
test eax, eax
setne al
mov byte [edi + 0x10], al
call fcn.0041ca4e
mov esi, eax
mov eax, dword [ebp - 0x92c]
add esp, 0x14
mov dword [ebp - 0x920], eax
push 0x104
lea eax, [ebp - 0x318]
push eax
push ebx
mov dword [ebp - 0x924], esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x411ee1
push ebx
lea eax, [ebp - 0x214]
push eax
push ebx
lea eax, [ebp - 0x318]
push ebx
push eax
mov byte [ebp - 0x215], bl
call fcn.0041c4c9
push ebx
lea eax, [ebp - 0x110]
push eax
push ebx
push ebx
push esi
call fcn.0041c4c9
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x214]
push eax
call fcn.0041c460
add esp, 0x30
test eax, eax
jne 0x411ee1
push dword [0x42c148]
push ebx
call fcn.0041ca4e
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
mov dword [ebp - 0x924], esi
je 0x41244a
sub eax, dword [ebp - 0x928]
add dword [ebp - 0x920], eax
cmp esi, dword [ebp - 0x928]
jbe 0x411ee1
cmp byte [esi - 1], 0x22
jne 0x411ee1
dec dword [ebp - 0x920]
cmp esi, ebx
je 0x41244a
lea eax, [ebp - 0x924]
push eax
call fcn.00410c98
push dword [0x42c0d8]
mov esi, dword [ebp - 0x924]
push esi
mov byte [ebp - 0x919], al
call fcn.0041c460
test eax, eax
pop ecx
pop ecx
jne 0x412017
push dword [0x42c140]
mov dword [edi + 0x18], 1
push ebx
call fcn.0041ca4e
pop ecx
pop ecx
push eax
mov esi, edi
call fcn.00410c57
push dword [0x42c148]
push ebx
call fcn.0041ca4e
push dword [0x42c148]
push ebx
call fcn.0041ca4e
add esp, 0x10
push eax
lea esi, [ebp - 0x920]
mov dword [edi + 4], ebx
call fcn.00410c57
cmp eax, ebx
jl 0x411f6b
mov eax, dword [ebp - 0x920]
mov dword [edi + 4], eax
push dword [0x42c148]
push ebx
call fcn.0041ca4e
push dword [0x42c144]
push ebx
call fcn.0041ca4e
add esp, 0x10
lea esi, [edi + 8]
push eax
mov ecx, esi
call fcn.0040c7dd
cmp dword [esi], ebx
jne 0x411fa3
push esi
push 0x2775
lea ecx, [edi + 0x3c]
call fcn.00414547
push dword [0x42c148]
push ebx
call fcn.0041ca4e
push dword [0x42c148]
push ebx
call fcn.0041ca4e
add esp, 0x10
push dword [edi]
mov esi, eax
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp eax, ebx
mov dword [ebp - 0x920], eax
je 0x41244e
push esi
lea esi, [ebp - 0x928]
call fcn.00410c57
push 2
push ebx
push ebx
add edi, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
push dword [ebp - 0x928]
push dword [ebp - 0x920]
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push dword [ebp - 0x920]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41244e
push dword [0x42c0dc]
push esi
call fcn.0041c460
test eax, eax
pop ecx
pop ecx
jne 0x412101
cmp byte [edi + 0x16], bl
je 0x41203b
mov dword [edi + 0x18], 4
jmp 0x412042
mov dword [edi + 0x18], 2
push dword [0x42c140]
push ebx
call fcn.0041ca4e
cmp eax, ebx
pop ecx
pop ecx
jne 0x412060
mov dword [edi + 0x18], ebx
mov byte [edi + 0x20], 1
jmp 0x412450
push eax
mov esi, edi
call fcn.00410c57
push dword [0x42c140]
push ebx
call fcn.0041ca4e
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0x924], eax
je 0x4120e4
lea eax, [ebp - 0x924]
push eax
call fcn.00410c98
push dword [0x42c0ec]
push dword [ebp - 0x924]
call fcn.0041c460
test eax, eax
pop ecx
pop ecx
jne 0x41244e
push dword [0x42c140]
push ebx
call fcn.0041ca4e
cmp eax, ebx
pop ecx
pop ecx
je 0x412054
push eax
lea esi, [ebp - 0x920]
call fcn.00410c57
mov eax, dword [ebp - 0x920]
mov dword [edi + 0xc], eax
lea eax, [edi + 8]
push eax
push 0x2776
lea ecx, [edi + 0x3c]
call fcn.00414547
jmp 0x41244e
push 0x4021f0
lea ecx, [edi + 8]
mov byte [edi + 0x11], 1
mov dword [edi + 0x18], 3
call fcn.00410c03
jmp 0x41244e
push dword [0x42c0f0]
push esi
call fcn.0041c460
test eax, eax
pop ecx
pop ecx
jne 0x41211c
mov byte [edi + 0x12], 1
jmp 0x41244e
push dword [0x42c0f4]
push esi
call fcn.0041c460
test eax, eax
pop ecx
pop ecx
jne 0x412137
mov byte [edi + 0x13], 1
jmp 0x41244e
push dword [0x42c0f8]
push esi
call fcn.0041c460
test eax, eax
pop ecx
pop ecx
jne 0x4121d8
push dword [0x42c140]
mov byte [edi + 0x14], 1
push ebx
call fcn.0041ca4e
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0x924], eax
je 0x41244e
lea eax, [ebp - 0x924]
push eax
call fcn.00410c98
cmp dword [ebp - 0x924], ebx
je 0x41244e
mov esi, dword [0x42c128]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x412190
sub eax, edx
push eax
push esi
push dword [ebp - 0x924]
call fcn.0041c611
add esp, 0xc
test eax, eax
jne 0x41244e
mov eax, dword [0x42c128]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4121b9
mov ecx, dword [ebp - 0x924]
sub eax, edx
add eax, ecx
lea ecx, [edi + 0x34]
push eax
call fcn.004090a6
jmp 0x41244e
push dword [0x42c0fc]
push esi
call fcn.0041c460
test eax, eax
pop ecx
pop ecx
jne 0x4121f3
mov byte [edi + 0x15], 1
jmp 0x41244e
push dword [0x42c100]
push esi
call fcn.0041c460
test eax, eax
pop ecx
pop ecx
jne 0x412211
mov dword [edi + 0x1c], 1
jmp 0x41244e
push dword [0x42c114]
push esi
call fcn.0041c460
test eax, eax
pop ecx
pop ecx
jne 0x41222f
mov dword [edi + 0x1c], 2
jmp 0x41244e
push dword [0x42c118]
push esi
call fcn.0041c460
test eax, eax
pop ecx
pop ecx
jne 0x41224d
mov dword [edi + 0x1c], 3
jmp 0x41244e
push dword [0x42c120]
push esi
call fcn.0041c460
test eax, eax
pop ecx
pop ecx
jne 0x41226b
mov dword [edi + 0x1c], 5
jmp 0x41244e
push dword [0x42c124]
push esi
call fcn.0041c460
test eax, eax
pop ecx
pop ecx
jne 0x412289
mov dword [edi + 0x1c], 6
jmp 0x41244e
push dword [0x42c11c]
push esi
call fcn.0041c460
test eax, eax
pop ecx
pop ecx
jne 0x4122a7
mov dword [edi + 0x1c], 4
jmp 0x41244e
push dword [0x42c104]
push esi
call fcn.0041c460
test eax, eax
pop ecx
pop ecx
jne 0x4122c2
mov byte [edi + 0x22], 1
jmp 0x41244e
push dword [0x42c108]
push esi
call fcn.0041c460
test eax, eax
pop ecx
pop ecx
jne 0x4122dd
mov byte [edi + 0x21], 1
jmp 0x41244e
push dword [0x42c10c]
push esi
call fcn.0041c460
test eax, eax
pop ecx
pop ecx
jne 0x412401
push dword [0x42c144]
push ebx
call fcn.0041ca4e
cmp eax, ebx
pop ecx
pop ecx
je 0x412337
lea ecx, [edi + 0x2c]
push eax
call fcn.004090a6
push dword [0x42c144]
push ebx
call fcn.0041ca4e
push dword [0x42c144]
push ebx
call fcn.0041ca4e
add esp, 0x10
lea ecx, [edi + 0x30]
push eax
call fcn.004090a6
jmp 0x4123fb
lea eax, [ebp - 0x718]
push eax
push dword [0x42c130]
mov byte [ebp - 0x718], bl
call fcn.00410e07
cmp byte [ebp - 0x718], bl
je 0x41244e
push ebx
push ebx
lea eax, [ebp - 0x718]
push eax
lea eax, [ebp - 0x518]
push 0x200
push eax
call fcn.0040c83d
add esp, 0x14
cmp byte [ebp - 0x518], 0x22
jne 0x412391
lea eax, [ebp - 0x517]
mov dword [ebp - 0x920], eax
push 0x22
jmp 0x41239f
lea eax, [ebp - 0x518]
mov dword [ebp - 0x920], eax
push 0x20
push eax
call fcn.0041c990
cmp eax, ebx
pop ecx
pop ecx
je 0x41244e
push dword [ebp - 0x920]
lea esi, [edi + 0x2c]
mov ecx, esi
mov byte [eax], bl
call fcn.004090a6
mov esi, dword [esi]
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x114]
push eax
push ebx
push ebx
push esi
call fcn.0041c4c9
add esp, 0x14
lea eax, [ebp - 0x114]
lea esi, [edi + 0x30]
push eax
mov ecx, esi
call fcn.004090a6
lea eax, [ebp - 0x214]
push eax
mov ecx, esi
call fcn.0040da65
mov byte [edi + 0x23], 1
jmp 0x41244e
push dword [0x42c110]
push esi
call fcn.0041c460
test eax, eax
pop ecx
pop ecx
jne 0x412434
push dword [0x42c144]
push ebx
call fcn.0041ca4e
cmp eax, ebx
pop ecx
pop ecx
je 0x41244e
lea ecx, [edi + 0x2c]
push eax
call fcn.004090a6
mov byte [edi + 0x24], 1
jmp 0x41244e
cmp byte [ebp - 0x919], bl
jne 0x41244e
push dword [ebp - 0x920]
lea ecx, [edi + 0x38]
jmp 0x4121ce
mov byte [edi + 0x20], 1
mov bl, 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x92c]
call fcn.004069e8
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
mov al, bl
pop ebx
call fcn.0041b4ee
leave
ret