joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18000bdd0
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
xor al, al
mov ecx, dword [rcx + 0x7c]
cmp ecx, 0xffffffff
je 0x18000bf88
cmp ecx, 0x7c
je 0x18000bf88
cmp ecx, 0x29
jne 0x18000be18
cmp dword [rbx + 0x1c], 0
jne 0x18000bf88
test dword [rbx + 0x80], 0x10000000
je 0x18000bfa1
jmp 0x18000bf58
cmp ecx, 0x2e
jne 0x18000be2b
lea rcx, [rbx + 0x40]
call fcn.18000b670
jmp 0x18000bf65
cmp ecx, 0x5c
jne 0x18000be8f
mov rcx, rbx
call fcn.18000f510
test byte [rbx + 0x80], 0x80
je 0x18000be82
movzx eax, byte [rbx + 0x78]
cmp al, 0x62
jne 0x18000be5f
lea rcx, [rbx + 0x40]
call fcn.18000bcf0
mov rcx, rbx
call fcn.18000f510
jmp 0x18000bf75
cmp al, 0x42
jne 0x18000be82
lea rcx, [rbx + 0x40]
call fcn.18000bcf0
lea rcx, [rbx + 0x40]
call fcn.18000f490
mov rcx, rbx
call fcn.18000f510
jmp 0x18000bf75
mov rcx, rbx
call fcn.18000c020
jmp 0x18000bf6d
cmp ecx, 0x5b
jne 0x18000bebc
mov rcx, rbx
call fcn.18000f510
mov rcx, rbx
call fcn.18000cc30
mov edx, 0x5d
mov r8d, 4
mov rcx, rbx
call fcn.18000e2b0
jmp 0x18000bf6d
cmp ecx, 0x28
jne 0x18000bef2
mov rcx, rbx
call fcn.18000f510
mov rcx, rbx
call fcn.180010180
mov edx, 0x29
mov r8d, 5
mov rcx, rbx
movzx edi, al
call fcn.18000e2b0
test dil, dil
je 0x18000bf75
jmp 0x18000bf6d
cmp ecx, 0x5e
jne 0x18000bf0a
lea rcx, [rbx + 0x40]
call fcn.18000b400
mov rcx, rbx
call fcn.18000f510
jmp 0x18000bf75
cmp ecx, 0x24
jne 0x18000bf22
lea rcx, [rbx + 0x40]
call fcn.18000b720
mov rcx, rbx
call fcn.18000f510
jmp 0x18000bf75
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x18000bf93
cmp ecx, 0x3f
je 0x18000bf93
cmp ecx, 0x7b
je 0x18000bf93
cmp ecx, 0x7d
jne 0x18000bf47
test dword [rbx + 0x80], 0x10000000
je 0x18000bfaf
jmp 0x18000bf58
cmp ecx, 0x5d
jne 0x18000bf58
test dword [rbx + 0x80], 0x10000000
je 0x18000bfbd
movzx edx, byte [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.18000b410
mov rcx, rbx
call fcn.18000f510
mov rcx, rbx
call fcn.18000f5c0
mov ecx, dword [rbx + 0x7c]
mov al, 1
cmp ecx, 0xffffffff
je 0x18000bf88
cmp ecx, 0x7c
jne 0x18000bdf4
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov edx, 0xa
mov rcx, rbx
call fcn.18000e260
int3
mov edx, 5
mov rcx, rbx
call fcn.18000e260
int3
mov edx, 6
mov rcx, rbx
call fcn.18000e260
int3
mov edx, 4
mov rcx, rbx
call fcn.18000e260
int3
Function at 0x1800151e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test edx, edx
je 0x1800151f1
mov ecx, edx
jmp 0x18001523a
mov ecx, 1
call fcn.1800152f0
mov rcx, rax
call fcn.180015260
mov rcx, rax
mov rdx, rbx
call 0x1800153f0
test rax, rax
jne 0x180015257
mov ecx, 3
call fcn.1800152f0
mov rcx, rax
call fcn.180015260
mov rcx, rax
mov rdx, rbx
call 0x1800153f0
test rax, rax
jne 0x180015257
mov ecx, 2
call fcn.1800152f0
mov rcx, rax
call fcn.180015260
mov rdx, rbx
mov rcx, rax
add rsp, 0x20
pop rbx
jmp 0x1800153f0
add rsp, 0x20
pop rbx
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
movsxd rax, dword [rcx + 0x3c]
mov rbp, rdx
mov rsi, rcx
mov edi, dword [rax + rcx + 0x88]
add rdi, rcx
mov r12d, dword [rdi + 0x1c]
mov r13d, dword [rdi + 0x24]
add r12, rcx
add r13, rcx
cmp rdx, 0xffff
ja 0x18001544f
sub bp, word [rdi + 0x10]
movzx eax, bp
cmp eax, dword [rdi + 0x14]
jae 0x18001547a
movzx eax, bp
mov eax, dword [r12 + rax*4]
add rax, rcx
jmp 0x18001547c
mov r15d, dword [rdi + 0x20]
xor ebx, ebx
add r15, rsi
cmp dword [rdi + 0x18], ebx
jbe 0x18001547a
nop dword [rax]
mov edx, dword [r15 + rbx*4]
mov rcx, rbp
add rdx, rsi
call 0x180015670
test eax, eax
je 0x180015499
inc ebx
cmp ebx, dword [rdi + 0x18]
jb 0x180015460
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
movzx eax, word [r13 + rbx*2]
mov eax, dword [r12 + rax*4]
add rax, rsi
jmp 0x18001547c

Function at 0x180015390
Capabilities:
Access peb ldr_data

Disassembly:
cmp qword [rcx + 0x30], 0
jne 0x1800153ae
mov rax, qword gs:[0x30]
mov rdx, qword [rax + 0x60]
mov rax, qword [rdx + 0x18]
mov rdx, qword [rax + 0x20]
jmp 0x1800153b2
mov rdx, qword [rcx + 0x10]
movups xmm0, xmmword [rdx - 0x10]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rdx]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rdx + 0x10]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rdx + 0x20]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rdx + 0x30]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rdx + 0x40]
movups xmmword [rcx + 0x50], xmm1
movsd xmm0, qword [rdx + 0x50]
movsd qword [rcx + 0x60], xmm0
mov rax, qword [rcx + 0x30]
ret
Function at 0x1800153f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test edx, edx
je 0x1800151f1
mov ecx, edx
jmp 0x18001523a
mov ecx, 1
call fcn.1800152f0
mov rcx, rax
call fcn.180015260
mov rcx, rax
mov rdx, rbx
call 0x1800153f0
test rax, rax
jne 0x180015257
mov ecx, 3
call fcn.1800152f0
mov rcx, rax
call fcn.180015260
mov rcx, rax
mov rdx, rbx
call 0x1800153f0
test rax, rax
jne 0x180015257
mov ecx, 2
call fcn.1800152f0
mov rcx, rax
call fcn.180015260
mov rdx, rbx
mov rcx, rax
add rsp, 0x20
pop rbx
jmp 0x1800153f0
add rsp, 0x20
pop rbx
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
movsxd rax, dword [rcx + 0x3c]
mov rbp, rdx
mov rsi, rcx
mov edi, dword [rax + rcx + 0x88]
add rdi, rcx
mov r12d, dword [rdi + 0x1c]
mov r13d, dword [rdi + 0x24]
add r12, rcx
add r13, rcx
cmp rdx, 0xffff
ja 0x18001544f
sub bp, word [rdi + 0x10]
movzx eax, bp
cmp eax, dword [rdi + 0x14]
jae 0x18001547a
movzx eax, bp
mov eax, dword [r12 + rax*4]
add rax, rcx
jmp 0x18001547c
mov r15d, dword [rdi + 0x20]
xor ebx, ebx
add r15, rsi
cmp dword [rdi + 0x18], ebx
jbe 0x18001547a
nop dword [rax]
mov edx, dword [r15 + rbx*4]
mov rcx, rbp
add rdx, rsi
call 0x180015670
test eax, eax
je 0x180015499
inc ebx
cmp ebx, dword [rdi + 0x18]
jb 0x180015460
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
movzx eax, word [r13 + rbx*2]
mov eax, dword [r12 + rax*4]
add rax, rsi
jmp 0x18001547c

Function at 0x1800154b0
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, qword gs:[0x30]
mov rdx, qword [rax + 0x60]
mov rax, qword [rdx + 0x18]
mov rax, qword [rax + 0x10]
test rax, rax
je 0x1800154f4
nop word [rax + rax]
cmp qword [rax + 0x30], rcx
je 0x1800154df
mov rax, qword [rax]
test rax, rax
jne 0x1800154d0
ret
mov rdx, qword [rax + 8]
mov rcx, qword [rax]
mov qword [rdx], rcx
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov qword [rdx + 8], rcx
ret
Function at 0x18001cbd0
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x18001cc3f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x18001cc3f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x18001cc3f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x18001cc3f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x18001cc3f
cmp dword [rcx + 0x84], 0xe
jbe 0x18001cc3f
cmp dword [rcx + 0xf8], 0
je 0x18001cc3f
mov ecx, ebx
call fcn.18001cce4
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.18001cad8
nop
cmp dword [rbp + 0x20], 0
jne 0x18001cca0
call fcn.180020a34
cmp eax, 1
jne 0x18001cc90
xor dl, dl
jmp 0x18001cc9a
call fcn.180020a00
test al, al
sete dl
cmp dword [rbp + 0x20], 0
je 0x18001ccab
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.18001ccb4
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x18001cbd0

