Function at 0x40aaf0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x426450
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
movq qword [esp + 0x44], xmm0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x30], eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x90], 0
xor eax, eax
mov dword [esp + 0x7c], 7
mov dword [esp + 0x78], 0
mov word [esp + 0x68], ax
xor esi, esi
movq qword [esp + 0x38], xmm0
xor edi, edi
mov dword [esp + 0x40], eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
sub esp, 0x18
xor ecx, ecx
mov eax, esp
mov dword [esp + 0x2c], esp
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], esi
mov word [eax], cx
sub esp, 0x18
mov byte [esp + 0xc0], 3
mov ecx, esp
xor eax, eax
push eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], esi
push 0x42a5c0
mov word [ecx], ax
call fcn.00403be0
mov byte [esp + 0xc0], 2
call fcn.0041b130
push 0x41dbb0
call dword [sym.imp.dnutility.dll_public:_static_void___cdecl_utility::global::init_void____cdecl___char_const___int__wchar_t_const___]
add esp, 0x34
push str._r_n_r_n_dnconsole_start_
push 0x3f
push str.wmain
call dword [sym.imp.dnutility.dll_void___cdecl_utility_log_char_const___int__wchar_t_const__]
mov ebx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
mov eax, 1
add esp, 0xc
mov dword [esp + 0x14], eax
cmp dword [ebp + 8], eax
jle 0x40add7
lea ecx, [ecx]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
mov edx, dword [ecx + eax*4]
xor eax, eax
mov word [esp + 0x18], ax
cmp word [edx], ax
jne 0x40ac47
xor ecx, ecx
jmp 0x40ac63
mov ecx, edx
lea edi, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40ac50
sub ecx, edi
mov edi, dword [esp + 0x38]
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x20]
call fcn.00403be0
lea eax, [esp + 0x18]
mov byte [esp + 0x90], 4
cmp eax, esi
jae 0x40ad22
cmp edi, eax
ja 0x40ad22
mov ecx, eax
mov eax, 0x2aaaaaab
sub ecx, edi
imul ecx
sar edx, 2
mov edi, edx
shr edi, 0x1f
add edi, edx
cmp esi, dword [esp + 0x40]
jne 0x40acb3
push ecx
lea ecx, [esp + 0x3c]
call fcn.0040b020
mov esi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
lea eax, [edi + edi*2]
lea edi, [ecx + eax*8]
test esi, esi
je 0x40ada2
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp dword [edi + 0x14], 8
jae 0x40acf4
mov eax, dword [edi + 0x10]
inc eax
je 0x40acfe
add eax, eax
push eax
push edi
push esi
call dword [sym.imp.MSVCR120.dll_memmove]
add esp, 0xc
jmp 0x40acfe
mov eax, dword [edi]
mov dword [esi], eax
mov dword [edi], 0
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
jmp 0x40ada2
cmp esi, dword [esp + 0x40]
jne 0x40ad36
push ecx
lea ecx, [esp + 0x3c]
call fcn.0040b020
mov esi, dword [esp + 0x3c]
test esi, esi
je 0x40ada2
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp dword [esp + 0x2c], 8
jae 0x40ad6f
mov eax, dword [esp + 0x28]
inc eax
je 0x40ad7d
add eax, eax
push eax
lea eax, [esp + 0x1c]
push eax
push esi
call dword [sym.imp.MSVCR120.dll_memmove]
add esp, 0xc
jmp 0x40ad7d
mov eax, dword [esp + 0x18]
mov dword [esi], eax
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x28]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x14], eax
xor eax, eax
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
mov word [esp + 0x18], ax
add esi, 0x18
mov byte [esp + 0x90], 2
cmp dword [esp + 0x2c], 8
mov dword [esp + 0x3c], esi
jb 0x40adc1
push dword [esp + 0x18]
call ebx
add esp, 4
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x38]
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [ebp + 8]
jl 0x40ac20
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x48]
call fcn.00409470
xor ecx, ecx
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], 0
mov word [esp + 0x50], cx
mov byte [esp + 0x90], 5
mov eax, 0x2aaaaaab
mov ecx, dword [esp + 0x3c]
xor esi, esi
mov edi, dword [esp + 0x38]
sub ecx, edi
imul ecx
sar edx, 2
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
je 0x40ae65
cmp ebx, esi
jbe 0x40ae5a
push 0xffffffffffffffff
push 0
push edi
lea ecx, [esp + 0x5c]
call fcn.004040b0
push 1
push 0x42c690
lea ecx, [esp + 0x58]
call fcn.00409350
inc esi
add edi, 0x18
cmp ebx, esi
ja 0x40ae27
cmp dword [esp + 0x64], 8
jb 0x40ae65
mov eax, dword [esp + 0x50]
jmp 0x40ae69
push str.invalid_vector_T__subscript
call dword [sym.imp.MSVCP120.dll_void___cdecl_std::_Xout_of_range_char_const__]
lea eax, [esp + 0x50]
push eax
push str.cmdline_is__s
push 0x4b
push str.wmain
call dword [sym.imp.dnutility.dll_void___cdecl_utility_log_char_const___int__wchar_t_const__]
add esp, 0x10
mov dword [esp + 0x14], 0
lea eax, [esp + 0x14]
lea ecx, [esp + 0x44]
push eax
lea eax, [esp + 0x6c]
push eax
call fcn.00404400
test al, al
jne 0x40aea8
lea eax, [esp + 0x68]
push eax
call fcn.00404a90
cmp dword [esp + 0x78], 0
je 0x40aeb8
lea ecx, [esp + 0x68]
call fcn.0040a850
call fcn.0041b6d0
call dword [sym.imp.dnutility.dll_public:_static_void___cdecl_utility::global::uninit_void_]
cmp dword [esp + 0x64], 8
jb 0x40aed7
push dword [esp + 0x50]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ebx, dword [esp + 0x38]
xor eax, eax
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], 0
mov word [esp + 0x50], ax
test ebx, ebx
je 0x40af39
mov edi, dword [esp + 0x3c]
mov esi, ebx
cmp ebx, edi
je 0x40af2b
cmp dword [esi + 0x14], 8
jb 0x40af11
push dword [esi]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
add esi, 0x18
cmp esi, edi
jne 0x40af00
push ebx
mov ebx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
call ebx
add esp, 4
jmp 0x40af3f
mov ebx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
cmp dword [esp + 0x7c], 8
jb 0x40af4f
push dword [esp + 0x68]
call ebx
add esp, 4
mov ebx, dword [esp + 0x44]
xor eax, eax
mov dword [esp + 0x7c], 7
mov dword [esp + 0x78], 0
mov word [esp + 0x68], ax
test ebx, ebx
je 0x40afad
mov edi, dword [esp + 0x48]
mov esi, ebx
cmp ebx, edi
je 0x40afa3
cmp dword [esi + 0x14], 8
jb 0x40af89
push dword [esi]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
add esi, 0x18
cmp esi, edi
jne 0x40af78
push ebx
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.00424ad0
mov esp, ebp
pop ebp
ret