joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800f3089
Capabilities:
Create thread

Disassembly:
jmp 0x18014efb0
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xf8
lea rbp, [rsp + 0x30]
lea rcx, [0x1803670e1]
call fcn.1800f629d
nop
cmp dword [rbp + 0xe8], 1
jne 0x18014f01a
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
nop
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, qword [rbp + 0xe0]
lea r8, [0x180125820]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
mov eax, 1
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret

Function at 0x1800f3287
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x18020bf60
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.18020b8e0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x18020bf9f
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x180368020]
jmp 0x18020bfa9
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x48
ret
Function at 0x1800f3575
Capabilities:
Query environment variable

Disassembly:
jmp 0x1802b01f0
sub rsp, 0xb8
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1802b0020
lea rcx, [rsp + 0x40]
call fcn.1802b01a0
movzx eax, al
test eax, eax
jne 0x1802b0238
mov qword [rsp + 0x70], 0
lea rcx, [rsp + 0x40]
call fcn.1802b0050
mov rax, qword [rsp + 0x70]
jmp 0x1802b0409
lea rcx, [rsp + 0x40]
call fcn.1802b0170
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.1802b0110
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x78]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x40]
call fcn.1802b0170
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x68]
mov r8, rax
xor edx, edx
xor ecx, ecx
call fcn.1800f4a10
cdqe
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x1802b02de
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x40]
call fcn.1802b0050
mov rax, qword [rsp + 0x80]
jmp 0x1802b0409
mov r9d, 0x66
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov edx, 2
mov rcx, qword [rsp + 0x58]
call fcn.1800f30a2
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1800f2e59
lea rcx, [rsp + 0x48]
call fcn.1800f2774
movzx eax, al
test eax, eax
jne 0x1802b0345
mov qword [rsp + 0x88], 0
lea rcx, [rsp + 0x48]
call fcn.1800f0f50
lea rcx, [rsp + 0x40]
call fcn.1802b0050
mov rax, qword [rsp + 0x88]
jmp 0x1802b0409
lea rcx, [rsp + 0x48]
call fcn.1800f3b3d
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0x40]
call fcn.1802b0170
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x68]
mov r8, qword [rsp + 0x98]
xor edx, edx
xor ecx, ecx
call fcn.1800f4a10
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x1802b03db
mov qword [rsp + 0xa0], 0
lea rcx, [rsp + 0x48]
call fcn.1800f0f50
lea rcx, [rsp + 0x40]
call fcn.1802b0050
mov rax, qword [rsp + 0xa0]
jmp 0x1802b0409
lea rcx, [rsp + 0x48]
call fcn.1800f2e09
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x48]
call fcn.1800f0f50
lea rcx, [rsp + 0x40]
call fcn.1802b0050
mov rax, qword [rsp + 0xa8]
add rsp, 0xb8
ret

Function at 0x1800f358e
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x18020be90
mov qword [rsp + 8], rcx
sub rsp, 0x48
call fcn.18020b860
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x18020bed1
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x180368020]
jmp 0x18020bed7
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
add rsp, 0x48
ret
Function at 0x1800f366f
Capabilities:
Get geographical location

Disassembly:
jmp 0x180298560
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x58
call fcn.180297400
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1802985bc
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
mov r9d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x40]
call fcn.1800f6cc5
jmp 0x1802985de
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.1800f26c0
mov r9d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
add rsp, 0x58
ret

Function at 0x1800f3688
Capabilities:
Terminate process

Disassembly:
jmp 0x1801e9e30
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret
Function at 0x1800f3ac5
Capabilities:
Print debug messages

