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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x783ae472
mov eax, dword fs:[0]
push eax
sub esp, 0x170
push ebx
push esi
push edi
mov eax, dword [0x783c8018]
xor eax, esp
push eax
lea eax, [esp + 0x180]
mov dword fs:[0], eax
mov dword [esp + 0x1c], ecx
mov esi, 0x783c8d10
push esi
lea ecx, [esp + 0x18]
call sym.MFC80U.DLL_Ordinal_269
and dword [esp + 0x188], 0
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x782e9450
call ebx
mov edi, eax
inc edi
push edi
lea ecx, [esp + 0x18]
call sym.MFC80U.DLL_Ordinal_5190
push edi
mov edi, dword [ebp + 0xc]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_GetClassNameW]
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call sym.MFC80U.DLL_Ordinal_5398
push dword [edi]
call sym.MFC80U.DLL_Ordinal_2369
push 0x782e9450
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], eax
call sym.MFC80U.DLL_Ordinal_1472
test eax, eax
jne 0x78319a5e
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x78319a5e
push 0x782eb710
call sym.MFC80U.DLL_Ordinal_3946
test eax, eax
je 0x78319a5e
mov ecx, dword [esp + 0x10]
call sym.MFC80U.DLL_Ordinal_3079
test eax, eax
je 0x783194df
cmp dword [esp + 0x1c], eax
je 0x783194df
push dword [ebp + 0x10]
mov ecx, eax
push edi
push dword [ebp + 8]
call sym.MFC80U.DLL_Ordinal_4225
mov esi, eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.78303c47
mov eax, esi
jmp 0x78319a6c
lea ecx, [esp + 0x78]
call sym.MFC80U.DLL_Ordinal_329
push esi
lea ecx, [esp + 0x28]
mov byte [esp + 0x18c], 1
call sym.MFC80U.DLL_Ordinal_269
push esi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x18c], 2
call sym.MFC80U.DLL_Ordinal_269
xor eax, eax
mov dword [esp + 0x3c], 0x782efecc
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
push dword [esp + 0x1c]
lea ecx, [esp + 0xac]
mov byte [esp + 0x18c], 4
call sym.MFC80U.DLL_Ordinal_330
mov byte [esp + 0x188], 5
mov eax, dword [edi + 0xc]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esp + 0x12c]
push ecx
push eax
mov eax, dword [esp + 0x18]
push 0x41c
push dword [eax + 0x20]
mov dword [esp + 0x13c], 0x50
mov dword [esp + 0x140], 0x10
call esi
mov eax, dword [edi + 0xc]
lea ecx, [esp + 0x88]
push ecx
push eax
mov eax, dword [esp + 0x18]
push 0x409
push dword [eax + 0x20]
call esi
push 0x782e946c
call ebx
mov ebx, eax
inc ebx
push ebx
lea ecx, [esp + 0x18]
call sym.MFC80U.DLL_Ordinal_5190
push ebx
push eax
push dword [esp + 0x154]
call dword [sym.imp.USER32.dll_GetClassNameW]
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call sym.MFC80U.DLL_Ordinal_5398
push dword [esp + 0x14c]
call sym.MFC80U.DLL_Ordinal_2369
push 0x782e946c
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], eax
call sym.MFC80U.DLL_Ordinal_1472
test eax, eax
jne 0x78319a0f
mov ecx, dword [esp + 0x20]
xor ebx, ebx
cmp ecx, ebx
je 0x78319a0f
push 0x782ea5b8
call sym.MFC80U.DLL_Ordinal_3946
test eax, eax
je 0x78319a0f
mov ecx, dword [esp + 0x10]
add edi, 0x18
mov eax, dword [edi]
mov dword [esp + 0x90], eax
lea eax, [esp + 0x88]
push eax
mov dword [esp + 0x64], edi
call sym.MFC80U.DLL_Ordinal_1416
mov edi, dword [esp + 0x20]
lea eax, [esp + 0x88]
push eax
mov ecx, edi
call sym.MFC80U.DLL_Ordinal_5609
push ebx
push ebx
push 0x418
push dword [edi + 0x20]
call esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x10], eax
dec dword [esp + 0x10]
lea eax, [esp + 0xec]
push eax
push dword [esp + 0x14]
push 0x41d
push dword [edi + 0x20]
call esi
lea eax, [esp + 0xec]
push eax
lea eax, [esp + 0x8c]
push eax
lea eax, [esp + 0x104]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
jne 0x78319690
cmp dword [esp + 0x10], ebx
ja 0x7831964e
push 0x30
pop edi
push edi
lea eax, [esp + 0xc0]
push ebx
push eax
call sub.MSVCR80.dll_memset
mov eax, dword [esp + 0x2c]
add esp, 0xc
push ebx
push ebx
push 0x431
mov dword [esp + 0xc8], edi
push dword [eax + 0x20]
call esi
push eax
call sym.MFC80U.DLL_Ordinal_2364
mov dword [esp + 0x38], eax
mov dword [esp + 0x50], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x4c], 0x782e9694
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x10]
push 0xffffffffffffffff
sub eax, esi
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x190], 6
call sym.MFC80U.DLL_Ordinal_5999
call dword [sym.imp.USER32.dll_CreatePopupMenu]
push eax
lea ecx, [esp + 0x7c]
call sym.MFC80U.DLL_Ordinal_1274
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0xac]
call fcn.7831a153
xor edi, edi
cmp esi, dword [esp + 0x28]
mov dword [esp + 0x30], edi
jae 0x7831993b
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x34]
push eax
push dword [esp + 0x1c]
call sym.MFC80U.DLL_Ordinal_2471
test byte [esp + 0x64], 1
jne 0x783198f4
push dword [esp + 0x2c]
lea ecx, [esp + 0x28]
mov dword [esp + 0xc4], 0x162
call sym.MFC80U.DLL_Ordinal_4026
test eax, eax
je 0x78319784
push 0xa
push 1
push dword [esp + 0x2c]
lea eax, [esp + 0x24]
push eax
call sym.MFC80U.DLL_Ordinal_1053
jmp 0x7831978d
lea ecx, [esp + 0x18]
call sym.MFC80U.DLL_Ordinal_2121
push 8
call sym.MFC80U.DLL_Ordinal_762
cmp eax, ebx
pop ecx
je 0x783197a4
mov dword [eax + 4], ebx
mov dword [eax], sym.MFC80U.DLL_Ordinal_3155
jmp 0x783197a6
xor eax, eax
push eax
push edi
lea ecx, [esp + 0x54]
call sym.MFC80U.DLL_Ordinal_5708
mov eax, dword [esp + 0x38]
cmp eax, ebx
je 0x783198c5
mov eax, dword [eax + 4]
lea ecx, [esp + 0x10c]
push ecx
push dword [esp + 0x38]
push eax
call sym.MFC80U.DLL_Ordinal_1079
mov eax, dword [eax + 0x94]
mov ecx, dword [eax]
call fcn.7831a07f
test eax, eax
je 0x783198c5
lea eax, [esp + 0x11c]
push eax
lea eax, [esp + 0x6c]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
neg eax
push eax
neg ecx
push ecx
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
cmp edi, ebx
jl 0x78319a0a
cmp edi, dword [esp + 0x54]
jge 0x78319a0a
push dword [esp + 0x74]
mov eax, dword [esp + 0x54]
push dword [esp + 0x74]
lea esi, [eax + edi*4]
push dword [esp + 0xb4]
mov edi, dword [esi]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, edi
call sym.MFC80U.DLL_Ordinal_1271
mov eax, dword [esi]
cmp eax, ebx
jne 0x78319855
xor eax, eax
jmp 0x78319858
mov eax, dword [eax + 4]
push eax
push dword [esp + 0x44]
call sym.MFC80U.DLL_Ordinal_5633
push 4
mov dword [esi], eax
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x44]
call sym.MFC80U.DLL_Ordinal_2255
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 4]
push ebx
push ebx
push dword [esp + 0x48]
push dword [esp + 0x40]
push eax
call sym.MFC80U.DLL_Ordinal_1079
mov eax, dword [eax + 0x94]
mov ecx, dword [eax]
call fcn.78319f9c
mov eax, dword [esi]
cmp eax, ebx
jne 0x783198a9
xor eax, eax
jmp 0x783198ac
mov eax, dword [eax + 4]
push eax
push dword [esp + 0x44]
call sym.MFC80U.DLL_Ordinal_5633
mov edi, dword [esp + 0x30]
mov dword [esi], eax
mov dword [esp + 0xdc], eax
jmp 0x783198cc
mov dword [esp + 0xdc], ebx
mov eax, dword [esp + 0x18]
mov dword [esp + 0xe0], eax
mov eax, dword [esp + 0x2c]
inc edi
mov dword [esp + 0xcc], eax
mov dword [esp + 0xc4], 0x100
mov dword [esp + 0x30], edi
jmp 0x7831990e
cmp edi, ebx
je 0x78319929
mov dword [esp + 0xc0], 0x100
mov dword [esp + 0xc4], 0x800
lea eax, [esp + 0xbc]
push eax
push 1
push dword [esp + 0x18]
push dword [esp + 0x88]
call dword [sym.imp.USER32.dll_InsertMenuItemW]
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x28]
jb 0x7831972d
push dword [esp + 0x60]
lea eax, [esp + 0x9c]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x98]
push eax
call sym.MFC80U.DLL_Ordinal_1416
push ebx
push dword [esp + 0x20]
lea ecx, [esp + 0x80]
push dword [esp + 0xac]
push dword [esp + 0xa4]
push ebx
call sym.MFC80U.DLL_Ordinal_6140
mov eax, dword [ebp + 0x10]
xor esi, esi
cmp edi, ebx
mov dword [eax], ebx
jbe 0x783199aa
cmp esi, ebx
jl 0x78319a0a
cmp esi, dword [esp + 0x54]
jge 0x78319a0a
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + esi*4]
cmp ecx, ebx
je 0x783199a5
mov eax, dword [ecx]
push 1
call dword [eax + 4]
inc esi
cmp esi, edi
jb 0x78319989
lea ecx, [esp + 0x4c]
call sym.MFC80U.DLL_Ordinal_676
lea ecx, [esp + 0xa8]
mov byte [esp + 0x188], 4
call sym.MFC80U.DLL_Ordinal_589
lea ecx, [esp + 0x3c]
mov byte [esp + 0x188], 3
call sym.MFC80U.DLL_Ordinal_602
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.78303c47
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
call fcn.78303c47
lea eax, [esp + 0x78]
push eax
mov byte [esp + 0x18c], 0
call fcn.78319a84
xor esi, esi
inc esi
jmp 0x783194cc
call sym.MFC80U.DLL_Ordinal_1176
lea ecx, [esp + 0xa8]
mov byte [esp + 0x188], 4
call sym.MFC80U.DLL_Ordinal_589
lea ecx, [esp + 0x3c]
mov byte [esp + 0x188], 3
call sym.MFC80U.DLL_Ordinal_602
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.78303c47
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
call fcn.78303c47
lea eax, [esp + 0x78]
push eax
mov byte [esp + 0x18c], 0
call fcn.78319a84
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.78303c47
xor eax, eax
mov ecx, dword [esp + 0x180]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc