Function at 0x10047a80
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
push ebx
mov dword [ebp - 0x1c], eax
mov eax, dword [sym.imp.MSVCR120.dll___argc]
push esi
push edi
mov edi, dword [ebp + 8]
cmp edi, dword [eax]
jge 0x10047c70
mov ebx, dword [ebp + 0x10]
test edx, edx
je 0x10047ad6
mov eax, dword [sym.imp.MSVCR120.dll___argv]
mov eax, dword [eax]
mov ecx, dword [eax + edi*4]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10047ac0
sub ecx, esi
lea eax, [ecx + 1]
mov dword [edx], eax
cmp ebx, eax
jb 0x10047c70
call sym.HncFoundation.dll_HncGetWinVersion
cmp eax, 1
jbe 0x10047c36
call sym.HncFoundation.dll_HncGetWinVersion
cmp eax, 5
jae 0x10047c36
xorps xmm0, xmm0
lea eax, [ebp - 0x10]
movdqu xmmword [ebp - 0x18], xmm0
mov dword [ebp - 0x14], eax
lea ecx, [edi*4]
mov eax, dword [sym.imp.MSVCR120.dll___argv]
mov dword [ebp - 0x18], 0
mov dword [ebp - 8], ecx
mov eax, dword [eax]
mov edx, dword [ecx + eax]
cmp byte [edx], 0
jne 0x10047b2a
mov esi, 0x100a4cdc
jmp 0x10047c17
mov edi, edx
lea ecx, [edi + 1]
nop
mov al, byte [edi]
inc edi
test al, al
jne 0x10047b30
sub edi, ecx
mov ecx, edx
lea esi, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10047b40
sub ecx, esi
lea ecx, [ecx + ecx*2]
add ecx, 4
lea eax, [ecx + 8]
cmp eax, ecx
jbe 0x10047bdb
mov ecx, edx
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10047b60
sub ecx, esi
lea eax, [ecx + 4]
lea eax, [eax + eax*2]
lea ecx, [edx + 1]
cmp eax, 0x400
ja 0x10047ba5
lea esp, [esp]
mov al, byte [edx]
inc edx
test al, al
jne 0x10047b80
sub edx, ecx
lea eax, [edx + 4]
lea eax, [eax + eax*2]
call fcn.100990e0
mov esi, esp
test esi, esi
je 0x10047bdd
mov dword [esi], 0xcccc
add esi, 8
jmp 0x10047bdd
mov al, byte [edx]
inc edx
test al, al
jne 0x10047ba5
sub edx, ecx
xor ecx, ecx
lea eax, [edx + 2]
lea eax, [edx + eax*2]
add eax, 8
setb cl
neg ecx
or ecx, eax
push ecx
call dword [sym.imp.MSVCR120.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
je 0x10047bdd
mov dword [esi], 0xdddd
add esi, 8
jmp 0x10047bdd
xor esi, esi
push esi
lea ecx, [ebp - 0x18]
call fcn.10010950
mov eax, dword [sym.imp.MSVCR120.dll___argv]
lea ecx, [edi + 2]
mov edx, dword [ebp - 8]
lea ecx, [edi + ecx*2]
shr ecx, 1
mov eax, dword [eax]
mov edx, dword [edx + eax]
xor eax, eax
cmp ecx, 1
jle 0x10047c11
push ecx
push esi
push 0xffffffffffffffff
push edx
xor ecx, ecx
call fcn.10034e00
add esp, 0x10
xor ecx, ecx
mov word [esi + eax*2], cx
push 0xffffffffffffffff
push esi
push ebx
push dword [ebp - 0x1c]
call dword [sym.imp.MSVCR120.dll_wcsncpy_s]
add esp, 0x10
lea ecx, [ebp - 0x18]
call fcn.10010900
mov eax, 1
jmp 0x10047c72
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
push 0xffffffffffffffff
push dword [esi + edi*4]
push ebx
push dword [ebp - 0x1c]
call dword [sym.imp.MSVCR120.dll_wcsncpy_s]
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, 1
jmp 0x10047c72
xor eax, eax
lea esp, [ebp - 0x28]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100944ae
mov esp, ebp
pop ebp
ret 0x10