joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14006db78
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x14006dbb2
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14006dbb7
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14006dc00
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x14006dc00
dec r8
sub rdx, 1
jne 0x14006dbe6
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14006eff4
Capabilities:
Parse pe header

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

Disassembly:
push rbp
push rsi
sub rsp, 0x88
mov rax, qword [0x140021008]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov ebp, r9d
mov qword [0x1400243a8], rcx
lea r9, [0x140001c40]
mov qword [rsp + 0x20], 0
xor r8d, r8d
mov edx, 0x81
call qword [sym.imp.USER32.dll_CreateDialogParamW]
mov qword [0x1400243a0], rax
mov rsi, rax
test rax, rax
je 0x140001157
mov qword [rsp + 0xa8], rbx
xor ecx, ecx
mov qword [rsp + 0x80], rdi
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, 1
mov edi, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
lea rdx, [rsp + 0x60]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [rsp + 0x6c]
sub ecx, dword [rsp + 0x64]
mov r9d, dword [rsp + 0x68]
sub ebx, ecx
sub r9d, dword [rsp + 0x60]
mov eax, ebx
cdq
mov dword [rsp + 0x28], 0
sub eax, edx
mov dword [rsp + 0x20], ecx
sar eax, 1
sub edi, r9d
mov r8d, eax
mov rcx, rsi
mov eax, edi
cdq
sub eax, edx
sar eax, 1
mov edx, eax
call qword [sym.imp.USER32.dll_MoveWindow]
call fcn.140001170
mov edx, ebp
mov rcx, rsi
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rsi
call qword [sym.imp.USER32.dll_UpdateWindow]
xor r9d, r9d
lea rcx, [rsp + 0x30]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
mov rdi, qword [rsp + 0x80]
mov rbx, qword [rsp + 0xa8]
test eax, eax
je 0x140001153
nop dword [rax + rax]
mov rcx, qword [0x1400243a0]
lea rdx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x14000113c
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
lea rcx, [rsp + 0x30]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x140001110
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140002180
add rsp, 0x88
pop rsi
pop rbp
ret
Function at 0x140002a88
Capabilities:
Parse pe header

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

Function at 0x140008b14
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140008904
Function at 0x14000ce0c
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14000ce93
mov rsi, rbx
cmp word [rax], bp
je 0x14000ce52
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14000ce3c
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14000ce38
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1400098d4
mov rdi, rax
test rax, rax
je 0x14000ce80
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140004050
mov rbp, rdi
xor ecx, ecx
call fcn.140009898
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140013bfc
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd r8, dword [0x14000003c]
lea rsi, [0x140000000]
add r8, rsi
mov rbx, rdx
mov rdi, rcx
cmp dword [r8 + 0x84], 0xd
jbe 0x140013c74
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x140013c74
movzx ecx, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rcx, 0x18
mov r10d, dword [r10 + rsi + 0xc]
add rcx, r8
test r11d, r11d
je 0x140013c74
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x140013c68
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x140013c86
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x140013c56
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov dword [rdi], edx
mov eax, dword [rcx + 0x24]
mov dword [rbx], eax
mov eax, dword [rcx + 0xc]
add rax, rsi
jmp 0x140013c76

Function at 0x140014140
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140014168
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140014168
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x14001153c
Capabilities:
Terminate process

Disassembly:
jmp 0x14001f760
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 0x140011672
Capabilities:
Parse pe header

Disassembly:
jmp 0x14001eaf0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14001eb10
xor al, al
jmp 0x14001eb91
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14001eb23
xor al, al
jmp 0x14001eb91
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001eb4d
xor al, al
jmp 0x14001eb91
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14001eb61
xor al, al
jmp 0x14001eb91
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14001eb73
xor al, al
jmp 0x14001eb91
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001eb8f
xor al, al
jmp 0x14001eb91
mov al, 1
add rsp, 0x38
ret

Function at 0x1400116bd
Capabilities:
Log keystrokes via application hook

Disassembly:
jmp 0x140017d90
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x1400340f4]
call fcn.1400118f2
nop
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rbp + 8], rax
xor r9d, r9d
mov r8, qword [rbp + 8]
lea rdx, [0x140011294]
mov ecx, 0xd
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
mov qword [0x14002d730], rax
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x14001187a
Capabilities:
Write file on windows

