Function at 0x10004c10
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10010af8
mov eax, dword fs:[0]
push eax
sub esp, 0x164
mov eax, dword [0x1001d0d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x15c], ebx
mov esi, dword [ebx]
mov edi, dword [ebp + 8]
push dword [esi + 4]
push ebx
call fcn.10001b70
mov dword [esi + 4], esi
mov dword [esi], esi
mov dword [esi + 8], esi
lea esi, [ebx + 0x14]
mov dword [ebx + 4], 0
mov eax, esi
mov dword [esi + 0x10], 0
cmp dword [esi + 0x14], 8
jb 0x10004c77
mov eax, dword [esi]
xor ecx, ecx
mov word [eax], cx
mov dword [ebp - 0x164], ecx
test edi, edi
jne 0x10004c8e
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edi, eax
lea eax, [ebp - 0x164]
push eax
push edi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov bl, byte [ebp + 0xc]
mov edi, eax
mov dword [ebp - 0x160], edi
test bl, bl
je 0x10004cd0
mov ecx, dword [edi]
mov edx, ecx
lea edi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10004cb2
sub edx, edi
sar edx, 1
push edx
push ecx
mov ecx, esi
call fcn.10003be0
mov edi, dword [ebp - 0x160]
movzx eax, bl
mov dword [ebp - 0x16c], eax
cmp eax, dword [ebp - 0x164]
jge 0x10005058
mov ebx, 0x100
lea ebx, [ebx]
mov edx, dword [edi + eax*4]
movzx eax, word [edx]
cmp eax, 0x2f
je 0x10004d04
cmp eax, 0x2d
je 0x10004d04
xor al, al
jmp 0x10004d06
mov al, 1
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
test al, al
je 0x1000507f
add edx, 2
xor eax, eax
mov ecx, edx
mov word [ebp - 0x28], ax
lea esi, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10004d30
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.10003be0
cmp dword [ebp - 0x14], 8
lea edi, [ebp - 0x28]
mov esi, dword [ebp - 0x18]
cmovae edi, dword [ebp - 0x28]
mov dword [ebp - 4], 0
mov dword [ebp - 0x168], esi
test esi, esi
je 0x10004dcc
push 0x100
lea eax, [ebp - 0x158]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, 0x10012f38
movzx eax, word [ecx]
cmp ax, bx
jae 0x10004e43
movzx eax, al
add ecx, 2
mov byte [ebp + eax - 0x158], 1
cmp ecx, 0x10012f3c
jne 0x10004d83
lea ecx, [edi + esi*2]
mov ebx, edi
cmp edi, ecx
jae 0x10004dcc
mov edx, 0x100
movzx eax, word [ebx]
cmp ax, dx
jae 0x10004dc5
cmp byte [ebp + eax - 0x158], 0
jne 0x10004e3d
add ebx, 2
cmp ebx, ecx
jb 0x10004db3
or ebx, 0xffffffff
xor eax, eax
cmp ebx, 0xffffffff
je 0x10004f8c
lea edx, [ebx + 1]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp esi, edx
jb 0x10005150
sub esi, edx
lea eax, [ebp - 0x28]
or ecx, 0xffffffff
cmp esi, 0xffffffff
cmovb ecx, esi
cmp dword [ebp - 0x14], 8
mov dword [ebp - 0x168], ecx
cmovae eax, dword [ebp - 0x28]
lea eax, [eax + edx*2]
mov dword [ebp - 0x170], eax
cmp ecx, 7
ja 0x10004e91
lea esi, [ecx + ecx]
mov dword [ebp - 0x30], ecx
push esi
push eax
lea eax, [ebp - 0x40]
push eax
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x40], ax
jmp 0x10004ef2
sub ebx, edi
sar ebx, 1
jmp 0x10004dcf
lea esi, [edi + esi*2]
mov ebx, edi
cmp edi, esi
jae 0x10004e74
lea esp, [esp]
movzx edx, word [ebx]
mov ecx, 2
mov eax, 0x10012f38
lea ecx, [ecx]
cmp word [eax], dx
je 0x10004e82
add eax, 2
sub ecx, 1
jne 0x10004e60
add ebx, 2
cmp ebx, esi
jb 0x10004e50
mov esi, dword [ebp - 0x168]
or ebx, 0xffffffff
jmp 0x10004dcf
mov esi, dword [ebp - 0x168]
sub ebx, edi
sar ebx, 1
jmp 0x10004dcf
cmp ecx, 0x7ffffffe
ja 0x1000514b
mov esi, ecx
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x10004eb1
mov esi, 0x7ffffffe
jmp 0x10004ebc
cmp esi, 0xa
mov eax, 0xa
cmovb esi, eax
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x40]
call fcn.10003a00
mov edi, eax
mov dword [ebp - 0x2c], esi
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x30], eax
lea esi, [eax + eax]
push esi
push dword [ebp - 0x170]
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [ebp - 0x40], edi
xor eax, eax
mov word [esi + edi], ax
xor eax, eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x58]
mov word [ebp - 0x58], ax
lea eax, [ebp - 0x28]
cmovb ebx, dword [ebp - 0x18]
cmp dword [ebp - 0x14], 8
push ebx
cmovae eax, dword [ebp - 0x28]
push eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
call fcn.10003be0
mov ecx, dword [ebp - 0x15c]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
push eax
call fcn.100035f0
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x10004f7b
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10004f71
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005145
push edx
push ecx
call fcn.1000f390
add esp, 8
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x10004ff3
mov ecx, dword [ebp - 0x40]
jmp 0x10004fc4
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov ecx, dword [ebp - 0x15c]
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
call fcn.100035f0
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x10004ff3
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10004fe9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005145
push edx
push ecx
call fcn.1000f390
add esp, 8
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x10005034
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000502a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005145
push edx
push ecx
call fcn.1000f390
add esp, 8
mov edi, dword [ebp - 0x160]
mov ebx, 0x100
mov eax, dword [ebp - 0x16c]
inc eax
mov dword [ebp - 0x16c], eax
cmp eax, dword [ebp - 0x164]
jl 0x10004cf0
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000f8ab
mov esp, ebp
pop ebp
ret 8
mov ecx, edx
xor eax, eax
mov word [ebp - 0x28], ax
lea esi, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10005090
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.10003be0
mov esi, dword [ebp - 0x15c]
mov dword [ebp - 4], 4
mov ecx, dword [esi + 0xc]
cmp ecx, dword [esi + 0x10]
je 0x100050f2
mov eax, dword [ebp - 0x28]
mov edx, 7
mov dword [ecx], eax
mov eax, dword [ebp - 0x24]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [ecx + 0x14], eax
xor eax, eax
add dword [esi + 0xc], 0x18
mov word [ebp - 0x28], ax
jmp 0x10005102
lea eax, [ebp - 0x28]
push eax
push ecx
lea ecx, [esi + 8]
call fcn.10001a40
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x1000503f
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10005136
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005145
push edx
push ecx
call fcn.1000f390
add esp, 8
jmp 0x1000503f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
call fcn.100035b0
call fcn.100035d0
int3