Function at 0x433020
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43e9f0
push eax
mov eax, dword [0x45b63c]
mov dword fs:[0], esp
sub esp, 0xf0
push ebx
xor ebx, ebx
cmp eax, ebx
push esi
je 0x43359a
mov eax, dword [0x45b638]
cmp dword [eax - 8], ebx
je 0x43359a
mov ecx, dword [esp + 0x110]
push edi
mov esi, 0x440f38
push 0xfa000
mov dword [ecx], 0xffffffff
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call sub.MFC42.DLL_operatornew
mov edi, eax
mov ecx, 0x3e800
xor eax, eax
mov dword [esp + 0x28], edi
rep stosd dword es:[edi], eax
add esp, 4
mov dword [esp + 0x28], 0xfa000
lea edx, [esp + 0x20]
lea ecx, [esp + 0xa0]
push edx
mov dword [esp + 0x108], ebx
call fcn.00431300
lea ecx, [esp + 0xa0]
mov byte [esp + 0x104], 1
mov dword [esp + 0xa0], 0x440f34
call fcn.00431db0
push 0x19000
mov byte [esp + 0x108], 2
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
call sub.MFC42.DLL_operatornew
mov edi, eax
mov ecx, 0x6400
xor eax, eax
mov dword [esp + 0x1c], edi
rep stosd dword es:[edi], eax
add esp, 4
mov dword [esp + 0x1c], 0x19000
lea eax, [esp + 0x14]
lea ecx, [esp + 0x34]
push eax
call fcn.00431300
lea ecx, [esp + 0x34]
mov byte [esp + 0x104], 4
mov dword [esp + 0x34], 0x440f34
call fcn.00431db0
mov eax, dword [esp + 0x70]
mov byte [esp + 0x104], 5
cmp eax, ebx
pop edi
je 0x43314e
mov dword [eax], 6
lea ecx, [esp + 8]
test ecx, ecx
je 0x433160
cmp dword [esp + 8], ebx
jne 0x4331ec
lea edx, [esp + 8]
lea eax, [esp + 0x108]
push edx
push 4
push eax
lea ecx, [esp + 0x40]
call fcn.00430fb0
cmp eax, 1
je 0x433186
cmp eax, 2
je 0x433186
xor cl, cl
jmp 0x433188
mov cl, 1
cmp eax, ebx
je 0x4331ec
cmp cl, bl
je 0x4331ec
cmp eax, 1
jne 0x4331dc
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0x48]
call dword [edx + 0x28]
cmp eax, ebx
ja 0x4331ad
lea ecx, [esp + 0x30]
call fcn.00431c50
lea eax, [esp + 0x48]
lea ecx, [esp + 0x34]
push eax
call fcn.004311d0
lea ecx, [esp + 0x108]
push 4
push ecx
lea ecx, [esp + 0x38]
call fcn.00431cd0
lea edx, [esp + 8]
test edx, edx
je 0x4331fe
mov dword [esp + 8], eax
jmp 0x4331ec
lea eax, [esp + 8]
test eax, eax
je 0x4331fe
mov dword [esp + 8], 0xffffffff
lea ecx, [esp + 8]
test ecx, ecx
je 0x4331fe
cmp dword [esp + 8], ebx
jne 0x433282
lea edx, [esp + 8]
lea eax, [esp + 0x10c]
push edx
push 4
push eax
lea ecx, [esp + 0x40]
call fcn.00430fb0
cmp eax, 1
je 0x433224
cmp eax, 2
je 0x433224
xor cl, cl
jmp 0x433226
mov cl, 1
cmp eax, ebx
je 0x43327c
cmp cl, bl
je 0x43327c
cmp eax, 1
jne 0x4332e5
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0x48]
call dword [edx + 0x28]
cmp eax, ebx
ja 0x43324f
lea ecx, [esp + 0x30]
call fcn.00431c50
lea eax, [esp + 0x48]
lea ecx, [esp + 0x34]
push eax
call fcn.004311d0
lea ecx, [esp + 0x10c]
push 4
push ecx
lea ecx, [esp + 0x38]
call fcn.00431cd0
lea edx, [esp + 8]
test edx, edx
je 0x43327c
mov dword [esp + 8], eax
cmp dword [esp + 8], ebx
je 0x4332f7
lea ecx, [esp + 0x30]
mov byte [esp + 0x100], 3
mov dword [esp + 0x30], 0x440f34
call fcn.004326e0
lea ecx, [esp + 0x30]
call fcn.00431740
lea ecx, [esp + 0x10]
call fcn.00431290
lea ecx, [esp + 0x9c]
mov byte [esp + 0x100], bl
call fcn.00431d80
lea ecx, [esp + 0x1c]
call fcn.00431290
pop esi
mov eax, 0xfffffffc
pop ebx
mov ecx, dword [esp + 0xf0]
mov dword fs:[0], ecx
add esp, 0xfc
ret
lea eax, [esp + 8]
test eax, eax
je 0x43327c
mov dword [esp + 8], 0xffffffff
jmp 0x433282
mov edx, dword [0x45b638]
lea ecx, [esp + 0x2b]
push ecx
push edx
lea ecx, [esp + 0x94]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___class_std::allocator_char__const__]
mov edx, dword [0x45b63c]
lea eax, [esp + 0x9c]
lea ecx, [esp + 0x30]
push eax
push ecx
lea eax, [esp + 0x94]
push edx
push eax
mov byte [esp + 0x110], 6
call fcn.00434910
add esp, 0x10
lea ecx, [esp + 0x8c]
mov esi, eax
mov byte [esp + 0x100], 5
push 1
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
cmp esi, ebx
je 0x4333a8
lea ecx, [esp + 0x30]
mov byte [esp + 0x100], 3
call fcn.00431d80
lea ecx, [esp + 0x10]
call fcn.00431290
lea ecx, [esp + 0x9c]
mov byte [esp + 0x100], bl
call fcn.00431d80
lea ecx, [esp + 0x1c]
call fcn.00431290
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0xf0]
mov dword fs:[0], ecx
add esp, 0xfc
ret
lea ecx, [esp + 8]
lea edx, [esp + 0xc]
push ecx
push edx
lea ecx, [esp + 0xa4]
mov dword [esp + 0x10], ebx
call fcn.00431860
lea eax, [esp + 8]
lea ecx, [esp + 0x2c]
push eax
push 4
push ecx
lea ecx, [esp + 0xa8]
mov dword [esp + 0x38], ebx
call fcn.004325b0
cmp dword [esp + 8], ebx
je 0x433447
lea ecx, [esp + 0xc]
mov byte [esp + 0x100], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x100], 3
call fcn.00431d80
lea ecx, [esp + 0x10]
call fcn.00431290
lea ecx, [esp + 0x9c]
mov byte [esp + 0x100], bl
call fcn.00431d80
lea ecx, [esp + 0x1c]
call fcn.00431290
pop esi
mov eax, 0xfffffffb
pop ebx
mov ecx, dword [esp + 0xf0]
mov dword fs:[0], ecx
add esp, 0xfc
ret
mov edx, dword [esp + 0xc]
mov esi, dword [sym.imp.MSVCRT.dll__mbscmp]
push str.SUCCESS
push edx
call esi
add esp, 8
test eax, eax
jne 0x4334cd
mov ecx, dword [esp + 0x110]
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x100], 5
mov dword [ecx], eax
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x100], 3
call fcn.00431d80
lea ecx, [esp + 0x10]
call fcn.00431290
lea ecx, [esp + 0x9c]
mov byte [esp + 0x100], bl
call fcn.00431d80
lea ecx, [esp + 0x1c]
call fcn.00431290
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0xf0]
mov dword fs:[0], ecx
add esp, 0xfc
ret
mov edx, dword [esp + 0xc]
push str.FAILURE
push edx
call esi
add esp, 8
mov byte [esp + 0x100], 5
test eax, eax
lea ecx, [esp + 0xc]
jne 0x433543
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x100], 3
call fcn.00431d80
lea ecx, [esp + 0x10]
call fcn.00431290
lea ecx, [esp + 0x9c]
mov byte [esp + 0x100], bl
call fcn.00431d80
lea ecx, [esp + 0x1c]
call fcn.00431290
pop esi
mov eax, 0xfffffffe
pop ebx
mov ecx, dword [esp + 0xf0]
mov dword fs:[0], ecx
add esp, 0xfc
ret
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x100], 3
call fcn.00431d80
lea ecx, [esp + 0x10]
call fcn.00431290
lea ecx, [esp + 0x9c]
mov byte [esp + 0x100], bl
call fcn.00431d80
lea ecx, [esp + 0x1c]
call fcn.00431290
pop esi
mov eax, 0xfffffffa
pop ebx
mov ecx, dword [esp + 0xf0]
mov dword fs:[0], ecx
add esp, 0xfc
ret
mov ecx, dword [esp + 0xf8]
pop esi
or eax, 0xffffffff
pop ebx
mov dword fs:[0], ecx
add esp, 0xfc
ret