Disassembly:
jmp 0x1802bd840
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x30]
mov rax, qword [0x180347080]
xor rax, rbp
mov qword [rbp + 0x18], rax
cmp qword [rbp + 0x30], 0
jne 0x1802bd869
jmp 0x1802bd8ee
mov rcx, qword [rbp + 0x30]
call fcn.1800f2c7e
inc rax
mov qword [rbp], rax
cmp qword [rbp], 0
jne 0x1802bd882
jmp 0x1802bd8ee
mov rax, qword [rbp]
shl rax, 1
mov rcx, rax
add rcx, 0xf
cmp rcx, rax
ja 0x1802bd89f
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1800f11ee
sub rsp, rax
lea rax, [rsp + 0x30]
mov qword [rbp + 8], rax
mov qword [rbp + 0x10], 0
mov rax, qword [rbp]
dec rax
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x30]
mov r8, qword [rbp]
mov rdx, qword [rbp + 8]
lea rcx, [rbp + 0x10]
call fcn.1800f1919
test eax, eax
jne 0x1802bd8ee
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp + 0x18]
xor rcx, rbp
call fcn.1800f2f9e
lea rsp, [rbp + 0x20]
pop rbp
ret

Function at 0x1800f3fbb
Capabilities:
Set environment variable

Disassembly:
jmp 0x1802b2350
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x38]
mov rdx, qword [rax]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
add rsp, 0x28
ret
Function at 0x1800f4d5d
Capabilities:
Terminate process

Disassembly:
jmp 0x18020cf60
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x18020cf8e
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
mov ecx, 2
call fcn.1800f5b36
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000417
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x1800f5bc7
Capabilities:
Print debug messages

Disassembly:
jmp 0x180295b40
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add rsp, 0x28
ret
Function at 0x1800f5d66
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x18020bfd0
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.18020b920
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x18020c019
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x180368020]
jmp 0x18020c028
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x48
ret
Function at 0x18027f3e0
Capabilities:
Terminate process

