Function at 0x40b750
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4aea12
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0xc18374]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebp
push esi
push edi
mov eax, dword [0xc18374]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov eax, dword [esp + 0x64]
mov esi, dword [esp + 0x60]
push eax
lea ecx, [esp + 0x34]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
cmp dword [esp + 0x48], 0x10
mov eax, dword [esp + 0x34]
mov dword [esp + 0x58], 0
jae 0x40b7ab
lea eax, [esp + 0x34]
lea ecx, [esp + 0x68]
push ecx
push eax
push 0x3fc
push 0xc18518
call dword [sym.imp.MSVCR90.dll__vsnprintf]
mov edi, dword [esi]
add esp, 0x10
cmp edi, 1
jle 0x40b7d0
mov edi, 1
call fcn.0040b270
mov eax, dword [eax + 0x38]
lea edx, [esp + 0x14]
push edx
mov dword [eax + 0x20], edi
call fcn.0040b270
mov ecx, eax
call fcn.0040a7a0
mov ebp, eax
mov byte [esp + 0x58], 1
call fcn.0040b270
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x2c], esp
push ebp
mov edi, eax
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov ecx, dword [edi + 0x38]
call fcn.0040ab90
mov eax, dword [esi + 4]
mov ecx, dword [edi + 0x38]
push eax
call fcn.0040a8f0
mov ecx, dword [edi + 0x38]
push 0x4e051c
call fcn.0040a8f0
lea ecx, [esp + 0x14]
mov byte [esp + 0x58], 0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov edi, dword [esi]
call fcn.0040b270
mov eax, dword [eax + 0x38]
mov dword [eax + 0x20], edi
call fcn.0040b270
mov ecx, dword [eax + 0x38]
push 0xc18518
call fcn.0040a8f0
mov eax, dword [esi]
cmp eax, 1
mov edi, 1
jg 0x40b867
mov edi, eax
call fcn.0040b270
mov eax, dword [eax + 0x38]
mov dword [eax + 0x20], edi
call fcn.0040b270
mov edi, eax
mov ecx, dword [edi + 0x38]
push 0x4e0518
call fcn.0040a8f0
mov eax, dword [esi + 8]
mov ecx, dword [edi + 0x38]
push eax
call fcn.0040a8f0
mov ecx, dword [edi + 0x38]
push 0x4e0514
call fcn.0040a8f0
mov eax, dword [esi + 0xc]
mov ecx, dword [edi + 0x38]
push eax
call fcn.0040aab0
mov ecx, dword [edi + 0x38]
push 0x4e0244
call fcn.0040a8f0
mov esi, dword [esi]
call fcn.0040b270
mov eax, dword [eax + 0x38]
mov dword [eax + 0x20], esi
call fcn.0040b270
mov ecx, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push ecx
mov ecx, dword [eax + 0x38]
call fcn.0040a9d0
lea ecx, [esp + 0x30]
mov dword [esp + 0x58], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.004ac9a4
add esp, 0x4c
ret