Function at 0x1400f94e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xd0
mov qword [rsp + 0x40], 0
cmp qword [rsp + 0xe0], 0
je 0x1400f952f
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov qword [rsp + 0xa0], rax
jmp 0x1400f953e
mov rax, qword [0x1403213b0]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x1400f98c3
cmp dword [rsp + 0xe8], 0
jge 0x1400f9577
mov eax, dword [rsp + 0xe8]
neg eax
movzx eax, ax
mov qword [rsp + 0xa8], rax
jmp 0x1400f95bb
cmp dword [rsp + 0xe8], 0
je 0x1400f9591
mov eax, dword [rsp + 0xe8]
mov dword [rsp + 0xb0], eax
jmp 0x1400f959c
mov dword [rsp + 0xb0], 1
mov r8d, dword [rsp + 0xb0]
mov edx, recv
mov rcx, qword [rsp + 0x48]
call fcn.1400fca50
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x50], rax
lea rax, [0x140325acc]
cmp qword [rsp + 0x50], rax
je 0x1400f9888
mov r8d, recv
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x1400f9888
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
je 0x1400f9888
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
je 0x1400f9888
cmp dword [rsp + 0xf0], 0xffffffff
jne 0x1400f9656
mov eax, dword [rsp + 0xf8]
mov dword [rsp + 0xf0], eax
cmp dword [rsp + 0xf0], 0
jne 0x1400f9672
mov ecx, reloc.WSOCK32.dll_inet_ntoa
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsp + 0xf0], eax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
movzx eax, word [rax + 4]
mov word [rsp + 0x78], ax
mov rax, qword [rsp + 0x70]
add rax, 6
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], 0
mov dword [rsp + 0x90], 0
mov dword [rsp + 0x94], 0
jmp 0x1400f96cf
mov eax, dword [rsp + 0x94]
inc eax
mov dword [rsp + 0x94], eax
movzx eax, word [rsp + 0x78]
cmp dword [rsp + 0x94], eax
jge 0x1400f97d2
movsxd rax, dword [rsp + 0x94]
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x80]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x98], eax
cmp dword [rsp + 0x98], 0
jne 0x1400f9715
mov dword [rsp + 0x98], 0x100
mov eax, dword [rsp + 0x90]
cmp dword [rsp + 0x98], eax
jle 0x1400f975d
mov eax, dword [rsp + 0xf0]
cmp dword [rsp + 0x90], eax
jge 0x1400f9742
mov dword [rsp + 0xb4], 1
jmp 0x1400f974d
mov dword [rsp + 0xb4], 0
mov eax, dword [rsp + 0xb4]
mov dword [rsp + 0xb8], eax
jmp 0x1400f9793
mov eax, dword [rsp + 0xf0]
cmp dword [rsp + 0x98], eax
jl 0x1400f977a
mov dword [rsp + 0xbc], 1
jmp 0x1400f9785
mov dword [rsp + 0xbc], 0
mov eax, dword [rsp + 0xbc]
mov dword [rsp + 0xb8], eax
cmp dword [rsp + 0xb8], 0
je 0x1400f97cd
movsxd rax, dword [rsp + 0x94]
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x90], eax
jmp 0x1400f96bf
cmp qword [rsp + 0x88], 0
je 0x1400f9888
mov rax, qword [rsp + 0x88]
movzx eax, word [rax + 0xc]
mov r8d, 3
mov edx, eax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x1400f9888
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
je 0x1400f9888
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
je 0x1400f9888
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0x30000
mov r8d, 1
mov edx, eax
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.USER32.dll_CreateIconFromResourceEx]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x100], 0
je 0x1400f98ad
cmp qword [rsp + 0x40], 0
je 0x1400f98ad
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x48]
mov qword [rax], rcx
jmp 0x1400f98c3
cmp qword [rsp + 0xe0], 0
je 0x1400f98c3
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp qword [rsp + 0x40], 0
jne 0x1400f9937
cmp dword [rsp + 0xe8], 0
jle 0x1400f98e7
mov eax, dword [rsp + 0xe8]
dec eax
mov dword [rsp + 0xc0], eax
jmp 0x1400f991a
cmp dword [rsp + 0xe8], 0xffffffff
jge 0x1400f9901
mov eax, dword [rsp + 0xe8]
mov dword [rsp + 0xc4], eax
jmp 0x1400f990c
mov dword [rsp + 0xc4], 0
mov eax, dword [rsp + 0xc4]
mov dword [rsp + 0xc0], eax
mov r8d, dword [rsp + 0xc0]
mov rdx, qword [rsp + 0xe0]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ExtractIconW]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
add rsp, 0xd0
pop rdi
ret