Function at 0x403100
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 + 0xb0]
lea esi, [esp + 0x108]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0x10
mov dword [esp + 0xac], eax
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xa4], esi
call fcn.0040c590
mov eax, esp
lea ecx, [esp + 0xb0]
mov dword [eax], ecx
mov eax, dword [sym.imp.USER32.dll_TrackMouseEvent]
call eax
sub esp, 4
mov ecx, dword [esp + 0xa4]
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 + 0xa0], eax
call edx
sub esp, 0xc
mov ecx, esp
lea edx, [esp + 0xe8]
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 + 0x9c], eax
call ecx
sub esp, 0x1c
xor ecx, ecx
lea edx, [esp + 0xc0]
lea esi, [esp + 0xe4]
mov dword [esp + 0x98], eax
mov dword [esp + 0x94], edx
mov dword [esp + 0x90], esi
mov dword [esp + 0x8c], ecx
jmp 0x4032d2
xor eax, eax
mov dword [esp + 0x88], eax
jmp 0x40346a
mov dword [esp + 0xe0], 0xcfc
mov eax, esp
lea ecx, [esp + 0xe0]
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 + 0x84]
sub ecx, 0xc
mov dword [esp + 0x80], eax
mov dword [esp + 0x7c], ecx
je 0x403408
jmp 0x40325b
mov eax, dword [esp + 0x84]
sub eax, 0x4d
mov dword [esp + 0x78], eax
je 0x4033bd
jmp 0x403209
mov eax, dword [esp + 0x74]
add eax, 1
cmp eax, 0x395
mov dword [esp + 0x70], eax
je 0x403217
jmp 0x40333f
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], 0x42270e
mov dword [ecx], 0x42270e
mov dword [esp + 0x6c], eax
call sub.OLEAUT32.dll_VarR8Pow
sub esp, 0x10
mov dword [esp + 0x68], eax
jmp 0x403271
mov eax, dword [esp + 0x8c]
mov ecx, esp
lea edx, [esp + 0x120]
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 + 0x84], eax
call ecx
sub esp, 0x14
mov ecx, dword [sym.imp.USER32.dll_CreatePopupMenu]
mov dword [esp + 0x64], eax
call ecx
mov ecx, esp
mov dword [ecx], 0xed9
mov ecx, dword [sym.imp.GDI32.dll_GdiSetBatchLimit]
mov dword [esp + 0x60], eax
call ecx
sub esp, 4
xor ecx, ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x70], ecx
mov eax, dword [esp + 0x70]
mov ecx, 0xaaaaaaab
mov dword [esp + 0x74], eax
mul ecx
shr edx, 3
imul eax, edx, 0xc
mov ecx, dword [esp + 0x74]
sub ecx, eax
mov eax, ecx
sub eax, 0xa
mov dword [esp + 0x58], ecx
mov dword [esp + 0x54], eax
je 0x40328a
jmp 0x40336f
mov eax, dword [esp + 0x58]
sub eax, 1
mov dword [esp + 0x50], eax
jne 0x403271
jmp 0x403382
mov byte [esp + 0xff], 1
mov eax, esp
lea ecx, [esp + 0xff]
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 + 0x4c], eax
jmp 0x40328a
mov eax, 0x4eb661
mov dword [esp + 0x11c], eax
mov eax, esp
lea ecx, [esp + 0x11c]
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 + 0x48], eax
call ecx
sub esp, 8
mov word [esp + 0x46], ax
lea eax, [esp + 0x100]
mov dword [esp + 0x104], 0
mov dword [esp + 0x100], 0
mov ecx, dword [esp + 0x90]
mov dword [ecx], eax
mov eax, esp
lea edx, [esp + 0xe4]
mov dword [eax + 4], edx
mov dword [eax], 0x422716
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 + 0x40], eax
call ecx
sub esp, 4
mov dword [esp + 0x3c], eax
jmp 0x403563
mov eax, dword [esp + 0x88]
add eax, 1
mov ecx, esp
mov dword [ecx], 0xa68993
mov ecx, dword [sym.imp.GDI32.dll_GetLayout]
mov dword [esp + 0x38], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx + 0xc], 0x8ea
mov dword [ecx + 8], 0x315
mov dword [ecx + 4], 0x315
mov dword [ecx], 0x4ae31c
mov ecx, dword [sym.imp.GDI32.dll_FloodFill]
mov dword [esp + 0x34], eax
call ecx
sub esp, 0x10
xor ecx, ecx
mov edx, 0x1c
mov esi, dword [esp + 0x94]
mov dword [esp], esi
mov dword [esp + 4], 0
mov dword [esp + 8], 0x1c
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], edx
call fcn.0040c590
mov eax, esp
lea ecx, [esp + 0xc0]
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 + 0x110]
mov dword [ecx + 4], edx
mov dword [ecx], 0x1a1d4a
mov ecx, dword [sym.imp.GDI32.dll_GetAspectRatioFilterEx]
mov dword [esp + 0x24], 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 + 0x20], eax
call ecx
sub esp, 8
mov ecx, dword [esp + 0x38]
cmp ecx, 0xa
mov dword [esp + 0x1c], eax
mov dword [esp + 0x88], ecx
jne 0x40346a
jmp 0x403563
mov eax, dword [esp + 0x84]
add eax, 1
cmp eax, 0x125
mov dword [esp + 0x8c], eax
jne 0x4032d2
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret