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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x58
mov eax, dword [0x100c068]
xor eax, esp
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push edi
push 0
mov dword [esp + 0x1c], edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], eax
call esi
push 1
mov edi, eax
call esi
sub edi, dword [esp + 0x18]
mov ecx, eax
sub ecx, dword [esp + 0x1c]
mov eax, edi
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x14], eax
mov eax, ecx
cdq
sub eax, edx
mov edi, eax
push 0xc
sar edi, 1
call fcn.00f499a4
lea ecx, [esp + 0x17]
mov byte [esp + 0x17], 0
push ecx
xorps xmm0, xmm0
mov ecx, eax
movq qword [eax], xmm0
push 0xc4
mov dword [eax + 8], 0
call fcn.005d0450
mov dword [esp + 0x2c], eax
mov eax, dword [eax]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
call fcn.005d03d0
mov ecx, dword [esp + 0x2c]
mov dword [eax], ecx
lea eax, [esp + 0x2c]
push eax
call fcn.005d02a0
mov dword [eax], str.uiWindow
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
mov dword [eax], 0x7569436f
mov dword [eax + 4], 0x4d53576e
mov dword [eax + 8], 0x57696e64
mov dword [esp + 0x28], eax
mov dword [eax + 0xc], 0x5e3800
mov eax, dword [esp + 0x28]
mov dword [eax + 0x10], 0x5d5460
mov eax, dword [esp + 0x28]
mov dword [eax + 0x14], fcn.005b1da0
mov eax, dword [esp + 0x28]
mov dword [eax + 0x18], 0x5e3a40
mov eax, dword [esp + 0x28]
mov dword [eax + 0x1c], 0x5e3a70
mov eax, dword [esp + 0x28]
mov dword [eax + 0x20], 0x5e3a80
mov eax, dword [esp + 0x28]
mov dword [eax + 0x24], 0x5e3a90
mov eax, dword [esp + 0x28]
mov dword [eax + 0x28], 0x5e3af0
mov eax, dword [esp + 0x28]
mov dword [eax + 0x2c], 0x5d5530
mov eax, dword [esp + 0x28]
mov dword [eax + 0x30], 0x5d5540
mov eax, dword [esp + 0x28]
mov dword [eax + 0x34], 0x5d5590
mov eax, dword [esp + 0x28]
mov dword [eax + 0x44], 0x5d55e0
mov eax, dword [esp + 0x28]
mov dword [eax + 0x48], 0x5d5610
mov eax, dword [esp + 0x28]
mov dword [eax + 0x4c], 0x5e3b10
mov eax, dword [esp + 0x28]
xor ecx, ecx
cmp dword [ebp + 0xc], ecx
setne cl
mov dword [eax + 0x50], 0x5e3b90
mov eax, dword [esp + 0x28]
mov dword [esp + 0x20], ecx
mov dword [eax + 0x54], 0x5e3c10
mov eax, dword [esp + 0x28]
mov dword [eax + 0x58], 0x5d56d0
mov eax, dword [esp + 0x28]
mov dword [eax + 0x5c], 0x5e3c40
mov eax, dword [esp + 0x28]
mov dword [eax + 0x40], 1
mov eax, dword [esp + 0x28]
mov dword [eax + 0x3c], 1
mov eax, dword [esp + 0x28]
mov dword [eax + 0x80], ecx
mov ecx, dword [esp + 0x24]
call fcn.005dfd70
push dword [esp + 0x28]
mov esi, eax
mov edx, str.libui_uiWindowClass
push dword [0x100e438]
push 0
push 0
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push edi
push dword [esp + 0x30]
push 0xc80000
push esi
call fcn.005da1f0
mov ecx, dword [esp + 0x28]
mov dword [ecx + 0x60], eax
mov ecx, esi
call fcn.005d0120
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x5e3f1b
call fcn.005dee60
mov ecx, dword [esp + 0x28]
mov dword [ecx + 0x64], eax
mov eax, dword [esp + 0x28]
push dword [eax + 0x64]
push dword [eax + 0x60]
call dword [sym.imp.USER32.dll_SetMenu]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x28]
push 0
push dword [esp + 0x24]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x38]
push 0xc80000
push eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
test edi, edi
je 0x5e3f8e
movaps xmm0, xmmword [esp + 0x30]
lea eax, [esp + 0x40]
push eax
push 0
push 0x83
push dword [esi + 0x60]
movaps xmmword [esp + 0x50], xmm0
mov dword [esp + 0x5c], 0x7fff
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x3c]
add eax, dword [esp + 0x44]
mov dword [esp + 0x3c], eax
jmp 0x5e3f92
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x34]
push 0x216
push eax
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x38]
push eax
push 0
push 0
push 0
push dword [esi + 0x60]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esp + 0x28]
mov dword [eax + 0x74], fcn.005b1da0
mov dword [eax + 0x78], 0
mov eax, dword [esp + 0x28]
mov dword [eax + 0x84], fcn.005b2060
mov dword [eax + 0x88], 0
mov edx, dword [0x100e490]
mov esi, edx
mov eax, dword [edx + 4]
cmp byte [eax + 0xd], 0
jne 0x5e4029
mov ecx, dword [esp + 0x28]
cmp dword [eax + 0x10], ecx
jae 0x5e3ffd
mov eax, dword [eax + 8]
jmp 0x5e4001
mov esi, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x5e3ff3
cmp esi, edx
je 0x5e4029
cmp ecx, dword [esi + 0x10]
jb 0x5e4029
mov byte [esi + 0x14], 1
mov eax, dword [esp + 0x28]
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.00f49793
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x28]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push ecx
push eax
push ecx
call fcn.005e4210
push eax
add eax, 0x10
push eax
push esi
lea eax, [esp + 0x20]
push eax
call fcn.005e4230
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
mov byte [eax + 0x14], 1
xor ecx, esp
mov eax, dword [esp + 0x20]
call fcn.00f49793
mov esp, ebp
pop ebp
ret