joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412630
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x38
cmp dword [0x0042d760], ecx
jbe 0x412668
movsxd rax, ecx
lea rcx, [0x00430720]
movsxd rcx, dword [rcx + rax*4]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x34]
call sub.KERNEL32_ReadFile
cmp eax, 1
jne 0x412674
mov eax, dword [rsp + 0x34]
jmp 0x412687
mov ecx, 6
call fcn.00413780
jmp 0x412687
call sub.KERNEL32_GetLastError
mov ecx, eax
xor eax, eax
cmp ecx, 0x6d
je 0x412687
call fcn.00413780
nop
add rsp, 0x38
ret

Function at 0x4126c0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x38
cmp dword [0x0042d760], ecx
jbe 0x4126f8
movsxd rax, ecx
lea rcx, [0x00430720]
movsxd rcx, dword [rcx + rax*4]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x34]
call sub.KERNEL32_WriteFile
cmp eax, 1
jne 0x412704
mov eax, dword [rsp + 0x34]
jmp 0x412709
mov ecx, 6
call fcn.00413780
jmp 0x412709
call fcn.00413830
nop
add rsp, 0x38
ret

Function at 0x415ab0
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call sub.KERNEL32_DeleteFileA
cmp eax, 1
jne 0x415ac5
xor eax, eax
add rsp, 0x28
ret
add rsp, 0x28
jmp fcn.00413830

Function at 0x415d60
Capabilities:
Timestomp file

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov rdi, rdx
call fcn.00414180
movsxd rsi, eax
mov ecx, 0xffffffff
cmp rsi, 0xffffffffffffffff
je 0x415dee
test rdi, rdi
je 0x415da8
mov rcx, qword [rdi]
lea rdx, [rsp + 0x30]
call fcn.00415ad0
cmp eax, 1
jne 0x415de1
mov rcx, qword [rdi + 8]
lea rdx, [rsp + 0x28]
call fcn.00415ad0
cmp eax, 1
jne 0x415de1
jmp 0x415dcc
lea rdi, [rsp + 0x38]
mov rcx, rdi
call sub.KERNEL32_GetLocalTime
lea rdx, [rsp + 0x30]
mov rcx, rdi
call sub.KERNEL32_SystemTimeToFileTime
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov rcx, rsi
mov r9, rdx
call sub.KERNEL32_SetFileTime
xor ecx, ecx
test eax, eax
jne 0x415dee
call fcn.00413830
mov ecx, eax
mov eax, ecx
add rsp, 0x48
pop rdi
pop rsi
ret

Function at 0x417030
Capabilities:
Check if file exists

Disassembly:
push rsi
sub rsp, 0x20
mov esi, edx
call sub.KERNEL32_GetFileAttributesA
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x41170d
add rsp, 0x20
pop rsi
jmp fcn.00413830
xor eax, eax
test sil, 2
je 0x41172a
test cl, 1
je 0x41172a
call fcn.0041d4d0
mov dword [rax], 5
mov eax, 0xffffffff
add rsp, 0x20
pop rsi
ret
jmp 0x4116f0
Function at 0x418740
Capabilities:
Get geographical location

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x220
mov r14, rdx
mov rsi, rcx
mov ecx, dword [rsi + 4]
lea rbx, [rsp + 0x20]
mov ebp, pe_nt_image_headers64
mov edx, 0x1001
mov r8, rbx
mov r9d, pe_nt_image_headers64
call sub.KERNEL32_GetLocaleInfoA
mov rcx, rbx
call fcn.004115b0
mov word [rsp + rax + 0x20], 0x5f
mov edi, dword [rsi + 4]
mov rcx, rbx
call fcn.004115b0
sub ebp, eax
lea r8, [rsp + rax + 0x20]
mov ecx, edi
mov edx, 0x1002
mov r9d, ebp
call sub.KERNEL32_GetLocaleInfoA
mov rcx, rbx
call fcn.004115b0
mov word [rsp + rax + 0x20], 0x2e
mov edi, dword [rsi]
mov rcx, rbx
call fcn.004115b0
lea rdx, [rsp + rax + 0x20]
mov ecx, edi
mov r8d, 0xa
call fcn.0041b660
mov rbx, qword [rsi + 0x38]
test rbx, rbx
je 0x41881b
mov rcx, rbx
call fcn.004115b0
mov rbp, rax
mov rcx, r14
call fcn.004115b0
mov rdi, rax
add rdi, rbp
lea rcx, [rsp + 0x20]
call fcn.004115b0
lea rdx, [rax + rdi + 3]
mov rcx, rbx
call fcn.0040ccd0
mov rbx, rax
xor eax, eax
mov qword [rsi + 0x38], rbx
test rbx, rbx
je 0x4188b1
jmp 0x41886c
mov rcx, r14
call fcn.004115b0
mov rdi, rax
lea rcx, [rsp + 0x20]
call fcn.004115b0
lea rcx, [rdi + rax + 3]
call fcn.0040ccb0
mov rbx, rax
mov qword [rsi + 0x38], rbx
xor eax, eax
test rbx, rbx
je 0x4188b1
mov rcx, r14
call fcn.004115b0
mov rdi, rax
lea rcx, [rsp + 0x20]
call fcn.004115b0
lea r8, [rdi + rax + 3]
mov rcx, rbx
xor edx, edx
call fcn.00411350
mov rcx, rbx
mov rdx, r14
call fcn.00411570
mov rdi, qword [rsi + 0x38]
mov rcx, rdi
call fcn.004115b0
mov word [rdi + rax], 0x3d
mov rcx, qword [rsi + 0x38]
lea rdx, [rsp + 0x20]
call fcn.00411570
mov rsi, qword [rsi + 0x38]
mov rcx, rsi
call fcn.004115b0
mov rcx, rax
mov eax, 1
mov word [rsi + rcx], 0xa
add rsp, 0x220
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
Function at 0x4188c0
Capabilities:
Get geographical location

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov r13, rdx
mov r12, rcx
xorps xmm0, xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x40], 0x6e
mov byte [rsp + 0x41], 0x6f
mov byte [rsp + 0x42], 0x6e
mov byte [rsp + 0x43], 0x65
mov dword [rsp + 0x3c], 0x303030
mov rcx, r13
call fcn.0041a4b0
mov r15d, 1
xor ecx, ecx
lea rbx, [rsp + 0x40]
lea rsi, [rsp + 0x3c]
mov r14d, 1
jmp 0x418960
mov rcx, rsi
call fcn.004115b0
mov rcx, r13
mov rdx, rsi
mov r8, rax
call fcn.00411440
test eax, eax
cmove edi, r15d
setne al
movzx eax, al
add r14d, eax
mov ecx, edi
nop word cs:[rax + rax]
mov ebp, r14d
and ebp, 0xfbff
or ebp, 0x400
mov edi, ecx
test edi, edi
sete al
cmp r14d, 0x38
jg 0x4189d4
test al, al
je 0x4189d4
mov ecx, ebp
mov edx, 0x1001
mov r8, rbx
mov r9d, 0x40
call sub.KERNEL32_GetLocaleInfoA
mov ecx, ebp
mov edx, 3
mov r8, rsi
mov r9d, 4
call sub.KERNEL32_GetLocaleInfoA
mov rcx, rbx
call fcn.0041a4b0
mov rcx, rsi
call fcn.0041a4b0
mov rcx, r13
mov rdx, rbx
call fcn.004111e0
mov ecx, 1
test rax, rax
jne 0x41896f
jmp 0x41892e
test edi, edi
jne 0x418a1c
mov rcx, r13
mov edx, 0x5f
call fcn.00411690
test rax, rax
jne 0x418a00
mov rcx, r13
mov edx, 0x2e
call fcn.00411690
test rax, rax
je 0x418ab5
mov r14d, dword [r12 + 4]
test r14d, r14d
je 0x418a13
and r14d, 0x3ff
jmp 0x418a1c
call sub.KERNEL32_GetSystemDefaultLangID
movzx r14d, ax
mov qword [rsp + 0x28], r12
mov rcx, r13
mov edx, 0x5f
call fcn.00411690
mov r12, rax
test r12, r12
je 0x418ac3
inc r12
mov rcx, r12
mov edx, 0x2e
call fcn.00411690
mov r15d, 1
xor ebx, ebx
test rax, rax
je 0x418a5a
mov byte [rax], 0
mov qword [rsp + 0x20], rax
nop
mov eax, r15d
shl eax, 0xa
or eax, r14d
movzx ebp, ax
lea rdi, [rsp + 0x40]
mov ecx, ebp
mov edx, 0x1002
mov r8, rdi
mov r9d, 0x40
call sub.KERNEL32_GetLocaleInfoA
mov esi, eax
mov rcx, rdi
call fcn.0041a4b0
mov rcx, rdi
mov rdx, r12
call fcn.00411610
test eax, eax
setne cl
test eax, eax
cmove ebx, ebp
je 0x418ab1
movzx ecx, cl
add r15d, ecx
test esi, esi
jne 0x418a60
test eax, eax
je 0x418adb
mov ecx, 0x20000101
call sub.KERNEL32_SetLastError
xor ebx, ebx
jmp 0x418b2b
and r14d, 0xfbff
or r14d, 0x400
mov ebx, r14d
mov rdi, qword [rsp + 0x28]
jmp 0x418aed
mov rax, qword [rsp + 0x20]
test rax, rax
mov rdi, qword [rsp + 0x28]
je 0x418aed
mov byte [rax], 0x2e
mov rcx, r13
mov edx, 0x2e
call fcn.00411690
test rax, rax
je 0x418b07
inc rax
mov rcx, rax
jmp 0x418b24
lea rsi, [rsp + 0x35]
mov ecx, ebx
mov edx, 0xb
mov r8, rsi
mov r9d, 7
call sub.KERNEL32_GetLocaleInfoA
mov rcx, rsi
call fcn.0041b300
mov dword [rdi], eax
mov eax, ebx
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x418e40
Capabilities:
Get geographical location

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov ebx, r9d
mov r14, r8
mov ebp, edx
mov esi, ecx
inc ebx
movsxd rcx, ebx
call fcn.0040ccb0
mov rdi, rax
test rdi, rdi
je 0x418e94
mov ecx, esi
mov edx, ebp
mov r8, rdi
mov r9d, ebx
call sub.KERNEL32_GetLocaleInfoA
test eax, eax
je 0x418ea0
mov rcx, rdi
call fcn.0041b300
mov word [r14], ax
mov rcx, rdi
call fcn.0040ccc0
mov eax, 1
jmp 0x418eaa
mov ecx, 0xe
call sub.KERNEL32_SetLastError
jmp 0x418ea8
mov rcx, rdi
call fcn.0040ccc0
xor eax, eax
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
Function at 0x41a170
Capabilities:
Get geographical location

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov rdi, rdx
mov esi, ecx
mov r8, qword [rdi + 8]
xor r14d, r14d
mov edx, 0xe
xor r9d, r9d
call sub.KERNEL32_GetLocaleInfoA
inc eax
movsxd rbx, eax
mov rcx, rbx
call fcn.0040ccb0
mov qword [rdi + 8], rax
mov ecx, esi
mov edx, 0xe
mov r8, rax
mov r9d, ebx
call sub.KERNEL32_GetLocaleInfoA
mov r8, qword [rdi]
test eax, eax
setne bpl
mov ecx, esi
mov edx, 0xf
xor r9d, r9d
call sub.KERNEL32_GetLocaleInfoA
mov ebx, eax
inc ebx
movsxd rcx, ebx
call fcn.0040ccb0
test rdi, rdi
mov qword [rdi], rax
movzx r15d, bpl
je 0x41a207
mov ecx, esi
mov edx, 0xf
mov r8, rax
mov r9d, ebx
call sub.KERNEL32_GetLocaleInfoA
test eax, eax
setne al
movzx r14d, al
jmp 0x41a211
mov ecx, 0xe
call sub.KERNEL32_SetLastError
mov r8, qword [rdi + 0x10]
mov ecx, esi
mov edx, 0x10
xor r9d, r9d
call sub.KERNEL32_GetLocaleInfoA
inc eax
movsxd rbx, eax
mov rcx, rbx
call fcn.0040ccb0
mov qword [rdi + 0x10], rax
mov ecx, esi
mov edx, 0x10
mov r8, rax
mov r9d, ebx
call sub.KERNEL32_GetLocaleInfoA
mov ebx, eax
mov r8, qword [rdi + 0x18]
mov ecx, esi
mov edx, 0x50
xor r9d, r9d
call sub.KERNEL32_GetLocaleInfoA
inc eax
movsxd rbp, eax
mov rcx, rbp
call fcn.0040ccb0
mov qword [rdi + 0x18], rax
mov ecx, esi
mov edx, 0x50
mov r8, rax
mov r9d, ebp
call sub.KERNEL32_GetLocaleInfoA
mov r12d, eax
and r14d, r15d
test ebx, ebx
setne al
movzx ebp, al
mov r8, qword [rdi + 0x20]
and ebp, r14d
mov ecx, esi
mov edx, 0x51
xor r9d, r9d
call sub.KERNEL32_GetLocaleInfoA
inc eax
movsxd rbx, eax
mov rcx, rbx
call fcn.0040ccb0
mov qword [rdi + 0x20], rax
lea r14, [rdi + 0x28]
test r12d, r12d
setne cl
movzx edi, cl
and edi, ebp
mov ecx, esi
mov edx, 0x51
mov r8, rax
mov r9d, ebx
call sub.KERNEL32_GetLocaleInfoA
mov ebx, eax
mov ecx, esi
mov edx, 0x11
mov r8, r14
mov r9d, 3
call fcn.00418e40
and eax, edi
test ebx, ebx
setne cl
movzx ecx, cl
and ecx, eax
mov eax, ecx
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret

Function at 0x41d2c0
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov esi, r8d
mov rax, rdx
mov rdx, rcx
lea rcx, [0x00425edb]
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], 0
lea rcx, [0x00425ec0]
lea r8, [0x00425ed3]
mov r9, rax
call fcn.0041d330
lea rdi, [0x004310c0]
mov rcx, rdi
call fcn.004115b0
add rax, rdi
mov ecx, esi
mov rdx, rax
call fcn.0041b590
mov rcx, rdi
call fcn.0041d500
nop
add rsp, 0x38
pop rdi
pop rsi
jmp fcn.0041de70
Function at 0x41d3d0
Capabilities:
Write file on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x68
mov r14, rdx
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call sub.KERNEL32_CreateFileA
mov rdi, rax
test rdi, rdi
je 0x41d4bb
lea rcx, [rsp + 0x58]
call sub.KERNEL32_GetLocalTime
movzx r9d, word [rsp + 0x5e]
movzx r8d, word [rsp + 0x5a]
movzx eax, word [rsp + 0x58]
movzx ecx, word [rsp + 0x60]
movzx edx, word [rsp + 0x62]
movzx ebx, word [rsp + 0x64]
movzx esi, word [rsp + 0x66]
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], eax
lea rsi, [0x004311c0]
lea rdx, [0x00425ef0]
mov rcx, rsi
call sub.USER32_wsprintfA
mov rcx, rsi
call fcn.004115b0
lea rbx, [rsp + 0x54]
mov qword [rsp + 0x20], 0
mov rcx, rdi
mov rdx, rsi
mov r8d, eax
mov r9, rbx
call sub.KERNEL32_WriteFile
mov rcx, r14
call fcn.004115b0
mov qword [rsp + 0x20], 0
mov rcx, rdi
mov rdx, r14
mov r8d, eax
mov r9, rbx
call sub.KERNEL32_WriteFile
mov rcx, rdi
call sub.KERNEL32_CloseHandle
nop
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x41d500
Capabilities:
Write file on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0xb8
mov rsi, rcx
mov rax, qword [0x004311e0]
mov rcx, qword [0x004311e8]
test rcx, rcx
jne 0x41d5d8
test rax, rax
jne 0x41d5d8
cmp dword [0x0042eb00], 0
je 0x41d613
lea rdi, [rsp + 0x30]
xor ecx, ecx
mov rdx, rdi
mov r8d, 0x80
call sub.KERNEL32_GetModuleFileNameA
mov rcx, rdi
mov edx, 0x5c
call fcn.0041d260
test rax, rax
jne 0x41d575
mov rcx, rdi
mov edx, 0x3a
call fcn.0041d260
test rax, rax
je 0x41d57b
inc rax
mov rdi, rax
mov dword [rsp + 0xb4], 0
call sub.KERNEL32_GetVersion
mov r9d, 0x12010
test eax, eax
jns 0x41d5c6
call sub.KERNEL32_GetCurrentThreadId
lea rdx, [0x0041d6d0]
lea r8, [rsp + 0xb4]
mov ecx, eax
call sub.USER32_EnumThreadWindows
mov r9d, 0x12010
cmp dword [rsp + 0xb4], 0
jne 0x41d5c6
mov r9d, 0x11010
xor ecx, ecx
mov rdx, rsi
mov r8, rdi
call sub.USER32_MessageBoxA
jmp 0x41d688
test rax, rax
je 0x41d5f2
cmp eax, 0xffffffff
je 0x41d688
mov rcx, rsi
call rax
mov rcx, qword [0x004311e8]
test rcx, rcx
je 0x41d688
cmp ecx, 0xffffffff
je 0x41d688
cmp byte [rcx], 0
je 0x41d688
mov rdx, rsi
call fcn.0041d3d0
jmp 0x41d688
mov ecx, 0xfffffff4
call sub.KERNEL32_GetStdHandle
mov rdi, rax
mov qword [rsp + 0x20], 0
lea r14, [0x00425f20]
lea rbx, [rsp + 0x2c]
mov rcx, rdi
mov rdx, r14
mov r8d, 2
mov r9, rbx
call sub.KERNEL32_WriteFile
mov rcx, rsi
call fcn.004115b0
mov qword [rsp + 0x20], 0
mov rcx, rdi
mov rdx, rsi
mov r8d, eax
mov r9, rbx
call sub.KERNEL32_WriteFile
mov qword [rsp + 0x20], 0
mov rcx, rdi
mov rdx, r14
mov r8d, 2
mov r9, rbx
call sub.KERNEL32_WriteFile
nop
add rsp, 0xb8
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x41d6b0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
call fcn.0041d500
mov ecx, 1
add rsp, 0x28
jmp fcn.0041e0d0
Function at 0x41de20
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
cmp dword [0x0042ea80], 0
je 0x41de48
call sub.KERNEL32_IsDebuggerPresent
test eax, eax
je 0x41de48
mov ecx, 0x40000015
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call sub.KERNEL32_RaiseException
lea rcx, [0x00425f30]
call fcn.0041d500
mov ecx, 3
add rsp, 0x28
jmp fcn.0041e0d0

Function at 0x41de70
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov ecx, 0x16
call fcn.0041ed10
cmp dword [0x0042ea80], 0
je 0x41dea2
call sub.KERNEL32_IsDebuggerPresent
test eax, eax
je 0x41dea2
mov ecx, 0x40000015
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call sub.KERNEL32_RaiseException
lea rcx, [0x00425f30]
call fcn.0041d500
mov ecx, 3
add rsp, 0x28
jmp fcn.0041e0d0

Function at 0x41e050
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rsi, r9
mov ebp, r8d
mov ebx, edx
mov edi, ecx
call fcn.0041f230
test edi, edi
jne 0x41e07e
mov rcx, rsi
call fcn.0041df20
call fcn.0041f110
call qword [0x0042eaa0]
test ebx, ebx
jne 0x41e09e
test edi, edi
jne 0x41e092
call qword [0x0042eaa8]
call qword [0x0042eab0]
call fcn.0041f240
mov ecx, ebp
call fcn.0041f000
nop
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.0041f240
mov eax, ecx
mov r9, qword [0x00427090]
mov ecx, 1
xor edx, edx
mov r8d, eax
jmp 0x41e050

Function at 0x41e0d0
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rsi, r9
mov ebp, r8d
mov ebx, edx
mov edi, ecx
call fcn.0041f230
test edi, edi
jne 0x41e07e
mov rcx, rsi
call fcn.0041df20
call fcn.0041f110
call qword [0x0042eaa0]
test ebx, ebx
jne 0x41e09e
test edi, edi
jne 0x41e092
call qword [0x0042eaa8]
call qword [0x0042eab0]
call fcn.0041f240
mov ecx, ebp
call fcn.0041f000
nop
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.0041f240
mov eax, ecx
mov r9, qword [0x00427090]
mov ecx, 1
xor edx, edx
mov r8d, eax
jmp 0x41e050
Function at 0x41e980
Capabilities:
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov rax, qword [0x00439250]
test rax, rax
je 0x41e9ca
mov rcx, qword [rax]
xor ebp, ebp
test rcx, rcx
je 0x41ea66
add rax, 8
xor ebp, ebp
nop word [rax + rax]
cmp byte [rcx], 1
sbb ecx, ecx
lea ebp, [rbp + rcx + 1]
mov rcx, qword [rax]
add rax, 8
test rcx, rcx
jne 0x41e9b0
jmp 0x41ea66
mov rsi, qword [0x00439310]
test rsi, rsi
jne 0x41e9fd
call sub.KERNEL32_GetEnvironmentStrings
mov rsi, rax
mov qword [0x00439310], rsi
test rsi, rsi
jne 0x41e9fd
lea rcx, [0x00425fb0]
call fcn.0041d6b0
mov rsi, qword [0x00439310]
mov rcx, rsi
call fcn.004115b0
xor r14d, r14d
mov ebx, 1
test eax, eax
mov ebp, 0
je 0x41ea40
xor edi, edi
xor ebp, ebp
mov rbx, rsi
nop dword [rax]
lea ecx, [rax + 1]
movsxd rcx, ecx
lea edi, [rax + rdi + 1]
add rbx, rcx
mov rcx, rbx
call fcn.004115b0
inc ebp
test eax, eax
jne 0x41ea20
inc edi
movsxd rbx, edi
mov rcx, rbx
call fcn.0040ccb0
mov qword [0x00439238], rax
test rax, rax
je 0x41eb3b
mov rcx, rax
mov rdx, rsi
mov r8, rbx
call fcn.004112d0
lea eax, [rbp + 4]
mov dword [0x00439260], eax
add ebp, 5
movsxd rcx, ebp
mov edx, 8
call fcn.0040cca0
mov rdi, rax
xor r14d, r14d
test rdi, rdi
je 0x41eb3b
mov r14, qword [0x00439250]
test r14, r14
je 0x41ead7
mov rdx, qword [r14]
test rdx, rdx
je 0x41eb26
lea rax, [r14 + 8]
xor ecx, ecx
nop dword [rax]
cmp byte [rdx], 0
jne 0x41eac0
dec ecx
jmp 0x41eac7
movsxd rbp, ecx
mov qword [rdi + rbp*8], rdx
inc ecx
mov rdx, qword [rax]
add rax, 8
test rdx, rdx
jne 0x41eab0
jmp 0x41eb21
mov rbx, qword [0x00439238]
mov rcx, rbx
call fcn.004115b0
test eax, eax
je 0x41eb2e
movabs rbp, 0x100000000
mov rsi, rdi
nop word [rax + rax]
mov qword [rsi], rbx
shl rax, 0x20
add rax, rbp
sar rax, 0x20
add rbx, rax
mov rcx, rbx
call fcn.004115b0
add rsi, 8
test eax, eax
jne 0x41eb00
test r14, r14
je 0x41eb2e
mov rcx, r14
call fcn.0040ccc0
mov qword [0x00439250], rdi
mov r14d, 1
mov eax, r14d
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret

Function at 0x41f280
Capabilities:
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
mov r14, r9
mov edi, r8d
mov rsi, rdx
mov rbx, rcx
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x30], rbx
cmp edi, 1
jne 0x41f2de
mov eax, dword [0x00439330]
lea ecx, [rax + 1]
mov dword [0x00439330], ecx
test eax, eax
jne 0x41f2de
call sub.KERNEL32_GetEnvironmentStrings
mov qword [0x00439310], rax
mov rcx, qword [rbx + 0x88]
call fcn.00412aa0
lea rcx, [rsp + 0x28]
xor edx, edx
call fcn.0041f010
mov rcx, rsi
mov edx, edi
mov r8, r14
call qword [rbx + 0x30]
mov ebx, eax
test edi, edi
jne 0x41f32a
dec dword [0x00439330]
jne 0x41f32a
mov rcx, rsi
call fcn.0041df20
lea rcx, [rsp + 0x28]
mov edx, 1
call fcn.0041f010
mov rcx, qword [0x00439310]
test rcx, rcx
je 0x41f32a
call sub.KERNEL32_FreeEnvironmentStringsA
mov qword [0x00439310], 0
mov eax, ebx
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x41f530
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov esi, ecx
mov ecx, dword [0x00439340]
call sub.KERNEL32_TlsGetValue
test rax, rax
jne 0x41f581
call fcn.0041f3e0
mov edi, eax
test edi, edi
je 0x41f576
call sub.KERNEL32_GetProcessHeap
movsxd r8, edi
mov rcx, rax
mov edx, 8
call sub.KERNEL32_HeapAlloc
mov ecx, dword [0x00439340]
mov rdx, rax
call sub.KERNEL32_TlsSetValue
mov ecx, dword [0x00439340]
call sub.KERNEL32_TlsGetValue
movsxd rcx, esi
add rcx, rax
mov rax, rcx
add rsp, 0x28
pop rdi
pop rsi
ret

