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

Disassembly:
push 0xffffffffffffffff
push 0x670856
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push ebp
push esi
mov esi, ecx
test esi, esi
push edi
mov dword [esp + 0x18], esi
je 0x43afdd
mov eax, dword [esi + 4]
test eax, eax
jne 0x43afe4
xor eax, eax
jmp 0x43b295
mov eax, dword [esp + 0x78]
mov eax, dword [eax + 8]
test eax, eax
mov dword [esp + 0x1c], eax
jne 0x43affd
mov eax, 1
jmp 0x43b295
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
call fcn.00435450
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
xor ebx, ebx
test ecx, ecx
mov ebp, edx
mov edi, eax
jle 0x43b052
mov ecx, dword [esp + 0x78]
push eax
push edx
lea edx, [esp + 0x2c]
mov ecx, dword [ecx + 4]
push edx
mov ecx, dword [ecx + ebx*4]
mov esi, dword [ecx]
call dword [esi]
mov edx, dword [eax]
mov eax, dword [eax + 4]
cmp edi, eax
jg 0x43b03f
mov edi, eax
cmp ebp, edx
jg 0x43b045
mov ebp, edx
mov ecx, dword [esp + 0x1c]
inc ebx
cmp ebx, ecx
jl 0x43b01f
mov esi, dword [esp + 0x18]
mov ecx, esi
call fcn.004358b0
test eax, eax
mov dword [esp + 0x14], eax
je 0x43b295
mov ebx, ebp
imul ebx, edi
lea eax, [ebx*4]
push eax
call sub.MFC42u.DLL_operatornew
add esp, 4
mov dword [esp + 0x20], eax
xor ecx, ecx
cmp eax, ecx
mov dword [esp + 0x70], ecx
je 0x43b0b3
dec ebx
mov dword [esp + 0x10], eax
cmp ebx, ecx
jl 0x43b0ad
inc ebx
mov ecx, dword [esp + 0x10]
call fcn.0044a750
mov ecx, dword [esp + 0x10]
add ecx, 4
dec ebx
mov dword [esp + 0x10], ecx
jne 0x43b092
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], eax
jmp 0x43b0b9
mov dword [esp + 0x10], ecx
mov eax, ecx
test eax, eax
mov dword [esp + 0x70], 0xffffffff
je 0x43b295
mov ecx, dword [esi + 8]
push ecx
push edi
push ebp
push eax
call fcn.00435ac0
mov ebp, dword [esp + 0x3c]
mov ebx, dword [esp + 0x40]
add esp, 0x10
xor esi, esi
mov edi, 1
mov dword [esp + 0x20], esi
cmp esi, dword [esp + 0x1c]
jge 0x43b201
test esi, esi
jle 0x43b1a4
cmp dword [esp + 0x2c], ebp
jl 0x43b109
cmp dword [esp + 0x30], ebx
jge 0x43b16b
mov edx, dword [esp + 0x14]
push edx
call sub.MFC42u.DLL_operatordelete
mov esi, ebp
imul esi, ebx
lea eax, [esi*4]
push eax
call sub.MFC42u.DLL_operatornew
mov edi, eax
add esp, 8
mov dword [esp + 0x24], edi
test edi, edi
mov dword [esp + 0x70], 1
je 0x43b15d
dec esi
mov dword [esp + 0x14], edi
test esi, esi
jl 0x43b15f
inc esi
mov ecx, dword [esp + 0x14]
call fcn.0044a750
mov ecx, dword [esp + 0x14]
add ecx, 4
dec esi
mov dword [esp + 0x14], ecx
jne 0x43b144
jmp 0x43b15f
xor edi, edi
mov dword [esp + 0x70], 0xffffffff
mov dword [esp + 0x14], edi
mov ecx, ebp
mov esi, dword [esp + 0x10]
imul ecx, ebx
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
shl ecx, 2
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x10]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [eax + 8]
push ecx
push ebx
push ebp
push edx
call fcn.00435ac0
mov esi, dword [esp + 0x30]
add esp, 0x10
mov edi, dword [esp + 0x78]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebx
push ebx
mov eax, dword [edi + 4]
push ebp
mov ecx, dword [eax + esi*4]
lea eax, [esp + 0x3c]
push eax
mov edx, dword [ecx]
call dword [edx]
mov ecx, dword [edi + 4]
mov edi, dword [esp + 0x7c]
mov ebx, dword [eax + 4]
mov ebp, dword [eax]
push edi
mov edi, ebx
mov eax, ebp
push edi
mov ecx, dword [ecx + esi*4]
push eax
mov eax, dword [esp + 0x1c]
mov edx, dword [ecx]
push eax
mov eax, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x2c]
push eax
call dword [edx + 4]
mov edi, eax
inc esi
test edi, edi
mov dword [esp + 0x20], esi
jne 0x43b0eb
jmp 0x43b27c
test edi, edi
je 0x43b27c
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push ebx
push ebp
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ebp, eax
test ebp, ebp
je 0x43b27c
lea ecx, [esp + 0x3c]
push ebp
push ecx
mov ecx, dword [esp + 0x20]
call fcn.00435930
test eax, eax
je 0x43b268
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x3c]
push 0
push edx
push eax
push ebx
push 0
push ebp
push esi
call dword [sym.imp.GDI32.dll_SetDIBits]
test eax, eax
je 0x43b268
mov edi, dword [esp + 0x18]
mov eax, dword [edi + 4]
test eax, eax
je 0x43b25e
mov ecx, edi
call sub.MFC42u.DLL_CGdiObject::DeleteObject
push ebp
mov ecx, edi
call sub.MFC42u.DLL_CGdiObject::Attach
mov edi, eax
push esi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
test edi, edi
jne 0x43b27c
push ebp
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [esp + 0x14]
push ecx
call sub.MFC42u.DLL_operatordelete
mov edx, dword [esp + 0x14]
push edx
call sub.MFC42u.DLL_operatordelete
add esp, 8
mov eax, edi
mov ecx, dword [esp + 0x68]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x64
ret 8