Disassembly:
jmp 0x1400186f0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1a8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x2e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1c8]
mov rax, qword [0x14002d040]
xor rax, rbp
mov qword [rbp + 0x168], rax
lea rcx, [0x140034066]
call fcn.1400118f2
nop
mov rax, qword [rbp + 0x190]
cmp qword [rax + 0x68], 0
je 0x140018757
mov rax, qword [rbp + 0x190]
movzx eax, byte [rax + 0x72]
test eax, eax
jne 0x14001875e
mov al, 1
jmp 0x1400188b3
call fcn.14001133e
mov rcx, qword [rbp + 0x190]
mov rcx, qword [rcx]
mov qword [rbp + 0x158], rcx
movzx edx, ax
mov rcx, qword [rbp + 0x190]
mov rax, qword [rbp + 0x158]
call qword [rax + 0x18]
mov word [rbp + 0x160], ax
call fcn.14001133e
movzx ecx, word [rbp + 0x160]
movzx edx, cx
movzx ecx, ax
call fcn.1400113d4
movzx eax, al
test eax, eax
je 0x1400187b4
xor al, al
jmp 0x1400188b3
mov qword [rbp + 8], 0x20
lea rax, [rbp + 0x48]
mov rcx, qword [rbp + 0x190]
add rcx, 0x74
lea rdx, [rbp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rbp + 0x28]
mov rdx, rcx
mov rax, qword [rbp + 0x190]
mov rcx, qword [rax + 0x68]
call qword [sym.imp.MSVCP140D.dll_public:_int___cdecl_std::codecvt_wchar_t__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rbp + 0x154], eax
cmp dword [rbp + 0x154], 0
je 0x140018819
cmp dword [rbp + 0x154], 1
je 0x140018824
cmp dword [rbp + 0x154], 3
je 0x1400188a2
jmp 0x1400188b1
mov rax, qword [rbp + 0x190]
mov byte [rax + 0x72], 0
lea rax, [rbp + 0x28]
mov rcx, qword [rbp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jbe 0x140018874
mov rax, qword [rbp + 0x190]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x88]
mov edx, 1
lea rcx, [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_fwrite]
cmp qword [rbp + 0x88], rax
je 0x140018874
xor al, al
jmp 0x1400188b3
mov rax, qword [rbp + 0x190]
movzx eax, byte [rax + 0x72]
test eax, eax
jne 0x14001888f
mov dword [rbp + 0x154], 1
jmp 0x140018899
mov dword [rbp + 0x154], 0
movzx eax, byte [rbp + 0x154]
jmp 0x1400188b3
mov rax, qword [rbp + 0x190]
mov byte [rax + 0x72], 0
mov al, 1
jmp 0x1400188b3
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x1400277a0]
call fcn.14001178a
mov rax, rdi
mov rcx, qword [rbp + 0x168]
xor rcx, rbp
call fcn.140011465
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret
Function at 0x14001d8e0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.140011951
movzx eax, al
test eax, eax
jne 0x14001d900
mov ecx, 7
call fcn.14001179e
nop
mov byte [rsp + 0x20], 0
call fcn.1400117e9
mov byte [rsp + 0x21], al
cmp dword [0x14002d7a0], 1
jne 0x14001d924
mov ecx, 7
call fcn.14001179e
nop
jmp 0x14001d97c
cmp dword [0x14002d7a0], 0
jne 0x14001d977
mov dword [0x14002d7a0], 1
lea rdx, [0x140026880]
lea rcx, [0x140026550]
call fcn.140011447
test eax, eax
je 0x14001d958
mov eax, 0xff
jmp 0x14001da81
lea rdx, [0x140026440]
lea rcx, [section..rdata]
call fcn.1400117d0
mov dword [0x14002d7a0], 2
jmp 0x14001d97c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140011780
call fcn.14001169f
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x14001d9d9
mov rcx, qword [rsp + 0x30]
call fcn.14001137a
movzx eax, al
test eax, eax
je 0x14001d9d9
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140035020]
nop
call fcn.1400116fe
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14001da0d
mov rcx, qword [rsp + 0x38]
call fcn.14001137a
movzx eax, al
test eax, eax
je 0x14001da0d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.1400118bb
nop
call fcn.14001daf0
mov dword [rsp + 0x28], eax
call fcn.140011672
movzx eax, al
test eax, eax
jne 0x14001da2c
mov ecx, dword [rsp + 0x28]
call fcn.1400110b4
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14001da3b
call fcn.1400118d9
nop
xor edx, edx
mov cl, 1
call fcn.140011339
mov eax, dword [rsp + 0x28]
jmp 0x14001da81
add rsp, 0x68
ret
Function at 0x140bd4058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140bd41df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140bd4089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140bd406f
add dl, dl
jne 0x140bd4096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140bd40f6
xor eax, eax
add dl, dl
jne 0x140bd40a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140bd41ad
add dl, dl
jne 0x140bd40b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140bd40c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140bd40d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140bd40dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140bd40ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140bd407e
mov eax, 1
add dl, dl
jne 0x140bd4106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140bd4113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140bd40fb
sub eax, ebx
mov ebx, 1
jne 0x140bd414c
mov ecx, 1
add dl, dl
jne 0x140bd412e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140bd413b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140bd4123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140bd407e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140bd4168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140bd4175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140bd415d
cmp eax, 0x7d00
jae 0x140bd419b
cmp eax, 0x500
jb 0x140bd4196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140bd407e
cmp eax, 0x7f
ja 0x140bd419e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140bd407e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140bd41d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140bd407e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20