Function at 0x421870
Capabilities:
Terminate process

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov rcx, rbx
call fcn.00422030
mov rcx, rsi
test al, al
je 0x42189a
xor edx, edx
call fcn.00422070
jmp 0x4218a2
mov rdx, rbx
call fcn.00421ea0
lea rax, [0x00404cf0]
mov qword [rsi - 0x70], rax
lea rax, [fcn.00404c80]
mov qword [rsi - 0x68], rax
mov qword [rsi - 0x80], rbx
mov qword [rsi - 0x78], rdi
mov qword [rsi - 0x30], rsi
lea rbx, [rsi - 0x20]
mov rcx, rbx
call fcn.00422ff0
lea r14, [0x00421720]
lea rcx, [0x30]
call fcn.0041f530
mov rdi, rax
mov qword [rsi - 0x28], 1
inc dword [rdi + 8]
mov qword [rsi - 0x18], r14
mov rcx, rbx
call fcn.00423010
lea rbx, [rsi - 0x80]
mov ecx, dword [rsi - 0x58]
mov eax, ecx
neg eax
cmovl eax, ecx
inc eax
mov dword [rsi - 0x58], eax
mov rax, qword [rdi]
cmp rbx, rax
je 0x42192d
mov qword [rsi - 0x60], rax
lea rcx, [0x30]
call fcn.0041f530
mov qword [rax], rbx
lea rcx, [0x30]
call fcn.0041f530
dec dword [rax + 8]
mov rcx, qword [rbx]
test rcx, rcx
je 0x42194a
call fcn.00422030
nop
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.00404c80

