Function at 0x4590a0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x515b61
mov eax, dword fs:[0]
push eax
mov eax, 0x11fc
call fcn.004e0b90
mov eax, dword [0x559910]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0xfffffffffffffff0
call fcn.00428e90
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xff3fffff
mov ecx, edi
or eax, 0x6000000
push eax
push 0xfffffffffffffff0
call fcn.00428e90
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea eax, [ebp - 0x1038]
mov ecx, edi
push eax
call fcn.00428e90
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x102c]
mov edx, dword [ebp - 0x1034]
sub eax, edx
mov ecx, dword [ebp - 0x1038]
push 0x20
push eax
mov eax, dword [ebp - 0x1030]
sub eax, ecx
push eax
push edx
push ecx
push 0
mov ecx, edi
call fcn.00428e90
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0
push dword [edi + 4]
lea ecx, [edi + 0x2c]
call fcn.004513a0
lea eax, [edi + 0x24]
push eax
lea ecx, [edi + 0x2c]
call fcn.00450400
lea ecx, [ebp - 0x1204]
call fcn.0046ff00
mov eax, dword [edi]
lea ecx, [ebp - 0x10bc]
push ecx
mov ecx, edi
mov dword [ebp - 4], 0
lea esi, [edi + 0x28]
mov eax, dword [eax + 0x24]
call eax
push 0
lea ecx, [edi + 0x2c]
mov byte [ebp - 4], 1
push ecx
push esi
push 0
mov ecx, eax
call fcn.004101e0
push ecx
mov ecx, esp
push eax
call fcn.00457c90
lea ecx, [ebp - 0x1204]
call fcn.004705e0
lea ecx, [ebp - 0x10bc]
mov byte [ebp - 4], 0
mov esi, eax
call fcn.00457cb0
test esi, esi
jne 0x45930e
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x1010], ax
lea eax, [ebp - 0x100e]
push eax
call fcn.004e09b0
add esp, 0xc
lea eax, [ebp - 0x1010]
lea ecx, [ebp - 0x1204]
push 0x400
push eax
call fcn.004706c0
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push eax
call fcn.004e09b0
add esp, 0xc
lea eax, [ebp - 0x810]
lea ecx, [ebp - 0x1204]
push 0x400
push eax
call fcn.004706d0
push 0x1d
xor eax, eax
mov dword [ebp - 0x1014], 7
push str.load_resource_errr._location:
lea ecx, [ebp - 0x1028]
mov dword [ebp - 0x1018], esi
mov word [ebp - 0x1028], ax
call fcn.00403580
mov byte [ebp - 4], 2
cmp word [ebp - 0x1010], si
jne 0x459268
xor eax, eax
jmp 0x459280
lea eax, [ebp - 0x1010]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x459271
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x1010]
push eax
lea ecx, [ebp - 0x1028]
call fcn.00402d00
push 5
push str._msg:
lea ecx, [ebp - 0x1028]
call fcn.00402d00
cmp word [ebp - 0x810], 0
jne 0x4592b3
xor ecx, ecx
jmp 0x4592cf
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4592c0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x1028]
call fcn.00402d00
cmp dword [ebp - 0x1014], 8
lea eax, [ebp - 0x1028]
push 0x10
cmovae eax, dword [ebp - 0x1028]
push str.Duilib
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push esi
lea ecx, [edi + 0x2c]
call fcn.00450630
lea eax, [edi + 0x20]
push eax
lea ecx, [edi + 0x2c]
call fcn.004502b0
call fcn.0046eed0
mov ecx, eax
call fcn.00412bd0
test al, al
je 0x4593d8
push str.clientContentLayout
lea ecx, [edi + 0x2c]
call fcn.004507e0
push str.rootLayout
lea ecx, [edi + 0x2c]
mov dword [ebp - 0x1208], eax
call fcn.004507e0
mov esi, eax
xor cl, cl
mov eax, dword [ebp - 0x1208]
test eax, eax
je 0x45937a
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
xorps xmm0, xmm0
movdqu xmmword [ecx], xmm0
mov ecx, eax
call dword [edx + 0x68]
mov cl, 1
test esi, esi
je 0x459393
mov edx, dword [esi]
sub esp, 0x10
mov eax, esp
xorps xmm0, xmm0
mov ecx, esi
movdqu xmmword [eax], xmm0
call dword [edx + 0x68]
jmp 0x459397
test cl, cl
je 0x4593d8
lea eax, [ebp - 0x1020]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x1014]
sub eax, dword [ebp - 0x101c]
push 0x16
sub eax, 0x24
push eax
mov eax, dword [ebp - 0x1018]
sub eax, dword [ebp - 0x1020]
sub eax, 0x24
push eax
push 0
push 0
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x18]
lea ecx, [ebp - 0x1204]
mov dword [ebp - 4], 0xffffffff
call fcn.0046ef50
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d6710
mov esp, ebp
pop ebp
ret 0x10