Function at 0x4359ef
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x194
mov eax, dword [0x45b170]
xor eax, esp
mov dword [esp + 0x190], eax
push ebx
push esi
push edi
mov ebx, ecx
push 0xfffffffffffffff0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowLongA]
and eax, 0xff3fffff
or eax, 0x6000000
push eax
push 0xfffffffffffffff0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowLongA]
lea eax, [esp + 0x28]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x2c]
push 0x20
push eax
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x30]
push eax
push dword [esp + 0x38]
push dword [esp + 0x38]
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [ebx + 4]
lea esi, [ebx + 0x31]
push eax
mov dword [esi], eax
call dword [sym.imp.USER32.dll_GetDC]
push esi
mov ecx, 0x45e5a8
mov dword [esi + 8], eax
call fcn.00434b8d
lea eax, [ebx + 0x21]
push eax
lea ecx, [ebx + 0x102]
call fcn.00434b8d
xor eax, eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], eax
mov dword [esp + 0x16f], eax
mov dword [esp + 0x173], eax
mov eax, dword [0x45d3a0]
mov byte [esp + 0x16e], 1
cmp byte [eax], 0
jne 0x435b0d
lea ecx, [esp + 0x38]
call fcn.00415e3f
mov eax, dword [ebx]
lea ecx, [esp + 0x80]
push ecx
mov ecx, ebx
call dword [eax + 0x20]
cmp dword [eax], 0
je 0x435aef
push dword [eax]
lea ecx, [esp + 0x3c]
call fcn.00434d28
lea ecx, [esp + 0x80]
call fcn.00434d18
mov ecx, dword [esp + 0x38]
call fcn.00415f3a
lea ecx, [esp + 0x38]
call fcn.00434d18
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x2c]
cmp eax, 3
jne 0x435d0d
push 7
pop ecx
push dword [ebx + 0x2d]
xor eax, eax
push dword [ebx + 0x29]
mov byte [esp + 0x184], 0
lea edi, [esp + 0x185]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x184]
push str._size__d__d_
push eax
call fcn.00437a65
add esp, 0x10
lea ecx, [esp + 0x10]
push str._Window_caption_0_0_0_36__roundcorner_5_5_
call fcn.004294c9
lea eax, [esp + 0x17c]
push eax
call fcn.0042a4ca
pop ecx
push eax
lea eax, [esp + 0x180]
push eax
lea ecx, [esp + 0x18]
call fcn.004297a5
mov edi, str.sizebox_6_6_6_6__defaultfontcolor_FF386382____t_t_t_t_t_t_t_Font_name_
push edi
call fcn.0042a4ca
pop ecx
push eax
push edi
lea ecx, [esp + 0x18]
call fcn.004297a5
mov edi, str._Default_name_VScrollBar__value_button1normalimagequot_res159_restypepng_source0_90_16_106_maskFFFF00FFquot__button1hotimagequot_res159_restypepn
push edi
call fcn.0042a4ca
pop ecx
push eax
push edi
lea ecx, [esp + 0x18]
call fcn.004297a5
mov edi, str.g_source18_90_34_106_maskFFFF00FFquot__button1pushedimagequot_res159_restypepng_source36_90_52_106_maskFFFF00FFquot__button1disabledimagequot_res
push edi
call fcn.0042a4ca
pop ecx
push eax
push edi
lea ecx, [esp + 0x18]
call fcn.004297a5
mov edi, str.159_restypepng_source54_90_70_106_maskFFFF00FFquot__button2normalimagequot_res159_restypepng_source0_108_16_124_maskFFFF00FFquot__button2hotimag
push edi
call fcn.0042a4ca
pop ecx
push eax
push edi
lea ecx, [esp + 0x18]
call fcn.004297a5
mov edi, str.equot_res159_restypepng_source18_108_34_124_maskFFFF00FFquot__button2pushedimagequot_res159_restypepng_source36_108_52_124_maskFFFF00FFquot_
push edi
call fcn.0042a4ca
pop ecx
push eax
push edi
lea ecx, [esp + 0x18]
call fcn.004297a5
mov edi, str.button2disabledimagequot_res159_restypepng_source54_108_70_124_maskFFFF00FFquot__thumbnormalimagequot_res159_restypepng_source0_126_16_142_corner
push edi
call fcn.0042a4ca
pop ecx
push eax
push edi
lea ecx, [esp + 0x18]
call fcn.004297a5
mov edi, str.2_2_2_2_maskFFFF00FFquot__thumbhotimagequot_res159_restypepng_source18_126_34_142_corner2_2_2_2_maskFFFF00FFquot__thumbpushedimagequot_res159
push edi
call fcn.0042a4ca
pop ecx
push eax
push edi
lea ecx, [esp + 0x18]
call fcn.004297a5
mov edi, str.restypepng_source36_126_52_142_corner2_2_2_2_maskFFFF00FFquot__thumbdisabledimagequot_res159_restypepng_source54_126_70_142_corner2_2_2_2_mask
push edi
call fcn.0042a4ca
pop ecx
push eax
push edi
lea ecx, [esp + 0x18]
call fcn.004297a5
mov edi, str.FFFF00FFquot__railnormalimagequot_res159_restypepng_source0_144_16_160_corner2_2_2_2_maskFFFF00FFquot__railhotimagequot_res159_restypepng_source
push edi
call fcn.0042a4ca
pop ecx
push eax
push edi
lea ecx, [esp + 0x18]
call fcn.004297a5
mov edi, str.18_144_34_160_corner2_2_2_2_maskFFFF00FFquot__railpushedimagequot_res159_restypepng_source36_144_52_160_corner2_2_2_2_maskFFFF00FFquot__raildis
push edi
call fcn.0042a4ca
pop ecx
push eax
push edi
lea ecx, [esp + 0x18]
call fcn.004297a5
mov edi, str.abledimagequot_res159_restypepng_source54_144_70_160_corner2_2_2_2_maskFFFF00FFquot__bknormalimagequot_res159_restypepng_source0_162_16_178_cor
push edi
call fcn.0042a4ca
pop ecx
push eax
push edi
lea ecx, [esp + 0x18]
call fcn.004297a5
mov edi, str.ner2_2_2_2_maskFFFF00FFquot__bkhotimagequot_res159_restypepng_source18_162_34_178_corner2_2_2_2_maskFFFF00FFquot__bkpushedimagequot_res159_re
push edi
call fcn.0042a4ca
pop ecx
push eax
push edi
lea ecx, [esp + 0x18]
call fcn.004297a5
mov edi, str.stypepng_source36_162_52_178_corner2_2_2_2_maskFFFF00FFquot__bkdisabledimagequot_res159_restypepng_source54_162_70_178_corner2_2_2_2_maskFFFF0
push edi
call fcn.0042a4ca
pop ecx
push eax
push edi
lea ecx, [esp + 0x18]
call fcn.004297a5
mov edi, str.0FFquot______
push edi
call fcn.0042a4ca
pop ecx
push eax
push edi
lea ecx, [esp + 0x18]
call fcn.004297a5
mov edi, str._VerticalLayout_name_main__inset_2_2_2_2__bkcolor_FFD1E8F5__bkcolor2_FFC6E0F1__bordersize_2__bordercolor_FF768D9B_____Window_
push edi
call fcn.0042a4ca
pop ecx
push eax
push edi
lea ecx, [esp + 0x18]
call fcn.004297a5
cmp dword [esp + 0x24], 0x10
push 0
push esi
lea eax, [ebx + 0x25]
push eax
lea ecx, [esp + 0x1c]
cmovae ecx, dword [esp + 0x1c]
push 0
push ecx
mov eax, esp
mov dword [eax], ecx
lea ecx, [esp + 0xdc]
call fcn.00414328
mov edi, eax
lea ecx, [esp + 0x10]
call fcn.004294f8
jmp 0x435d4c
mov eax, dword [ebx]
lea ecx, [esp + 0x80]
push ecx
mov ecx, ebx
lea esi, [ebx + 0x25]
call dword [eax + 0x24]
mov ecx, dword [eax]
push 0
lea eax, [ebx + 0x31]
push eax
push esi
push 0
push ecx
mov eax, esp
mov dword [eax], ecx
lea ecx, [esp + 0xdc]
call fcn.00414328
lea ecx, [esp + 0x80]
mov edi, eax
call fcn.00434d18
lea esi, [ebx + 0x31]
test edi, edi
jne 0x435d6b
push 0x10
push str.Duilib
push 0x450d8c
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push edi
mov ecx, esi
call fcn.00417452
lea eax, [ebx + 0x1d]
push eax
lea ecx, [ebx + 0xea]
call fcn.00434b8d
mov eax, dword [ebx]
mov ecx, ebx
mov byte [ebx + 0xe6], 1
call dword [eax + 0x18]
lea ecx, [esp + 0xc8]
call fcn.00418a91
mov ecx, dword [esp + 0x19c]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.004363cf
mov esp, ebp
pop ebp
ret 0x10