Function at 0x18001e00c
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x180049050]
mov ebx, r9d
mov rdi, r8
mov esi, edx
mov rbp, rcx
cmp rax, 0xffffffffffffffff
je 0x18001e071
test rax, rax
jne 0x18001e05f
lea r9, str.GetLocaleInfoEx
lea r8, [0x1800317c8]
lea rdx, str.GetLocaleInfoEx
lea ecx, [rax + 0xa]
call fcn.18001dce0
test rax, rax
je 0x18001e071
mov r9d, ebx
mov r8, rdi
mov edx, esi
mov rcx, rbp
call fcn.18002ca30
jmp 0x18001e08b
xor edx, edx
mov rcx, rbp
call fcn.18001e2fc
mov ecx, eax
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x180022584
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1800225b4
xor eax, eax
jmp 0x180022677
mov rbp, rbx
cmp word [rax], si
je 0x1800225d9
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1800225c0
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1800225bc
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.1800224a4
movsxd r14, eax
mov rcx, r14
test eax, eax
jne 0x18002261a
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1800225ad
call fcn.1800209a0
mov rdi, rax
test rax, rax
jne 0x180022630
xor ecx, ecx
call fcn.1800204c0
jmp 0x18002260f
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.1800224a4
test eax, eax
jne 0x180022661
mov rcx, rdi
call fcn.1800204c0
jmp 0x18002266b
xor ecx, ecx
call fcn.1800204c0
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x180026ad8
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor esi, esi
mov rdi, rdx
mov dword [rsp + 0x30], esi
mov rbx, rcx
test rcx, rcx
je 0x180026b4b
cmp word [rcx], si
je 0x180026b4b
lea rdx, [0x180036c50]
call fcn.180029858
test eax, eax
je 0x180026b4b
lea rdx, [0x180036c68]
mov rcx, rbx
call fcn.180029858
test eax, eax
jne 0x180026b41
mov ecx, dword [rdi + 8]
lea r9d, [rsi + 2]
lea r8, [rsp + 0x30]
mov edx, 0x2000000b
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x180026b68
mov eax, dword [rsp + 0x30]
jmp 0x180026b7a
mov rcx, rbx
call fcn.18001d9f8
jmp 0x180026b7a
mov ecx, dword [rdi + 8]
lea r8, [rsp + 0x30]
mov r9d, 2
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x180026b6c
xor eax, eax
jmp 0x180026b7a
mov eax, dword [rsp + 0x30]
test eax, eax
jne 0x180026b7a
call qword [sym.imp.KERNEL32.dll_GetACP]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x180026b8c
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov ebp, edx
mov dword [rax + 8], ebx
mov edi, ecx
call fcn.18001ea54
mov ecx, edi
lea r9d, [rbx + 2]
and ecx, 0x3ff
lea r8, [rsp + 0x30]
bts ecx, 0xa
mov edx, 0x20000001
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x180026c2f
cmp edi, dword [rsp + 0x30]
je 0x180026c28
test ebp, ebp
je 0x180026c28
mov r9, qword [rsi + 0x98]
mov r8d, ebx
movzx edx, word [r9]
lea rcx, [r9 + 2]
lea eax, [rdx - 0x41]
cmp ax, 0x19
jbe 0x180026c04
sub dx, 0x61
cmp dx, 0x19
ja 0x180026c10
movzx edx, word [rcx]
inc r8d
add rcx, 2
jmp 0x180026bf1
or rax, 0xffffffffffffffff
inc rax
cmp word [r9 + rax*2], bx
jne 0x180026c14
cmp r8d, eax
setne bl
mov eax, ebx
jmp 0x180026c31
mov eax, 1
jmp 0x180026c31
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x18002bbb0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x18002bbd8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x18002bbd8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x140021e80]
mov dword [rax], 1
mov rax, qword [0x140021e90]
mov dword [rax], 1
mov rax, qword [0x140021ea0]
mov dword [rax], 1
mov rax, qword [0x140021e30]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400013f5
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140007c10
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov rcx, qword [0x14002e0a0]
test rcx, rcx
je 0x140007c60
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x140007c48
mov rcx, qword [0x14002e0a0]
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x14002e0a0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x140007c2f
add rsp, 0x28
ret