Function at 0x140001ad0
Capabilities:
Parse pe header

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

Disassembly:
xchg rbx, rdi
not bpl
not byte [rsp + 9]
lea rax, [rdi + rdx*4 - 0x3e5d36f0]
mov ecx, esi
sub bpl, 0x30
xor r9b, bpl
mov qword [rsp], rax
lea rbp, [rsp + rbp + 0x10]
mov edi, dword [rbp + riz]
sal word [rsp + 1], 0x22
sbb r11, 4
shr byte [rsp + 0xd], 0xe7
sbb esi, ebx
mov qword [rsp + 5], rbx
mov dword [r11], edi
sub r8, 4
or qword [rsp + 8], rsi
call fcn.14459da4a
xor ecx, r9d
ror ebx, 0x22
sar rbx, 0x5c
rol ebp, 0x5c
lea ecx, [rcx + rbp + 0x3b138a9]
jns 0x1445a64a0

Function at 0x1445e8c13
Capabilities:
Parse pe header

Disassembly:
sbb dl, 0x3e
ror dl, 1
mov qword [rsp + rbp*4 + 8], rax
inc dl
xor r9b, dl
pop rdi
pop rax
ror rbp, 0xa2
lea rdx, [rsp + rdx + 0x18]
sub bp, ax
add bpl, 0x21
mov byte [rax + rdx], cl
mov edx, dword [rax + r8 - 6]
sub dword [rsp + rax*2 + 0xb], 0x3ca90d81
mov edi, eax
lea r8, [r8 + rax*2 - 6]
call fcn.1445e0de8

Function at 0x1445ee6b1
Capabilities:
Resolve function by parsing pe exports

Disassembly:
xadd rbp, rbx
pop rbx
xor r9, rdi
call fcn.1445c0d21

Function at 0x140001b04
Capabilities:
Parse pe header

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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x416b46
sub rsp, 0x50
mov qword [rsp + 0x48], rbp
lea rbp, [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00433140
xorps xmm15, xmm15
mov r14, qword [0x00642fb8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x416a0b
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x416a20
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
nop
test rbx, rbx
jbe 0x416a45
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x416a59
cmp rbx, 0x1000
jae 0x416a15
nop dword [rax]
jmp 0x416ac9
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop
cmp rbx, 0x1000
jae 0x416a6d
xor edx, edx
jmp 0x416ac0
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00433140
xorps xmm15, xmm15
mov r14, qword [0x00642fb8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
nop dword [rax]
test dl, dl
jne 0x416a4f
jmp 0x416a34
call fcn.004653c0
xorps xmm15, xmm15
mov r14, qword [0x00642fb8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.00437820
lea rax, [0x00516f2e]
mov ebx, 0x18
call fcn.00438120
mov rax, qword [rsp + 0x38]
call fcn.00437e20
lea rax, [0x00517006]
mov ebx, 0x19
call fcn.00438120
mov rax, qword [rsp + 0x30]
nop
call fcn.00437e20
call fcn.00437a80
call fcn.004378a0
lea rax, [0x005193a2]
mov ebx, 0x21
nop dword [rax + rax]
call fcn.00435ee0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00461800
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp fcn.004169a0
Function at 0x416b80
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x416daa
sub rsp, 0x58
mov qword [rsp + 0x50], rbp
lea rbp, [rsp + 0x50]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.004331c0
xorps xmm15, xmm15
mov r14, qword [0x00642fb8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x416bf9
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x416c0c
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x416c30
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
nop
jmp 0x416c44
cmp rbx, 0x1000
jae 0x416c03
jmp 0x416cc5
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x416c56
xor esi, esi
jmp 0x416cb6
mov rax, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
nop dword [rax]
call fcn.004331c0
xorps xmm15, xmm15
mov r14, qword [0x00642fb8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x28], 0
sete al
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov esi, eax
mov rax, qword [rsp + 0x68]
test sil, sil
jne 0x416c3a
nop
jmp 0x416c22
call fcn.004653c0
xorps xmm15, xmm15
mov r14, qword [0x00642fb8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x416d45
call fcn.00437820
lea rax, [0x00517439]
mov ebx, 0x19
call fcn.00438120
mov rax, qword [rsp + 0x68]
call fcn.00437e20
lea rax, [0x00517006]
mov ebx, 0x19
call fcn.00438120
mov eax, dword [rsp + 0x34]
nop dword [rax]
call fcn.00437e20
call fcn.00437a80
call fcn.004378a0
lea rax, [0x00513bec]
mov ebx, 0xd
nop dword [rax + rax]
call fcn.00435ee0
cmp eax, 0x5af
je 0x416ce8
call fcn.00437820
lea rax, [0x00517439]
mov ebx, 0x19
nop dword [rax]
call fcn.00438120
mov rax, qword [rsp + 0x38]
call fcn.00437e20
lea rax, [0x00517006]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.00438120
mov eax, dword [rsp + 0x34]
call fcn.00437e20
call fcn.00437a80
call fcn.004378a0
lea rax, [0x00518c35]
mov ebx, 0x1f
call fcn.00435ee0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00461800
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00416b80
Function at 0x41f060
Capabilities:
Hash data using murmur3

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
cmp byte [0x00642dd2], 0
jne 0x41f14f
mov rdx, qword [rax + 0x50]
test byte [rdx], al
nop
nop
nop
sub rbx, qword [rax + 0x18]
mov esi, dword [rax + 0x5c]
imul rbx, rsi
mov rsi, rbx
shr rbx, 0x20
shr rsi, 0x23
and ebx, 7
mov rdi, rcx
mov rcx, rbx
mov r8d, 1
shl r8d, cl
add rdx, rsi
lock or byte [rdx], r8b
nop
nop
mov rcx, qword [rax + 0x18]
nop
movabs rdx, 0x800000000000
lea rax, [rdx + rcx]
mov rdx, rax
shr rax, 0x2a
cmp rax, 0x40
jae 0x41f145
lea rbx, [0x00615210]
mov rax, qword [rbx + rax*8]
shr rdx, 0x16
and edx, 0xfffff
mov rdx, qword [rax + rdx*8]
test byte [rdx], al
test byte [rax], al
mov rax, rcx
shr rcx, 0x10
and ecx, 0x3f
movzx ebx, byte [rdx + rcx + 0x11440]
lea rsi, [rcx + 0x11440]
add rdx, rsi
shr rax, 0xd
and eax, 7
mov rcx, rax
mov eax, 1
shl eax, cl
nop
test al, bl
jne 0x41f127
lock or byte [rdx], al
mov rax, qword [r14 + 0x30]
mov rax, qword [rax + 0xa0]
test byte [rax], al
add qword [rax + 0x1248], rdi
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov ecx, 0x40
call fcn.00463e80
lea rax, [0x0051b08c]
mov ebx, 0x2c
nop dword [rax + rax]
call fcn.00435ee0
nop
int3

Function at 0x421540
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x42163e
sub rsp, 0x48
mov qword [rsp + 0x40], rbp
lea rbp, [rsp + 0x40]
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rbx
mov qword [rsp + 8], 0
jmp 0x421580
mov rax, qword [rsp + 0x50]
mov rcx, rdx
mov rbx, qword [rsp + 0x58]
nop
cmp qword [rsp + 8], rbx
jae 0x42162f
test byte [rax], al
lea rcx, [rax + 0x100b8]
mov rax, rcx
call fcn.004220e0
nop dword [rax]
test rax, rax
je 0x42162f
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x20], xmm15
movups xmmword [rsp + 0x30], xmm15
lea rcx, [0x00421680]
mov qword [rsp + 0x10], rcx
lea rdx, [rsp + 8]
mov qword [rsp + 0x18], rdx
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rbx
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x38], rax
lea rbx, [rsp + 0x10]
mov qword [rsp], rbx
call fcn.004616c0
xorps xmm15, xmm15
mov r14, qword [0x00642fb8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rdx, qword [rsp + 0x60]
test rdx, rdx
jne 0x42161d
xor eax, eax
jmp 0x421627
mov rax, qword [rdx]
call rax
mov rdx, qword [rsp + 0x60]
test al, al
je 0x421572
mov rax, qword [rsp + 8]
mov rbp, qword [rsp + 0x40]
add rsp, 0x48
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.00461800
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.00421540