joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b440
Capabilities:
Check for time delay via gettickcount

Disassembly:
push r14
push r13
push rdi
push rsi
push rbx
sub rsp, 0x30
mov qword [rsp + 0x28], rcx
mov ebx, edx
mov rax, qword [rsp + 0x28]
mov r13d, dword [rax + 0x18]
mov rcx, qword [rsp + 0x28]
call fcn.0040b790
mov esi, eax
test sil, sil
jne 0x40b602
test ebx, ebx
je 0x40b602
xor rdi, rdi
test r13d, r13d
jle 0x40b51f
call sub.kernel32.dll_GetTickCount
mov r14d, eax
test r13d, r13d
jle 0x40b4fe
cmp ebx, 0xffffffff
je 0x40b4ab
call sub.kernel32.dll_GetTickCount
sub eax, r14d
cmp eax, ebx
jb 0x40b4ab
xor rsi, rsi
jmp 0x40b602
mov rax, qword [rsp + 0x28]
cmp dword [rax], 1
jg 0x40b4fe
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0
jne 0x40b4f0
xor eax, eax
mov ecx, 1
mov rdx, qword [rsp + 0x28]
lock cmpxchg dword [rdx], ecx
test eax, eax
jne 0x40b4f0
call sub.kernel32.dll_GetCurrentThreadId
mov rcx, qword [rsp + 0x28]
mov dword [rcx + 8], eax
mov dword [rcx + 4], 1
mov sil, 1
jmp 0x40b602
call fcn.0040b7e0
sub r13d, 1
test r13d, r13d
jg 0x40b492
nop
cmp ebx, 0xffffffff
je 0x40b51f
call sub.kernel32.dll_GetTickCount
mov ecx, eax
sub ecx, r14d
cmp ecx, ebx
jb 0x40b51a
xor rsi, rsi
jmp 0x40b602
sub eax, r14d
sub ebx, eax
mov rax, qword [rsp + 0x28]
mov ecx, dword [rax]
test ecx, ecx
je 0x40b45b
mov edx, ecx
add edx, 2
mov eax, ecx
mov r8, qword [rsp + 0x28]
lock cmpxchg dword [r8], edx
cmp eax, ecx
jne 0x40b51f
nop
call sub.kernel32.dll_GetTickCount
mov r14d, eax
mov rcx, qword [rsp + 0x28]
call fcn.0040b6b0
xor rcx, rcx
mov rdx, rax
mov r8d, ebx
mov rax, qword [0x005dd9a0]
call qword [rax + 0x20]
test eax, eax
sete sil
cmp ebx, 0xffffffff
je 0x40b58c
call sub.kernel32.dll_GetTickCount
mov ecx, eax
sub ecx, r14d
cmp ecx, ebx
jae 0x40b589
sub eax, r14d
sub ebx, eax
jmp 0x40b58c
xor rbx, rbx
test sil, sil
je 0x40b5c0
mov rax, qword [rsp + 0x28]
mov ecx, dword [rax]
mov eax, ecx
test eax, 1
jne 0x40b5bd
mov edx, ecx
sub edx, 2
or edx, 1
mov eax, ecx
mov r8, qword [rsp + 0x28]
lock cmpxchg dword [r8], edx
cmp eax, ecx
jne 0x40b591
mov dil, 1
nop
jmp 0x40b5df
mov rax, qword [rsp + 0x28]
mov ecx, dword [rax]
mov edx, ecx
sub edx, 2
mov eax, ecx
mov r8, qword [rsp + 0x28]
lock cmpxchg dword [r8], edx
cmp eax, ecx
jne 0x40b5c0
mov dil, 1
test dil, dil
je 0x40b544
nop
test sil, sil
je 0x40b602
call sub.kernel32.dll_GetCurrentThreadId
mov rcx, qword [rsp + 0x28]
mov dword [rcx + 8], eax
mov dword [rcx + 4], 1
mov eax, esi
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop r13
pop r14
ret
Function at 0x40d060
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x40
cmp byte [0x005dd0a8], 0
je 0x40d0fe
cmp word [0x005dd3b8], 0xd7b2
jne 0x40d093
cmp dword [0x005dd3c0], 0
jbe 0x40d093
lea rcx, [0x005dd3b0]
call qword [0x005dd3d8]
mov ecx, 0xfffffff5
call sub.kernel32.dll_GetStdHandle
mov rcx, rax
lea rdx, [0x005b36b0]
mov r8d, 0x25
lea r9, [rsp + 0x3c]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile
mov ecx, 0xfffffff5
call sub.kernel32.dll_GetStdHandle
mov rbx, rax
lea rcx, [0x0040d134]
call fcn.0040e610
mov rcx, rbx
mov rdx, rax
mov r8d, 2
lea r9, [rsp + 0x3c]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile
jmp 0x40d120
cmp byte [0x005b2052], 0
jne 0x40d120
xor rcx, rcx
lea rdx, [0x005b36b0]
lea r8, [0x005b35b8]
xor r9, r9
call sub.user32.dll_MessageBoxA
add rsp, 0x40
pop rbx
ret

Function at 0x410fd0
Capabilities:
Check os version

Disassembly:
sub rsp, 0x28
lea rcx, [0x005e1c90]
call sub.kernel32.dll_InitializeCriticalSection
mov word [0x005e1cb8], 0x7f
call sub.kernel32.dll_GetVersion
and eax, 0xff
cmp eax, 6
setae al
mov byte [0x005e1c88], al
cmp byte [0x005e1c88], 0
je 0x41106f
lea rcx, [0x00411074]
call sub.kernel32.dll_GetModuleHandleW
mov rcx, rax
lea rdx, [0x0041108e]
call sub.kernel32.dll_GetProcAddress
mov qword [0x005e1c70], rax
lea rcx, [0x00411074]
call sub.kernel32.dll_GetModuleHandleW
mov rcx, rax
lea rdx, [0x004110ac]
call sub.kernel32.dll_GetProcAddress
mov qword [0x005e1c78], rax
lea rcx, [0x00411074]
call sub.kernel32.dll_GetModuleHandleW
mov rcx, rax
lea rdx, [0x004110ca]
call sub.kernel32.dll_GetProcAddress
mov qword [0x005e1c80], rax
add rsp, 0x28
ret
Function at 0x411340
Capabilities:
Get geographical location

Disassembly:
push rbp
sub rsp, 0x1d0
mov rbp, rsp
mov qword [rbp + 0x50], rcx
mov qword [rbp + 0x40], rdx
mov word [rbp + 0x4e], r8w
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x58], 0
nop
mov rcx, qword [rbp + 0x40]
call fcn.0040d500
movzx rax, word [rbp + 0x4e]
cmp word [0x005b3df8], ax
ja 0x411428
movzx rax, word [rbp + 0x4e]
cmp ax, word [0x005b41f8]
mov word [rbp + 0x4e], ax
ja 0x411428
mov ecx, 0x40
xor r8, r8
cmp ecx, r8d
jb 0x411427
mov eax, ecx
add eax, r8d
mov r9d, 2
xor edx, edx
div r9d
lea rdx, [0x005b3df8]
mov r9d, eax
add r9, r9
movzx r10, word [rbp + 0x4e]
cmp word [rdx + r9*8], r10w
jbe 0x4113e1
mov ecx, eax
sub ecx, 1
jmp 0x411422
lea rdx, [0x005b3df8]
mov r8d, eax
add r8, r8
movzx r9, word [rbp + 0x4e]
cmp word [rdx + r8*8], r9w
jae 0x411403
mov r8d, eax
add r8d, 1
jmp 0x411422
mov rcx, qword [rbp + 0x50]
mov rdx, qword [rbp + 0x40]
lea r8, [0x005b3e00]
mov eax, eax
add rax, rax
mov r8, qword [r8 + rax*8]
call fcn.004111e0
jmp 0x411427
cmp ecx, r8d
jae 0x4113b0
nop
mov rax, qword [rbp + 0x40]
cmp qword [rax], 0
jne 0x41150a
movzx rcx, word [rbp + 0x4e]
movzx ecx, cx
mov edx, 2
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x41150a
movzx rcx, word [rbp + 0x4e]
movzx ecx, cx
mov edx, 0x59
lea r8, [rbp + 0x126]
mov r9d, 0x55
call sub.kernel32.dll_GetLocaleInfoW
movzx rcx, word [rbp + 0x4e]
movzx ecx, cx
mov edx, 0x5a
lea r8, [rbp + 0x7c]
mov r9d, 0x55
call sub.kernel32.dll_GetLocaleInfoW
lea rcx, [rbp + 0x68]
lea rdx, [rbp + 0x126]
mov r8d, 0x55
call fcn.0040ed80
lea rcx, [rbp + 0x60]
lea rdx, [rbp + 0x7c]
mov r8d, 0x55
call fcn.0040ed80
lea rcx, [rbp + 0x58]
lea rdx, [rbp + 0x126]
mov r8d, 0x55
call fcn.0040ed80
mov rcx, qword [rbp + 0x40]
mov edx, 5
mov r8, qword [rbp + 0x68]
lea r9, [0x00411564]
mov rax, qword [rbp + 0x60]
mov qword [rsp + 0x20], rax
lea rax, [0x00411574]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.0040f200
nop
lea rcx, [rbp + 0x58]
mov edx, 3
call fcn.0040d5e0
mov rax, qword [rbp + 0x40]
lea rsp, [rbp + 0x1d0]
pop rbp
ret
Function at 0x411780
Capabilities:
Identify system language via api

