Function at 0x413430
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x14
test byte [eax], 1
jne 0x413442
mov al, 2
add esp, 0x14
ret
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push ebx
push ebp
push esi
push edi
push ecx
push edx
call fcn.00412840
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x3c]
lea edi, [eax + 1]
lea ebx, [edi*4]
push ebx
call sub.MFC42.DLL_operatornew
push ebx
mov ebp, eax
call sub.MFC42.DLL_operatornew
push ebx
mov dword [esp + 0x28], eax
call sub.MFC42.DLL_operatornew
push ebx
mov esi, eax
call sub.MFC42.DLL_operatornew
push edi
push ebp
mov ebx, eax
call fcn.004127c0
mov ecx, dword [esp + 0x34]
push edi
push ecx
call fcn.004127c0
push edi
push esi
call fcn.004127c0
push edi
push ebx
call fcn.004127c0
mov edi, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
push edi
push edx
push ebp
mov byte [esp + 0x5c], 0
mov byte [esp + 0x64], 0
call fcn.0041c160
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x58]
add esp, 0x44
push eax
push ecx
push edx
call fcn.0041c160
mov dword [esi], 1
mov dword [esp + 0x38], edi
mov edi, dword [esp + 0x40]
add esp, 0xc
mov dword [esp + 0x10], 1
mov dword [esp + 0x1c], 0
test byte [ebp], 1
jne 0x413555
mov eax, dword [esp + 0x2c]
push eax
push ebp
call fcn.00412930
mov dword [esp + 0x34], eax
mov al, byte [esi]
add esp, 8
test al, 1
je 0x41353c
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x1c]
push 0
lea eax, [esp + 0x18]
push edx
push eax
push ecx
push esi
call fcn.00412ed0
add esp, 0x18
mov byte [esp + 0x18], al
mov edx, dword [esp + 0x10]
push edx
push esi
call fcn.00412930
mov dword [esp + 0x18], eax
mov al, byte [ebp]
add esp, 8
test al, 1
je 0x413501
mov eax, dword [esp + 0x14]
test byte [eax], 1
jne 0x4135b2
mov ecx, dword [esp + 0x14]
push edi
push ecx
call fcn.00412930
mov edi, eax
mov al, byte [ebx]
add esp, 8
test al, 1
je 0x413597
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x24]
push 0
lea ecx, [esp + 0x24]
push eax
push ecx
push edx
push ebx
call fcn.00412ed0
add esp, 0x18
mov byte [esp + 0x20], al
mov eax, dword [esp + 0x1c]
push eax
push ebx
call fcn.00412930
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
add esp, 8
test byte [ecx], 1
je 0x41355e
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
push edi
push edx
push eax
push ebp
call fcn.004128d0
add esp, 0x10
test al, al
je 0x413644
cmp al, 1
jne 0x41360a
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x2c]
push edi
push ecx
push edx
push ebp
call fcn.00412d50
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x20]
push eax
mov eax, dword [esp + 0x2c]
push ecx
push ebx
push edx
push eax
push esi
call fcn.00412f60
add esp, 0x28
mov byte [esp + 0x18], al
jmp 0x4134fb
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x14]
push ecx
push ebp
push edi
push edx
call fcn.00412d50
mov ecx, dword [esp + 0x28]
mov edi, eax
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x34]
push ecx
push esi
push edx
push eax
push ebx
call fcn.00412f60
add esp, 0x28
mov byte [esp + 0x20], al
jmp 0x4134fb
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x10]
push edi
push ecx
push edx
push esi
call fcn.004128d0
add esp, 0x10
cmp al, 1
jne 0x413689
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x10]
push edi
push eax
push ecx
push esi
call fcn.00412d50
mov edx, dword [esp + 0x40]
push edi
push edx
push eax
push esi
mov dword [esp + 0x30], eax
call fcn.004128d0
add esp, 0x20
cmp al, 1
je 0x413660
mov al, byte [esp + 0x18]
test al, al
je 0x4136a9
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
push eax
push esi
push edi
push ecx
call fcn.00412e00
add esp, 0x10
mov dword [esp + 0x10], eax
cmp dword [esp + 0x2c], 1
jne 0x4136d6
cmp dword [ebp], 1
jne 0x4136d6
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x10]
push edi
push esi
push ecx
mov dword [edx], eax
call fcn.0041c160
add esp, 0xc
mov byte [esp + 0x30], 0
jmp 0x4136db
mov byte [esp + 0x30], 1
push ebp
call sub.MFC42.DLL_operatordelete
mov edx, dword [esp + 0x18]
push edx
call sub.MFC42.DLL_operatordelete
push esi
call sub.MFC42.DLL_operatordelete
push ebx
call sub.MFC42.DLL_operatordelete
mov al, byte [esp + 0x40]
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret