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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x138
xor eax, eax
mov ecx, 0x10
lea edx, [esp + 0xd0]
lea esi, [esp + 0x100]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0x10
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xac], esi
call fcn.0040bf30
mov eax, esp
lea ecx, [esp + 0xd0]
mov dword [eax], ecx
mov eax, dword [sym.imp.USER32.dll_TrackMouseEvent]
call eax
sub esp, 4
mov ecx, dword [esp + 0xac]
mov edx, dword [ecx]
mov esi, dword [ecx + 4]
mov edi, esp
mov dword [edi + 4], esi
mov dword [edi], edx
mov dword [edi + 8], 0xd15
mov edx, dword [sym.imp.USER32.dll_MonitorFromPoint]
mov dword [esp + 0xa8], eax
call edx
sub esp, 0xc
mov ecx, esp
lea edx, [esp + 0xb8]
mov dword [ecx + 0x18], edx
mov dword [ecx + 0x14], 0x1b1879
mov dword [ecx + 0x10], 0xb4c
mov dword [ecx + 0xc], 0x35f
mov dword [ecx + 8], 0xa2c
mov dword [ecx + 4], 0x975
mov dword [ecx], 0x2bb96a
mov ecx, dword [sym.imp.USER32.dll_TrackPopupMenu]
mov dword [esp + 0xa4], eax
call ecx
sub esp, 0x1c
xor ecx, ecx
lea edx, [esp + 0x108]
lea esi, [esp + 0xcc]
mov dword [esp + 0xa0], eax
mov dword [esp + 0x9c], edx
mov dword [esp + 0x98], esi
mov dword [esp + 0x94], ecx
jmp 0x403195
jmp 0x40310c
mov eax, esp
mov dword [eax + 4], 0x8e6a4b
mov dword [eax], 0x340bfd
mov eax, dword [sym.imp.GDI32.dll_PaintRgn]
call eax
sub esp, 8
mov ecx, esp
mov dword [ecx + 0xc], 0xc87
mov dword [ecx + 8], 0x812
mov dword [ecx + 4], 0x42470e
mov dword [ecx], 0x42470e
mov dword [esp + 0x90], eax
call sub.OLEAUT32.dll_VarR8Pow
sub esp, 0x10
mov dword [esp + 0x8c], eax
jmp 0x40327c
mov eax, dword [esp + 0x88]
add eax, 1
cmp eax, 0x125
mov dword [esp + 0x94], eax
jne 0x403195
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0xfc], 0xcfc
mov eax, esp
lea ecx, [esp + 0xfc]
mov dword [eax + 4], ecx
mov dword [eax], 0x2a7d28
mov eax, dword [sym.imp.ADVAPI32.dll_GetNumberOfEventLogRecords]
call eax
sub esp, 8
mov ecx, dword [esp + 0x88]
sub ecx, 0xc
mov dword [esp + 0x84], eax
mov dword [esp + 0x80], ecx
je 0x4032e4
jmp 0x403174
mov eax, dword [esp + 0x88]
sub eax, 0x4d
mov dword [esp + 0x7c], eax
je 0x403299
jmp 0x40318a
xor eax, eax
mov dword [esp + 0x78], eax
jmp 0x403346
mov eax, dword [esp + 0x94]
mov ecx, esp
lea edx, [esp + 0xe8]
mov dword [ecx + 0x10], edx
mov dword [ecx + 0xc], 0x636
mov dword [ecx + 8], 0x36f
mov dword [ecx + 4], 0x636
mov dword [ecx], 0x4029
mov ecx, dword [sym.imp.KERNEL32.dll_UnlockFileEx]
mov dword [esp + 0x88], eax
call ecx
sub esp, 0x14
mov ecx, dword [sym.imp.USER32.dll_CreatePopupMenu]
mov dword [esp + 0x74], eax
call ecx
mov ecx, esp
mov dword [ecx], 0xed9
mov ecx, dword [sym.imp.GDI32.dll_GdiSetBatchLimit]
mov dword [esp + 0x70], eax
call ecx
sub esp, 4
xor ecx, ecx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], ecx
mov eax, dword [esp + 0x68]
mov ecx, 0xaaaaaaab
mov dword [esp + 0x64], eax
mul ecx
shr edx, 3
imul eax, edx, 0xc
mov ecx, dword [esp + 0x64]
sub ecx, eax
mov eax, ecx
sub eax, 0xa
mov dword [esp + 0x60], ecx
mov dword [esp + 0x5c], eax
je 0x4030bb
jmp 0x403232
mov eax, dword [esp + 0x60]
sub eax, 1
mov dword [esp + 0x58], eax
jne 0x40327c
jmp 0x403241
mov byte [esp + 0x12b], 1
mov eax, esp
lea ecx, [esp + 0x12b]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], 0xe38
mov dword [eax + 4], 0xe38
mov dword [eax], 0xb018f6
mov eax, dword [sym.imp.ADVAPI32.dll_CryptSetProvParam]
call eax
sub esp, 0x10
mov dword [esp + 0x54], eax
jmp 0x4030bb
mov eax, dword [esp + 0x64]
add eax, 1
cmp eax, 0x395
mov dword [esp + 0x68], eax
je 0x40312d
jmp 0x403202
mov eax, 0x4eb661
mov dword [esp + 0x12c], eax
mov eax, esp
lea ecx, [esp + 0x12c]
mov dword [eax + 4], ecx
mov dword [eax], 0x5e1
mov eax, dword [sym.imp.ADVAPI32.dll_RegOpenCurrentUser]
call eax
sub esp, 8
mov ecx, esp
mov dword [ecx + 4], 0x52a
mov dword [ecx], 0x4081a3
mov ecx, dword [sym.imp.USER32.dll_GetClassWord]
mov dword [esp + 0x50], eax
call ecx
sub esp, 8
mov word [esp + 0x4e], ax
lea eax, [esp + 0xe0]
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe0], 0
mov ecx, dword [esp + 0x98]
mov dword [ecx], eax
mov eax, esp
lea edx, [esp + 0xcc]
mov dword [eax + 4], edx
mov dword [eax], 0x424716
mov eax, dword [sym.imp.ADVAPI32.dll_QueryUsersOnEncryptedFile]
call eax
sub esp, 8
mov ecx, esp
mov dword [ecx], 0x289145
mov ecx, dword [sym.imp.GDI32.dll_UnrealizeObject]
mov dword [esp + 0x48], eax
call ecx
sub esp, 4
mov dword [esp + 0x44], eax
jmp 0x40310c
mov eax, dword [esp + 0x78]
mov ecx, esp
mov dword [ecx], 0xa68993
mov ecx, dword [sym.imp.GDI32.dll_GetLayout]
mov dword [esp + 0x40], eax
call ecx
sub esp, 4
mov ecx, dword [esp + 0x40]
add ecx, 1
mov edx, esp
mov dword [edx + 0xc], 0x8ea
mov dword [edx + 8], 0x315
mov dword [edx + 4], 0x315
mov dword [edx], 0x4ae31c
mov edx, dword [sym.imp.GDI32.dll_FloodFill]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ecx
call edx
sub esp, 0x10
xor ecx, ecx
mov edx, 0x1c
mov esi, dword [esp + 0x9c]
mov dword [esp], esi
mov dword [esp + 4], 0
mov dword [esp + 8], 0x1c
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], edx
call fcn.0040bf30
mov eax, esp
lea ecx, [esp + 0x108]
mov dword [eax + 4], ecx
mov dword [eax], 0xf48aa5
mov eax, dword [sym.imp.USER32.dll_SetMenuInfo]
call eax
sub esp, 8
mov ecx, esp
lea edx, [esp + 0x130]
mov dword [ecx + 4], edx
mov dword [ecx], 0x1a1d4a
mov ecx, dword [sym.imp.GDI32.dll_GetAspectRatioFilterEx]
mov dword [esp + 0x28], eax
call ecx
sub esp, 8
mov ecx, esp
mov dword [ecx + 4], 0xcc7
mov dword [ecx], 0xc9a410
mov ecx, dword [sym.imp.USER32.dll_IsDlgButtonChecked]
mov dword [esp + 0x24], eax
call ecx
sub esp, 8
mov ecx, dword [esp + 0x38]
cmp ecx, 0xa
mov dword [esp + 0x20], eax
mov dword [esp + 0x78], ecx
je 0x4030b9
jmp 0x403346