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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e49c8
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x51a230]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0xfffffffffffffff0
call fcn.00417390
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xff3fffff
mov ecx, ebx
or eax, 0x6000000
push eax
push 0xfffffffffffffff0
call fcn.00417390
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
call fcn.00417390
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
sub eax, edx
mov ecx, dword [ebp - 0x20]
push 0x20
push eax
mov eax, dword [ebp - 0x18]
sub eax, ecx
push eax
push edx
push ecx
push 0
mov ecx, ebx
call fcn.00417390
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [ebx]
lea edi, [ebx + 0x1d0]
mov ecx, ebx
call dword [eax + 0x64]
push eax
push dword [ebx + 4]
mov ecx, edi
call fcn.0042d560
mov ecx, ebx
lea eax, [ebx + 0x24]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
mov ecx, edi
call fcn.0042c7c0
push 0x14c
lea eax, [ebp - 0x1f0]
push 0
push eax
call fcn.004bac70
add esp, 0xc
lea ecx, [ebp - 0x1f0]
call fcn.00461490
mov dword [ebp - 4], 0
call fcn.0042d490
mov ecx, eax
call fcn.0042a040
test al, al
je 0x435201
push 0x84
lea eax, [ebp - 0xa4]
push 0
push eax
call fcn.004bac70
lea eax, [ebp - 0xa4]
push eax
call fcn.0042d260
add esp, 0x10
mov eax, dword [ebx]
lea ecx, [ebp - 0x280]
push ecx
mov ecx, ebx
mov byte [ebp - 4], 1
call dword [eax + 0x50]
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00424290
push eax
lea ecx, [ebp - 0xa4]
call fcn.00429650
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 1
call fcn.004292a0
lea ecx, [ebp - 0xa4]
call fcn.00424290
push eax
call fcn.00432d70
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa4]
call fcn.004292a0
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x54]
sub eax, 2
je 0x4352cf
sub eax, 2
jne 0x435331
mov eax, dword [ebx]
lea ecx, [ebp - 0x1fc]
push ecx
mov ecx, ebx
call dword [eax + 0x60]
push 0x4ece20
push dword [eax]
call fcn.0042d480
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x435416
push esi
call fcn.0042d480
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x1f8], eax
push esi
test eax, eax
jne 0x435268
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x435416
call fcn.0042d480
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x1f4], eax
test eax, eax
je 0x435416
mov eax, dword [ebx]
lea ecx, [ebp - 0x280]
push ecx
mov ecx, ebx
call dword [eax + 0x5c]
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.00424290
push eax
push dword [ebp - 0x1f4]
push dword [ebp - 0x1f8]
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
call fcn.00432dc0
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x280]
call fcn.004292a0
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x435331
mov eax, dword [ebx]
lea ecx, [ebp - 0xa4]
push ecx
mov ecx, ebx
call dword [eax + 0x5c]
mov edi, eax
mov edx, dword [ebx]
lea eax, [ebp - 0x280]
push eax
mov ecx, ebx
mov byte [ebp - 4], 3
call dword [edx + 0x58]
mov esi, eax
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.00424290
push eax
push 1
mov ecx, esi
call fcn.00424290
push eax
call fcn.00432e60
add esp, 0xc
lea ecx, [ebp - 0x280]
call fcn.004292a0
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0
call fcn.004292a0
lea edi, [ebx + 0x1d0]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x54]
lea ecx, [ebp - 0x280]
cmp eax, 3
mov eax, dword [ebx]
push ecx
mov ecx, ebx
jne 0x435395
call dword [eax + 0x4c]
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.00424290
push eax
call fcn.004c2baf
add esp, 4
movzx esi, ax
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 0
call fcn.004292a0
mov ecx, ebx
lea eax, [ebx + 0x28]
neg ecx
push 0
sbb ecx, ecx
push edi
and ecx, eax
push ecx
push 0x4ece30
push esi
lea ecx, [ebp - 0x1f0]
call fcn.00462640
mov esi, eax
jmp 0x4353d5
call dword [eax + 0x4c]
mov edx, ebx
mov byte [ebp - 4], 7
neg edx
lea ecx, [ebx + 0x28]
push 0
sbb edx, edx
push edi
and edx, ecx
mov ecx, eax
push edx
push 0
call fcn.00424290
push ecx
mov ecx, esp
mov dword [ecx], eax
lea ecx, [ebp - 0x1f0]
call fcn.00462640
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 0
mov esi, eax
call fcn.004292a0
test esi, esi
jne 0x4353f4
push 0x10
push str.Duilib
push 0x4ece48
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push esi
mov ecx, edi
call fcn.0042c8c0
mov edx, ebx
lea eax, [ebx + 0x20]
neg edx
mov ecx, edi
sbb edx, edx
and edx, eax
push edx
call fcn.0042c6b0
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
lea ecx, [ebp - 0x1f0]
call fcn.0045fff0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00490604
mov esp, ebp
pop ebp
ret 0x10