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

Disassembly:
push 0x268
mov eax, 0x45b813
call fcn.00440536
mov edi, ecx
push 0xfffffffffffffff0
call fcn.0040e2ed
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xff3fffff
mov ecx, edi
or eax, 0x6000000
push eax
push 0xfffffffffffffff0
call fcn.0040e2ed
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
call fcn.0040e2ed
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.0040e2ed
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push dword [edi + 4]
lea ebx, [edi + 0x2c]
mov ecx, ebx
call fcn.0040f78a
mov ecx, edi
lea eax, [edi + 0x24]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
mov ecx, ebx
call fcn.0040f243
lea ecx, [ebp - 0x270]
call fcn.0042189a
and dword [ebp - 4], 0
lea eax, [ebp - 0x128]
push eax
call fcn.0040f620
pop ecx
mov eax, dword [edi]
lea ecx, [ebp - 0xa4]
push ecx
mov ecx, edi
mov byte [ebp - 4], 1
call dword [eax + 0x20]
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0040de91
push eax
lea ecx, [ebp - 0x128]
call fcn.0040ded5
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 1
call fcn.0040dd97
lea ecx, [ebp - 0x128]
call fcn.0040de91
push eax
call fcn.004118cc
mov eax, dword [edi]
pop ecx
mov ecx, edi
call dword [eax + 0x28]
dec eax
sub eax, 1
je 0x4123ff
dec eax
sub eax, 1
jne 0x412431
mov eax, dword [edi]
mov ecx, edi
push str.ZIPRES
call dword [eax + 0x30]
push eax
call fcn.0040f743
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x41251d
push esi
call fcn.0040f743
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x274], eax
push esi
test eax, eax
jne 0x4123a3
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x41251d
call fcn.0040f743
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x41251d
push ebx
call fcn.0043febf
mov dword [0x47bd2c], eax
pop ecx
test eax, eax
je 0x4123e5
push ebx
push dword [ebp - 0x274]
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push dword [0x47bd2c]
call fcn.004416a0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
push ebx
push dword [0x47bd2c]
call fcn.00411915
pop ecx
pop ecx
lea ebx, [edi + 0x2c]
jmp 0x412431
mov eax, dword [edi]
lea ecx, [ebp - 0xa4]
push ecx
mov ecx, edi
call dword [eax + 0x2c]
push 1
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.0040de91
push eax
call fcn.00411977
pop ecx
pop ecx
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 1
call fcn.0040dd97
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x28]
mov edx, dword [edi]
cmp eax, 3
lea eax, [ebp - 0xa4]
mov ecx, edi
push eax
jne 0x412493
call dword [edx + 0x24]
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.0040de91
push eax
call fcn.00448bee
pop ecx
lea ecx, [ebp - 0xa4]
movzx esi, ax
mov byte [ebp - 4], 1
call fcn.0040dd97
mov ecx, edi
lea eax, [edi + 0x28]
neg ecx
push 0
sbb ecx, ecx
push ebx
and ecx, eax
push ecx
push 0x45d63c
push esi
lea ecx, [ebp - 0x270]
call fcn.00422272
mov esi, eax
jmp 0x4124d3
call dword [edx + 0x24]
mov edx, edi
mov byte [ebp - 4], 5
neg edx
lea ecx, [edi + 0x28]
push 0
sbb edx, edx
push ebx
and edx, ecx
mov ecx, eax
push edx
push 0
call fcn.0040de91
push ecx
mov ecx, esp
mov dword [ecx], eax
lea ecx, [ebp - 0x270]
call fcn.00422272
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 1
mov esi, eax
call fcn.0040dd97
test esi, esi
jne 0x4124f2
push 0x10
push str.Duilib
push 0x45d654
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.0040f261
mov edx, edi
lea eax, [edi + 0x20]
neg edx
mov ecx, ebx
sbb edx, edx
and edx, eax
push edx
call fcn.0040f189
push 1
mov ecx, ebx
call fcn.00411462
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x18]
lea ecx, [ebp - 0x128]
call fcn.0040dd97
lea ecx, [ebp - 0x270]
call fcn.00420aa4
xor eax, eax
call fcn.004404f1
ret 0x10