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

Disassembly:
push 0xffffffffffffffff
push 0x67b8eb12
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push ebp
push esi
push edi
mov eax, dword [0x67bb57cc]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esp + 0x58]
test edi, edi
je 0x67b7d32d
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
call edx
mov ecx, eax
call sub.MFC80U.DLL_Ordinal_3395
mov ebx, eax
lea ecx, [esp + 0x58]
mov dword [esp + 0x14], ebx
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
mov dword [esp + 0x50], 0
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
mov ecx, esi
call edx
test eax, eax
je 0x67b7d104
lea ecx, [esp + 0x58]
push ecx
mov ecx, eax
call sub.MFC80U.DLL_Ordinal_3756
mov ebp, dword [edi]
push 0x100
push 1
mov ecx, esi
call sym.ImLookU.dll_Ordinal_995
mov ecx, eax
call sym.ImLookU.dll_Ordinal_449
mov edx, dword [ebp + 0x30]
push eax
mov ecx, edi
call edx
push 1
mov ecx, edi
mov dword [esp + 0x28], eax
call sub.MFC80U.DLL_Ordinal_5727
mov ebp, dword [edi]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x60]
neg eax
sbb eax, eax
add eax, 5
push eax
mov ecx, esi
call sym.ImLookU.dll_Ordinal_995
mov ecx, eax
call sym.ImLookU.dll_Ordinal_434
mov edx, dword [ebp + 0x38]
push eax
mov ecx, edi
call edx
mov dword [esp + 0x2c], eax
mov ebp, ebx
mov eax, ebx
shr ebp, 0x13
shr eax, 0x11
and ebp, 1
and eax, 1
shr ebx, 0x10
add ebp, eax
and ebx, 1
push 1
lea ecx, [esp + 0x5c]
add ebp, ebx
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
push eax
lea ecx, [esp + 0x38]
push edi
push ecx
call sub.ImUtilsU.dll_Ordinal_1320
mov edx, dword [esp + 0x78]
add esp, 0x10
push edx
mov ecx, esi
call sym.ImLookU.dll_Ordinal_995
mov ecx, eax
call sym.ImLookU.dll_Ordinal_507
movsx ebx, ax
mov ecx, esi
add ebx, 4
call sym.ImLookU.dll_Ordinal_995
test dword [esp + 0x14], 0x10000
mov ecx, eax
je 0x67b7d1c4
call fcn.67b64150
jmp 0x67b7d1c9
call fcn.67b616d0
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov dword [esp + 0x18], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
sub ecx, edx
mov dword [esp + 0x68], ecx
mov ecx, esi
mov dword [esp + 0x20], eax
call sym.ImLookU.dll_Ordinal_995
mov ecx, eax
call fcn.67b650e0
mov ecx, dword [eax + 8]
sub ecx, dword [eax]
mov dword [esp + 0x60], ecx
mov ecx, esi
call sym.ImLookU.dll_Ordinal_995
mov ecx, eax
call fcn.67b65090
mov ecx, dword [eax + 8]
sub ecx, dword [eax]
mov edx, dword [esp + 0x60]
movzx eax, byte [esi + 0x21]
lea ecx, [ecx + edx + 0xa]
mov edx, dword [esp + 0x34]
imul ecx, eax
mov eax, dword [esp + 0x68]
imul eax, ebp
add ecx, eax
lea ebp, [edx + ebx]
mov edx, dword [esp + 0x5c]
mov eax, dword [edx + 8]
sub eax, dword [edx]
mov edx, dword [esp + 0x30]
sub eax, ecx
mov dword [esp + 0x40], eax
sub eax, ecx
cmp edx, eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x44], ebp
jge 0x67b7d26e
sub eax, edx
cdq
sub eax, edx
sar eax, 1
add ecx, eax
mov eax, dword [esp + 0x30]
push ebp
add eax, ecx
push eax
push ebx
push ecx
lea ecx, [esp + 0x48]
push ecx
call dword [sym.imp.USER32.dll_SetRect]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
push 0x4800
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x54]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x58]
push ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
lea edx, [esp + 0x70]
mov ecx, esp
mov dword [esp + 0x78], esp
push edx
call dword [sym.imp.MFC80U.DLL_Ordinal_280]
mov byte [esp + 0x68], 1
mov eax, dword [esi]
push edi
mov byte [esp + 0x6c], 0
mov eax, dword [eax + 0x2c]
mov ecx, esi
call eax
mov esi, dword [esi + 0x2c]
test esi, esi
je 0x67b7d2f3
mov ebx, dword [esp + 0x3c]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x38]
sub eax, ebx
add ecx, 0xffffffec
cdq
mov dword [esp + 0x14], ecx
push 0
sub eax, edx
lea ecx, [esp + 0x18]
push ecx
sar eax, 1
push 0
lea eax, [eax + ebx - 7]
push edi
mov ecx, esi
mov dword [esp + 0x28], eax
call sym.ImLookU.dll_Ordinal_1566
mov edx, dword [edi]
mov eax, dword [esp + 0x24]
mov edx, dword [edx + 0x30]
push eax
mov ecx, edi
call edx
mov eax, dword [esp + 0x28]
push eax
mov ecx, edi
call sub.MFC80U.DLL_Ordinal_5727
mov edx, dword [edi]
mov eax, dword [esp + 0x2c]
mov edx, dword [edx + 0x38]
push eax
mov ecx, edi
call edx
mov dword [esp + 0x50], 0xffffffff
lea ecx, [esp + 0x58]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 0x14