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

Disassembly:
push 0x26c
mov eax, 0x46a6d3
call fcn.00453fde
push 0xfffffffffffffff0
mov esi, ecx
call fcn.0043aacb
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xff3fffff
or eax, 0x6000000
push eax
push 0xfffffffffffffff0
mov ecx, esi
call fcn.0043aacb
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea eax, [ebp - 0x20]
push eax
mov ecx, esi
call fcn.0043aacb
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
push 0x20
push eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
xor ebx, ebx
push eax
push dword [ebp - 0x1c]
mov ecx, esi
push dword [ebp - 0x20]
push ebx
call fcn.0043aacb
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push dword [esi + 4]
lea edi, [esi + 0x2c]
mov ecx, edi
call fcn.0041bf48
lea eax, [esi + 0x24]
push eax
mov ecx, edi
call fcn.0041c84f
lea ecx, [ebp - 0x270]
call fcn.00420686
mov dword [ebp - 4], ebx
call fcn.0041c072
mov ecx, eax
call fcn.0041fe41
test al, al
je 0x41ab8d
lea eax, [ebp - 0xa4]
push eax
call fcn.0041bf73
pop ecx
mov eax, dword [esi]
lea ecx, [ebp - 0x128]
push ecx
mov ecx, esi
mov byte [ebp - 4], 1
call dword [eax + 0x20]
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0041fe6a
push eax
lea ecx, [ebp - 0xa4]
call fcn.0041fedd
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 1
call fcn.0041fd16
lea ecx, [ebp - 0xa4]
call fcn.0041fe6a
push eax
call fcn.0041c09e
pop ecx
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], bl
call fcn.0041fd16
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x2c]
dec eax
dec eax
je 0x41ac2a
dec eax
dec eax
jne 0x41ac5b
mov eax, dword [esi]
push 0x46e8bc
mov ecx, esi
call dword [eax + 0x34]
push eax
call fcn.0041c063
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x274], eax
cmp eax, ebx
je 0x41ad4c
push eax
call fcn.0041c063
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push dword [ebp - 0x274]
mov dword [ebp - 0x278], eax
cmp eax, ebx
jne 0x41abf3
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x41ad4c
call fcn.0041c063
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp eax, ebx
je 0x41ad4c
push eax
push dword [ebp - 0x278]
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
call fcn.0041c0e5
pop ecx
pop ecx
push dword [ebp - 0x274]
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x41ac5b
mov eax, dword [esi]
lea ecx, [ebp - 0x128]
push ecx
mov ecx, esi
call dword [eax + 0x30]
push 1
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.0041fe6a
push eax
call fcn.0041c147
pop ecx
pop ecx
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], bl
call fcn.0041fd16
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x2c]
cmp eax, 3
mov eax, dword [esi]
jne 0x41acc2
lea ecx, [ebp - 0x128]
push ecx
mov ecx, esi
call dword [eax + 0x24]
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.0041fe6a
push eax
call fcn.004528f3
movzx eax, ax
pop ecx
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x278], eax
mov byte [ebp - 4], bl
call fcn.0041fd16
push ebx
push edi
lea eax, [esi + 0x28]
push eax
push 0x46e8b4
push dword [ebp - 0x278]
lea ecx, [ebp - 0x270]
call fcn.0042127b
mov dword [ebp - 0x274], eax
jmp 0x41ad0a
lea ecx, [ebp - 0xa4]
push ecx
mov ecx, esi
call dword [eax + 0x24]
push ebx
push edi
lea edx, [esi + 0x28]
push edx
push ebx
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.0041fe6a
push ecx
mov ecx, esp
mov dword [ecx], eax
lea ecx, [ebp - 0x270]
mov dword [ebp - 0x278], esp
call fcn.0042127b
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0x274], eax
mov byte [ebp - 4], bl
call fcn.0041fd16
cmp dword [ebp - 0x274], ebx
jne 0x41ad2d
push 0x10
push str.Duilib
push 0x46e890
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push dword [ebp - 0x274]
mov ecx, edi
call fcn.0041f838
lea eax, [esi + 0x20]
push eax
mov ecx, edi
call fcn.0041c7ff
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x270]
call fcn.0042619b
xor eax, eax
call fcn.00454028
ret 0x10