Function at 0x41d2f0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4540ca
mov eax, dword fs:[0]
push eax
sub esp, 0x13c
mov eax, dword [0x46b664]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x118], ebx
xor esi, esi
mov dword [ebp - 0x114], esi
mov dword [ebp - 0x12c], esi
lea eax, [ebx + 0x2c]
cmp dword [eax + 0x14], 8
jb 0x41d343
mov eax, dword [eax]
lea ecx, [ebp - 0x12c]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
mov dword [ebp - 0x120], edi
mov dword [ebp - 4], esi
mov dword [ebp - 0x11c], esi
cmp esi, dword [ebp - 0x12c]
jge 0x41d6fc
test esi, esi
jne 0x41d3d6
mov edx, dword [edi]
push edx
lea eax, [ebp - 0xd8]
push eax
call fcn.004156f0
mov byte [ebp - 4], 1
push eax
call fcn.00417920
mov bl, al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xd8]
push ecx
call fcn.00415780
mov eax, dword [edi]
test bl, bl
je 0x41d3b4
mov edx, dword [ebp - 0x118]
add edx, 0x10
push edx
call fcn.004104c0
jmp 0x41d40c
lea ecx, [ebp - 0x68]
call fcn.0040ec90
mov byte [ebp - 4], 2
lea edi, [ebp - 0x68]
mov eax, dword [ebp - 0x118]
call fcn.0041d740
mov byte [ebp - 4], 0
mov esi, edi
jmp 0x41d3fb
mov eax, dword [edi + esi*4]
lea ecx, [ebp - 0x84]
call fcn.0040ec90
mov byte [ebp - 4], 3
lea edi, [ebp - 0x84]
mov eax, ebx
call fcn.0041d740
mov byte [ebp - 4], 0
mov esi, edi
call fcn.00401630
mov edi, dword [ebp - 0x120]
mov esi, dword [ebp - 0x11c]
cmp dword [edi + esi*4], 0
je 0x41d6f0
mov eax, dword [edi + esi*4]
movzx eax, word [eax]
cmp eax, 0x2d
je 0x41d42a
cmp eax, 0x2f
jne 0x41d6f0
mov eax, dword [edi + esi*4]
add eax, 2
lea ecx, [ebp - 0x4c]
call fcn.0040ec90
mov byte [ebp - 4], 4
mov edx, 0x3d
mov dword [ebp - 0x130], edx
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x41d549
cmp eax, 1
jb 0x41d549
mov dword [ebp - 0x128], eax
cmp dword [ebp - 0x38], 8
mov eax, dword [ebp - 0x4c]
jae 0x41d46d
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x124], eax
mov ecx, dword [ebp - 0x128]
mov dword [ebp - 0x144], ecx
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x140], eax
jmp 0x41d490
test ecx, ecx
je 0x41d4af
cmp word [eax], dx
jne 0x41d49d
mov ebx, eax
jmp 0x41d4b1
add eax, 2
mov dword [ebp - 0x140], eax
dec ecx
mov dword [ebp - 0x144], ecx
jmp 0x41d490
xor ebx, ebx
test ebx, ebx
je 0x41d549
mov edi, 1
mov dword [ebp - 0x148], edi
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x134], ecx
mov eax, ebx
mov dword [ebp - 0x138], eax
test edi, edi
je 0x41d4f1
movzx edx, word [eax]
movzx esi, word [ecx]
cmp dx, si
je 0x41d505
sbb eax, eax
and eax, 0xfffffffe
inc eax
test eax, eax
jne 0x41d520
cmp dword [ebp - 0x38], 8
mov eax, dword [ebp - 0x4c]
jae 0x41d4fd
lea eax, [ebp - 0x4c]
sub ebx, eax
sar ebx, 1
mov esi, ebx
jmp 0x41d54c
add eax, 2
mov dword [ebp - 0x138], eax
add ecx, 2
mov dword [ebp - 0x134], ecx
dec edi
mov dword [ebp - 0x148], edi
jmp 0x41d4d8
mov ecx, ebx
sub ecx, dword [ebp - 0x124]
sar ecx, 1
or edx, 0xffffffff
sub edx, ecx
add dword [ebp - 0x128], edx
add ebx, 2
mov dword [ebp - 0x124], ebx
mov edx, dword [ebp - 0x130]
jmp 0x41d473
or esi, 0xffffffff
cmp esi, 0xffffffff
jne 0x41d571
mov dword [ebp - 0x13c], 0x3a
push 1
lea eax, [ebp - 0x13c]
push eax
lea ecx, [ebp - 0x4c]
push ecx
xor eax, eax
call fcn.00417f70
mov esi, eax
push esi
lea edx, [ebp - 0xa0]
push edx
xor ecx, ecx
lea edx, [ebp - 0x4c]
call fcn.00417c20
mov byte [ebp - 4], 5
cmp esi, 0xffffffff
jne 0x41d5a9
mov eax, 0x45c490
lea ecx, [ebp - 0xbc]
call fcn.0040ec90
mov byte [ebp - 4], 6
or dword [ebp - 0x114], 1
jmp 0x41d5cb
push 0xffffffffffffffff
lea ecx, [esi + 1]
lea eax, [ebp - 0x110]
push eax
lea edx, [ebp - 0x4c]
call fcn.00417c20
mov dword [ebp - 4], 7
or dword [ebp - 0x114], 2
mov edi, eax
lea eax, [ebp - 0x30]
call fcn.00406e20
mov dword [ebp - 4], 9
test byte [ebp - 0x114], 2
je 0x41d5f7
and dword [ebp - 0x114], 0xfffffffd
lea esi, [ebp - 0x110]
call fcn.00401630
mov byte [ebp - 4], 0xa
test byte [ebp - 0x114], 1
je 0x41d616
and dword [ebp - 0x114], 0xfffffffe
lea esi, [ebp - 0xbc]
call fcn.00401630
mov edx, dword [ebp - 0x20]
cmp edx, 2
jbe 0x41d69b
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x30]
cmp esi, 8
mov ecx, eax
jae 0x41d62e
lea ecx, [ebp - 0x30]
cmp word [ecx], 0x22
jne 0x41d646
cmp esi, 8
mov ecx, eax
jae 0x41d63e
lea ecx, [ebp - 0x30]
cmp word [ecx + edx*2 - 2], 0x22
je 0x41d666
cmp esi, 8
mov ecx, eax
jae 0x41d650
lea ecx, [ebp - 0x30]
cmp word [ecx], 0x27
jne 0x41d69b
cmp esi, 8
jae 0x41d65e
lea eax, [ebp - 0x30]
cmp word [eax + edx*2 - 2], 0x27
jne 0x41d69b
add edx, 0xfffffffe
push edx
lea ecx, [ebp - 0xf4]
push ecx
mov ecx, 1
lea edx, [ebp - 0x30]
call fcn.00417c20
mov byte [ebp - 4], 0xb
mov edi, eax
lea esi, [ebp - 0x30]
call fcn.0040b5a0
mov byte [ebp - 4], 0xa
lea esi, [ebp - 0xf4]
call fcn.00401630
mov edx, dword [ebp - 0x118]
push edx
lea ecx, [ebp - 0xa0]
call fcn.0041d8d0
mov ecx, eax
push 0
lea eax, [ebp - 0x30]
push eax
or eax, 0xffffffff
call fcn.00401a90
mov byte [ebp - 4], 5
lea esi, [ebp - 0x30]
call fcn.00401630
mov byte [ebp - 4], 4
lea esi, [ebp - 0xa0]
call fcn.00401630
mov byte [ebp - 4], 0
lea esi, [ebp - 0x4c]
call fcn.00401630
mov esi, dword [ebp - 0x11c]
mov edi, dword [ebp - 0x120]
inc esi
mov ebx, dword [ebp - 0x118]
jmp 0x41d35c
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00431de5
mov esp, ebp
pop ebp
ret 4