Function at 0x10001392
Capabilities:
Get file size
Resolve function by parsing pe exports

Disassembly:
lea eax, [0x100010e2]
push eax
ret
lea eax, [0x1006d014]
xor dword [eax], esi
dec eax
lea eax, [0x1006d018]
mov dword [eax], edi
xor eax, 9
mov dword [0x1006d01c], ebx
dec eax
sub edx, 2
inc eax
lea eax, [0x1006d020]
add dword [eax], ebp
mov ecx, 2
loop 0x1000138a
mov dword [ebp], eax
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x118
lea eax, [esp + 0xe0]
mov ecx, esp
mov dword [ecx + 4], 0x9e7
mov dword [ecx], 0xfc71ad
mov ecx, dword [sym.imp.USER32.dll_ActivateKeyboardLayout]
mov dword [esp + 0xac], eax
call ecx
sub esp, 8
mov ecx, esp
lea edx, [esp + 0x108]
mov dword [ecx], edx
mov ecx, dword [sym.imp.USER32.dll_GetCaretPos]
mov dword [esp + 0xa8], eax
call ecx
sub esp, 4
mov ecx, dword [sym.imp.USER32.dll_GetDoubleClickTime]
mov dword [esp + 0xa4], eax
call ecx
mov ecx, esp
mov dword [ecx], 0x3a2521
mov ecx, dword [sym.imp.USER32.dll_SetProcessWindowStation]
mov dword [esp + 0xa0], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx + 4], 0xdee751
mov dword [ecx], 0xda8
mov ecx, dword [sym.imp.KERNEL32.dll_SetStdHandle]
mov dword [esp + 0x9c], eax
call ecx
sub esp, 8
mov byte [esp + 0x107], 2
mov ecx, esp
lea edx, [esp + 0x107]
mov dword [ecx], edx
mov dword [ecx + 0xc], 0x990
mov dword [ecx + 8], 0xbf6
mov dword [ecx + 4], 0x990
mov ecx, dword [sym.imp.USER32.dll_CreateIconFromResource]
mov dword [esp + 0x98], eax
call ecx
sub esp, 0x10
mov ecx, esp
mov dword [ecx], 0x5bfa49
mov ecx, dword [sym.imp.GDI32.dll_DeleteMetaFile]
mov dword [esp + 0x94], eax
call ecx
sub esp, 4
xor ecx, ecx
lea edx, [esp + 0xe8]
mov dword [esp + 0x90], eax
mov dword [esp + 0x8c], edx
mov dword [esp + 0x88], ecx
mov eax, dword [esp + 0x88]
mov byte [esp + 0x106], 7
mov ecx, esp
lea edx, [esp + 0x106]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], 0xa36
mov dword [ecx + 4], 0xa36
mov dword [ecx], 0x750492
mov ecx, dword [sym.imp.ADVAPI32.dll_CryptSetProvParam]
mov dword [esp + 0x84], eax
call ecx
sub esp, 0x10
mov ecx, dword [sym.imp.USER32.dll_DestroyCaret]
mov dword [esp + 0x80], eax
call ecx
mov dword [esp + 0x100], 0xa2d
mov ecx, esp
lea edx, [esp + 0x100]
mov dword [ecx + 4], edx
mov dword [ecx], 0xe202b
mov ecx, dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esp + 0x7c], eax
call ecx
sub esp, 8
mov ecx, esp
lea edx, [esp + 0xf8]
mov dword [ecx + 8], edx
mov dword [ecx + 4], 0x38
mov dword [ecx], 0x23
mov ecx, dword [sym.imp.KERNEL32.dll_DosDateTimeToFileTime]
mov dword [esp + 0x78], eax
call ecx
sub esp, 0xc
xor ecx, ecx
mov dword [esp + 0x74], eax
mov dword [esp + 0x70], ecx
mov eax, dword [esp + 0x70]
mov ecx, 0xaaaaaaab
mov dword [esp + 0x6c], eax
mul ecx
shr edx, 3
imul eax, edx, 0xc
mov ecx, dword [esp + 0x6c]
sub ecx, eax
mov eax, ecx
sub eax, 8
mov dword [esp + 0x68], ecx
mov dword [esp + 0x64], eax
je 0x100015e9
jmp 0x100015ab
mov eax, dword [esp + 0x68]
sub eax, 4
mov dword [esp + 0x60], eax
jne 0x10001640
jmp 0x100015be
mov dword [esp + 0xf4], 0x633
mov eax, esp
lea ecx, [esp + 0xf4]
mov dword [eax + 4], ecx
mov dword [eax], 0x84833d
mov eax, dword [sym.imp.ADVAPI32.dll_GetNumberOfEventLogRecords]
call eax
sub esp, 8
mov dword [esp + 0x5c], eax
mov eax, esp
mov dword [eax + 4], 0xaac
mov dword [eax], 0x78f23c
mov eax, dword [sym.imp.GDI32.dll_SetArcDirection]
call eax
sub esp, 8
mov ecx, esp
mov dword [ecx + 0x14], 0x18
mov dword [ecx + 0x10], 0x18
mov dword [ecx + 0xc], 0x18
mov dword [ecx + 8], 0x18
mov dword [ecx + 4], 0x18
mov dword [ecx], 0x18
mov ecx, dword [sym.imp.GDI32.dll_CreateRoundRectRgn]
mov dword [esp + 0x58], eax
call ecx
sub esp, 0x18
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x6c]
add eax, 1
cmp eax, 0x1ac
mov dword [esp + 0x70], eax
jne 0x1000157f
xor eax, eax
xor ecx, ecx
mov edx, dword [esp + 0x84]
sub edx, 0x13
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x48], edx
je 0x1000170d
jmp 0x1000167a
mov eax, dword [esp + 0x84]
sub eax, 0x5f
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], ecx
jne 0x1000178c
jmp 0x10001698
xor eax, eax
mov ecx, 0xc
mov edx, dword [esp + 0x8c]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0xc
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ecx
call sub.msvcrt.dll_memset
mov eax, esp
lea ecx, [esp + 0xe8]
mov dword [eax], ecx
mov eax, dword [sym.imp.ole32.dll_ReleaseStgMedium]
call eax
sub esp, 4
mov eax, esp
mov dword [eax + 0x10], 0xf55878
mov dword [eax + 0xc], 0xd5fff2
mov dword [eax + 8], 0x268
mov dword [eax + 4], 0x268
mov dword [eax], 0x62bd6e
mov eax, dword [sym.imp.USER32.dll_SetMenuItemBitmaps]
call eax
sub esp, 0x14
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xac]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov esi, esp
mov dword [esi + 0xc], edx
mov dword [esi + 8], ecx
mov dword [esi + 4], 0x10eaa2
mov dword [esi], 0x6a7c17
mov ecx, dword [sym.imp.USER32.dll_MenuItemFromPoint]
call ecx
sub esp, 0x10
mov ecx, esp
mov dword [ecx], 0x85b3e8
mov ecx, dword [sym.imp.GDI32.dll_AbortDoc]
mov dword [esp + 0x30], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx + 0x10], 0xeab
mov dword [ecx + 0xc], 0xff4
mov dword [ecx + 8], 0xed4
mov dword [ecx + 4], 0xed4
mov dword [ecx], 0x1bfc54
mov ecx, dword [sym.imp.KERNEL32.dll_LockFile]
mov dword [esp + 0x2c], eax
call ecx
sub esp, 0x14
mov dword [esp + 0x28], eax
jmp 0x10001835
mov eax, dword [esp + 0x40]
mov ecx, esp
lea edx, [esp + 0xd8]
mov dword [ecx + 0xc], edx
mov dword [ecx + 8], 0xea5
mov dword [ecx + 4], 0xea5
mov dword [ecx], 0xfc31
mov ecx, dword [sym.imp.GDI32.dll_SetViewportExtEx]
mov dword [esp + 0x24], eax
call ecx
sub esp, 0x10
mov ecx, esp
lea edx, [esp + 0xc8]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], 0x461
mov dword [ecx + 4], 0xa8f2b2
mov dword [ecx], 0xbc676
mov ecx, dword [sym.imp.USER32.dll_DrawCaption]
mov dword [esp + 0x20], eax
call ecx
sub esp, 0x10
mov dword [esp + 0xc4], 0x2b6
mov ecx, esp
lea edx, [esp + 0xb0]
mov dword [ecx + 4], edx
lea edx, [esp + 0xc4]
mov dword [ecx], edx
mov ecx, dword [sym.imp.ADVAPI32.dll_MapGenericMask]
mov dword [esp + 0x1c], eax
call ecx
sub esp, 8
mov eax, dword [esp + 0x24]
add eax, 1
cmp eax, 0xa
mov dword [esp + 0x40], eax
jne 0x1000178c
mov eax, dword [esp + 0x84]
add eax, 1
cmp eax, 0x11e
mov dword [esp + 0x88], eax
jne 0x100014d1
lea esp, [ebp - 4]
pop esi
pop ebp
ret