Function at 0x14000e2d0
Capabilities:
Create directory

Disassembly:
push rdi
mov eax, 0x2020
push rsi
push rbx
call fcn.140015f10
sub rsp, rax
mov eax, dword [0x140037100]
mov rsi, rcx
test eax, eax
je 0x14000e370
xor ebx, ebx
lea rdi, [0x140035100]
test eax, eax
jg 0x14000e30c
jmp 0x14000e320
add rbx, 1
cmp dword [0x140037100], ebx
jle 0x14000e320
mov rdx, qword [rdi + rbx*8]
mov rcx, rsi
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x14000e300
jmp 0x14000e357
mov rcx, rsi
call sub.msvcrt.dll_wcslen
cmp rax, 2
jne 0x14000e335
cmp word [rsi + 2], 0x3a
je 0x14000e357
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x14000e3c0
movsxd rbx, dword [0x140037100]
cmp ebx, 0x3ff
jle 0x14000e3d8
mov eax, 1
add rsp, 0x2020
pop rbx
pop rsi
pop rdi
ret
lea rdi, [rsp + 0x20]
lea rbx, str.HOME
mov r8d, 0x1000
mov rdx, rbx
mov rcx, rdi
call fcn.140007540
test al, al
je 0x14000e3fa
movsxd rbx, dword [0x140037100]
mov rcx, rdi
lea rdi, [0x140035100]
call sub.msvcrt.dll__wcsdup
mov qword [rdi + rbx*8], rax
mov eax, dword [0x140037100]
add eax, 1
mov dword [0x140037100], eax
jmp 0x14000e2f1
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14000e344
xor eax, eax
jmp 0x14000e35c
mov rcx, rsi
call sub.msvcrt.dll__wcsdup
add dword [0x140037100], 1
mov rdx, rax
lea rax, [0x140035100]
mov qword [rax + rbx*8], rdx
jmp 0x14000e357
mov rcx, rbx
call fcn.140007b50
nop
nop word cs:[rax + rax]
nop
Function at 0x140014bf0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call fcn.14001bb40
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call fcn.14001bb40
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop

Function at 0x1400158c2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x140037228]
test eax, eax
je 0x14001595a
lea rax, [0x140037200]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x140037230]
mov qword [rbp - 8], rax
jmp 0x14001593e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x140015932
cmp qword [rbp - 0x10], 0
je 0x140015932
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x1400158f8
lea rax, [0x140037200]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x14001595b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x140015a60
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x140015a88
mov eax, 0
jmp 0x140015ad6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x140015ab1
mov eax, 0
jmp 0x140015ad6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x140015ad1
mov eax, 0
jmp 0x140015ad6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x140015adc
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x140015b5a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140015b51
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x140015b51
mov rax, qword [rbp - 8]
jmp 0x140015b6f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x140015b24
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x1400038e0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140009040]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, rcx
mov qword [rsp + 0x30], rcx
xor esi, esi
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov ecx, 0x20
call fcn.140003ec0
mov dword [rax], 1
mov dword [rax + 4], 2
xor ecx, ecx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rsi
mov dword [rax + 0x18], esi
mov qword [rbx + 0x10], rax
mov ecx, 8
call fcn.140003ec0
lea rcx, [0x1400025f0]
mov qword [rax], rcx
mov qword [rsp + 0x38], rax
lea rdi, [rbx + 8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x140003e60]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbx], rax
test rax, rax
je 0x140003998
mov rax, rbx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140003ea0
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
mov dword [rdi], esi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3

Function at 0x1400049e4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140004a2e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140004a2e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140004a2e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140004a2e
cmp dword [rcx + 0x84], 0xe
jbe 0x140004a2e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140004a30
xor al, al
add rsp, 0x28
ret
Function at 0x1400012fc
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, 0x120
mov rbx, rcx
mov rcx, qword [rcx + 0x20]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, qword [rbx + 0x20]
mov edx, 9
mov rbp, rax
call qword [sym.imp.USER32.dll_GetDlgItem]
xor edi, edi
lea rdx, [rsp + 0x50]
lea r8d, [rdi + 0x64]
mov rcx, rbp
mov rsi, rax
mov word [rsp + 0x50], di
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rdx, [rsp + 0x50]
mov rcx, rsi
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov rcx, qword [rbx + 0x20]
lea rdx, [rsp + 0x130]
mov dword [rsp + 0x130], edi
mov dword [rsp + 0x134], edi
call qword [sym.imp.USER32.dll_ClientToScreen]
lea r8d, [rdi + 0x10]
lea rcx, [rsp + 0x40]
xor edx, edx
call fcn.140102a90
lea rdx, [rsp + 0x40]
mov rcx, rbp
call qword [sym.imp.USER32.dll_GetWindowRect]
mov r8d, dword [rsp + 0x40]
mov r9d, dword [rsp + 0x44]
mov edi, dword [rsp + 0x48]
mov ebx, dword [rsp + 0x4c]
mov dword [rsp + 0x30], 4
sub edi, r8d
sub r8d, dword [rsp + 0x130]
sub ebx, r9d
sub r9d, dword [rsp + 0x134]
xor edx, edx
mov rcx, rsi
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x40], r8d
mov dword [rsp + 0x20], edi
mov dword [rsp + 0x44], r9d
call qword [sym.imp.USER32.dll_SetWindowPos]
mov r8d, dword [rsp + 0x44]
mov edx, dword [rsp + 0x40]
mov r9d, edi
mov rcx, rsi
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], ebx
call qword [sym.imp.USER32.dll_MoveWindow]
xor edx, edx
mov rcx, rbp
call qword [sym.imp.USER32.dll_ShowWindow]
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret