Function at 0x435762
Capabilities:
Extract resource via kernel32 functions
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48cecf
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x4a9070]
xor eax, esp
mov dword [esp + 0x270], eax
push ebx
push esi
push edi
mov eax, dword [0x4a9070]
xor eax, esp
push eax
lea eax, [esp + 0x288]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx + 4]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, dword [ebx + 4]
and eax, 0xff3fffff
or eax, 0x6000000
push eax
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [ebx + 4]
lea ecx, [esp + 0x18]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x1c]
mov eax, dword [ebx + 4]
push 0x20
push ecx
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x20]
xor edi, edi
push ecx
push dword [esp + 0x28]
push dword [esp + 0x28]
push edi
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push dword [ebx + 4]
lea eax, [ebx + 0x2c]
call fcn.004370ef
lea eax, [ebx + 0x24]
cmp eax, edi
je 0x43581d
push eax
lea esi, [ebx + 0x304]
call fcn.00435e86
lea eax, [esp + 0x134]
call fcn.0044385b
push 0x4ab100
lea eax, [esp + 0xb0]
mov dword [esp + 0x294], edi
call fcn.00435ff5
mov byte [esp + 0x290], 1
mov eax, dword [esp + 0xac]
cmp word [eax], di
jne 0x435895
lea edi, [esp + 0x28]
call fcn.00437158
mov eax, dword [eax]
push 0xffffffffffffffff
push eax
lea esi, [esp + 0xb4]
call fcn.00436129
mov ecx, edi
call fcn.00436015
mov eax, dword [ebx]
lea ecx, [esp + 0x28]
push ecx
mov ecx, ebx
call dword [eax + 0x20]
push dword [eax]
mov eax, esi
push eax
call fcn.00436271
lea ecx, [esp + 0x28]
call fcn.00436015
push dword [esp + 0xac]
call fcn.00437249
mov eax, dword [ebx]
pop ecx
mov ecx, ebx
call dword [eax + 0x2c]
dec eax
dec eax
je 0x43594d
dec eax
dec eax
jne 0x43597e
mov eax, dword [ebx]
push str.ZIPRES
mov ecx, ebx
call dword [eax + 0x34]
push eax
call fcn.0043723a
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x435a4c
push edi
call fcn.0043723a
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [esp + 0x14], eax
push edi
test eax, eax
jne 0x4358fd
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x435a4c
call fcn.0043723a
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test esi, esi
je 0x435a4c
push esi
call fcn.0047c12c
pop ecx
mov dword [0x4ae2c0], eax
test eax, eax
je 0x43593d
push esi
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push dword [0x4ae2c0]
call fcn.00472800
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
push esi
call fcn.00437297
pop ecx
jmp 0x43597e
mov eax, dword [ebx]
lea ecx, [esp + 0x28]
push ecx
mov ecx, ebx
call dword [eax + 0x30]
mov byte [esp + 0x290], 2
mov eax, dword [eax]
push 1
mov ecx, eax
call fcn.00437301
pop ecx
lea ecx, [esp + 0x28]
mov byte [esp + 0x290], 1
call fcn.00436015
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x2c]
lea ecx, [esp + 0x28]
push ecx
cmp eax, 3
mov eax, dword [ebx]
mov ecx, ebx
jne 0x4359ca
call dword [eax + 0x24]
push dword [eax]
call fcn.0047021b
pop ecx
lea ecx, [esp + 0x28]
movzx edi, ax
call fcn.00436015
push 0
lea esi, [ebx + 0x2c]
push esi
lea eax, [ebx + 0x28]
push eax
push 0x4958d4
push edi
lea ecx, [esp + 0x148]
call fcn.00443879
mov edi, eax
jmp 0x435a0b
lea edi, [ebx + 0x28]
call dword [eax + 0x24]
push 0
lea esi, [ebx + 0x2c]
push esi
push edi
push 0
push ecx
mov byte [esp + 0x2a4], 3
mov eax, dword [eax]
mov ecx, esp
mov dword [ecx], eax
lea ecx, [esp + 0x148]
mov dword [esp + 0x28], esp
call fcn.00443879
lea ecx, [esp + 0x28]
mov edi, eax
mov byte [esp + 0x290], 1
call fcn.00436015
test edi, edi
jne 0x435a2a
push 0x10
push str.Duilib
push 0x4958ec
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push edi
mov eax, esi
call fcn.004399c8
lea eax, [ebx + 0x20]
test eax, eax
je 0x435a45
push eax
lea esi, [ebx + 0x2ec]
call fcn.00435e86
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x18]
lea ecx, [esp + 0xac]
call fcn.00436015
lea esi, [esp + 0x134]
call fcn.00411750
xor eax, eax
mov ecx, dword [esp + 0x288]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x270]
xor ecx, esp
call fcn.0046fab6
mov esp, ebp
pop ebp
ret 0x10