Function at 0x401ae0
Capabilities:
Accept command line arguments
Create process memory minidump

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x6c
mov eax, dword [0x459444]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea edi, [ebp - 0x28]
push edi
call fcn.0040aac0
add esp, 4
push edi
call fcn.00408e00
add esp, 4
mov ebx, eax
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x401b42
mov ecx, dword [ebp - 0x28]
lea esi, [eax + 1]
cmp esi, 0x1000
jb 0x401b38
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x401fc2
add eax, 0x24
mov esi, eax
mov ecx, edx
push esi
push ecx
call fcn.0040ad91
add esp, 8
mov ecx, 0x55
test bl, bl
je 0x401faa
mov dword [ebp - 0x68], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [ebp - 0x68]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
test eax, eax
je 0x401bd2
mov ebx, dword [ebp - 0x68]
mov ecx, 1
cmp ebx, 2
jl 0x401faa
mov dword [ebp - 0x6c], eax
mov esi, dword [eax + 4]
push esi
call fcn.00433624
add esp, 4
cmp eax, 7
jne 0x401be9
cmp word [esi], 0x6f
jne 0x401be9
cmp word [esi + 2], 0x66
jne 0x401be9
cmp word [esi + 4], 0x66
jne 0x401be9
cmp word [esi + 6], 0x73
jne 0x401be9
cmp word [esi + 8], 0x65
jne 0x401be9
cmp word [esi + 0xa], 0x74
jne 0x401be9
cmp word [esi + 0xc], 0x73
jne 0x401be9
add ebx, 0xfffffffe
mov eax, dword [ebp - 0x6c]
add eax, 8
push ebx
push eax
call fcn.00402dd0
jmp 0x401c30
push str.CommandLineToArgvW_failed
call fcn.00401a40
add esp, 4
mov ecx, 0xffffffff
jmp 0x401faa
push esi
call fcn.00433624
add esp, 4
cmp eax, 6
jne 0x401c3a
cmp word [esi], 0x69
jne 0x401c3a
cmp word [esi + 2], 0x6e
jne 0x401c3a
cmp word [esi + 4], 0x6a
jne 0x401c3a
cmp word [esi + 6], 0x65
jne 0x401c3a
cmp word [esi + 8], 0x63
jne 0x401c3a
cmp word [esi + 0xa], 0x74
jne 0x401c3a
add ebx, 0xfffffffe
mov eax, dword [ebp - 0x6c]
add eax, 8
push ebx
push eax
call fcn.004022d0
add esp, 8
mov ecx, eax
jmp 0x401faa
push esi
call fcn.00433624
add esp, 4
mov ecx, 2
cmp eax, 5
jne 0x401faa
cmp word [esi], 0x63
jne 0x401faa
cmp word [esi + 2], 0x72
jne 0x401faa
cmp word [esi + 4], 0x61
jne 0x401faa
cmp word [esi + 6], 0x73
jne 0x401faa
cmp word [esi + 8], 0x68
jne 0x401faa
cmp ebx, 6
mov eax, dword [ebp - 0x6c]
jne 0x401faa
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x78], ecx
mov esi, dword [eax + 0x10]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], 0
push esi
call fcn.00433624
add esp, 4
mov ebx, eax
cmp eax, 7
jbe 0x401ce2
sub esp, 0xc
mov al, byte [ebp - 0x40]
mov byte [esp + 4], al
mov dword [esp + 8], esi
mov dword [esp], ebx
lea ecx, [ebp - 0x28]
call fcn.00401ff0
jmp 0x401cfb
mov dword [ebp - 0x18], ebx
mov eax, ebx
add eax, ebx
push eax
push esi
push edi
call fcn.004258c0
add esp, 0xc
mov word [ebp + ebx*2 - 0x28], 0
call fcn.0042d1f4
mov ebx, eax
cmp dword [ebp - 0x14], 8
jb 0x401d0b
mov edi, dword [ebp - 0x28]
mov dword [ebx], 0
lea esi, [ebp - 0x40]
push 0x10
push esi
push edi
call fcn.00432777
add esp, 0xc
mov dword [ebp - 0x74], eax
cmp edi, dword [ebp - 0x40]
je 0x401fc7
cmp dword [ebx], 0x22
je 0x401fd1
mov eax, dword [ebp - 0x6c]
mov ebx, dword [eax + 0xc]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], 0
push ebx
call fcn.00433624
add esp, 4
mov edi, eax
cmp eax, 7
jbe 0x401d81
sub esp, 0xc
mov al, byte [ebp - 0x58]
mov byte [esp + 4], al
mov dword [esp + 8], ebx
mov dword [esp], edi
lea ecx, [ebp - 0x40]
call fcn.00401ff0
jmp 0x401d9a
mov dword [ebp - 0x30], edi
mov eax, edi
add eax, edi
push eax
push ebx
push esi
call fcn.004258c0
add esp, 0xc
mov word [ebp + edi*2 - 0x40], 0
call fcn.0042d1f4
mov edi, eax
cmp dword [ebp - 0x2c], 8
jb 0x401daa
mov esi, dword [ebp - 0x40]
mov dword [edi], 0
lea ebx, [ebp - 0x58]
push 0x10
push ebx
push esi
call fcn.00432777
add esp, 0xc
mov dword [ebp - 0x70], eax
cmp esi, dword [ebp - 0x58]
je 0x401fc7
cmp dword [edi], 0x22
mov eax, dword [ebp - 0x6c]
je 0x401fd1
mov edi, dword [eax + 8]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], 0
push edi
call fcn.00433624
add esp, 4
mov esi, eax
cmp eax, 7
jbe 0x401e20
sub esp, 0xc
mov al, byte [ebp - 0x64]
mov byte [esp + 4], al
mov dword [esp + 8], edi
mov dword [esp], esi
lea ecx, [ebp - 0x58]
call fcn.00401ff0
jmp 0x401e39
mov dword [ebp - 0x48], esi
mov eax, esi
add eax, esi
push eax
push edi
push ebx
call fcn.004258c0
add esp, 0xc
mov word [ebp + esi*2 - 0x58], 0
call fcn.0042d1f4
mov edi, eax
cmp dword [ebp - 0x44], 8
jb 0x401e49
mov ebx, dword [ebp - 0x58]
mov dword [edi], 0
lea eax, [ebp - 0x64]
push 0x10
push eax
push ebx
call fcn.00432777
add esp, 0xc
cmp ebx, dword [ebp - 0x64]
je 0x401fc7
cmp dword [edi], 0x22
mov ebx, dword [ebp - 0x78]
je 0x401fd1
test ebx, ebx
je 0x401ef4
mov esi, eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], 1
push esi
push 0
push 0x450
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ecx, 1
test eax, eax
je 0x401ef0
mov edi, eax
sub esp, 0x1c
movaps xmm0, xmmword [0x4460f0]
movups xmmword [esp + 4], xmm0
mov dword [esp], ebx
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x80
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, 1
cmp eax, 0xffffffff
je 0x401ef0
push 0
push 0
lea ecx, [ebp - 0x64]
push ecx
push 0
push eax
push esi
push edi
call sub.dbghelp.dll_MiniDumpWriteDump
xor ecx, ecx
test eax, eax
sete cl
mov esi, ecx
jmp 0x401ef9
mov esi, 1
mov ecx, dword [ebp - 0x44]
cmp ecx, 8
jb 0x401f36
mov eax, dword [ebp - 0x58]
lea edx, [ecx + ecx]
add edx, 2
cmp edx, 0x1000
jb 0x401f2c
mov edx, eax
add edx, 0xfffffffc
mov eax, dword [eax - 4]
sub edx, eax
cmp edx, 0x20
jae 0x401fc2
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.0040ad91
add esp, 8
mov ecx, dword [ebp - 0x2c]
cmp ecx, 8
jb 0x401f6f
mov eax, dword [ebp - 0x40]
lea edx, [ecx + ecx]
add edx, 2
cmp edx, 0x1000
jb 0x401f65
mov edx, eax
add edx, 0xfffffffc
mov eax, dword [eax - 4]
sub edx, eax
cmp edx, 0x20
jae 0x401fc2
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.0040ad91
add esp, 8
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x401fa8
mov eax, dword [ebp - 0x28]
lea edx, [ecx + ecx]
add edx, 2
cmp edx, 0x1000
jb 0x401f9e
mov edx, eax
add edx, 0xfffffffc
mov eax, dword [eax - 4]
sub edx, eax
cmp edx, 0x20
jae 0x401fc2
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.0040ad91
add esp, 8
mov ecx, esi
mov esi, ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040adc8
mov eax, esi
add esp, 0x6c
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
call fcn.0042d843
push str.invalid_stoull_argument
call fcn.0040fb10
push str.stoull_argument_out_of_range
call fcn.0040fb50
int3