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

Disassembly:
push 0xffffffffffffffff
push 0x67b89f38
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x67bb57cc]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x80]
push eax
call fcn.67b50d80
mov edx, dword [esi + 0x54]
mov eax, dword [esp + 0x84]
mov edx, dword [edx + 0x14]
lea edi, [esi + 0x54]
push eax
mov ecx, edi
call edx
push 0
push 0
push 0x7f00
push 0
mov dword [esi + 0xe4], 0xffffffff
mov dword [esi + 0x104], 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
push 0x20000
call sub.MFC80U.DLL_Ordinal_1156
cmp dword [esi + 0xc0], 0
mov ebp, eax
mov ebx, 8
mov dword [esp + 0x1c], 0x40
je 0x67b512c4
call fcn.67b820c0
test eax, eax
je 0x67b512c4
lea eax, [esp + 0x1c]
push 1
push eax
call sub.ImUtilsU.dll_Ordinal_810
mov ecx, eax
call sub.ImUtilsU.dll_Ordinal_561
test eax, eax
je 0x67b512c4
mov dword [esp + 0x84], 1
mov ebx, 0x80008
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 0x20]
mov edx, dword [esi]
mov edx, dword [edx + 0x64]
push 0
push 0
push ecx
push 8
push 1
push 0
push 0
push SysReAllocStringLen
push 0
push ebp
push ebx
mov ecx, esi
call edx
test eax, eax
jne 0x67b512d1
xor eax, eax
jmp 0x67b518f9
mov dword [esp + 0x84], 0
jmp 0x67b51293
mov eax, dword [esi + 0x20]
push 1
push 0xff
push eax
lea ecx, [esi + 0x154]
call sym.ImLookU.dll_Ordinal_1560
mov ecx, esi
call sub.MFC80U.DLL_Ordinal_3079
xor ebp, ebp
cmp eax, ebp
mov dword [esi + 0x9c], eax
jne 0x67b51304
mov eax, dword [esp + 0x70]
mov dword [esi + 0x9c], eax
mov ecx, edi
call fcn.67b806e0
push 0x7f00
push ebp
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
push ebp
push 7
call sub.ImUtilsU.dll_Ordinal_810
mov ecx, eax
call sub.ImUtilsU.dll_Ordinal_1323
mov dword [esi + 0x110], eax
mov eax, dword [esi + 0x90]
cmp eax, ebp
jne 0x67b51341
xor eax, eax
jmp 0x67b51344
mov eax, dword [eax + 4]
mov ecx, dword [esi + 0x9c]
mov ecx, dword [ecx + 0x20]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push ebp
push 0x211
push ecx
call edi
mov eax, dword [esi + 0x90]
cmp eax, ebp
mov edx, dword [esp + 0x7c]
mov dword [esi + 0x94], edx
jne 0x67b51375
xor eax, eax
jmp 0x67b51378
mov eax, dword [eax + 4]
push ebp
push eax
mov eax, dword [esi + 0x20]
push 0x117
push eax
call edi
mov edx, dword [esi]
mov edx, dword [edx + 0x144]
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x18]
push ecx
lea eax, [esp + 0x48]
push eax
mov ecx, esi
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x20], ebp
call edx
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x67b512bd
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x84]
push ecx
mov ecx, esi
call fcn.67b50760
mov eax, dword [esi + 0x90]
mov edx, dword [eax + 4]
push edx
call dword [sym.imp.USER32.dll_GetMenuItemCount]
mov ecx, dword [esi + 0x90]
mov edi, eax
lea eax, [esp + 0x50]
push eax
push ebp
mov dword [esp + 0x78], edi
call fcn.67b4bb90
xor ebx, ebx
cmp edi, ebp
jbe 0x67b51471
mov ecx, dword [esi + 0x90]
push ebx
call fcn.67b4bb70
test eax, 0x400000
jne 0x67b5141d
add ebx, 1
cmp ebx, edi
jb 0x67b51401
jmp 0x67b51471
mov edi, dword [esp + 0x5c]
sub edi, dword [esp + 0x54]
mov eax, dword [esp + 0x14]
imul edi, ebx
cmp eax, edi
jle 0x67b51471
sub eax, edi
push edi
push eax
mov dword [esi + 0x108], 1
call dword [sym.imp.MSVCR80.dll_div]
add esp, 8
cmp edx, ebp
mov dword [esp + 0x18], edx
je 0x67b51452
add eax, 1
mov ecx, dword [esp + 0x80]
lea edx, [ecx + 5]
imul edx, eax
lea eax, [ecx + edx - 3]
add edi, 0xfffffffb
mov dword [esp + 0x80], eax
mov dword [esp + 0x14], edi
mov ecx, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_GetParent]
push ecx
call edi
push eax
call sub.MFC80U.DLL_Ordinal_2366
test eax, eax
je 0x67b5149c
mov edx, dword [esi + 0x20]
push edx
call edi
push eax
call sub.MFC80U.DLL_Ordinal_2366
cmp eax, ebp
je 0x67b5149c
mov eax, dword [eax + 0x20]
jmp 0x67b5149e
xor eax, eax
lea ecx, [esp + 0x30]
push ecx
push eax
call sub.ImUtilsU.dll_Ordinal_2313
add esp, 8
mov dword [esp + 0x20], vtable.CGdiObject.0
mov dword [esp + 0x24], ebp
mov dword [esp + 0x68], ebp
mov dword [esp + 0x20], vtable.CRgn.0
mov dword [esp + 0x68], 1
mov eax, dword [esi + 0x20]
mov edx, dword [esp + 0x74]
push eax
mov dword [esi + 0x114], edx
call edi
push eax
call sub.MFC80U.DLL_Ordinal_2366
mov ecx, eax
call sym.ImLookU.dll_Ordinal_1449
push eax
call sub.MFC80U.DLL_Ordinal_3946
mov ebx, dword [esp + 0x80]
mov ebp, dword [esp + 0x14]
mov edi, dword [esp + 0x3c]
test eax, eax
mov eax, dword [esp + 0x74]
je 0x67b5165a
cmp eax, 2
jne 0x67b5155d
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x7c]
mov edx, dword [ecx]
push ebp
push ebx
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x4c]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x50]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x64]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov ecx, esi
mov dword [eax + 0xc], edi
call fcn.67b4e690
jmp 0x67b5179e
cmp eax, 4
jne 0x67b515b0
mov ecx, dword [esp + 0x78]
mov edx, dword [ecx]
lea eax, [esp + 0x40]
push eax
push ebp
push ebx
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x4c]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x50]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x64]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov ecx, esi
mov dword [eax + 0xc], edi
call fcn.67b4e720
jmp 0x67b5179e
cmp eax, 1
jne 0x67b51603
mov ecx, dword [esp + 0x78]
mov edx, dword [ecx]
lea eax, [esp + 0x40]
push eax
push ebp
push ebx
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x4c]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x50]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x64]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov ecx, esi
mov dword [eax + 0xc], edi
call fcn.67b4e7a0
jmp 0x67b5179e
cmp eax, 3
jne 0x67b5179e
mov ecx, dword [esp + 0x78]
mov edx, dword [ecx]
lea eax, [esp + 0x40]
push eax
push ebp
push ebx
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x4c]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x50]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x64]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov ecx, esi
mov dword [eax + 0xc], edi
call fcn.67b4e830
jmp 0x67b5179e
cmp eax, 2
jne 0x67b516ad
mov ecx, dword [esp + 0x78]
mov edx, dword [ecx]
lea eax, [esp + 0x40]
push eax
push ebp
push ebx
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x4c]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x50]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x64]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov ecx, esi
mov dword [eax + 0xc], edi
call fcn.67b4e8b0
jmp 0x67b5179e
cmp eax, 4
jne 0x67b51700
mov ecx, dword [esp + 0x78]
mov edx, dword [ecx]
lea eax, [esp + 0x40]
push eax
push ebp
push ebx
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x4c]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x50]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x64]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov ecx, esi
mov dword [eax + 0xc], edi
call fcn.67b4e960
jmp 0x67b5179e
cmp eax, 1
jne 0x67b51750
mov ecx, dword [esp + 0x78]
mov edx, dword [ecx]
lea eax, [esp + 0x40]
push eax
push ebp
push ebx
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x4c]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x50]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x64]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov ecx, esi
mov dword [eax + 0xc], edi
call fcn.67b4ea20
jmp 0x67b5179e
cmp eax, 3
jne 0x67b5179e
mov ecx, dword [esp + 0x78]
mov edx, dword [ecx]
lea eax, [esp + 0x40]
push eax
push ebp
push ebx
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x4c]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x50]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x64]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov ecx, esi
mov dword [eax + 0xc], edi
call fcn.67b4ead0
mov edx, dword [esp + 0x44]
cmp edx, 0x12
jg 0x67b517b3
mov dword [esp + 0x44], 0x12
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
add ebx, ecx
cmp dword [esp + 0x70], 0
lea eax, [edx + ebp]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], eax
jbe 0x67b51839
mov ebp, eax
sub ebp, edx
cmp ebp, edi
jle 0x67b51839
mov ecx, dword [esp + 0x5c]
sub ecx, dword [esp + 0x54]
sub eax, edi
mov ebx, eax
mov eax, edi
cdq
idiv ecx
mov dword [esi + 0x108], 1
imul eax, ecx
mov dword [esp + 0x4c], eax
sub eax, dword [esp + 0x44]
push eax
push ebx
call dword [sym.imp.MSVCR80.dll_div]
add esp, 8
test edx, edx
mov dword [esp + 0x2c], edx
je 0x67b5180f
add eax, 1
mov ecx, dword [esp + 0x80]
mov ebx, dword [esp + 0x48]
add ecx, 5
imul ecx, eax
mov eax, dword [esp + 0x4c]
mov edx, 3
sub edx, ecx
mov ecx, dword [esp + 0x40]
add ecx, edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x40], ecx
push 1
sub eax, edx
push eax
sub ebx, ecx
push ebx
push edx
push ecx
mov ecx, esi
call sub.MFC80U.DLL_Ordinal_4119
cmp dword [esi + 0x110], 0
je 0x67b5186e
push 9
push 1
push str.menu_open.wav
call sym.ImLookU.dll_Ordinal_994
mov ecx, eax
call sym.ImLookU.dll_Ordinal_1406
mov dword [esi + 0x110], eax
push 5
mov ecx, esi
call sub.MFC80U.DLL_Ordinal_6086
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
lea edi, [esi + 0x11c]
push edi
mov dword [esi + 0x100], 1
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [esi + 0x20]
push edi
push ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, esi
call sub.MFC80U.DLL_Ordinal_5829
cmp dword [esp + 0x84], 0
je 0x67b518d8
mov edx, dword [esi + 0x20]
push 0
push edx
call sym.ImLookU.dll_Ordinal_1676
mov eax, dword [esi + 0x20]
add esp, 8
push 0
push 1
push 3
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [esi + 0x12c], eax
or eax, 0xffffffff
mov dword [esp + 0x68], eax
mov dword [esp + 0x20], vtable.CRgn.0
mov dword [esp + 0x68], eax
lea ecx, [esp + 0x20]
call fcn.67b35b80
mov eax, 1
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 0x18