Function at 0x438270
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c98b9
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov eax, dword [0x54e864]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x20], esi
xor ebx, ebx
lea ecx, [esi + 0xc]
mov dword [esp + 0x44], ebx
call dword [sym.imp.mfc100.dll_Ordinal_316]
lea ebp, [esi + 0x18]
push 0xc
mov byte [esp + 0x48], 1
mov dword [ebp + 4], ebx
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
cmp eax, ebx
je 0x438433
mov dword [ebp], eax
mov dword [eax], eax
mov eax, dword [ebp]
mov dword [eax + 4], eax
lea edi, [esi + 0x24]
push 0xc
mov byte [esp + 0x48], 2
mov dword [edi + 4], ebx
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
cmp eax, ebx
je 0x438409
mov dword [edi], eax
mov dword [eax], eax
mov eax, dword [edi]
mov dword [eax + 4], eax
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc100.dll_Ordinal_316]
mov ecx, dword [esp + 0x58]
mov eax, ecx
sub eax, ebx
mov ebx, dword [esp + 0x64]
mov byte [esp + 0x44], 4
je 0x43837c
dec eax
je 0x438359
dec eax
je 0x438336
push ecx
push str.BSound:_Error._Modo_de_eco__d_desconocido.
push 0
mov dword [esi + 4], 0
call fcn.0042a000
add esp, 0xc
jmp 0x4383a9
push 0x40
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x58], eax
mov byte [esp + 0x44], 7
test eax, eax
je 0x43839f
push ebx
push edi
push ebp
mov ecx, eax
call fcn.00437990
jmp 0x4383a1
push 0x40
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x58], eax
mov byte [esp + 0x44], 6
test eax, eax
je 0x43839f
push ebx
push edi
push ebp
mov ecx, eax
call fcn.00436f70
jmp 0x4383a1
push 0x30
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x58], eax
mov byte [esp + 0x44], 5
test eax, eax
je 0x43839f
push ebx
push edi
push ebp
mov ecx, eax
call fcn.00436970
jmp 0x4383a1
xor eax, eax
mov byte [esp + 0x44], 4
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x5c]
lea edx, [esp + 0x50]
mov dword [esi], ecx
push edx
lea ecx, [esi + 0xc]
mov dword [esi + 8], eax
call dword [sym.imp.mfc100.dll_Ordinal_1313]
mov al, byte [esp + 0x54]
mov ecx, dword [esp + 0x60]
mov byte [esi + 0x14], al
xor eax, eax
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x14]
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [esp + 0x50]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov eax, esi
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 0x1c
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x28]
mov dword [esp + 0x1c], ebx
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
push 0x51e22c
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x2c], vtable.std::bad_alloc.0
call sub.MSVCR100.dll__CxxThrowException
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x20], ebx
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
push 0x51e22c
lea edx, [esp + 0x34]
push edx
mov dword [esp + 0x38], vtable.std::bad_alloc.0
call sub.MSVCR100.dll__CxxThrowException
int3