Disassembly:
mov byte [rsp + 0x10], dl
mov dword [rsp + 8], ecx
sub rsp, 0x28
movzx eax, byte [rsp + 0x38]
test eax, eax
je 0x18027f408
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, dword [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [rsp + 0x30]
call fcn.18027f580
mov ecx, dword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x1802ba900
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov dword [rsp + 0x20], 0
cmp qword [rsp + 0x40], 0
je 0x1802ba93f
mov rax, qword [rsp + 0x40]
movzx eax, word [rax]
test eax, eax
je 0x1802ba93f
lea rdx, [0x18031efa0]
mov rcx, qword [rsp + 0x40]
call fcn.1800f303e
test eax, eax
jne 0x1802ba976
mov r9d, 2
lea r8, [rsp + 0x20]
mov edx, 0x20001004
mov rax, qword [rsp + 0x48]
mov ecx, dword [rax + 8]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x1802ba965
xor eax, eax
jmp 0x1802ba9c5
cmp dword [rsp + 0x20], 0
jne 0x1802ba974
call qword [sym.imp.KERNEL32.dll_GetACP]
jmp 0x1802ba9c5
jmp 0x1802ba9c1
lea rdx, [0x18031efc0]
mov rcx, qword [rsp + 0x40]
call fcn.1800f303e
test eax, eax
jne 0x1802ba9b3
mov r9d, 2
lea r8, [rsp + 0x20]
mov edx, 0x2000000b
mov rax, qword [rsp + 0x48]
mov ecx, dword [rax + 8]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x1802ba9b1
xor eax, eax
jmp 0x1802ba9c5
jmp 0x1802ba9c1
mov rcx, qword [rsp + 0x40]
call fcn.1800f010e
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
add rsp, 0x38
ret

Function at 0x1802baa80
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
sub rsp, 0x48
mov dword [rsp + 0x20], 0
movzx eax, word [rsp + 0x50]
and eax, 0x3ff
movzx eax, ax
bts eax, 0xa
movzx eax, ax
mov dword [rsp + 0x24], eax
call fcn.1800f1563
add rax, 0x98
mov qword [rsp + 0x30], rax
mov r9d, 2
lea r8, [rsp + 0x20]
mov edx, 0x20000001
mov ecx, dword [rsp + 0x24]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x1802baae3
xor eax, eax
jmp 0x1802bab23
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x50], eax
je 0x1802bab1e
cmp dword [rsp + 0x58], 0
je 0x1802bab1e
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call fcn.1802ba050
mov dword [rsp + 0x28], eax
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx]
call fcn.1800f0659
mov ecx, dword [rsp + 0x28]
cmp ecx, eax
jne 0x1802bab1e
xor eax, eax
jmp 0x1802bab23
mov eax, 1
add rsp, 0x48
ret
Function at 0x1802bfaf0
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1498
call fcn.1800f11ee
sub rsp, rax
mov rax, qword [0x180347080]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x18034b200]
mov edx, dword [rsp + 0x14b8]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + rdx + 0x28]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x14c8]
mov rcx, qword [rsp + 0x14c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x68]
mov rdi, rax
xor eax, eax
mov ecx, 0xc
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x14c0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x1802bfcea
lea rax, [rsp + 0x147f]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x38], rax
jae 0x1802bfc36
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x1802bfc36
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax]
mov byte [rsp + 0x31], al
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x30], al
movsx eax, byte [rsp + 0x30]
cmp eax, 0xa
jne 0x1802bfc1b
mov eax, dword [rsp + 0x70]
inc eax
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0x38]
mov byte [rax], 0xd
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx ecx, byte [rsp + 0x30]
mov byte [rax], cl
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
jmp 0x1802bfbb8
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov r8d, dword [rsp + 0x44]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1802bfcaa
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x68], eax
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x1802bfd09
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x6c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x40], eax
jae 0x1802bfce5
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x1802bfd09
jmp 0x1802bfb8e
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
mov rcx, qword [rsp + 0x1480]
xor rcx, rsp
call fcn.1800f2f9e
add rsp, 0x1498
pop rdi
pop rsi
ret
Function at 0x1802bfdb0
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1498
call fcn.1800f11ee
sub rsp, rax
mov rax, qword [0x180347080]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x18034b200]
mov edx, dword [rsp + 0x14b8]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + rdx + 0x28]
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x14c8]
mov rcx, qword [rsp + 0x14c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0xc
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x14c0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jae 0x1802bffc5
lea rax, [rsp + 0x147e]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
cmp qword [rsp + 0x38], rax
jae 0x1802bff09
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jae 0x1802bff09
mov rax, qword [rsp + 0x50]
movzx eax, word [rax]
mov word [rsp + 0x40], ax
mov rax, qword [rsp + 0x50]
add rax, 2
mov qword [rsp + 0x50], rax
movzx eax, word [rsp + 0x40]
mov word [rsp + 0x30], ax
movzx eax, word [rsp + 0x30]
cmp eax, 0xa
jne 0x1802bfee9
mov eax, dword [rsp + 0x78]
add eax, 2
mov dword [rsp + 0x78], eax
mov eax, 0xd
mov rcx, qword [rsp + 0x38]
mov word [rcx], ax
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx ecx, word [rsp + 0x30]
mov word [rax], cx
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
jmp 0x1802bfe78
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov eax, eax
shl rax, 1
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
mov r8d, dword [rsp + 0x48]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1802bff85
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x70], eax
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x1802bffe4
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x74]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x44], eax
jae 0x1802bffc0
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x1802bffe4
jmp 0x1802bfe4e
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
mov rcx, qword [rsp + 0x1480]
xor rcx, rsp
call fcn.1800f2f9e
add rsp, 0x1498
pop rdi
pop rsi
ret
Function at 0x1802c4f40
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
mov edx, 8
lea rcx, [rsp + 0x60]
call fcn.1800f1d10
movzx eax, al
test eax, eax
je 0x1802c4f67
mov al, 1
jmp 0x1802c505c
lea rcx, [rsp + 0x60]
call fcn.1800f671b
movzx eax, al
test eax, eax
je 0x1802c4fa6
lea rcx, [rsp + 0x60]
call fcn.1800f526c
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x60]
call fcn.1800f526c
mov rax, qword [rax + 8]
mov rcx, qword [rsp + 0x40]
cmp qword [rcx], rax
jne 0x1802c4fa6
xor al, al
jmp 0x1802c505c
lea rcx, [rsp + 0x60]
call fcn.1800f54e7
mov ecx, eax
call fcn.1800f6667
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
jne 0x1802c4fcb
xor al, al
jmp 0x1802c505c
lea rax, [rsp + 0x38]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
lea rax, [rsp + 0x48]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
mov r9d, 1
lea r8, [rsp + 0x38]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x1802c5010
xor al, al
jmp 0x1802c505c
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x1802c5039
xor al, al
jmp 0x1802c505c
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
jne 0x1802c504f
mov dword [rsp + 0x20], 1
jmp 0x1802c5057
mov dword [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
add rsp, 0x50
pop rdi
ret
Function at 0x1800018c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x1800018f3
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rcx, rax
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x180001937
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r11d, eax
add r11, rbx
and edi, 0xf
jbe 0x180001932
cmp rbx, r11
jae 0x180001937
add edi, 0xffffffff
movzx eax, word [rbx]
lea rbx, [rbx + rax*2 + 2]
jne 0x180001920
cmp rbx, r11
jb 0x18000193b
xor eax, eax
jmp 0x180001947
xor eax, eax
cmp word [rbx], ax
cmove rbx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x180004c50
Capabilities:
Hash data with md5

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0xd0
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x100], rbx
mov rax, qword [0x18004b0f0]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbp, r8
mov rsi, rdx
mov r12, rcx
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], r8
xor edi, edi
mov dword [rsp + 0x20], edi
call fcn.1800122c8
mov rcx, rax
mov eax, edi
test rcx, rcx
setne al
test eax, eax
jne 0x180004cba
mov ecx, 0x80004005
call fcn.180001e70
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsi], rax
mov ebx, 1
mov dword [rsp + 0x20], ebx
call fcn.1800122c8
mov rcx, rax
mov eax, edi
test rcx, rcx
setne al
test eax, eax
jne 0x180004cef
mov ecx, 0x80004005
call fcn.180001e70
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x28], rax
mov byte [rsp + 0xb0], 0
xor eax, eax
mov qword [rsp + 0xb1], rax
mov dword [rsp + 0xb9], eax
mov word [rsp + 0xbd], ax
mov byte [rsp + 0xbf], al
mov dword [rsp + 0x50], edi
mov dword [rsp + 0x54], edi
mov dword [rsp + 0x58], 0x67452301
mov dword [rsp + 0x5c], 0xefcdab89
mov dword [rsp + 0x60], 0x98badcfe
mov dword [rsp + 0x64], 0x10325476
mov rax, qword [rbp]
mov r13d, dword [rax - 0x10]
sub ebx, dword [rax - 8]
mov eax, dword [rax - 0xc]
or eax, ebx
jge 0x180004d6a
xor edx, edx
mov rcx, rbp
call fcn.180001e10
mov r9d, r13d
mov r8, qword [rbp]
lea rdx, [rsp + 0x50]
mov rcx, r12
call fcn.180004e40
lea r8, [rsp + 0xb0]
lea rdx, [rsp + 0x50]
mov rcx, r12
call fcn.180004f30
nop word [rax + rax]
movzx r8d, byte [rsp + rdi + 0xb0]
lea rdx, str._02x
lea rcx, [rsp + 0x28]
call fcn.180004010
mov rbx, qword [rsp + 0x28]
mov r8d, dword [rbx - 0x10]
mov rdx, rbx
mov rcx, rsi
call fcn.180003e60
inc rdi
cmp rdi, 0x10
jl 0x180004da0
lea rdx, [rbx - 0x18]
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x180004df5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], ebx
dec ebx
test ebx, ebx
jg 0x180004e12
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov rax, rsi
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.180021200
mov rbx, qword [rsp + 0x100]
add rsp, 0xd0
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret