Function at 0x49dd60
Capabilities:
Terminate process

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x8307c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebx + 8]
xor cl, cl
mov dword [ebp - 0x3cc], ecx
mov byte [ebp - 0x3b8], cl
xor ecx, ecx
cmp byte [0x836398], cl
push esi
mov esi, dword [ebx + 0xc]
setne cl
mov dword [ebp - 0x3b0], eax
mov eax, dword [ebx + 0x10]
push edi
mov edi, dword [ebx + 0x14]
mov dword [ebp - 0x3bc], eax
mov eax, dword [ebx + 0x18]
push 0
mov dword [ebp - 0x3d0], eax
lea eax, [ebp - 0x3a0]
mov dword [ebp - 0x3c0], ecx
lea ecx, [ebp - 0x420]
push 0x200
mov dword [ebp - 0x210], eax
mov eax, dword [0x836388]
push ecx
push eax
mov dword [ebp - 0x3a8], 0
mov dword [ebp - 0x3a4], 0x64
mov dword [ebp - 0x20c], eax
mov byte [ebp - 0x3a9], 0
mov dword [ebp - 0x3c4], 0
call fcn.0049b2c0
lea eax, [ebp - 0x420]
push eax
call fcn.0049cd70
mov edx, eax
add esp, 0x14
mov dword [ebp - 0x3c8], edx
test edx, edx
je 0x49e1f0
mov ecx, dword [ebp - 0x3bc]
cmp dword [ecx], 2
jl 0x49de9a
mov ecx, dword [edi]
mov edx, str.__no_defaults
mov ecx, dword [ecx + 4]
nop dword [eax]
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x49de70
test al, al
je 0x49de6c
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x49de70
add ecx, 2
add edx, 2
test al, al
jne 0x49de50
xor eax, eax
jmp 0x49de75
sbb eax, eax
or eax, 1
mov ecx, dword [ebp - 0x3cc]
mov edx, 1
test eax, eax
movzx ecx, cl
cmove ecx, edx
mov edx, dword [ebp - 0x3c8]
mov dword [ebp - 0x3cc], ecx
mov byte [ebp - 0x3b8], cl
xor eax, eax
mov dword [ebp - 0x3e8], str.defaults
mov dword [ebp - 0x3ec], eax
mov dword [ebp - 0x3e4], esi
cmp dword [esi], eax
je 0x49dec5
lea esi, [esi + 4]
inc eax
cmp dword [esi], 0
jne 0x49deb6
mov dword [ebp - 0x3ec], eax
push dword [ebp - 0x3b8]
mov esi, dword [ebp - 0x3bc]
lea eax, [ebp - 0x420]
mov dword [ebp - 0x3dc], eax
lea eax, [ebp - 0x3a8]
push 0
mov dword [ebp - 0x3d8], eax
lea eax, [ebp - 0x3ec]
push edx
mov dword [ebp - 0x3d4], eax
lea eax, [ebp - 0x3dc]
push eax
push 0x49dc50
lea eax, [ebp - 0x3c4]
push eax
push edi
push esi
push dword [ebp - 0x3b0]
call fcn.0049e210
add esp, 0x24
mov dword [ebp - 0x3b0], eax
test eax, eax
je 0x49df68
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.0049b210
mov eax, dword [ebp - 0x210]
lea ecx, [ebp - 0x3a0]
add esp, 8
cmp eax, ecx
je 0x49df4f
push eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 4
mov eax, dword [ebp - 0x3b0]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e7e02
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
lea eax, [ebp - 0x208]
push 0x200
push eax
call fcn.0049dcd0
add esp, 8
test eax, eax
je 0x49dfc0
push dword [ebp - 0x3b8]
lea eax, [ebp - 0x3dc]
push 1
push dword [ebp - 0x3c8]
push eax
push 0x49dc50
lea eax, [ebp - 0x3c4]
push eax
push edi
lea eax, [ebp - 0x208]
push esi
push eax
call fcn.0049e210
add esp, 0x24
mov dword [ebp - 0x3b0], eax
test eax, eax
jne 0x49df25
mov eax, dword [esi]
add eax, dword [ebp - 0x3a8]
add eax, dword [ebp - 0x3c0]
lea eax, [eax*4 + 0x28]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.0049b130
add esp, 8
mov dword [ebp - 0x3b0], eax
test eax, eax
je 0x49e1f0
mov ecx, dword [edi]
lea edx, [eax + 0x24]
mov ecx, dword [ecx]
mov dword [edx], ecx
mov ecx, dword [ebp - 0x3a8]
mov dword [ebp - 0x3b8], ecx
test ecx, ecx
je 0x49e032
lea eax, [ecx*4]
push eax
push dword [ebp - 0x210]
lea eax, [edx + 4]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x3a8]
add esp, 0xc
mov dword [ebp - 0x3b8], eax
mov eax, dword [ebp - 0x3c4]
sub dword [esi], eax
shl eax, 2
add dword [edi], eax
cmp dword [esi], 2
mov eax, dword [edi]
jl 0x49e085
mov eax, dword [eax + 4]
mov ecx, str.__print_defaults
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x49e070
test dl, dl
je 0x49e06c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x49e070
add eax, 2
add ecx, 2
test dl, dl
jne 0x49e050
xor eax, eax
jmp 0x49e075
sbb eax, eax
or eax, 1
test eax, eax
jne 0x49e085
dec dword [esi]
add dword [edi], 4
mov byte [ebp - 0x3a9], 1
cmp byte [0x836398], 0
mov ecx, dword [ebp - 0x3b8]
mov edx, dword [ebp - 0x3b0]
je 0x49e0a9
mov eax, dword [str.____args_separator____]
mov dword [edx + ecx*4 + 0x28], eax
mov ecx, dword [ebp - 0x3a8]
mov eax, dword [esi]
test eax, eax
je 0x49e0da
lea eax, [eax*4 - 4]
add edx, 0x28
push eax
mov eax, dword [edi]
add eax, 4
push eax
mov eax, dword [ebp - 0x3c0]
add eax, ecx
lea eax, [edx + eax*4]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp - 0x3a8]
add esp, 0xc
mov eax, dword [esi]
mov edx, dword [ebp - 0x3b0]
add eax, ecx
add eax, dword [ebp - 0x3c0]
lea ecx, [edx + 0x24]
mov dword [ecx + eax*4], 0
mov eax, dword [ebp - 0x3a8]
movups xmm0, xmmword [ebp - 0x420]
add eax, dword [ebp - 0x3c0]
add dword [esi], eax
mov dword [edi], ecx
mov ecx, dword [ebp - 0x3d0]
movups xmmword [edx], xmm0
movups xmm0, xmmword [ebp - 0x410]
movups xmmword [edx + 0x10], xmm0
mov eax, dword [ebp - 0x400]
mov dword [edx + 0x20], eax
test ecx, ecx
je 0x49e134
mov eax, dword [ebp - 0x3c8]
mov dword [ecx], eax
cmp byte [ebp - 0x3cc], 0
je 0x49e16b
mov eax, dword [ebp - 0x210]
lea ecx, [ebp - 0x3a0]
cmp eax, ecx
je 0x49e156
push eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 4
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.004e7e02
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
cmp byte [ebp - 0x3a9], 0
je 0x49e13d
mov eax, dword [edi]
push dword [eax]
push str._s_would_have_been_started_with_the_following_arguments:_n
call fcn.0040107b
mov ecx, dword [ebp - 0x3bc]
mov esi, 1
add esp, 8
cmp dword [ecx], esi
jle 0x49e1da
mov eax, dword [edi]
mov eax, dword [eax + esi*4]
cmp eax, dword [str.____args_separator____]
je 0x49e1cf
push 0xa
push 0x4fecc4
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x49e1bd
push str.__password
jmp 0x49e1c2
mov eax, dword [edi]
push dword [eax + esi*4]
push 0x4fece4
call fcn.0040107b
add esp, 8
mov eax, dword [ebp - 0x3bc]
inc esi
cmp esi, dword [eax]
jl 0x49e194
push 0x4fbd0e
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_puts]
add esp, 4
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
push str.Fatal_error_in_defaults_handling._Program_aborted_
push 0
call fcn.0049a1a0
add esp, 8
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3