Disassembly:
push rbp
sub rsp, 0x50
mov rbp, rsp
mov qword [rbp + 0x28], rcx
mov word [rbp + 0x36], dx
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x48], 0
nop
lea rcx, [0x005e1c90]
call sub.kernel32.dll_EnterCriticalSection
movzx rax, word [rbp + 0x36]
cmp word [0x005e1cb8], ax
jne 0x4117eb
mov rcx, qword [rbp + 0x28]
lea rdx, [0x005e1cba]
mov r8d, 0x55
call fcn.0040ed80
lea rcx, [0x005e1c90]
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x4118f6
lea rcx, [0x005e1c90]
call sub.kernel32.dll_LeaveCriticalSection
mov rcx, qword [rbp + 0x28]
call fcn.0040d500
movzx rcx, word [rbp + 0x36]
movzx ecx, cx
mov edx, 2
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x4118b0
cmp byte [0x005e1c88], 0
je 0x411844
mov rcx, rbp
lea rdx, [rbp + 0x48]
movzx r8, word [rbp + 0x36]
call fcn.00411610
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x48]
call fcn.0040db50
jmp 0x4118b0
mov rcx, rbp
lea rdx, [rbp + 0x40]
movzx r8, word [rbp + 0x36]
call fcn.00411340
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x40]
call fcn.0040db50
call sub.kernel32.dll_GetSystemDefaultUILanguage
movzx rcx, word [rbp + 0x36]
cmp cx, ax
mov word [rbp + 0x36], cx
je 0x4118b0
mov rax, qword [rbp + 0x28]
cmp qword [rax], 0
je 0x41188f
mov rcx, qword [rbp + 0x28]
lea rdx, [0x00411944]
call fcn.0040eff0
call sub.kernel32.dll_GetSystemDefaultUILanguage
mov rcx, rbp
lea rdx, [rbp + 0x38]
mov r8d, eax
call fcn.00411340
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x38]
call fcn.0040eff0
lea rcx, [0x005e1c90]
call sub.kernel32.dll_EnterCriticalSection
movzx rax, word [rbp + 0x36]
mov word [0x005e1cb8], ax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rax]
call fcn.0040ec80
lea rcx, [0x005e1cba]
mov edx, 0xaa
mov r8, rax
call fcn.00411100
lea rcx, [0x005e1c90]
call sub.kernel32.dll_LeaveCriticalSection
nop
lea rcx, [rbp + 0x38]
mov edx, 3
call fcn.0040d5e0
mov rax, qword [rbp + 0x28]
lea rsp, [rbp + 0x50]
pop rbp
ret
Function at 0x412320
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push rbp
sub rsp, 0x50
mov rbp, rsp
mov qword [rbp + 0x28], rcx
mov qword [rbp + 0x20], rdx
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x70], r8
mov rcx, qword [rbp + 0x70]
call fcn.0040d690
nop
call sub.kernel32.dll_GetUserDefaultUILanguage
movzx ecx, ax
mov edx, 3
lea r8, [rbp + 0x48]
mov r9d, 4
call sub.kernel32.dll_GetLocaleInfoW
lea rcx, [rbp + 0x38]
lea rdx, [rbp + 0x48]
mov r8d, 4
call fcn.0040ed80
mov rcx, qword [rbp + 0x20]
mov rdx, qword [rbp + 0x70]
mov r8, qword [rbp + 0x38]
call fcn.0040f0e0
mov rcx, qword [rbp + 0x28]
mov rax, qword [rbp + 0x20]
mov rdx, qword [rax]
call fcn.00412140
test al, al
jne 0x4123ee
mov word [rbp + 0x4c], 0
lea rcx, [rbp + 0x30]
lea rdx, [rbp + 0x48]
mov r8d, 4
call fcn.0040ed80
mov rcx, qword [rbp + 0x20]
mov rdx, qword [rbp + 0x70]
mov r8, qword [rbp + 0x30]
call fcn.0040f0e0
mov rcx, qword [rbp + 0x28]
mov rax, qword [rbp + 0x20]
mov rdx, qword [rax]
call fcn.00412140
test al, al
jne 0x4123ee
mov rcx, qword [rbp + 0x20]
call fcn.0040d500
nop
lea rcx, [rbp + 0x30]
mov edx, 2
call fcn.0040d5e0
lea rcx, [rbp + 0x70]
call fcn.0040d500
mov rax, qword [rbp + 0x20]
lea rsp, [rbp + 0x50]
pop rbp
ret
Function at 0x412460
Capabilities:
Identify system language via api

Disassembly:
push rbp
sub rsp, 0x70
mov rbp, rsp
mov qword [rbp + 0x28], rcx
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x88], rdx
mov qword [rbp + 0x90], r8
mov rcx, qword [rbp + 0x88]
call fcn.0040d690
mov rcx, qword [rbp + 0x90]
call fcn.0040d690
nop
mov rcx, qword [rbp + 0x28]
call fcn.0040d500
cmp qword [rbp + 0x90], 0
je 0x412626
lea rcx, [rbp + 0x60]
mov rdx, qword [rbp + 0x90]
call fcn.0040dbd0
xor rax, rax
cmp qword [rbp + 0x90], 0
je 0x412511
mov rax, qword [rbp + 0x90]
mov eax, dword [rax - 4]
cmp eax, 1
jl 0x41254b
mov rcx, qword [rbp + 0x90]
movsxd rdx, eax
cmp word [rcx + rdx*2 - 2], 0x2e
jne 0x412544
lea rcx, [rbp + 0x60]
mov rdx, qword [rbp + 0x90]
mov r8d, 1
mov r9d, eax
call fcn.0040f2f0
jmp 0x41254b
sub eax, 1
test eax, eax
jne 0x412516
nop
lea rcx, [rbp + 0x68]
mov rdx, qword [rbp + 0x88]
call fcn.00412030
cmp qword [rbp + 0x68], 0
je 0x412589
mov rcx, rbp
lea rdx, [rbp + 0x58]
mov r8, qword [rbp + 0x60]
mov r9, qword [rbp + 0x68]
call fcn.004121e0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x58]
call fcn.0040db50
jmp 0x412625
call sub.kernel32.dll_GetUserDefaultUILanguage
lea rcx, [rbp + 0x48]
mov edx, eax
call fcn.00411780
mov rcx, rbp
lea rdx, [rbp + 0x50]
mov r8, qword [rbp + 0x60]
mov r9, qword [rbp + 0x48]
call fcn.004121e0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x50]
call fcn.0040db50
mov rax, qword [rbp + 0x28]
cmp qword [rax], 0
jne 0x4125fe
cmp byte [0x005e1c88], 0
jne 0x4125fe
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea rcx, [rbp + 0x38]
mov edx, eax
call fcn.00411780
mov rcx, rbp
lea rdx, [rbp + 0x40]
mov r8, qword [rbp + 0x60]
mov r9, qword [rbp + 0x38]
call fcn.004121e0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x40]
call fcn.0040db50
mov rax, qword [rbp + 0x28]
cmp qword [rax], 0
jne 0x412625
mov rcx, rbp
lea rdx, [rbp + 0x30]
mov r8, qword [rbp + 0x60]
call fcn.00412320
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x30]
call fcn.0040db50
nop
lea rcx, [rbp + 0x30]
mov edx, 8
call fcn.0040d5e0
lea rcx, [rbp + 0x88]
mov edx, 2
call fcn.0040d5e0
mov rax, qword [rbp + 0x28]
lea rsp, [rbp + 0x70]
pop rbp
ret

Function at 0x4134e0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
lea rcx, [rsp + 0x20]
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [rsp + 0x40]
add rsp, 0x58
ret

Function at 0x413500
Capabilities:
Check os version

Disassembly:
sub rsp, 0x28
call sub.kernel32.dll_GetVersion
mov ecx, eax
and ecx, 0xff
and eax, 0xff00
shr eax, 8
cmp ecx, 5
jne 0x413524
cmp eax, 1
jae 0x413529
cmp ecx, 5
jbe 0x413535
mov dword [0x005dd9b0], 0x7f
jmp 0x41353f
mov dword [0x005dd9b0], 0x409
add rsp, 0x28
ret
Function at 0x414cf0
Capabilities:
Set thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
call fcn.00414ce0
mov ebx, eax
test ebx, ebx
je 0x414d3b
cmp dword [0x005b4c34], 0xffffffff
jne 0x414d14
mov ecx, 0xe2
call fcn.0040d300
mov ecx, ebx
call fcn.00414cc0
test rax, rax
jne 0x414d2d
mov ecx, 0xe2
call fcn.0040d300
jmp 0x414d3b
mov ecx, dword [0x005b4c34]
mov rdx, rax
call sub.kernel32.dll_TlsSetValue
add rsp, 0x20
pop rbx
ret

Function at 0x414d90
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
sub rsp, 0x28
lea rax, [0x1b0]
test rax, rax
je 0x414dd0
cmp dword [0x005b4c34], 0xffffffff
je 0x414dd0
mov ecx, dword [0x005b4c34]
call sub.kernel32.dll_TlsGetValue
test rax, rax
je 0x414dd0
mov rcx, rax
call sub.kernel32.dll_LocalFree
mov ecx, dword [0x005b4c34]
xor rdx, rdx
call sub.kernel32.dll_TlsSetValue
add rsp, 0x28
ret

Function at 0x414e10
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
cmp byte [0x005e1d64], 0
je 0x414e4b
mov ecx, dword [0x005b4c34]
call sub.kernel32.dll_TlsGetValue
test rax, rax
jne 0x414e5f
call fcn.00414cf0
mov ecx, dword [0x005b4c34]
call sub.kernel32.dll_TlsGetValue
test rax, rax
jne 0x414e5f
mov rax, qword [0x005e1d98]
jmp 0x414e5f
mov rax, qword gs:[0x58]
movsxd rcx, dword [0x005b4c34]
mov rax, qword [rax + rcx*8]
add rsp, 0x28
ret

Function at 0x432420
Capabilities:
Get geographical location

Disassembly:
push rbp
push rbx
sub rsp, 0x38
mov rbp, rsp
mov ebx, r8d
lea r8, [rbp + 0x2c]
mov r9d, 2
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x432447
movzx rax, word [rbp + 0x2c]
jmp 0x432449
mov eax, ebx
lea rsp, [rbp + 0x38]
pop rbx
pop rbp
ret
Function at 0x433710
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x8e0
mov rbp, rsp
mov qword [rbp + 0x40], rcx
mov qword [rbp + 0x48], rdx
mov qword [rbp + 0x58], 0
nop
mov rcx, qword [rbp + 0x40]
mov rdx, qword [rbp + 0x48]
lea r8, [rbp + 0x60]
mov r9d, 0x400
call fcn.004334b0
mov ebx, eax
mov rax, qword [0x005dbe50]
cmp byte [rax], 0
je 0x433848
mov rcx, qword [0x005dba28]
call fcn.00409d80
call fcn.00408b10
mov ecx, 1
xor rdx, rdx
lea r8, [rbp + 0x60]
mov r9d, ebx
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
call sub.kernel32.dll_WideCharToMultiByte_1
mov esi, eax
lea rcx, [rbp + 0x58]
mov rdx, qword [0x004336d0]
mov r8d, 1
movsxd r9, esi
call fcn.00410870
mov ecx, 1
xor rdx, rdx
lea r8, [rbp + 0x60]
mov r9d, ebx
mov rax, qword [rbp + 0x58]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
call sub.kernel32.dll_WideCharToMultiByte_1
mov ecx, 0xfffffff4
call sub.kernel32.dll_GetStdHandle_1
mov rcx, rax
mov rdx, qword [rbp + 0x58]
mov r8d, esi
lea r9, [rbp + 0x54]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile_1
mov ecx, 0xfffffff4
call sub.kernel32.dll_GetStdHandle_1
mov rcx, rax
lea rdx, [0x004338e8]
mov r8d, 2
lea r9, [rbp + 0x54]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile_1
jmp 0x43388e
mov rcx, qword [0x005e1d68]
call fcn.00410da0
mov rcx, rax
mov rax, qword [0x005db970]
mov edx, dword [rax + 8]
lea r8, [rbp + 0x860]
mov r9d, 0x40
call sub.user32.dll_LoadStringW_1
xor rcx, rcx
lea rdx, [rbp + 0x60]
lea r8, [rbp + 0x860]
mov r9d, 0x2010
call sub.user32.dll_MessageBoxW
nop
lea rcx, [rbp + 0x58]
mov rdx, qword [0x004336d0]
call fcn.00410a50
lea rsp, [rbp + 0x8e0]
pop rbx
pop rsi
pop rbp
ret

Function at 0x4360c0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r13
push rdi
push rsi
push rbx
sub rsp, 0x240
mov rbp, rsp
mov rbx, rcx
mov rcx, rbx
call fcn.0040dcf0
mov r13d, eax
mov ecx, 0xfde9
xor rdx, rdx
mov r8, rbx
mov r9d, r13d
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x28], 0
call fcn.004134c0
mov esi, eax
cmp esi, 0x104
jbe 0x43611d
mov ecx, esi
add ecx, ecx
mov ecx, ecx
call fcn.004087d0
mov rdi, rax
jmp 0x436121
lea rdi, [rbp + 0x38]
mov ecx, 0xfde9
xor rdx, rdx
mov r8, rbx
mov r9d, r13d
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], esi
call fcn.004134c0
mov rax, rdi
mov rcx, rax
call sub.user32.dll_CharUpperW
xor rbx, rbx
xor rax, rax
mov ecx, esi
sub ecx, 1
cmp eax, ecx
jg 0x436177
add ecx, 1
mov edx, ebx
shl edx, 5
shr ebx, 0x1b
or edx, ebx
mov ebx, edx
movsxd rdx, eax
movzx edx, word [rdi + rdx*2]
xor ebx, edx
add eax, 1
cmp eax, ecx
jne 0x43615b
nop
lea rax, [rbp + 0x38]
cmp rdi, rax
je 0x436189
mov rcx, rdi
call fcn.00408800
mov eax, ebx
lea rsp, [rbp + 0x240]
pop rbx
pop rsi
pop rdi
pop r13
pop rbp
ret
Function at 0x5a8a80
Capabilities:
Get hostname

Disassembly:
push rbp
push rbx
sub rsp, 0x58
mov rbp, rsp
mov rbx, rcx
cmp dword [0x005e66cc], 0x7687a
je 0x5a8b11
cmp dword [0x005e66cc], 0x76325
je 0x5a8b11
mov dword [rbp + 0x28], 0x10
cmp dword [0x005e66cc], 0xd3fd3
je 0x5a8b11
cmp dword [0x005e66cc], 0xa528
je 0x5a8b11
lea rcx, [rbp + 0x2e]
lea rdx, [rbp + 0x28]
call sub.kernel32.dll_GetComputerNameW
cmp dword [0x005e66cc], 0xe024f
je 0x5a8b11
cmp dword [0x005e66cc], 0x4433e
je 0x5a8b11
mov rcx, rbx
lea rdx, [rbp + 0x2e]
mov r8d, 0x11
call fcn.0040ed80
cmp dword [0x005e66cc], 0x215e
je 0x5a8b11
cmp dword [0x005e66cc], 0x8d447
mov rax, rbx
lea rsp, [rbp + 0x58]
pop rbx
pop rbp
ret
Function at 0x140001000
Capabilities:
Accept command line arguments

Disassembly:
push rdi
sub rsp, 0x20
lea rcx, str.Bin.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rdi, rax
test rax, rax
jne 0x14000103f
xor r9d, r9d
lea r8, str.Error
lea rdx, str.Failed_To_Load_Mod
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov eax, 1
add rsp, 0x20
pop rdi
ret
lea rdx, str.RunApp
mov qword [rsp + 0x38], rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test rax, rax
jne 0x14000108e
xor r9d, r9d
lea r8, str.Error
lea rdx, str.Failed_To_Get_Function_Address
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rsi, qword [rsp + 0x38]
mov eax, 1
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor ecx, ecx
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r9d, 0xa
mov r8, rbx
mov rcx, rax
xor edx, edx
call rsi
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rsi, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400019ec
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001a36
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001a36
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001a36
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001a36
cmp dword [rcx + 0x84], 0xe
jbe 0x140001a36
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001a38
xor al, al
add rsp, 0x28
ret
Function at 0x1400119b0
Capabilities:
Check if file exists
Get common file path
Get file attributes
Set current directory

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x3a0]
sub rsp, 0x4a0
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x4d0], rbx
mov rax, qword [0x140047650]
xor rax, rsp
mov qword [rbp + 0x390], rax
mov rdi, rdx
mov rbx, rcx
cmp qword [rdx + 0x18], 8
jb 0x1400119f7
mov rcx, qword [rdx]
jmp 0x1400119fa
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140011b40
test al, 0x10
jne 0x140011b40
xor esi, esi
mov qword [rsp + 0x20], rsi
cmp qword [rdi + 0x18], 8
jb 0x140011a22
mov rdi, qword [rdi]
lea r9, [rsp + 0x20]
lea r8, [rbp + 0x180]
mov edx, 0x104
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], rsi
mov word [rsp + 0x50], si
cmp word [rbp + 0x180], si
jne 0x140011a5d
mov r9, rsi
jmp 0x140011a7a
lea rax, [rbp + 0x180]
or r9, 0xffffffffffffffff
nop dword [rax + rax]
inc r9
cmp word [rax + r9*2], si
jne 0x140011a70
mov r8, r9
lea rdx, [rbp + 0x180]
lea rcx, [rsp + 0x50]
call fcn.1400073b0
nop
mov rax, qword [rsp + 0x20]
mov word [rax], si
lea rdx, [rsp + 0x70]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea rcx, [rbp + 0x180]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
nop
mov qword [rsp + 0x48], 7
mov qword [rsp + 0x40], rsi
mov word [rsp + 0x30], si
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
and al, 0x50
add rbx, 0x20
xor r8d, r8d
lea rdx, [0x14003c888]
mov rcx, rbx
call fcn.1400073b0
mov r8d, 0x10
lea rdx, str.File_not_found:
mov rcx, rbx
call fcn.14000a9f0
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call fcn.140009e10
xor al, al

Function at 0x140012e30
Capabilities:
Get file system object information

Disassembly:
sub rsp, 0x518
mov rax, qword [0x140047650]
xor rax, rsp
mov qword [rsp + 0x500], rax
lea rdx, [rsp + 0x2f0]
mov r8d, 0x104
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rsp + 0x38]
xor edx, edx
mov r8d, 0x2b0
mov qword [rsp + 0x30], 0
call fcn.14001c480
lea r8, [rsp + 0x30]
lea rcx, [rsp + 0x2f0]
mov r9d, 0x2b8
xor edx, edx
mov dword [rsp + 0x20], 0x2000
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov ecx, 0x4550
cmp ax, cx
jne 0x140012ec9
shr eax, 0x10
test ax, ax
jne 0x140012ec9
mov al, 1
mov rcx, qword [rsp + 0x500]
xor rcx, rsp
call fcn.14001aca0
add rsp, 0x518
ret
xor al, al
mov rcx, qword [rsp + 0x500]
xor rcx, rsp
call fcn.14001aca0
add rsp, 0x518
ret
Function at 0x18000490d
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0x88
mov esi, edx
mov edi, ecx
mov rax, qword [0x180027d70]
test rax, rax
jne 0x180004ae3
mov dword [rsp + 0x3c], 0
mov rax, qword [0x180027d88]
mov rcx, qword [0x180027d90]
lea r8, [rsp + 0x41]
mov byte [r8 - 1], 0x65
mov dword [r8], 0x1d1d1d1d
mov byte [r8 + 4], 0x5a
movabs rdx, 0x1d1d1d1d1d1d1d1d
mov qword [r8 + 5], rdx
mov qword [r8 + 0xb], rdx
movabs rdx, 0x5a5a5a5a1d1d1d5a
mov qword [r8 + 0x13], rdx
mov word [r8 + 0x1b], 0x1d1d
mov byte [r8 + 0x1d], 0
mov edx, 1
xor byte [rsp + rdx + 0x40], 0x65
inc rdx
cmp rdx, 0x1e
jne 0x180004987
xor r9d, r9d
mov byte [rsp + 0x5e], r9b
lea rdx, [rsp + 0x61]
movaps xmm0, xmmword [0x180021830]
movaps xmmword [rdx - 1], xmm0
movabs r10, 0x1db37438d4bb706f
mov qword [rdx + 0xf], r10
mov dword [rdx + 0x17], 0x38383838
mov word [rdx + 0x1b], 0xd50b
mov byte [rdx + 0x1d], r9b
mov r9d, 1
xor byte [rsp + r9 + 0x60], 0x38
inc r9
cmp r9, 0x1e
jne 0x1800049d2
mov byte [rsp + 0x7e], 0
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], 0x989680
lea rcx, [rsp + 0x3c]
xor r9d, r9d
call fcn.18001fe28
mov qword [0x180027d70], rax
test rax, rax
jne 0x180004ae3
mov dword [rsp + 0x3c], 0
lea r9, [rsp + 0x41]
mov byte [r9 - 1], 0x71
mov dword [r9], 0x9090909
mov byte [r9 + 4], 0x4e
movabs rax, 0x909090909090909
mov qword [r9 + 5], rax
mov qword [r9 + 0xb], rax
movabs rax, 0x4e4e4e4e0909094e
mov qword [r9 + 0x13], rax
mov word [r9 + 0x1b], 0x909
mov byte [r9 + 0x1d], 0
mov eax, 1
xor byte [rsp + rax + 0x40], 0x71
inc rax
cmp rax, 0x1e
jne 0x180004a65
xor eax, eax
mov byte [rsp + 0x5e], al
lea r8, [rsp + 0x61]
movaps xmm0, xmmword [0x180021840]
movaps xmmword [r8 - 1], xmm0
movabs rcx, 0x49e7206c80ef243b
mov qword [r8 + 0xf], rcx
mov dword [r8 + 0x17], 0x6c6c6c6c
mov word [r8 + 0x1b], 0x815f
mov byte [r8 + 0x1d], al
mov eax, 1
xor byte [rsp + rax + 0x60], 0x6c
inc rax
cmp rax, 0x1e
jne 0x180004ab0
mov byte [rsp + 0x7e], 0
mov rdx, qword [0x180027d80]
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x3c]
call fcn.18001fd3e
mov qword [0x180027d70], rax
lea rcx, [rsp + 0x40]
mov qword [rcx], rax
mov qword [rcx + 8], 0
mov qword [rsp + 0x20], rcx
mov ecx, edi
mov edx, esi
xor r8d, r8d
xor r9d, r9d
call fcn.180020390
nop
add rsp, 0x88
pop rdi
pop rsi
ret