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

Disassembly:
push 0x2ec
mov eax, 0x57a454
call fcn.00540c52
mov edi, ecx
push 0xfffffffffffffff0
call fcn.00421550
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xff3fffff
mov ecx, edi
or eax, 0x6000000
push eax
push 0xfffffffffffffff0
call fcn.00421550
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
call fcn.00421550
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x14]
mov ecx, edi
sub eax, dword [ebp - 0x1c]
push 0x20
push eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push 0
call fcn.00421550
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0
push dword [edi + 4]
lea ebx, [edi + 0x2c]
mov ecx, ebx
call fcn.00449b81
lea eax, [edi + 0x24]
mov ecx, ebx
push eax
call fcn.004491ab
lea ecx, [ebp - 0x270]
call fcn.00460ad1
and dword [ebp - 4], 0
call fcn.00449b46
push eax
lea ecx, [ebp - 0xa4]
call fcn.00447588
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 1
call fcn.00447ded
test al, al
je 0x450cdd
lea eax, [ebp - 0x128]
push eax
call fcn.0044994d
pop ecx
push eax
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 2
call fcn.004476db
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 1
call fcn.00447670
mov eax, dword [edi]
lea ecx, [ebp - 0x128]
push ecx
mov ecx, edi
call dword [eax + 0x20]
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00447c90
push eax
lea ecx, [ebp - 0xa4]
call fcn.0044787a
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 1
call fcn.00447670
lea ecx, [ebp - 0xa4]
call fcn.00447c90
push eax
call fcn.0044d785
mov eax, dword [edi]
pop ecx
mov ecx, edi
call dword [eax + 0x2c]
dec eax
dec eax
je 0x450da8
dec eax
dec eax
jne 0x450dda
mov eax, dword [edi]
mov ecx, edi
push 0x5846d8
call dword [eax + 0x34]
push eax
call fcn.00449b37
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x450ec0
push esi
call fcn.00449b37
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x2f8], eax
push esi
test eax, eax
jne 0x450d4c
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x450ec0
call fcn.00449b37
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x450ec0
push ebx
call fcn.00537df9
mov dword [0x5f44b0], eax
pop ecx
test eax, eax
je 0x450d8e
push ebx
push dword [ebp - 0x2f8]
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push dword [0x5f44b0]
call fcn.0053da30
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
push ebx
push dword [0x5f44b0]
call fcn.0044d7ce
pop ecx
pop ecx
lea ebx, [edi + 0x2c]
jmp 0x450dda
mov eax, dword [edi]
lea ecx, [ebp - 0x128]
push ecx
mov ecx, edi
call dword [eax + 0x30]
push 1
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00447c90
push eax
call fcn.0044d832
pop ecx
pop ecx
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 1
call fcn.00447670
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
cmp eax, 3
mov eax, dword [edi]
jne 0x450e42
lea ecx, [ebp - 0x128]
push ecx
mov ecx, edi
call dword [eax + 0x24]
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.00447c90
push eax
call fcn.0053faf3
pop ecx
push eax
lea ecx, [ebp - 0x2f8]
call fcn.00447643
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 1
call fcn.00447670
push 0
push ebx
lea eax, [edi + 0x28]
push eax
push 0x5846e8
push dword [ebp - 0x2f8]
lea ecx, [ebp - 0x270]
call fcn.0046123e
mov esi, eax
jmp 0x450e87
lea ecx, [ebp - 0x2f4]
push ecx
mov ecx, edi
lea esi, [edi + 0x28]
call dword [eax + 0x24]
push 0
push ebx
push esi
push 0
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.00447c90
push ecx
mov ecx, esp
push eax
call fcn.00447654
lea ecx, [ebp - 0x270]
call fcn.0046123e
lea ecx, [ebp - 0x2f4]
mov byte [ebp - 4], 1
mov esi, eax
call fcn.00447670
test esi, esi
jne 0x450ea6
push 0x10
push str.Duilib
push 0x584700
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push esi
mov ecx, ebx
call fcn.00449261
lea eax, [edi + 0x20]
mov ecx, ebx
push eax
call fcn.004490c8
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x18]
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0
call fcn.00447670
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x270]
call fcn.0045fd29
xor eax, eax
call fcn.00540c10
ret 0x10