Function at 0x4ba8b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f354e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
xor ebx, ebx
push edi
mov edi, ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 8], ebx
mov dword [esp + 0x10], ebx
push 0x53a380
lea ecx, [esp + 0x24]
mov byte [esp + 0x34], 2
call fcn.00404b80
mov eax, dword [0x53404c]
mov byte [esp + 0x30], 3
cmp eax, ebx
jne 0x4ba956
cmp dword [0x534048], ebx
jne 0x4ba956
push 0x110
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x24], eax
cmp eax, ebx
mov byte [esp + 0x30], 4
je 0x4ba92b
push ebx
mov ecx, eax
call fcn.00404ab0
jmp 0x4ba92d
xor eax, eax
mov dword [0x534048], eax
mov eax, dword [0x525b68]
push eax
push 0x404a80
mov ecx, 0x538d90
mov byte [esp + 0x38], 3
call fcn.00402180
mov dword [0x53404c], 1
mov ecx, dword [esp + 0x20]
push esi
mov esi, dword [0x534048]
mov byte [esp + 0x34], 2
mov edx, dword [ecx]
call dword [edx + 8]
mov eax, dword [esi]
lea ecx, [esp + 0x10]
push ecx
push esi
call dword [eax + 0xa0]
test eax, eax
jl 0x4baaf2
cmp dword [esp + 0x10], ebx
je 0x4baaf2
push 0x53a3c0
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
call fcn.00404b80
mov eax, dword [0x534040]
mov byte [esp + 0x34], 5
cmp eax, ebx
jne 0x4baa03
cmp dword [0x53403c], ebx
jne 0x4baa03
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x28], eax
cmp eax, ebx
mov byte [esp + 0x34], 6
je 0x4ba9d7
mov ecx, eax
call fcn.00431c60
jmp 0x4ba9d9
xor eax, eax
mov edx, dword [0x525888]
mov ecx, 0x538d90
push edx
push 0x4031b0
mov byte [esp + 0x3c], 5
mov dword [0x53403c], eax
call fcn.00402180
mov dword [0x534040], 1
mov ecx, dword [esp + 0x24]
mov esi, dword [0x53403c]
mov byte [esp + 0x34], 2
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [esi]
lea edx, [esp + 0xc]
push edx
push esi
call dword [ecx + 8]
test eax, eax
jl 0x4baaf2
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x4bab42
push 0x526190
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.004030c0
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x1c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x20]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x24]
mov dword [esp + 0x24], ebx
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0xc]
push 0x52ade0
lea ecx, [esp + 0x1c]
push eax
push ecx
mov byte [esp + 0x40], 7
call fcn.004030c0
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x28]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x20]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x28]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x48]
mov eax, dword [esp + 0x18]
mov byte [esp + 0x34], 2
cmp eax, ebx
je 0x4baaf2
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x4bab42
mov dword [esp + 0x18], ebx
mov eax, dword [edi + 0x10]
lea edx, [esp + 0x18]
push edx
push 0x528300
mov ecx, dword [eax]
push eax
mov byte [esp + 0x40], 8
call dword [ecx]
test eax, eax
jl 0x4bab2b
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0xc]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x110]
mov eax, dword [esp + 0x18]
mov byte [esp + 0x34], 2
cmp eax, ebx
je 0x4bab3e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x34], 1
cmp ecx, ebx
pop esi
je 0x4bab5a
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, dword [esp + 8]
cmp eax, ebx
mov byte [esp + 0x30], bl
je 0x4bab68
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0xc]
pop edi
cmp eax, ebx
mov dword [esp + 0x2c], 0xffffffff
pop ebx
je 0x4bab80
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret