joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400032c0
Capabilities:
Write file on windows

Disassembly:
push rdi
mov eax, 0x12d00
call fcn.14006cbf0
sub rsp, rax
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x12d10], rbx
mov qword [rsp + 0x12d18], rbp
mov qword [rsp + 0x12d20], rsi
mov rax, qword [0x1400990c0]
xor rax, rsp
mov qword [rsp + 0x12cf0], rax
mov ebx, ecx
lea rbp, vtable.QHy_x__Ar.0
mov qword [rsp + 0x60], rbp
xor esi, esi
mov qword [rsp + 0x128a0], rsi
mov qword [rsp + 0x128a8], rsi
mov qword [rsp + 0x128b0], rsi
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rsi
mov dword [rsp + 0x78], esi
mov dword [rsp + 0x7c], esi
mov dword [rsp + 0x80], esi
mov dword [rsp + 0xd4d4], esi
mov dword [rsp + 0xd4d8], 0x20000
mov dword [rsp + 0xd4dc], esi
mov dword [rsp + 0xd4e0], esi
mov byte [rsp + 0x12894], sil
mov qword [rsp + 0x128c0], rsi
mov dword [rsp + 0x128c8], esi
mov dword [rsp + 0x128cc], esi
mov dword [rsp + 0x128b8], esi
mov dword [rsp + 0x128d0], esi
mov dword [rsp + 0x128d4], 0x80
mov dword [rsp + 0x128d8], esi
mov dword [rsp + 0x128dc], esi
mov qword [rsp + 0x48], rsi
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x128e0], 1
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x48]
mov r8d, 0x1a0a
lea rdx, [0x14024ed20]
lea rcx, [rsp + 0x60]
call fcn.1400193b0
mov rdi, qword [rsp + 0x48]
cmp ebx, 4
jne 0x140003402
lea rcx, [rdi + 0xe08]
lea r8, str.v4.0.30319
lea edx, [rsi + 0xc]
call fcn.140053c40
lea rdx, [0x140254cd0]
lea rcx, [rsp + 0x128f0]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, str.DNRuntime.dll
lea rcx, [rsp + 0x128f0]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 7
mov dword [rsp + 0x20], 1
xor r9d, r9d
mov edx, 0x40000000
lea r8d, [r9 + 1]
lea rcx, [rsp + 0x128f0]
call fcn.14006aa90
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400034aa
mov dword [rsp + 0x48], esi
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x48]
mov r8d, 0x2a00
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea r9, [0x140254a94]
lea r8, [0x140254a8c]
lea rdx, [0x140254a84]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFileTime]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movsxd r8, dword [rsp + 0x40]
xor edx, edx
mov rcx, rdi
call fcn.1400577f0
nop
mov qword [rsp + 0x60], rbp
lea rcx, [rsp + 0x60]
call fcn.1400197b0
mov rcx, qword [rsp + 0x128a0]
test rcx, rcx
je 0x1400034e2
call fcn.1400531d0
mov eax, 0x2a00
jmp 0x1400034e7
mov eax, 0x2a00
mov rcx, qword [rsp + 0x12cf0]
xor rcx, rsp
call fcn.1400536d0
lea r11, [rsp + 0x12d00]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140003690
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push r12
sub rsp, 0x20
xor esi, esi
test r8d, r8d
mov r12, rdx
mov rbp, rcx
je 0x1400036fc
mov edx, dword [rcx + 0x28]
mov rcx, qword [rcx + 0x38]
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x40]
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x50], esi
call fcn.14001ace0
movsxd rbx, dword [rsp + 0x50]
mov edx, dword [rbp + 0x2c]
mov r8, qword [rsp + 0x40]
mov r9, rbx
mov rcx, r12
call fcn.140053900
mov rcx, qword [rsp + 0x40]
mov r8, rbx
xor edx, edx
call fcn.1400577f0
mov rcx, qword [rsp + 0x40]
call fcn.1400539d0
jmp 0x14000371d
mov edx, dword [rcx + 0x28]
mov r8, qword [rcx + 0x38]
mov rcx, r12
mov r9, rdx
call fcn.140053900
mov r8d, dword [rbp + 0x28]
mov rcx, qword [rbp + 0x38]
xor edx, edx
call fcn.1400577f0
cmp dword [rbp + 0x30], esi
mov qword [rbp + 0x38], rsi
je 0x140003899
movsxd r8, dword [r12 + 0x3c]
mov ebx, esi
mov r9d, esi
add r8, r12
cmp word [r8 + 0x18], 0x20b
movzx eax, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [rax + r8 + 0x18]
mov rcx, rdx
jne 0x1400037e0
test r10d, r10d
mov r11d, dword [r8 + 0xf8]
mov ebx, 1
je 0x140003792
mov eax, dword [rcx + 8]
test eax, eax
jne 0x140003771
mov eax, dword [rcx + 0x10]
mov r8d, dword [rcx + 0xc]
cmp r11d, r8d
jb 0x140003786
add eax, r8d
cmp r11d, eax
jb 0x14000381d
add r9d, ebx
add rcx, 0x28
cmp r9d, r10d
jb 0x140003767
mov rax, rsi
mov r8d, dword [rax + 8]
mov ecx, esi
sub r8d, 0x10
test ebx, ebx
je 0x140003834
test r10d, r10d
je 0x14000387b
mov eax, dword [rdx + 8]
test eax, eax
jne 0x1400037ba
mov eax, dword [rdx + 0x10]
mov r9d, dword [rdx + 0xc]
cmp r8d, r9d
jb 0x1400037cf
add eax, r9d
cmp r8d, eax
jb 0x140003869
add ecx, 1
add rdx, 0x28
cmp ecx, r10d
jb 0x1400037b0
jmp 0x14000387b
test r10d, r10d
mov r11d, dword [r8 + 0xe8]
je 0x140003792
nop
mov eax, dword [rcx + 8]
test eax, eax
jne 0x1400037fa
mov eax, dword [rcx + 0x10]
mov r8d, dword [rcx + 0xc]
cmp r11d, r8d
jb 0x14000380b
add eax, r8d
cmp r11d, eax
jb 0x14000381d
add r9d, 1
add rcx, 0x28
cmp r9d, r10d
jb 0x1400037f0
jmp 0x140003792
mov eax, r8d
sub eax, dword [rcx + 0x14]
movsxd rcx, eax
mov rax, r11
sub rax, rcx
add rax, r12
jmp 0x140003795
test r10d, r10d
je 0x14000387b
nop
nop
mov eax, dword [rdx + 8]
test eax, eax
jne 0x14000384a
mov eax, dword [rdx + 0x10]
mov r9d, dword [rdx + 0xc]
cmp r8d, r9d
jb 0x14000385b
add eax, r9d
cmp r8d, eax
jb 0x140003869
add ecx, 1
add rdx, 0x28
cmp ecx, r10d
jb 0x140003840
jmp 0x14000387b
mov eax, r9d
mov esi, r8d
sub eax, dword [rdx + 0x14]
movsxd rcx, eax
sub rsi, rcx
add rsi, r12
mov eax, dword [rsi]
mov dword [rbp + 0x4c], eax
mov eax, dword [rsi + 0xc]
mov dword [rbp + 0x58], eax
mov eax, dword [rsi + 4]
mov dword [rbp + 0x50], eax
mov eax, dword [rsi + 8]
mov dword [rbp + 0x48], 1
mov dword [rbp + 0x54], eax
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop r12
pop rsi
pop rbp
ret
Function at 0x140008650
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x70
mov esi, r9d
lea r8, [rsp + 0x34]
lea rdx, [rsp + 0x38]
lea r9, [rsp + 0x30]
mov rdi, rcx
mov byte [rsp + 0x20], 0
call fcn.140007ea0
mov rbx, qword [rdi + 0x18]
test rbx, rbx
je 0x1400086e0
nop
nop
nop
mov dword [rsp + 0x80], SafeArrayGetDim
mov rcx, qword [rbx]
lea rdx, [rsp + 0x80]
mov rax, qword [rcx]
call qword [rax]
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x140008690
mov rbx, qword [rdi + 0x18]
test rbx, rbx
je 0x1400086d8
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400086d0
mov edx, 1
call fcn.140009640
mov rcx, rbx
call fcn.1400531d0
mov qword [rdi + 0x18], 0
mov edx, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x38]
xor r9d, r9d
add ecx, edx
xor r8d, r8d
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x48], ecx
mov ecx, dword [rsp + 0x3c]
mov dword [rsp + 0x44], 0
add ecx, edx
mov edx, esi
mov dword [rsp + 0x4c], ecx
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov rax, qword [rdi + 0xa8]
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x34]
mov rcx, rdi
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x50], 1
sub eax, dword [rsp + 0x40]
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x4c]
sub eax, dword [rsp + 0x44]
mov dword [rsp + 0x68], eax
mov rax, qword [rdi]
call qword [rax]
mov rcx, qword [rdi + 0xa8]
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rdi + 0xa8]
call qword [sym.imp.USER32.dll_UpdateWindow]
cmp qword [rdi + 0xa8], 0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
setne al
mov rsp, r11
pop rdi
ret
Function at 0x140009390
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x150
mov rax, qword [0x1400990c0]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rbx, qword [rcx + 0x20]
mov rbp, rcx
lea rcx, [rsp + 0x30]
mov eax, dword [rbp + 0x28]
mov rdi, qword [rbp + 0x18]
mov dword [rcx], eax
mov eax, dword [rbp + 0x2c]
mov dword [rcx + 4], eax
mov eax, dword [rbp + 0x30]
mov dword [rcx + 8], eax
mov eax, dword [rbp + 0x34]
mov dword [rcx + 0xc], eax
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetParent]
mov r9, rdi
mov r8, rbx
mov rcx, rax
mov edx, 0x135
call qword [sym.imp.USER32.dll_SendMessageA]
test rax, rax
je 0x140009413
lea rdx, [rsp + 0x30]
mov r8, rax
mov rcx, rbx
call qword [sym.imp.USER32.dll_FillRect]
mov esi, dword [rbp + 0x10]
mov r9d, SafeArrayGetDim
lea rdx, [rsp + 0x30]
test sil, 1
mov rcx, rbx
lea r8d, [r9 - 5]
jne 0x140009432
lea r8d, [r9 - 0xa]
call qword [sym.imp.USER32.dll_DrawEdge]
mov rcx, qword [rbp + 0x18]
lea rdx, [rsp + 0x40]
mov r8d, 0x100
call qword [sym.imp.USER32.dll_GetWindowTextA]
test sil, 4
je 0x1400094b2
mov edx, 0xf0f0f0
mov rcx, rbx
call qword [sym.imp.GDI32.dll_SetTextColor]
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x40]
lea r9, [rsp + 0x30]
lea rdx, [rsp + 0x40]
repne scasb al, byte [rdi]
mov dword [rsp + 0x20], 0x25
not rcx
lea r8, [rcx - 1]
mov rcx, rbx
call qword [sym.imp.USER32.dll_DrawTextA]
add dword [rsp + 0x34], 1
add dword [rsp + 0x30], 1
add dword [rsp + 0x38], 1
add dword [rsp + 0x3c], 1
mov edx, 0x787878
mov rcx, rbx
call qword [sym.imp.GDI32.dll_SetTextColor]
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x40]
repne scasb al, byte [rdi]
lea r9, [rsp + 0x30]
lea rdx, [rsp + 0x40]
not rcx
mov dword [rsp + 0x20], 0x25
lea r8, [rcx - 1]
mov rcx, rbx
call qword [sym.imp.USER32.dll_DrawTextA]
test sil, 0x10
je 0x140009509
add dword [rsp + 0x34], 3
add dword [rsp + 0x30], 3
sub dword [rsp + 0x38], 3
sub dword [rsp + 0x3c], 3
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.USER32.dll_DrawFocusRect]
mov al, 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400536d0
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14000e8e0
Capabilities:
Get graphical window text

Disassembly:
push rbx
push rsi
sub rsp, 0x28
test dl, dl
mov rbx, rcx
je 0x14000e926
test rcx, rcx
je 0x14000e8f9
lea rsi, [rcx + 0x20]
jmp 0x14000e8fb
xor esi, esi
cmp qword [rsi], 0
je 0x14000e9f9
mov rdx, qword [rcx + 8]
mov rcx, qword [rcx + 0x20]
call qword [sym.imp.USER32.dll_SetWindowTextA]
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov al, 1
add rsp, 0x28
pop rsi
pop rbx
ret
xor esi, esi
test rcx, rcx
je 0x14000e933
lea rax, [rcx + 0x20]
jmp 0x14000e936
mov rax, rsi
cmp qword [rax], rsi
je 0x14000e9f9
test rcx, rcx
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x20], r13
je 0x14000e954
add rcx, 0x20
jmp 0x14000e957
mov rcx, rsi
mov rcx, qword [rcx]
mov qword [rsp + 0x50], r12
call qword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov rdx, qword [rbx + 8]
test rdx, rdx
lea r13d, [rax + 1]
movsxd rbp, r13d
je 0x14000e9bb
or rcx, 0xffffffffffffffff
mov qword [rsp + 0x48], rdi
xor eax, eax
mov rdi, rdx
lea r12, [rbp + 1]
repne scasb al, byte [rdi]
mov rdi, qword [rsp + 0x48]
not rcx
sub rcx, 1
cmp rcx, r12
je 0x14000e9c8
mov rcx, rdx
call fcn.140053e00
test r13d, r13d
je 0x14000e9b5
mov rcx, r12
call fcn.140052720
mov qword [rbx + 8], rax
jmp 0x14000e9c8
mov qword [rbx + 8], rsi
jmp 0x14000e9c8
lea rcx, [rbp + 1]
call fcn.140052720
mov qword [rbx + 8], rax
test rbx, rbx
mov r12, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x40]
je 0x14000e9db
lea rsi, [rbx + 0x20]
mov rdx, qword [rbx + 8]
mov rcx, qword [rsi]
mov r8d, r13d
call qword [sym.imp.USER32.dll_GetWindowTextA]
mov r13, qword [rsp + 0x20]
mov al, 1
add rsp, 0x28
pop rsi
pop rbx
ret
xor al, al
add rsp, 0x28
pop rsi
pop rbx
ret
Function at 0x140010540
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x20
mov r12d, ecx
lea rcx, [0x1402534a0]
xor r13d, r13d
xor edx, edx
mov rbx, r13
call fcn.140052868
lea ebp, [r13 + 1]
test rax, rax
mov rsi, rax
je 0x140010646
nop
test rbx, rbx
jne 0x140010646
mov eax, r12d
lea edx, [rbx + 6]
xor r9d, r9d
shr eax, 4
mov rcx, rsi
add ax, 1
movzx r8d, ax
call qword [sym.imp.KERNEL32.dll_FindResourceExA]
test rax, rax
mov rdi, rax
jne 0x1400105b3
mov rbx, r13
jmp 0x140010629
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x1400105c9
mov rbx, r13
jmp 0x140010624
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
mov rbx, rax
jne 0x1400105df
mov rbx, r13
jmp 0x140010624
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, r12d
mov r11d, eax
add r11, rbx
and ecx, 0xf
jbe 0x140010612
nop
nop
cmp rbx, r11
jae 0x140010617
add ecx, 0xffffffff
movzx eax, word [rbx]
lea rbx, [rbx + rax*2 + 2]
jne 0x140010600
cmp rbx, r11
jb 0x14001061c
mov rbx, r13
jmp 0x140010624
cmp word [rbx], r13w
cmove rbx, r13
test rbx, rbx
jne 0x140010661
lea rcx, [0x1402534a0]
mov edx, ebp
call fcn.140052868
add ebp, 1
test rax, rax
mov rsi, rax
jne 0x140010580
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r13
pop r12
pop rdi
ret
mov rax, rsi
jmp 0x140010648
Function at 0x140010760
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
sub rsp, 0x130
mov rax, qword [0x1400990c0]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov rcx, qword [0x140254a78]
mov ebx, dword [0x140256054]
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
lea r8d, [rdx - 6]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
test rax, rax
jne 0x1400107a3
xor eax, eax
jmp 0x1400108e8
mov rcx, qword [0x140254a78]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14001079c
mov rcx, rax
mov qword [rsp + 0x140], rsi
mov qword [rsp + 0x148], rdi
call qword [sym.imp.KERNEL32.dll_LockResource]
lea rsi, [0x140254ed0]
xor edx, edx
mov rcx, rsi
mov r8d, 0xff
mov rdi, rax
call fcn.1400577f0
mov rcx, qword [0x140254a78]
mov r9d, 0xfe
lea edx, [r9 - 0x6e]
mov r8, rsi
call qword [sym.imp.USER32.dll_LoadStringA]
mov qword [0x140250868], rsi
cmp word [rdi + 6], 0
mov rsi, qword [rsp + 0x140]
je 0x14001082c
mov rcx, qword [0x140254a78]
mov edx, SafeArrayLock
call fcn.140001c00
test ebx, ebx
jne 0x140010892
movzx ecx, word [rdi + 2]
movsx eax, word [rdi]
mov dword [0x14025603c], 1
mov edx, eax
mov word [0x14024ed08], cx
movsx ecx, cx
mov word [0x14024ed06], ax
mov dword [0x14025074c], eax
lea eax, [rcx - 0x28]
mov dword [0x140250750], eax
lea eax, [rcx - 0x1e]
mov dword [0x140250768], edx
mov dword [0x14025077c], edx
mov dword [0x140250804], eax
movzx r8d, word [rdi + 4]
lea rcx, [0x140001e10]
xor edx, edx
imul r8d, r8d, 0x3e8
call fcn.140053330
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, 0xff
call fcn.1400577f0
mov rcx, qword [0x140254a78]
lea r8, [rsp + 0x20]
mov r9d, 0xfe
mov edx, 0x70
call qword [sym.imp.USER32.dll_LoadStringA]
test ebx, ebx
mov rdi, qword [rsp + 0x148]
je 0x1400108d9
lea rcx, [rsp + 0x20]
call fcn.140053cf0
jmp 0x1400108e3
lea rcx, [rsp + 0x20]
call fcn.140001f30
mov eax, 1
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.1400536d0
add rsp, 0x130
pop rbx
ret

Function at 0x1400119e0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x460
mov rax, qword [0x1400990c0]
xor rax, rsp
mov qword [rsp + 0x450], rax
cmp word [rcx], 0x5c
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
je 0x140011a35
cmp word [rcx + 2], 0x3a
je 0x140011a35
lea rdx, [0x140254cd0]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rcx, [rsp + 0x50]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcatW]
jmp 0x140011a43
mov rdx, rcx
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
xor r9d, r9d
mov qword [rsp + 0x30], 0
lea rcx, [rsp + 0x50]
lea r8d, [r9 + 1]
mov edx, 0x40000000
mov dword [rsp + 0x28], 7
mov dword [rsp + 0x20], 1
call fcn.14006aa90
cmp rax, 0xffffffffffffffff
mov rbx, rax
je 0x140011ac7
lea r9, [rsp + 0x40]
mov r8d, esi
mov rdx, rdi
mov rcx, rax
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea r9, [0x140254a94]
lea r8, [0x140254a8c]
lea rdx, [0x140254a84]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFileTime]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.1400536d0
add rsp, 0x460
pop rdi
pop rsi
pop rbx
ret
Function at 0x14001ac80
Capabilities:
Enumerate pe sections

Disassembly:
movzx eax, word [rdx + 0x14]
xor r10d, r10d
mov r11d, ecx
lea r9, [rax + rdx + 0x18]
movzx edx, word [rdx + 6]
test edx, edx
je 0x14001acc0
mov eax, dword [r9 + 8]
test eax, eax
jne 0x14001aca3
mov eax, dword [r9 + 0x10]
mov ecx, dword [r9 + 0xc]
cmp r11d, ecx
jb 0x14001acb3
add eax, ecx
cmp r11d, eax
jb 0x14001acc3
add r10d, 1
add r9, 0x28
cmp r10d, edx
jb 0x14001ac97
xor eax, eax
ret
mov eax, ecx
sub eax, dword [r9 + 0x14]
movsxd rcx, eax
mov rax, r11
sub rax, rcx
add rax, r8
ret

Function at 0x140023b60
Capabilities:
Read file on windows

Disassembly:
push rbx
push rdi
push r12
sub rsp, 0x160
mov rax, qword [0x1400990c0]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rbx, rcx
lea rcx, [0x140075e98]
mov r12d, edx
jmp 0x1406848c9

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
lea rcx, [0x140079188]
jmp 0x14068b187

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
lea rcx, [0x1400796e0]
jmp 0x14068eae2

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

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x330
mov qword [rsp + 0x1f0], 0xfffffffffffffffe
mov edi, edx
mov rbx, rcx
lea rcx, [0x140081878]
jmp 0x140690f42

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

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x3f0
mov qword [rsp + 0x220], 0xfffffffffffffffe
mov r13d, edx
mov dword [rsp + 0x448], edx
mov rbx, rcx
lea rcx, [0x140081898]
jmp 0x140692527
Function at 0x140047310
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 8
cmp dword [rcx + 0x3c0], 0
mov r9d, edx
je 0x14004732f
mov rax, r9
add rax, qword [rcx + 0x3d0]
add rsp, 8
ret
mov qword [rsp], rbx
mov rbx, qword [rcx + 0x3d0]
movsxd rdx, dword [rbx + 0x3c]
add rdx, rbx
cmp word [rdx + 0x18], 0x20b
jne 0x140047398
movzx eax, word [rdx + 0x14]
movzx r10d, word [rdx + 6]
xor r11d, r11d
test r10d, r10d
lea rcx, [rax + rdx + 0x18]
mov r8d, r11d
je 0x1400473f4
mov eax, dword [rcx + 8]
test eax, eax
jne 0x140047370
mov eax, dword [rcx + 0x10]
mov edx, dword [rcx + 0xc]
cmp r9d, edx
jb 0x14004737f
add eax, edx
cmp r9d, eax
jb 0x1400473e3
add r8d, 1
add rcx, 0x28
cmp r8d, r10d
jb 0x140047366
mov rax, r11
mov rbx, qword [rsp]
add rsp, 8
ret
movzx eax, word [rdx + 0x14]
movzx r10d, word [rdx + 6]
xor r11d, r11d
test r10d, r10d
lea rcx, [rax + rdx + 0x18]
mov r8d, r11d
je 0x1400473f4
mov eax, dword [rcx + 8]
test eax, eax
jne 0x1400473bb
mov eax, dword [rcx + 0x10]
mov edx, dword [rcx + 0xc]
cmp r9d, edx
jb 0x1400473ca
add eax, edx
cmp r9d, eax
jb 0x1400473e3
add r8d, 1
add rcx, 0x28
cmp r8d, r10d
jb 0x1400473b1
mov rax, r11
mov rbx, qword [rsp]
add rsp, 8
ret
mov eax, edx
mov r11, r9
sub eax, dword [rcx + 0x14]
movsxd rcx, eax
sub r11, rcx
add r11, rbx
mov rax, r11
mov rbx, qword [rsp]
add rsp, 8
ret

Function at 0x140047570
Capabilities:
Execute anti-debugging instructions

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xc68
mov qword [rsp + 0x1f8], 0xfffffffffffffffe
mov rax, qword [0x1400990c0]
xor rax, rsp
mov qword [rsp + 0xc50], rax
mov rdi, r9
mov qword [rsp + 0x80], r9
mov r14, r8
mov qword [rsp + 0x60], r8
mov rbp, rdx
mov qword [rsp + 0x100], rdx
mov rsi, rcx
mov rbx, qword [rsp + 0xcd0]
mov qword [rsp + 0x78], rbx
lea rcx, [0x140081c50]
jmp 0x14069469f

Function at 0x14004b140
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r13
push r14
sub rsp, 0x20
mov rdi, rcx
lea rcx, [0x140081db8]
mov ebp, r9d
mov r13, r8
mov esi, edx
jmp 0x14069862a

Function at 0x14004b5d0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
sub rsp, 0x20
mov rdi, rcx
lea rcx, [0x140081e00]
mov r12d, r9d
mov r13, r8
mov esi, edx
jmp 0x140698f0c
Function at 0x14004ca20
Capabilities:
Parse pe header

Disassembly:
push rsi
push rdi
push r12
push r14
sub rsp, 0x28
cmp word [rcx], 0x5a4d
mov rdi, r9
mov r14, r8
mov r12d, edx
mov rsi, rcx
je 0x14004ca4b
xor eax, eax
add rsp, 0x28
pop r14
pop r12
pop rdi
pop rsi
ret
mov qword [rsp + 0x50], rbx
movsxd rbx, dword [rcx + 0x3c]
mov edx, 4
add rbx, rcx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x14004ca71
cmp dword [rbx], 0x4550
je 0x14004ca83
xor eax, eax
mov rbx, qword [rsp + 0x50]
add rsp, 0x28
pop r14
pop r12
pop rdi
pop rsi
ret
mov rdx, qword [rsp + 0x70]
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x20], r15
xor r15d, r15d
mov dword [rdi], r15d
mov dword [rdx], r15d
cmp word [rbx + 0x18], 0x20b
mov ebp, r15d
lea r13d, [r15 + 1]
jne 0x14004cac4
mov eax, dword [rbx + 0x50]
mov ecx, dword [rbx + 0xf8]
mov ebp, r13d
mov dword [rdi], eax
mov eax, dword [rbx + 8]
mov dword [rdx], eax
jmp 0x14004cad4
mov eax, dword [rbx + 0x50]
mov ecx, dword [rbx + 0xe8]
mov dword [rdi], eax
mov eax, dword [rbx + 8]
mov dword [rdx], eax
test ecx, ecx
je 0x14004cb66
mov edi, ecx
add rdi, rsi
test r12d, r12d
jne 0x14004cb08
test ebp, ebp
je 0x14004cafa
mov r8, rsi
mov rdx, rbx
call fcn.14001ac80
mov rdi, rax
jmp 0x14004cb08
mov r8, rsi
mov rdx, rbx
call fcn.14001ac80
mov rdi, rax
mov edx, 0x48
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x14004cb66
mov ecx, dword [rdi + 8]
sub ecx, 0x10
mov edi, ecx
add rdi, rsi
test r12d, r12d
jne 0x14004cb4c
test ebp, ebp
je 0x14004cb3e
mov r8, rsi
mov rdx, rbx
call fcn.14001ac80
mov rdi, rax
jmp 0x14004cb4c
mov r8, rsi
mov rdx, rbx
call fcn.14001ac80
mov rdi, rax
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x14004cb66
cmp dword [rdi], 0x424a5342
je 0x14004cb6d
xor eax, eax
jmp 0x14004cc65
mov ecx, r15d
add r14, r13
mov r11d, 0x1f
nop
nop
movzx r8d, byte [r14 - 1]
movzx r9d, byte [r14]
movzx r10d, byte [r14 + 1]
add r8d, r13d
movzx r13d, byte [r14 + 2]
mov eax, 0x80078071
add r14, 4
mul r8d
shr edx, 0xf
mov eax, 0x80078071
imul edx, edx, 0xfff1
sub r8d, edx
add ecx, r8d
add r9d, r8d
mul ecx
mov eax, 0x80078071
shr edx, 0xf
imul edx, edx, 0xfff1
sub ecx, edx
mul r9d
mov eax, 0x80078071
shr edx, 0xf
imul edx, edx, 0xfff1
sub r9d, edx
add r10d, r9d
lea r8d, [rcx + r9]
mul r8d
mov eax, 0x80078071
shr edx, 0xf
imul edx, edx, 0xfff1
sub r8d, edx
mul r10d
mov eax, 0x80078071
shr edx, 0xf
imul edx, edx, 0xfff1
sub r10d, edx
add r13d, r10d
lea ecx, [r8 + r10]
mul ecx
mov eax, 0x80078071
shr edx, 0xf
imul edx, edx, 0xfff1
sub ecx, edx
mul r13d
mov eax, 0x80078071
shr edx, 0xf
imul edx, edx, 0xfff1
sub r13d, edx
add ecx, r13d
mul ecx
shr edx, 0xf
imul edx, edx, 0xfff1
sub ecx, edx
sub r11, 1
jne 0x14004cb80
shl ecx, 0x10
add ecx, r13d
cmp ecx, dword [rdi + 0xc]
cmovne rdi, r15
mov rax, rdi
mov r13, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
mov r15, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x50]
add rsp, 0x28
pop r14
pop r12
pop rdi
pop rsi
ret