Function at 0x421b10
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rcx, [0x30]
call fcn.0041f530
mov rbx, qword [rax]
test rbx, rbx
jne 0x421b31
call fcn.00404c80
neg dword [rbx + 0x28]
lea rcx, [0x30]
call fcn.0041f530
mov rdi, rax
inc dword [rdi + 8]
lea rsi, [rbx + 0x60]
mov rcx, rsi
call fcn.00423010
mov ecx, dword [rbx + 0x28]
mov eax, ecx
neg eax
cmovl eax, ecx
inc eax
mov dword [rbx + 0x28], eax
mov rax, qword [rdi]
cmp rbx, rax
je 0x421b7e
mov qword [rsi - 0x40], rax
lea rcx, [0x30]
call fcn.0041f530
mov qword [rax], rbx
lea rcx, [0x30]
call fcn.0041f530
dec dword [rax + 8]
mov rcx, qword [rbx]
test rcx, rcx
je 0x421b9b
call fcn.00422030
nop
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.00404c80
Function at 0x140153190
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14015319d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1401531ad
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140153195
lea eax, [rcx + 1]
jmp 0x1401531bb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1401531ce
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1401531b4
sub eax, 3
jb 0x1401531ee
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14015323d
sar eax, 1
movsxd rbp, eax
jb 0x140153224
jmp 0x1401531fc
add ebx, ebx
jne 0x1401531fa
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140153224
inc ecx
add ebx, ebx
jne 0x14015320a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140153224
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14015321d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14015320c
add ecx, 2
jmp 0x140153229
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.140153152
jmp 0x14015319d
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0xdc200
mov dl, 0x21
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14015328d
cmp rsi, rcx
jae 0x140153295
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x140153274
cmp al, 0x8f
ja 0x140153274
cmp byte [rsi - 2], 0xf
je 0x14015327a
sub al, 0xe8
cmp al, 1
ja 0x14015325e
cmp rsi, rcx
jae 0x140153295
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x140153264
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x140153295
lodsb al, byte [rsi]
jmp 0x140153274
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x14f000]
mov eax, dword [rdi]
or eax, eax
je 0x1401532f2
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x153604]
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 0x1401532a2
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 0x1401532ec
mov qword [rbx], rax
add rbx, 8
jmp 0x1401532c2
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x14015332c
cmp al, 0xef
ja 0x14015331e
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1401532fe
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x14015330d
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 + 0x25f]
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
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x140153380
sub rsp, 0xffffffffffffff80
jmp 0x140085494