Function at 0x2d4574
Capabilities:
Accept command line arguments

Disassembly:
push dword [esi + 0x38]
call fcn.002d888f
jmp 0x2d66af
mov dword [ebp - 0x2dc], eax
mov eax, dword [esi + 0x20]
shr eax, 2
and eax, ecx
push eax
lea eax, [ebp - 0x2d4]
push eax
mov dword [ebp - 0x2e4], 0x10
mov dword [ebp - 0x2e0], ecx
call fcn.002d423f
push dword [ebp - 0x220]
lea eax, [ebp - 0x2c4]
push eax
call fcn.002d4001
push dword [esi + 0x14]
lea eax, [ebp - 0x2b4]
push eax
call fcn.002d423f
push dword [ebp - 0x210]
lea eax, [ebp - 0x2a4]
push eax
call fcn.002d4001
mov edi, dword [edi + 0xc]
cmp edi, ebx
je 0x2d67e4
push edi
lea eax, [ebp - 0x294]
push eax
call fcn.002d4001
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x284]
push eax
call fcn.002d4001
push dword [ebp + 0x18]
lea eax, [ebp - 0x274]
push eax
call fcn.002d423f
push dword [ebp - 0x22c]
lea eax, [ebp - 0x264]
push eax
call fcn.002d423f
push dword [ebp - 0x228]
lea eax, [ebp - 0x254]
push eax
call fcn.002d423f
push dword [ebp - 0x230]
lea eax, [ebp - 0x244]
push eax
call fcn.002d423f
push ebx
lea eax, [ebp - 0x2e4]
push eax
push 0xb
push 0x72a
push ebx
call fcn.002d411e
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.002d235b
leave
ret 0x14
mov dword [ebp - 0x210], eax
lea eax, [ebp - 0x22c]
push eax
push dword [esi + 0x2c]
call fcn.002d4043
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x228]
push eax
push dword [esi + 0x2c]
call fcn.002d44f9
mov eax, dword [edi]
cmp eax, ebx
je 0x2d66f2
cmp eax, 1
je 0x2d66f2
xor eax, eax
mov word [ebp - 0x20c], ax
mov eax, dword [esi + 0x38]
mov dword [ebp - 0x218], eax
cmp eax, ebx
je 0x2d67ce
push 0x2d44e4
push dword [ebp - 0x210]
call dword [0x2d11ec]
jmp 0x2d6703
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2e4
mov eax, dword [0x2db084]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
xor ebx, ebx
push 0xac
lea eax, [ebp - 0x2e0]
push ebx
push eax
mov dword [ebp - 0x21c], 1
mov dword [ebp - 0x2e4], ebx
call fcn.002d1b3e
mov eax, dword [edi + 8]
mov dword [ebp - 0x220], eax
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push ebx
push eax
mov dword [ebp - 0x210], VerQueryValueW
call fcn.002d1b3e
add esp, 0x18
push 5
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x230], ebx
pop ecx
cmp dword [ebp + 8], ebx
jne 0x2d46ac
cmp byte [ebp + 0x14], bl
jne 0x2d6678
xor eax, eax
cmp dword [esi + 8], ebx
sete al
lea eax, [eax + eax + 2]
mov dword [ebp - 0x21c], eax
mov eax, dword [esi + 0x14]
cmp eax, 4
je 0x2d6683
cmp eax, 7
je 0x2d66ba
cmp eax, ecx
jne 0x2d46c8
push dword [ebp - 0x220]
call fcn.002d888f
jmp 0x2d66e7
cmp dword [ebp + 8], 0x4c7
jne 0x2d4626
mov dword [ebp - 0x21c], 3
jmp 0x2d4626
push dword [esi + 0x34]
call fcn.002d888f
jmp 0x2d4474
mov dword [ebp - 0x21c], ecx
jmp 0x2d4626
push 0x104
lea eax, [ebp - 0x20c]
push eax
lea eax, [esi + 0x3c]
push eax
call dword [0x2d12b0]
test eax, eax
jge 0x2d410c
xor eax, eax
mov word [ebp - 0x20c], ax
jmp 0x2d410c
mov dword [ebp - 0x210], eax
jmp 0x2d67ce
push dword [esi + 0x2c]
call fcn.002d888f
push dword [esi + 0x30]
mov dword [ebp - 0x210], eax
call fcn.002d88b5
push eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.002d88db
jmp 0x2d67ce
mov dword [ebp - 0x220], eax
jmp 0x2d67ce
mov eax, dword [ebp - 0x210]
mov dword [ebp - 0x220], eax
jmp 0x2d44b2
pop ecx
pop ecx
test eax, eax
je 0x2d6724
push 0x2d67f4
push dword [ebp - 0x210]
call dword [0x2d11ec]
pop ecx
pop ecx
test eax, eax
jne 0x2d67ce
lea eax, [ebp - 0x224]
push eax
push dword [ebp - 0x218]
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x218], eax
cmp eax, ebx
je 0x2d67ce
xor eax, eax
inc eax
cmp dword [ebp - 0x224], eax
mov dword [ebp - 0x214], eax
jle 0x2d67c2
mov eax, dword [ebp - 0x218]
mov ecx, dword [ebp - 0x214]
push dword [eax + ecx*4]
call fcn.002d888f
cmp dword [ebp - 0x214], 1
mov dword [ebp - 0x234], eax
je 0x2d6793
push 0x2d67f0
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.002d792c
test eax, eax
jl 0x2d67c2
push dword [ebp - 0x234]
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.002d792c
test eax, eax
jl 0x2d67c2
inc dword [ebp - 0x214]
mov eax, dword [ebp - 0x214]
cmp eax, dword [ebp - 0x224]
jl 0x2d6756
push dword [ebp - 0x218]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x21c]
xor ecx, ecx
inc ecx
cmp eax, ecx
jne 0x2d4144
jmp 0x2d4227
mov edi, VerQueryValueW
jmp 0x2d41ad