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

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x548]
sub rsp, 0x620
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1802d1460]
xor rax, rsp
mov qword [rbp + 0x510], rax
mov rdi, rcx
mov edx, 0xfffffff0
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xff3fffff
or eax, 0x6000000
mov r8d, eax
mov edx, 0xfffffff0
mov rcx, qword [rdi + 8]
call qword [sym.imp.USER32.dll_SetWindowLongW]
lea rdx, [rsp + 0x48]
mov rcx, qword [rdi + 8]
call qword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [rsp + 0x54]
mov r9d, dword [rsp + 0x4c]
sub edx, r9d
mov eax, dword [rsp + 0x50]
mov r8d, dword [rsp + 0x48]
sub eax, r8d
mov dword [rsp + 0x30], reloc.WLDAP32.dll_Ordinal_32
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], eax
xor edx, edx
mov rcx, qword [rdi + 8]
call qword [sym.imp.USER32.dll_SetWindowPos]
lea r12, [rdi + 0x50]
mov rdx, qword [rdi + 8]
mov rcx, r12
call fcn.18016ca20
lea rdx, [rdi + 0x40]
xor r13d, r13d
test rdi, rdi
cmove rdx, r13
test rdx, rdx
je 0x180173e50
lea rcx, [rdi + 0x398]
call fcn.18016b090
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x1a0], xmm0
mov dword [rbp + 0x1b0], r13d
mov byte [rbp + 0x2e4], 1
mov qword [rbp + 0x2e8], r13
mov qword [rbp + 0x2f0], r13
lea rax, [rbp + 0x88]
mov qword [rbp + 0x80], rax
mov word [rbp + 0x88], r13w
mov r8d, 0xffffffff
mov rdx, qword [0x1802e9610]
lea rcx, [rbp + 0x80]
call fcn.18016b370
nop
mov rax, qword [rbp + 0x80]
cmp word [rax], 0
jne 0x180174073
mov rbx, qword [0x1802f0d58]
test rbx, rbx
jne 0x180173ee5
lea rax, [rbp + 0x118]
mov qword [rbp + 0x110], rax
mov dword [rbp + 0x118], r13d
lea rdx, [rbp + 0x118]
jmp 0x180174016
xor edx, edx
mov r8d, 0x20a
lea rcx, [rbp + 0x300]
call fcn.1801c9e80
mov r8d, 0x104
lea rdx, [rbp + 0x300]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x60], rax
mov word [rsp + 0x68], r13w
mov r8d, 0xffffffff
lea rdx, [rbp + 0x300]
lea rcx, [rsp + 0x60]
call fcn.18016b370
mov edx, 0x5c
mov rcx, qword [rsp + 0x60]
call fcn.1801c9714
test rax, rax
je 0x180173fce
mov rdx, qword [rsp + 0x60]
sub rax, rdx
sar rax, 1
test eax, eax
js 0x180173fd3
add eax, 1
mov ecx, r13d
cmovns ecx, eax
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x180173f70
cmp ecx, eax
jle 0x180173f8f
mov rcx, 0xffffffffffffffff
inc rcx
cmp word [rdx + rcx*2], 0
jne 0x180173f85
lea rax, [rbp - 8]
mov qword [rbp - 0x10], rax
mov word [rbp - 8], r13w
mov r8d, ecx
lea rcx, [rbp - 0x10]
call fcn.18016b370
mov r8d, 0xffffffff
mov rdx, qword [rbp - 0x10]
lea rcx, [rsp + 0x60]
call fcn.18016b370
lea rax, [rbp - 8]
mov rcx, qword [rbp - 0x10]
cmp rcx, rax
je 0x180173fce
call fcn.1801cc408
mov rdx, qword [rsp + 0x60]
lea rax, [rbp + 0x118]
mov qword [rbp + 0x110], rax
mov word [rbp + 0x118], r13w
mov r8d, 0xffffffff
lea rcx, [rbp + 0x110]
call fcn.18016b370
lea rax, [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
cmp rcx, rax
je 0x18017400f
call fcn.1801cc408
mov rdx, qword [rbp + 0x110]
mov r8d, 0xffffffff
lea rcx, [rbp + 0x80]
call fcn.18016b370
lea rax, [rbp + 0x118]
mov rcx, qword [rbp + 0x110]
cmp rcx, rax
je 0x180174040
call fcn.1801cc408
mov rax, qword [rdi]
lea rdx, [rbp - 0x10]
mov rcx, rdi
call qword [rax + 0x48]
mov rdx, qword [rax]
test rdx, rdx
je 0x180174061
lea rcx, [rbp + 0x80]
call fcn.18016b290
lea rax, [rbp - 8]
mov rcx, qword [rbp - 0x10]
cmp rcx, rax
je 0x180174073
call fcn.1801cc408
mov rcx, qword [rbp + 0x80]
call fcn.18016cad0
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x60]
cmp eax, 2
je 0x180174206
cmp eax, 4
jne 0x180174337
mov rbx, qword [0x1802f0d68]
test rbx, rbx
cmove rbx, qword [0x1802f0d58]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_WSASetLastError]
mov rdx, rax
lea r8, str.ZIPRES
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
je 0x180174439
mov rcx, qword [0x1802f0d68]
test rcx, rcx
cmove rcx, qword [0x1802f0d58]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r15, rax
test rax, rax
jne 0x180174105
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x180174439
mov rcx, qword [0x1802f0d68]
test rcx, rcx
cmove rcx, qword [0x1802f0d58]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test eax, eax
je 0x180174439
mov ecx, esi
call fcn.1801c7d10
mov qword [0x1802f0d90], rax
test rax, rax
je 0x180174158
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdx, rax
mov r8d, esi
mov rcx, qword [0x1802f0d90]
call fcn.1801c9a10
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rbx, qword [0x1802f0d90]
mov rdx, qword [0x1802e96a0]
lea r14, str.membuffer
mov rcx, r13
nop dword [rax]
movzx eax, word [rdx + rcx*2]
cmp ax, word [r14 + rcx*2]
jne 0x1801741a7
movzx eax, word [rdx + rcx*2 + 2]
cmp ax, word [r14 + rcx*2 + 2]
jne 0x1801741a7
add rcx, 2
cmp rcx, 0xa
jne 0x180174180
jmp 0x180174337
cmp byte [reloc.WS2_32.dll_accept], 0
je 0x1801741c8
mov rcx, qword [0x1802f0d60]
test rcx, rcx
je 0x1801741c8
call fcn.180195dd0
mov qword [0x1802f0d60], r13
mov r8d, 0xffffffff
mov rdx, r14
lea rcx, [0x1802e96a0]
call fcn.18016b370
cmp byte [reloc.WS2_32.dll_accept], 0
je 0x180174337
mov r8d, 3
mov edx, esi
mov rcx, rbx
call fcn.1801958a0
mov qword [0x1802f0d60], rax
jmp 0x180174337
mov rax, qword [rdi]
lea rdx, [rbp - 0x10]
mov rcx, rdi
call qword [rax + 0x68]
nop
mov rbx, qword [rax]
mov r9, qword [0x1802e96a0]
mov rax, r9
mov r8, rbx
sub r8, r9
nop word [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x180174244
add rax, 2
test ecx, ecx
jne 0x180174230
movzx eax, byte [reloc.WS2_32.dll_accept]
test edx, edx
jne 0x180174257
cmp al, 1
je 0x180174325
test al, al
je 0x18017427a
mov rcx, qword [0x1802f0d60]
test rcx, rcx
je 0x18017427a
call fcn.180195dd0
mov qword [0x1802f0d60], r13
mov r9, qword [0x1802e96a0]
test rbx, rbx
je 0x180174296
mov r8d, 0xffffffff
mov rdx, rbx
lea rcx, [0x1802e96a0]
call fcn.18016b370
jmp 0x1801742b9
lea rbx, [0x1802e96a8]
cmp r9, rbx
je 0x1801742aa
mov rcx, r9
call fcn.1801cc408
mov qword [0x1802e96a0], rbx
mov word [0x1802e96a8], r13w
mov byte [reloc.WS2_32.dll_accept], 1
lea rax, [rsp + 0x68]
mov qword [rsp + 0x60], rax
mov word [rsp + 0x68], r13w
mov r8d, 0xffffffff
mov rdx, qword [0x1802e9610]
lea rcx, [rsp + 0x60]
call fcn.18016b370
nop
mov rdx, qword [0x1802e96a0]
lea rcx, [rsp + 0x60]
call fcn.18016b290
xor edx, edx
lea r8d, [rdx + 2]
mov rcx, qword [rsp + 0x60]
call fcn.1801958a0
mov qword [0x1802f0d60], rax
lea rax, [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
cmp rcx, rax
je 0x180174325
call fcn.1801cc408
nop
lea rax, [rbp - 8]
mov rcx, qword [rbp - 0x10]
cmp rcx, rax
je 0x180174337
call fcn.1801cc408
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x60]
lea rdx, [rbp - 0x10]
mov rcx, rdi
cmp eax, 3
mov rax, qword [rdi]
jne 0x18017439f
call qword [rax + 0x50]
mov rcx, qword [rax]
call fcn.1801d178c
movzx ebx, ax
lea rax, [rbp - 8]
mov rcx, qword [rbp - 0x10]
cmp rcx, rax
je 0x18017436f
call fcn.1801cc408
lea r9, [rdi + 0x48]
test rdi, rdi
cmove r9, r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r12
lea r8, [0x18025d5e8]
mov rdx, rbx
lea rcx, [rbp + 0x1a0]
call fcn.18019cf00
mov rbx, rax
jmp 0x1801743df
call qword [rax + 0x50]
nop
lea r9, [rdi + 0x48]
test rdi, rdi
cmove r9, r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r12
xor r8d, r8d
mov rdx, qword [rax]
lea rcx, [rbp + 0x1a0]
call fcn.18019cf00
mov rbx, rax
lea rax, [rbp - 8]
mov rcx, qword [rbp - 0x10]
cmp rcx, rax
je 0x1801743df
call fcn.1801cc408
test rbx, rbx
jne 0x180174408
lea r9d, [rbx + 0x10]
lea r8, str.Duilib
lea rdx, [0x18025d5c0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [rbx + 1]
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rdx, rbx
mov rcx, r12
call fcn.18016f490
lea rdx, [rdi + 0x38]
test rdi, rdi
cmove rdx, r13
test rdx, rdx
je 0x18017442f
lea rcx, [rdi + 0x378]
call fcn.18016b090
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + Ordinal_50]
nop
lea rax, [rbp + 0x88]
mov rcx, qword [rbp + 0x80]
cmp rcx, rax
je 0x180174452
call fcn.1801cc408
nop
mov rcx, qword [rbp + 0x1a0]
test rcx, rcx
je 0x180174463
call fcn.1801cc408
mov rcx, qword [rbp + 0x1a8]
test rcx, rcx
je 0x180174474
call fcn.1801cc408
xor eax, eax
mov rcx, qword [rbp + 0x510]
xor rcx, rsp
call fcn.1801c74b0
lea r11, [rsp + 0x620]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret