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

Disassembly:
push 0xffffffffffffffff
push 0x412ef8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x1c], edi
call fcn.0040c6f0
push 0x10
call sub.MFC42.DLL_operatornew
xor ebx, ebx
add esp, 4
cmp eax, ebx
je 0x40c854
mov dword [eax + 0xc], ebx
mov dword [eax + 8], ebx
mov dword [eax + 4], ebx
mov dword [eax], ebx
jmp 0x40c856
xor eax, eax
cmp eax, ebx
mov dword [edi + 0x14], eax
mov dword [edi + 0x814], eax
jne 0x40c86a
xor eax, eax
jmp 0x40ccc3
push 0x10
call sub.MFC42.DLL_operatornew
add esp, 4
cmp eax, ebx
je 0x40c885
mov dword [eax + 0xc], ebx
mov dword [eax + 8], ebx
mov dword [eax + 4], ebx
mov dword [eax], ebx
jmp 0x40c887
xor eax, eax
mov ecx, dword [edi + 0x814]
push 0x10
mov dword [ecx + 8], eax
call sub.MFC42.DLL_operatornew
add esp, 4
cmp eax, ebx
je 0x40c8ab
mov dword [eax + 0xc], ebx
mov dword [eax + 8], ebx
mov dword [eax + 4], ebx
mov dword [eax], ebx
jmp 0x40c8ad
xor eax, eax
mov edx, dword [edi + 0x814]
mov dword [edx + 0xc], eax
mov eax, dword [edi + 0x814]
mov dword [eax + 4], 0xffffffff
mov eax, dword [edi + 0x814]
cmp dword [eax + 8], ebx
jne 0x40c8d5
xor eax, eax
jmp 0x40ccc3
cmp dword [eax + 0xc], ebx
jne 0x40c8e1
xor eax, eax
jmp 0x40ccc3
mov cl, byte [esp + 0x88]
mov byte [esp + 0x48], cl
lea ecx, [esp + 0x4c]
call fcn.0040d2e0
lea ecx, [esp + 0x5c]
call fcn.0040d2e0
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov eax, dword [edi + 0x814]
lea ecx, [esp + 0x48]
add eax, 8
mov dword [esp + 0x80], ebx
push eax
call fcn.0040cd90
mov eax, dword [edi + 0x814]
lea ecx, [esp + 0x48]
add eax, 0xc
push eax
call fcn.0040cd90
mov ebp, 1
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x20], ebp
mov edx, dword [esp + 0x88]
mov esi, dword [esp + 0x10]
mov cl, byte [edx + ebp]
mov eax, ecx
and eax, 0xff
add esi, eax
cmp cl, bl
mov dword [esp + 0x10], esi
jbe 0x40c9cb
xor esi, esi
cmp eax, ebx
jle 0x40c9cb
cmp dword [esp + 0x74], ebx
je 0x40cc88
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x74]
mov edi, dword [eax]
add eax, 4
dec ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0x74], ecx
je 0x40c995
cmp eax, dword [esp + 0x50]
jne 0x40c99e
lea ecx, [esp + 0x48]
call fcn.0040d1f0
mov edx, dword [esp + 0x8c]
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov cl, byte [eax + edx]
inc eax
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x14], eax
xor eax, eax
mov al, byte [ecx + ebp]
inc esi
cmp esi, eax
jl 0x40c96d
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x74]
mov dword [esp + 0x18], ebx
cmp eax, ebx
mov dword [esp + 0x24], eax
jle 0x40cb3e
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x74]
mov edi, dword [eax]
add eax, 4
dec ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0x74], ecx
je 0x40c9fd
cmp eax, dword [esp + 0x50]
jne 0x40ca06
lea ecx, [esp + 0x48]
call fcn.0040d1f0
push 0x10
call sub.MFC42.DLL_operatornew
add esp, 4
cmp eax, ebx
je 0x40ca21
mov dword [eax + 0xc], ebx
mov dword [eax + 8], ebx
mov dword [eax + 4], ebx
mov dword [eax], ebx
jmp 0x40ca23
xor eax, eax
lea esi, [edi + 8]
cmp eax, ebx
mov dword [esi], eax
je 0x40cc04
push 0x10
call sub.MFC42.DLL_operatornew
add esp, 4
cmp eax, ebx
je 0x40ca4b
mov dword [eax + 0xc], ebx
mov dword [eax + 8], ebx
mov dword [eax + 4], ebx
mov dword [eax], ebx
jmp 0x40ca4d
xor eax, eax
lea ebp, [edi + 0xc]
cmp eax, ebx
mov dword [ebp], eax
je 0x40cc4a
mov dword [edi + 4], 0xffffffff
mov eax, dword [esp + 0x74]
cmp eax, ebx
je 0x40ca96
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
cmp ecx, edx
je 0x40ca96
lea eax, [ecx + 4]
push esi
cmp eax, edx
mov dword [esp + 0x68], eax
push ecx
jne 0x40caae
call fcn.0040d320
add esp, 8
lea ecx, [esp + 0x48]
call fcn.0040d090
jmp 0x40cab6
lea ecx, [esp + 0x48]
call fcn.0040d090
mov eax, dword [esp + 0x64]
push esi
mov ecx, eax
add eax, 4
mov dword [esp + 0x68], eax
push ecx
call fcn.0040d320
add esp, 8
mov eax, dword [esp + 0x74]
inc eax
mov dword [esp + 0x74], eax
je 0x40caf8
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
cmp ecx, edx
je 0x40caf8
lea eax, [ecx + 4]
cmp eax, edx
mov dword [esp + 0x64], eax
jne 0x40caed
push ebp
push ecx
call fcn.0040d320
add esp, 8
lea ecx, [esp + 0x48]
call fcn.0040d090
jmp 0x40cb18
cmp ecx, ebx
je 0x40cb18
mov edx, dword [ebp]
mov dword [ecx], edx
jmp 0x40cb18
lea ecx, [esp + 0x48]
call fcn.0040d090
mov eax, dword [esp + 0x64]
push ebp
mov ecx, eax
add eax, 4
push ecx
mov dword [esp + 0x6c], eax
call fcn.0040d320
add esp, 8
mov esi, dword [esp + 0x74]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
inc esi
inc eax
mov dword [esp + 0x74], esi
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x40c9df
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
inc ebp
cmp ebp, 0x14
mov dword [esp + 0x20], ebp
jl 0x40c948
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x10]
cmp eax, ebx
mov dword [edi + 0x1818], edx
mov dword [esp + 0x80], 0xffffffff
je 0x40ccbf
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x74]
add ecx, 4
dec edx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x74], edx
je 0x40cb91
cmp ecx, dword [esp + 0x50]
jne 0x40ccb5
mov ecx, eax
add eax, 4
mov dword [esp + 0x58], eax
mov eax, dword [ecx]
push eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x78]
add esp, 4
cmp eax, ebx
jne 0x40cc8c
lea ecx, [esp + 0x28]
call fcn.0040d2e0
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x4c], eax
push ecx
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], eax
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], esi
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
add esp, 4
jmp 0x40ccb5
mov eax, dword [esp + 0x74]
mov dword [esp + 0x80], 0xffffffff
cmp eax, ebx
je 0x40cc46
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x74]
add ecx, 4
dec eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x74], eax
je 0x40cc37
mov eax, ecx
mov ecx, dword [esp + 0x50]
cmp eax, ecx
jne 0x40cc40
lea ecx, [esp + 0x48]
call fcn.0040d1f0
cmp dword [esp + 0x74], ebx
jne 0x40cc17
xor eax, eax
jmp 0x40ccc3
mov eax, dword [esp + 0x74]
mov dword [esp + 0x80], 0xffffffff
cmp eax, ebx
je 0x40cc88
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x74]
add ecx, 4
dec eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x74], eax
je 0x40cc79
cmp ecx, dword [esp + 0x50]
jne 0x40cc82
lea ecx, [esp + 0x48]
call fcn.0040d1f0
cmp dword [esp + 0x74], ebx
jne 0x40cc5d
xor eax, eax
jmp 0x40ccc3
mov eax, dword [esp + 0x58]
lea ecx, [esp + 0x38]
push eax
mov edx, dword [eax]
push edx
call fcn.0040d2f0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x40]
cmp dword [esp + 0x74], ebx
jne 0x40cb75
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x78]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x74
ret 8