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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x140
mov esi, ecx
mov eax, dword [0x7a8498]
xor eax, ebp
mov dword [esp + 0x138], eax
call fcn.004aef30
mov ebx, 0xfffffff0
push ebx
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov edi, eax
mov dword [esp + 4], eax
and edi, 0xf93fffff
or edi, 0x6000000
mov ecx, esi
call fcn.004aef30
push edi
push ebx
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
pcmpeqd xmm0, xmm0
lea edi, [esp + 0x20]
movdqa xmmword [edi], xmm0
mov ecx, esi
call fcn.004aef30
push edi
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
xor eax, eax
cmp byte [esi + 0x608], 0
sete al
shl eax, 4
or eax, 0x23
lea edi, [esp + 0x1c]
mov dword [edi], eax
mov eax, dword [esi]
mov ebx, dword [eax + 0xb4]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, esi
push edi
call ebx
bt dword [esp + 4], 0x1e
jb 0x604794
mov eax, dword [esp + 0x1c]
mov dword [esp + 4], eax
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x24]
mov dword [esp], ecx
sub edi, ecx
mov ebx, dword [esp + 0x28]
sub ebx, eax
mov ecx, esi
call fcn.004aef30
push dword [esp + 4]
push edi
push ebx
push dword [esp + 0xc]
push dword [esp + 0x18]
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
lea edi, [esi + 0x34]
mov ecx, edi
push dword [esi + 4]
call fcn.0051ac8c
lea eax, [esi + 0x28]
mov ecx, edi
push eax
call fcn.0051eb94
cmp byte [esi + 0x608], 0
jne 0x6047be
mov ecx, edi
push 0
call fcn.0051f9fa
mov dword [esp + 4], edi
lea edi, [esp + 0xb4]
push 0x84
push 0xff
push edi
call fcn.006ccfc0
add esp, 0xc
push edi
call fcn.0051acc8
add esp, 4
mov eax, dword [esi]
mov ebx, dword [eax + 0x34]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, esi
call ebx
cmp eax, 4
je 0x604a89
cmp eax, 2
jne 0x604833
mov eax, dword [esi]
mov ebx, dword [eax + 0x38]
mov ecx, ebx
call dword [section..00cfg]
lea edi, [esp + 0x30]
mov ecx, esi
push edi
call ebx
mov ecx, edi
call fcn.004b45c0
push 1
push eax
call fcn.0051ae2c
add esp, 8
mov ecx, edi
call fcn.00520b96
mov eax, dword [esi]
mov ebx, dword [eax + 0xb8]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, esi
call ebx
test eax, eax
je 0x604b2f
mov ebx, dword [esp + 4]
mov ecx, ebx
push eax
call fcn.0051e198
lea eax, [esi + 0x24]
mov ecx, ebx
push eax
call fcn.0051ea62
lea eax, [esi + 0x30]
mov ecx, ebx
push eax
call fcn.0051fc42
mov ecx, esi
call fcn.00604b4c
cmp dword [esi + 0x5e8], 0
je 0x6048b2
mov edi, 0xffffffec
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0x80000
push eax
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, 0xff
push 1
push eax
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
push 0xfffffffffffffff0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
bt eax, 0x1e
jb 0x6048d5
mov ecx, ebx
call fcn.0051afaa
test al, al
je 0x6048d5
mov ecx, esi
call fcn.00604d88
mov ecx, esi
call fcn.004aef30
lea ecx, [esp + 0x20]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, ebx
call fcn.0051af30
mov ebx, eax
movaps xmm4, xmmword [esp + 0x20]
mov eax, dword [eax]
mov edi, dword [eax + 0x54]
mov ecx, edi
call dword [section..00cfg]
sub esp, 0x10
movups xmmword [esp], xmm4
mov ecx, ebx
mov ebx, dword [esp + 0x14]
call edi
mov eax, dword [esi]
mov edi, dword [eax + 0x18]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
call edi
mov ecx, ebx
call fcn.0051fd12
test al, al
je 0x604a43
push dword [esi + 4]
call fcn.00644adc
add esp, 4
fstp dword [esp + 0x18]
movss xmm0, dword [esp + 0x18]
movss dword [esp], xmm0
call fcn.005219a8
mov ecx, eax
call fcn.00521d6e
fstp dword [esp + 0x14]
movss xmm0, dword [esp]
ucomiss xmm0, dword [esp + 0x14]
jne 0x60496e
jnp 0x604a43
pcmpeqd xmm0, xmm0
lea ebx, [esp + 0x30]
movdqa xmmword [ebx], xmm0
mov ecx, ebx
call fcn.00520686
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, ebx
call fcn.005206f4
mov edi, eax
mov ecx, ebx
call fcn.0052070e
mov dword [esp + 8], eax
call fcn.005219a8
mov ecx, eax
call fcn.00521d6e
xorps xmm0, xmm0
cvtsi2ss xmm0, edi
sub esp, 0xc
movss xmm1, dword [esp + 0xc]
movss dword [esp + 8], xmm1
fstp dword [esp + 4]
movss dword [esp], xmm0
call fcn.00644a38
add esp, 0xc
fstp dword [esp + 0x10]
cvttss2si edi, dword [esp + 0x10]
call fcn.005219a8
mov ecx, eax
call fcn.00521d6e
xorps xmm0, xmm0
cvtsi2ss xmm0, dword [esp + 8]
sub esp, 0xc
movss xmm1, dword [esp + 0xc]
movss dword [esp + 8], xmm1
fstp dword [esp + 4]
movss dword [esp], xmm0
call fcn.00644a38
add esp, 0xc
fstp dword [esp + 0xc]
cvttss2si eax, dword [esp + 0xc]
add edi, dword [ebx]
mov dword [ebx + 8], edi
add eax, dword [ebx + 4]
mov dword [ebx + 0xc], eax
sub esp, 8
movd xmm0, dword [esp + 8]
movd dword [esp + 4], xmm0
mov dword [esp], ebx
mov ebx, dword [esp + 0xc]
mov ecx, ebx
call fcn.0051b404
mov ecx, ebx
call fcn.0051af30
xor edx, edx
mov ecx, ebx
push edx
push edx
push edx
push str.windowinit
push eax
call fcn.0051e668
mov byte [esi + 0x5f4], 1
lea ecx, [esp + 0xb4]
call fcn.00520b96
mov ecx, dword [esp + 0x138]
xor ecx, ebp
call fcn.006c9121
xor eax, eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
mov eax, dword [esi]
mov ebx, dword [eax + 0x3c]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, esi
call ebx
mov ebx, eax
call fcn.0051ad9c
push str.ZIPRES
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x604a63
mov ebx, eax
call fcn.0051ad9c
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x604b23
mov dword [esp], eax
call fcn.0051ad9c
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x604a63
mov edi, eax
push eax
call fcn.006c9113
add esp, 4
mov dword [0x7c0754], eax
test eax, eax
je 0x604b08
push dword [esp]
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push eax
push dword [esp + 8]
call fcn.006cca40
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
push edi
push dword [0x7c0754]
call fcn.0051adbe
add esp, 8
jmp 0x604833
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x604a63
push 0x10
push str.Duilib
push 0x75ba4a
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]