joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140003a20
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140006ac0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140003a40
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140003a48
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140003a40
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x140003a9d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140003a94
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140003a40
add rax, 0x28
cmp rax, r9
jne 0x140003a80
xor eax, eax
ret

Function at 0x140003aa0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140006ac0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x140003abf
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140003ac8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x140003abf
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140003b60
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140006ac0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x140003b7f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140003b88
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x140006500]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x140006510]
mov dword [rax], 1
mov rax, qword [0x140006520]
mov dword [rax], 1
mov rax, qword [0x1400064b0]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x1400064f0]
mov dword [0x14000900c], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x1400065c0]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x1400065a0]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x140006460]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a
Function at 0x140001770
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call dbg.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]

Function at 0x1400017e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1400090a4]
mov rbx, rcx
test esi, esi
jle 0x140001910
mov rax, qword [0x1400090a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14000182b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x1400018b5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140001810
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x140001932
mov rax, qword [0x1400090a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call dbg._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400090a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140001917
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x1400018ae
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x1400018c0
add dword [0x1400090a4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1400090a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400018ae
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop dword [rax]
xor esi, esi
jmp 0x140001838
mov rax, qword [0x1400090a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140001ea0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140009100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400090e0]
test rbx, rbx
je 0x140001efc
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x140001ef3
test rsi, rsi
je 0x140001ef3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140001ed8
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x140002110
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140002128
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140002130
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140002140
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x14000218d
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x140002184
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x14000218f
add rax, 0x28
cmp rax, r9
jne 0x140002170
xor eax, eax
ret

Function at 0x140002190
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x140002220
mov rdx, qword [0x1400064b0]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x14000220e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x14000220e
cmp word [rax + 0x18], 0x20b
jne 0x14000220e
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x140002220
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x1400021f9
add rbx, 0x28
cmp rbx, rdi
je 0x140002220
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x1400021f0
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x140002230
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400064b0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002250
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002258
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002250
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1400022ad
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1400022a4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002250
add rax, 0x28
cmp rax, r9
jne 0x140002290
xor eax, eax
ret

Function at 0x1400022b0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400064b0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x1400022cf
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400022d8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x1400022cf
movzx ecx, word [rax + 6]
mov eax, ecx
ret
Function at 0x1400022f0
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x1400064b0]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x140002310
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x140002318
ret
cmp word [rdx + 0x18], 0x20b
jne 0x140002310
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x140002360
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x140002357
test rcx, rcx
je 0x140002310
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x140002348
xor eax, eax
ret

Function at 0x140002370
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400064b0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000238f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002398
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x1400023b0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400064b0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400023d0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400023d8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400023d0
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x1400023d0
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x140002424
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x140002430
add rdx, 0x28
cmp r9, rdx
jne 0x140002410
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x140002440
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x1400064b0]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x140002462
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x140002470
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002462
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x140002462
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x140002462
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x1400024c5
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x1400024d8
add rdx, 0x28
cmp rdx, r10
jne 0x1400024b0
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x1400024e7
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x1400024f7
mov edx, dword [rax + 0xc]
test edx, edx
je 0x1400024ce
test ecx, ecx
jg 0x1400024e0
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x180001df0
Capabilities:
Packed with generic packer

Disassembly:
pushfq
add qword [rsp + 0x10], 0xffffffffffe6ea3f
movabs rcx, 0x4e492cc041855ea8
shl cx, 2
test rcx, 0x6cdd7ae6
mov rcx, qword [rsp + 0x10]
mov rcx, qword [rcx]
mov qword [rsp + 0x10], 0x6b1f5b6b
jl 0x18058bf7d
jl 0x1806af704
add qword [rsp + 8], 0x7fa28b13
neg byte [rsp + 0x10]
lea rcx, [rcx + 0xea741a8]
mov byte [rsp + 0x10], 0x12
sub byte [rsp + 0x10], 0x4f
setne byte [rsp + 0x10]
call fcn.1803407f3
mov rcx, qword [rsp + rbp - 0x5f6676af]
shl bpl, 0x6e
test bpl, 0xc2
lea rbp, [rbp + rbp*4 + 0x5cad7770]
movzx rbp, bpl
push rdx
call fcn.1805d7495
xchg ebp, eax
xchg ebx, eax
jmp 0x1b883621a
call fcn.1802109b3
mov qword [rsp + 0x28], rcx
lea rcx, [rcx + rcx + 0x1a9572d6]
ja 0x1807780ca
add dword [rsp + 0x70], 0x4836352e
or rsi, qword [rsp + 0x70]
xor dword [rsp + 0x70], esi
xor byte [rsp + 0x70], 0xcd
mov rsi, qword [rsp + 0x48]
je fcn.1806ca207
shr dword [rsp + 0x30], 0x2e
not qword [rsp + 0x70]
not word [rsp + 0x70]
mov byte [rsp + 0x70], 0xfe
test byte [rsp + 0x30], 0x24
not qword [rsp + 0x70]
push qword [rsp + 0x68]
popfq
lea rsp, [rsp + 0x80]
ret
lea r10, [r14*8 + 0x2eaf572f]
add r14b, 0xc0
jae 0x180289135
and r10b, 0x1b
mov qword [rsp + 0x40], rbx
push r13
js 0x18073d195
push rcx
add qword [rsp + 0x30], 0x3f225a
not r10d
push rsi
shl r10w, 0xfe
add r14b, 0xcf
nop
mov rcx, r14
shl r14d, 0x23
jb 0x180360ee8
movabs rsi, 0x20826fd97a266178
add qword [rsp + 0x18], 0xfffffffffff9c20f
call fcn.1803d9b33
push rbx
movabs rbx, 0x5db4016a24341844
mov rcx, qword [rsp + 0x18]
mov rcx, qword [rcx]
jb 0x180258040
shl di, 0xd9
xor rdi, rdi
lea rcx, [rcx + rdi*2 + 0x77f83361]
jo fcn.1803311f8
seta dil
jne fcn.18057d885
xor edi, 0x388b0be0
xchg qword [rsp + rdi*2 - 0x711617a0], rcx
mov rdi, qword [rsp + 0x10]
add bx, bx
jne 0x1802486d2
sub al, 0x37
cmp dword [rdi], 0xffffffad
adc dl, cl
invalid
lea r13, [r13 + rsi*2 + 0x5002532b]
add dl, 0x84
mov qword [rsp + 0x38], rdx
lea rsi, [r13*2 + 0x1d1f26bc]
xchg qword [rsp + 0x68], rcx
mov r13, qword [rsp + 0x60]
xor si, si
and rdx, qword [rsp + 0x38]
neg dword [rsp + 0x38]
setne dl
call fcn.1806f0d61
movabs r11, 0x2c45a344bd82d7e
call fcn.1807867d0
sub dword [rsi + 0x73], ecx
cmp byte [rdx + 0x3239d7b0], ah
invalid
xor byte [rsp + 0x28], ch
mov rcx, qword [rsp + 0x18]
add qword [rsp + 0x48], 0x7faec86e
call fcn.18031ed78
cmpsb byte [rsi], byte [rdi]
pop rbp
add al, 0xb
xchg esp, eax
sub dword [rbx + 0x56], eax
mov byte [rdi], al
jb 0x180778075
sbb eax, 0x6afc20cc
jnp 0x18077814b
mov ch, byte [rax + 0x115e9ef5]
and eax, 0x1bbe4fa5
pushfq
xchg esp, eax
in eax, 0xa0
and dword [rcx], esp
clc
movabs al, byte [0x83fed666de97871]
jle 0x180778170
and cl, byte [rcx + 0x2ef9f349]
add byte [rbx + 0x1e], ch
invalid
mov byte [rbp - 0x6d], ch
invalid
in eax, dx
lodsb al, byte [rsi]
xchg r8d, eax
mov dh, 0x4b
xor byte [rbx], dl
wait
fadd st(3)
invalid
Function at 0x18000d910
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x470
mov rax, qword [0x180066090]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
mov ecx, 0x18
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x18000d9a8
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x434
call fcn.1800252d0
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x438
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x18000d9a8
nop word [rax + rax]
mov rcx, qword [rsp + 0x38]
cmp rdi, rcx
jb 0x18000d996
mov eax, dword [rsp + 0x40]
add rax, rcx
cmp rdi, rax
jbe 0x18000d9dc
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x18000d980
xor edi, edi
test rbx, rbx
je 0x18000d9b8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rdi
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.180022480
mov rbx, qword [rsp + 0x480]
add rsp, 0x470
pop rdi
ret
mov rdi, qword [rsp + 0x48]
jmp 0x18000d9aa
Function at 0x180016b40
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x180016b62
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x180016bdc
mov rdi, r14
mov rcx, rbx
call fcn.180017f80
test rax, rax
jle 0x180016bb4
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov rax, qword [rbx + 0x38]
mov r8, rbp
mov rdx, qword [rax]
call fcn.180024c20
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x180016bcc
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x180016bd4
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x180016b76
sub r14, rdi
jmp 0x180016cbf
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x180016bf3
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x180016bf5
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x180016c27
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.180024c20
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x180016cbc
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x180016c62
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rbp, 0xfff
jbe 0x180016c9d
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.18002f27c
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x180016cbc
cmp rbp, rax
ja 0x180016c70
test rbp, rbp
je 0x180016cbc
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.18002f27c
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
Function at 0x180019cc0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rax, qword [rsp + 0x90]
add rax, 0x10000
mov qword [rsp + 0x30], rax
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x48]
call fcn.1800252d0
jmp 0x180019d08
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov r8d, 0x30
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
ja 0x180019d28
jmp 0x180019dc5
cmp dword [rsp + 0x68], 0x1000
jne 0x180019d4d
mov eax, dword [rsp + 0x6c]
and eax, 0xff
cmp eax, 1
je 0x180019d4d
mov eax, dword [rsp + 0x6c]
and eax, 0x100
test eax, eax
je 0x180019d4f
jmp 0x180019cf3
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
jne 0x180019d85
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x3c]
cmp rax, qword [rsp + 0x60]
ja 0x180019d85
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x3c]
cmp rax, 0x40
jae 0x180019d8a
jmp 0x180019cf3
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp dword [rax], 0x4550
jne 0x180019cf3
mov rax, qword [rsp + 0x20]
jmp 0x180019dc7
xor eax, eax
add rsp, 0x88
ret

Function at 0x18001a720
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rcx, qword [rsp + 0x70]
call fcn.18001a870
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x18001a823
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x18001a77b
mov rax, qword [0x180066008]
cmp qword [rsp + 0x20], rax
ja 0x18001a77b
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x18001a73d
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1800252d0
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x18001a7aa
jmp 0x18001a823
cmp dword [rsp + 0x50], 0x10000
jne 0x18001a801
cmp qword [rsp + 0x48], 0x10000
jb 0x18001a801
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x18001a7ef
mov rax, qword [rsp + 0x28]
jmp 0x18001a825
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x18001a81e
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.18001a870
mov qword [rsp + 0x20], rax
jmp 0x18001a73d
xor eax, eax
add rsp, 0x68
ret
Function at 0x18001df60
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x18001dfe4
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x18004d9c0]
cmp byte [rcx + rax], 0
je 0x18001dfe4
dec r8
sub rdx, 1
jne 0x18001dfca
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x180021168
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov edx, 1
mov eax, ecx
lock cmpxchg dword [0x180068438], edx
mov ecx, eax
je 0x180021193
cmp eax, edx
jbe 0x18002117c
jmp 0x1800213e9
xor edx, edx
lea rcx, str.icu.dll
mov r8d, 0x800
mov esi, 2
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
je 0x1800213e0
lea rdx, str.ucal_close
mov rcx, rax
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1800211d9
mov qword [0x1800683c8], rax
jmp 0x1800211e1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str.ucal_get
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1800211ff
mov qword [0x1800683d0], rax
jmp 0x180021207
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str.ucal_getCanonicalTimeZoneID
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180021225
mov qword [0x1800683d8], rax
jmp 0x18002122d