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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x10c4
call fcn.1012c7a0
mov eax, dword [0x10158008]
xor eax, esp
mov dword [esp + 0x10c0], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x34]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x24]
push ebx
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x4c]
push esi
mov esi, dword [ebp + 0x44]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x50]
push edi
mov edi, dword [ebp + 0x30]
mov dword [esp + 0x30], eax
call fcn.100d4e50
mov ecx, esi
mov dword [esp + 0x1c], eax
call fcn.100d4e50
mov ecx, dword [ebp + 0x40]
mov ebx, eax
mov eax, dword [esp + 0x14]
mov edx, edi
cmp dword [ebp + 0x28], 0
mov dword [0x1015a738], eax
mov eax, dword [ebp + 8]
setne byte [0x1015a6fa]
mov dword [0x1015a72c], eax
mov eax, dword [ebp + 0x54]
mov dword [0x1015a724], ecx
mov ecx, 0x1015a734
mov dword [0x1015a720], eax
mov eax, dword [ebp + 0xc]
mov dword [0x1015a728], eax
call fcn.100d4020
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x10]
and esi, 0xefffffff
mov eax, esi
or esi, 0x8000000
and eax, 0xf7ffffff
cmp dword [ebp + 0x2c], 0
cmove esi, eax
cmp dword [ebp + 0x3c], 0
je 0x1010516b
and edi, 0xffffff7f
or edi, 0x40000
jmp 0x10105177
and edi, 0xfffbffff
or edi, 0x80
mov eax, edi
or edi, 8
and eax, 0xfffffff7
cmp dword [ebp + 0x38], 0
push 0
cmove edi, eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ecx, dword [ebp + 0x48]
push str.ICON_1
or ecx, 0xb
mov dword [esp + 0x14], eax
push eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], eax
call dword [sym.imp.USER32.dll_LoadIconW]
push 0x7f00
push 0
mov dword [esp + 0x50], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x38], 0x10104b00
test eax, eax
jne 0x1010526a
test ebx, ebx
jne 0x10105200
mov ecx, str.ExuiWindow
call fcn.100d5110
mov ebx, eax
lea eax, [ebx + 8]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.USER32.dll_RegisterClassW]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x1010521f
add eax, 8
jmp 0x10105221
xor eax, eax
push dword [esp + 0x14]
xor ecx, ecx
test ebx, ebx
push dword [esp + 0x14]
push 0
push dword [esp + 0x24]
push dword [esp + 0x30]
push dword [esp + 0x38]
push dword [esp + 0x40]
push dword [esp + 0x48]
push esi
push eax
lea eax, [ebx + 8]
cmove eax, ecx
push eax
push edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x10c0]
xor ecx, esp
call fcn.10110e11
mov esp, ebp
pop ebp
ret 0x50
cmp eax, 1
jne 0x10105385
or esi, 0x80000000
mov dword [esp + 0x30], esi
test ebx, ebx
jne 0x1010528d
mov ecx, str.ExuiDialogWindow2
call fcn.100d5110
mov ebx, eax
mov esi, dword [sym.imp.USER32.dll_RegisterClassW]
lea eax, [ebx + 8]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x34]
push eax
call esi
lea eax, [ebx + 8]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x34]
push eax
call esi
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x101052bc
lea ecx, [eax + 8]
jmp 0x101052be
xor ecx, ecx
push dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
push dword [esp + 0x14]
mov eax, dword [esp + 0x38]
push 0
push esi
push dword [esp + 0x30]
push dword [esp + 0x38]
push dword [esp + 0x40]
push dword [esp + 0x48]
push eax
push ecx
xor ecx, ecx
lea eax, [ebx + 8]
test ebx, ebx
cmove eax, ecx
push eax
push edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, eax
test edi, edi
je 0x1010536c
test esi, esi
je 0x10105315
push esi
push str.ExuiWindow_hWndParent
push edi
call dword [sym.imp.USER32.dll_SetPropW]
push 0
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
inc dword [0x1015a730]
lea eax, [esp + 0x5c]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
push 0
push 0
push 0
push eax
call esi
test eax, eax
je 0x10105366
mov ebx, dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x5c]
push eax
call ebx
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10105366
push 0
push 0
push 0
lea eax, [esp + 0x68]
push eax
call esi
test eax, eax
jne 0x10105338
dec dword [0x1015a730]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x10c0]
xor ecx, esp
call fcn.10110e11
mov esp, ebp
pop ebp
ret 0x50
cmp eax, 2
jne 0x1010547a
or esi, 0x80000000
mov dword [esp + 0x30], esi
test ebx, ebx
jne 0x101053a8
mov ecx, str.ExuiDialogWindow2
call fcn.100d5110
mov ebx, eax
mov esi, dword [sym.imp.USER32.dll_RegisterClassW]
lea eax, [ebx + 8]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x34]
push eax
call esi
lea eax, [ebx + 8]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x34]
push eax
call esi
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x101053d7
lea ecx, [eax + 8]
jmp 0x101053d9
xor ecx, ecx
push dword [esp + 0x14]
mov eax, dword [esp + 0x34]
push dword [esp + 0x14]
push 0
push dword [esp + 0x24]
push dword [esp + 0x30]
push dword [esp + 0x38]
push dword [esp + 0x40]
push dword [esp + 0x48]
push eax
push ecx
xor ecx, ecx
lea eax, [ebx + 8]
test ebx, ebx
cmove eax, ecx
push eax
push edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, eax
test edi, edi
je 0x1010536c
inc dword [0x1015a730]
lea eax, [esp + 0x78]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
push 0
push 0
push 0
push eax
call esi
test eax, eax
je 0x10105366
mov ebx, dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x78]
push eax
call ebx
lea eax, [esp + 0x78]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10105366
push 0
push 0
push 0
lea eax, [esp + 0x84]
push eax
call esi
test eax, eax
jne 0x10105440
jmp 0x10105366
cmp eax, 3
jne 0x1010548a
or esi, 0x80000000
jmp 0x101051f0
cmp eax, 4
jne 0x10105520
mov eax, esi
or eax, 0x40000000
cmp dword [esp + 0x18], 0
cmove eax, esi
mov dword [esp + 0x30], eax
test ebx, ebx
jne 0x101054b6
mov ecx, str.ExuiWindow
call fcn.100d5110
mov ebx, eax
lea eax, [esp + 0x34]
lea esi, [ebx + 8]
push eax
mov dword [esp + 0x5c], esi
call dword [sym.imp.USER32.dll_RegisterClassW]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x101054d5
add eax, 8
jmp 0x101054d7
xor eax, eax
push dword [esp + 0x14]
push dword [esp + 0x14]
push 0
push dword [esp + 0x24]
push dword [esp + 0x30]
push dword [esp + 0x38]
push dword [esp + 0x40]
push dword [esp + 0x48]
push dword [esp + 0x50]
push eax
xor eax, eax
test ebx, ebx
cmove esi, eax
push esi
push edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x10c0]
xor ecx, esp
call fcn.10110e11
mov esp, ebp
pop ebp
ret 0x50
cmp eax, 5
jne 0x10105677
mov dword [esp + 0x40], 0x1e
test ebx, ebx
jne 0x10105541
mov ecx, str.ExuiDialogWindow
call fcn.100d5110
mov ebx, eax
lea eax, [ebx + 8]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.USER32.dll_RegisterClassW]
test ax, ax
jne 0x10105576
mov ecx, str.ExuiDialogWindow
call fcn.100d5110
mov ebx, eax
lea eax, [ebx + 8]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.USER32.dll_RegisterClassW]
push 0x100a
lea eax, [esp + 0xbe]
push 0
push eax
call fcn.10112ca0
xor eax, eax
mov dword [esp + 0xbc], esi
mov word [esp + 0xc4], ax
lea eax, [ebx + 8]
mov dword [esp + 0xc0], edi
push dword [ebx + 4]
push eax
lea eax, [esp + 0xd8]
push eax
call fcn.10112e60
mov eax, dword [esp + 0x34]
add esp, 0x18
test eax, eax
je 0x101055e6
lea ecx, [eax + 8]
test ecx, ecx
je 0x101055e6
mov eax, dword [eax + 4]
test eax, eax
je 0x101055e6
push eax
mov eax, dword [ebx + 4]
push ecx
lea ecx, [esp + 0xcc]
add eax, ecx
push eax
call fcn.10112e60
add esp, 0xc
call dword [sym.imp.USER32.dll_GetDialogBaseUnits]
mov ebx, dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
movsx edi, si
push edi
push 4
push dword [esp + 0x34]
call ebx
shr esi, 0x10
movsx esi, si
push esi
push 8
push dword [esp + 0x30]
mov word [esp + 0xc6], ax
call ebx
push edi
push 4
push dword [esp + 0x2c]
mov word [esp + 0xc8], ax
call ebx
push esi
push 8
push dword [esp + 0x28]
mov word [esp + 0xca], ax
call ebx
push dword [esp + 0x14]
mov word [esp + 0xc4], ax
lea eax, [esp + 0xb4]
push 0x10105070
push dword [esp + 0x20]
push eax
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x10c0]
xor ecx, esp
call fcn.10110e11
mov esp, ebp
pop ebp
ret 0x50
cmp eax, 9
jne 0x1010536c
test ebx, ebx
jne 0x10105690
mov ecx, str.ExuiMainWindow
call fcn.100d5110
mov ebx, eax
lea eax, [ebx + 8]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.USER32.dll_RegisterClassW]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x101056af
add eax, 8
jmp 0x101056b1
xor eax, eax
push dword [esp + 0x14]
xor ecx, ecx
test ebx, ebx
push dword [esp + 0x14]
push 0
push dword [esp + 0x24]
push dword [esp + 0x30]
push dword [esp + 0x38]
push dword [esp + 0x40]
push dword [esp + 0x48]
push esi
push eax
lea eax, [ebx + 8]
cmove eax, ecx
push eax
push edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
test esi, esi
je 0x1010536c
inc dword [0x1015a730]
lea eax, [esp + 0x94]
mov edi, dword [sym.imp.USER32.dll_GetMessageW]
push 0
push 0
push 0
push eax
call edi
test eax, eax
je 0x1010574a
mov ebx, dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x94]
push eax
call ebx
lea eax, [esp + 0x94]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1010574a
push 0
push 0
push 0
lea eax, [esp + 0xa0]
push eax
call edi
test eax, eax
jne 0x10105713
mov ecx, dword [esp + 0x10cc]
mov eax, esi
dec dword [0x1015a730]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10110e11
mov esp, ebp
pop ebp
ret 0x50