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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xd0
xor eax, eax
lea ecx, [esp + 0xa8]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0x98], eax
jmp 0x10001765
xor eax, eax
mov ecx, esp
lea edx, [esp + 0xc0]
mov dword [ecx], edx
mov dword [ecx + 8], 0xb31
mov dword [ecx + 4], 0xb31
mov ecx, dword [sym.imp.USER32.dll_OffsetRect]
mov dword [esp + 0x94], eax
call ecx
sub esp, 0xc
xor ecx, ecx
mov edx, dword [esp + 0x90]
sub edx, 0xe
mov dword [esp + 0x8c], eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0x84], edx
je 0x100017ea
jmp 0x100015fd
mov eax, dword [esp + 0x90]
sub eax, 0x24
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x80], eax
mov dword [esp + 0x7c], ecx
je 0x100017ea
jmp 0x10001664
mov eax, dword [esp + 0x78]
mov ecx, 0xcccccccd
mov dword [esp + 0x74], eax
mul ecx
shr edx, 4
imul eax, edx, 0x14
mov ecx, dword [esp + 0x74]
sub ecx, eax
mov eax, ecx
sub eax, 1
mov dword [esp + 0x70], ecx
mov dword [esp + 0x6c], eax
je 0x100016ff
jmp 0x10001651
mov eax, dword [esp + 0x70]
sub eax, 8
mov dword [esp + 0x68], eax
je 0x100017c1
jmp 0x100016da
mov eax, dword [esp + 0x7c]
mov byte [esp + 0xa3], 1
mov word [esp + 0xa0], 0xc
mov ecx, esp
lea edx, [esp + 0xa0]
mov dword [ecx + 0xc], edx
lea edx, [esp + 0xa3]
mov dword [ecx + 8], edx
mov dword [ecx + 0x14], 0x2fa243
mov dword [ecx + 0x10], 0xe9a
mov dword [ecx + 4], 0xe9a
mov dword [ecx], 0x563
mov ecx, dword [sym.imp.USER32.dll_ToAsciiEx]
mov dword [esp + 0x64], eax
call ecx
sub esp, 0x18
mov ecx, dword [esp + 0x64]
add ecx, 1
cmp ecx, 0xa
mov dword [esp + 0x60], eax
mov dword [esp + 0x7c], ecx
je 0x10001873
jmp 0x10001664
mov eax, dword [esp + 0x74]
add eax, 1
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x5c]
cmp eax, 0x31
mov dword [esp + 0x78], eax
je 0x100015a7
jmp 0x10001621
mov eax, esp
mov dword [eax + 0x20], 0xc8d
mov dword [eax + 0x1c], 0xc8d
mov dword [eax + 0x18], 0xa2d
mov dword [eax + 0x14], 0xc8d
mov dword [eax + 0x10], 0xa0
mov dword [eax + 0xc], 0xa0
mov dword [eax + 8], 0xc8d
mov dword [eax + 4], 0xc8d
mov dword [eax], 0x518e0b
mov eax, dword [sym.imp.GDI32.dll_Chord]
call eax
sub esp, 0x24
mov dword [esp + 0x58], eax
mov eax, esp
mov dword [eax], 0xbb9
mov eax, dword [sym.imp.USER32.dll_GetThreadDesktop]
call eax
sub esp, 4
mov dword [esp + 0x54], eax
jmp 0x100017c1
mov eax, dword [esp + 0x98]
mov ecx, esp
mov dword [ecx], 0x98da30
mov ecx, dword [sym.imp.KERNEL32.dll_HeapDestroy]
mov dword [esp + 0x90], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx + 0xc], 0xf41
mov dword [ecx + 8], 0xe90
mov dword [ecx + 4], 0x282
mov dword [ecx], 0x1e7cbc
mov ecx, dword [sym.imp.USER32.dll_SetDlgItemInt]
mov dword [esp + 0x50], eax
call ecx
sub esp, 0x10
xor ecx, ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x78], ecx
jmp 0x10001621
mov eax, esp
mov dword [eax + 8], 0x2b3
mov dword [eax + 4], 0x508
mov dword [eax], 0xcbdd75
mov eax, dword [sym.imp.KERNEL32.dll_PrepareTape]
call eax
sub esp, 0xc
mov dword [esp + 0x48], eax
jmp 0x100016da
mov eax, esp
mov dword [eax + 4], 1
mov dword [eax], 0xbec
mov eax, dword [sym.imp.KERNEL32.dll_IsDBCSLeadByteEx]
call eax
sub esp, 8
lea ecx, [esp + 0xa8]
xor edx, edx
mov esi, 0x18
mov edi, dword [esp + 0x9c]
mov dword [esp], edi
mov dword [esp + 4], 0
mov dword [esp + 8], 0x18
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x38], esi
call fcn.100b25d0
mov eax, dword [esp + 0x40]
mov dword [esp + 0xa4], eax
mov ecx, esp
lea edx, [esp + 0xa4]
mov dword [ecx + 8], edx
mov dword [ecx + 4], 0x203
mov dword [ecx], 7
mov ecx, dword [sym.imp.OLEAUT32.dll_SafeArrayCreateEx]
call ecx
sub esp, 0xc
mov dword [esp + 0x34], eax
mov eax, dword [sym.imp.KERNEL32.dll_FreeConsole]
call eax
mov ecx, dword [esp + 0x90]
add ecx, 1
cmp ecx, 0xac
sete dl
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ecx
mov byte [esp + 0x2b], dl
mov al, byte [esp + 0x2b]
test al, 1
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x98], ecx
jne 0x100018b4
jmp 0x10001765
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret