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

Disassembly:
push 0xffffffffffffffff
push 0x4178ff
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa0
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0x14], esi
mov eax, dword [esi + 8]
cmp eax, ebx
jne 0x40c037
mov eax, 0x190
jmp 0x40c462
mov ecx, dword [esp + 0xbc]
lea edi, [esi + 0x240]
push edi
push ebx
mov edx, dword [ecx]
push ebx
push 6
push edx
call dword [eax + 0x32]
add esp, 0x14
cmp eax, ebx
jne 0x40c462
mov ecx, dword [esi + 8]
lea eax, [esp + 0x84]
push ebp
mov dword [esp + 0xa0], eax
mov eax, dword [edi]
lea edx, [esp + 0x9c]
push 1
push edx
push eax
mov dword [esp + 0x94], 1
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xb0], 4
call dword [ecx + 0x6a]
mov ecx, dword [esi + 8]
lea edx, [esp + 0x28]
push edx
mov edx, dword [edi]
lea eax, [esp + 0x24]
push 1
push eax
push edx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x38], ebx
call dword [ecx + 0x6e]
add esp, 0x1c
test eax, eax
jne 0x40c442
cmp dword [esp + 0x1c], 1
jne 0x40c442
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 8]
lea ecx, [esp + 0x38]
push 3
push ecx
mov ecx, dword [esi + 0x240]
push edx
push ecx
mov dword [esp + 0x48], 0x102
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], 0x11
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], 0x80455053
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
call dword [eax + 0x62]
add esp, 0x10
cmp eax, ebx
jne 0x40c442
mov edx, dword [esp + 0x40]
inc edx
push edx
call sub.MFC42u.DLL_operatornew
mov ebp, eax
mov dword [esp + 0x2c], ebp
mov eax, dword [esp + 0x50]
mov dword [esp + 0xbc], ebx
inc eax
push eax
call sub.MFC42u.DLL_operatornew
mov edi, eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x94], edi
mov ecx, dword [esp + 0x60]
mov byte [esp + 0xc0], 1
inc ecx
push ecx
call sub.MFC42u.DLL_operatornew
mov esi, eax
mov dword [esp + 0xb4], esi
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x54], edi
xor eax, eax
mov edi, ebp
lea ecx, [edx + 1]
mov dword [esp + 0x48], ebp
mov edx, ecx
mov dword [esp + 0x60], esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push 3
and ecx, 3
mov byte [esp + 0xc8], 2
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x5c]
mov edi, dword [esp + 0x58]
lea ecx, [eax + 1]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x68]
mov edi, dword [esp + 0x64]
lea ecx, [eax + 1]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
lea edx, [esp + 0x48]
and ecx, 3
push edx
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push edx
mov ecx, dword [eax + 8]
add eax, 0x240
mov eax, dword [eax]
push eax
call dword [ecx + 0x62]
add esp, 0x1c
cmp eax, ebx
jne 0x40c41a
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
lea ecx, [esp + 0x6c]
mov byte [esp + 0xb8], 4
call fcn.00407840
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x80], ebx
mov byte [esp + 0x84], bl
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x68], ebp
mov ebp, dword [esp + 0x64]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x64], eax
mov dword [esp + 0x78], ecx
lea edx, [esp + 0x12]
push ebx
push edx
lea ecx, [esp + 0x3c]
mov byte [esp + 0xc0], 6
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
call fcn.00401e80
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x13]
repne scasb al, byte es:[edi]
mov al, byte [esp + 0x12]
push edx
not ecx
dec ecx
mov byte [esp + 0xbc], 7
add ecx, esi
mov byte [esp + 0x17], al
push ecx
push esi
lea ecx, [esp + 0x38]
call fcn.00415a20
push ebx
lea eax, [esp + 0x30]
push ebx
lea ecx, [esp + 0x98]
push eax
push ecx
mov byte [esp + 0xc8], 8
call fcn.0040f880
add esp, 0x10
lea edx, [esp + 0x6c]
mov byte [esp + 0xb8], 9
cmp eax, edx
je 0x40c31c
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov ecx, dword [esp + 0x6c]
cmp eax, edx
je 0x40c2fb
cmp ecx, dword [esp + 0x70]
je 0x40c2f7
mov di, word [eax]
add eax, 2
mov word [ecx], di
add ecx, 2
cmp eax, edx
jne 0x40c2df
jmp 0x40c2fb
cmp eax, edx
jne 0x40c30c
mov eax, dword [esp + 0x70]
push eax
push ecx
lea ecx, [esp + 0x74]
call fcn.00407750
jmp 0x40c31c
lea ecx, [esp + 0x23]
push ecx
push edx
push eax
lea ecx, [esp + 0x78]
call fcn.0040eae0
mov edx, dword [esp + 0x98]
mov eax, dword [esp + 0x90]
sub edx, eax
lea ecx, [esp + 0x98]
sar edx, 1
push edx
push eax
mov byte [esp + 0xc0], 0xa
call fcn.0040e7d0
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
sub ecx, eax
mov byte [esp + 0xb8], 0xb
push ecx
push eax
lea ecx, [esp + 0x3c]
call fcn.0040e7d0
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x60], ecx
mov byte [esp + 0xb8], 5
mov edx, dword [eax]
lea edi, [eax + 0x14]
mov dword [esp + 0x5c], edx
lea edx, [esp + 0x5c]
push edx
push ecx
push esp
mov ecx, edi
mov byte [esp + 0x90], bl
call fcn.0040e170
lea eax, [esp + 0xb4]
mov ecx, edi
push eax
call fcn.0040e290
lea ecx, [esp + 0x6c]
mov byte [esp + 0xb8], 0xd
call fcn.0040a000
mov ecx, dword [esp + 0x68]
push ecx
call sub.MFC42u.DLL_operatordelete
mov edx, dword [esp + 0x68]
push edx
call sub.MFC42u.DLL_operatordelete
push esi
call sub.MFC42u.DLL_operatordelete
push ebp
call sub.MFC42u.DLL_operatordelete
mov eax, dword [esp + 0x38]
mov dword [esp + 0xc8], 0xffffffff
push eax
call sub.MFC42u.DLL_operatordelete
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x30]
push edx
lea edx, [esp + 0x2c]
mov ecx, dword [eax + 8]
add eax, 0x240
push 1
push edx
mov eax, dword [eax]
push eax
call dword [ecx + 0x6e]
mov esi, dword [esp + 0x3c]
add esp, 0x24
test eax, eax
je 0x40c0c1
jmp 0x40c442
push esi
call sub.MFC42u.DLL_operatordelete
mov ecx, dword [esp + 0x28]
push ecx
call sub.MFC42u.DLL_operatordelete
push ebp
mov dword [esp + 0xc4], 0xffffffff
call sub.MFC42u.DLL_operatordelete
mov esi, dword [esp + 0x24]
add esp, 0xc
mov eax, dword [esi + 0x240]
mov edx, dword [esi + 8]
lea edi, [esi + 0x240]
push eax
call dword [edx + 0x72]
mov edx, dword [edi]
mov ecx, dword [esi + 8]
push edx
call dword [ecx + 0x36]
add esp, 8
pop ebp
mov ecx, dword [esp + 0xac]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xac
ret 4