joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004a410
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
mov rbx, rcx
lea r8, str.getHDDSerialAlternate_start
lea rdx, str.INFO
mov rcx, rdi
call fcn.140018920
xor r11d, r11d
lea r9, [rsp + 0x50]
mov dword [rsp + 0x38], r11d
mov qword [rsp + 0x30], r11
mov qword [rsp + 0x28], r11
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], r11
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov ecx, dword [rsp + 0x50]
mov r11d, 0x5f
lea rdx, [rbx + 2]
mov r8d, 0xff
lea r9d, [r11 - 0x55]
mov word [rbx], r11w
call fcn.14005c67c
lea r8, str.getHDDSerialAlternate_end
lea rdx, str.INFO
mov rcx, rdi
call fcn.140018920
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x1400502a0
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
push rdi
push r12
push r13
sub rsp, 0x70
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov rbp, r9
mov rsi, r8
mov r12, rdx
mov r13, rcx
mov ecx, 0x138
call fcn.14005baec
mov rdi, rax
mov qword [rsp + 0x58], rax
xor ebx, ebx
test rax, rax
je 0x140050374
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbx
mov r8, qword [rbp + 8]
mov rdx, qword [rbp]
test r8, r8
je 0x14005032f
mov eax, dword [r8 + 8]
test eax, eax
je 0x14005032f
nop dword [rax]
lea ecx, [rax + 1]
lock cmpxchg dword [r8 + 8], ecx
je 0x140050325
mov eax, dword [r8 + 8]
test eax, eax
jne 0x140050310
jmp 0x14005032f
lea rcx, [rsp + 0x60]
call fcn.14002c720
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x28], rax
mov rax, qword [r13 + 0x28]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0xb0]
lea r8, [rsp + 0x60]
mov rdx, rsi
mov rcx, rdi
call fcn.140057410
mov rsi, rax
jmp 0x140050377
mov rsi, rbx
movzx eax, byte [rsp + 0xd0]
mov byte [rsi + 0x124], al
mov ecx, 0x38
call fcn.14005baec
mov rdi, rax
test rax, rax
je 0x1400503a7
lea rcx, [rax + 8]
xor r8d, r8d
xor edx, edx
call fcn.140001678
jmp 0x1400503aa
mov rdi, rbx
mov qword [rdi], rsi
lea rcx, [rdi + 8]
mov rdx, r12
call fcn.140002680
mov r11, qword [r13 + 0x28]
mov qword [rdi + 0x30], r11
mov eax, dword [rsp + 0xc8]
mov dword [rsi + 0x120], eax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebx
mov r9, rdi
lea r8, [0x14004ffa0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov r12, rax
mov ecx, 0x10
call fcn.14005baec
mov rdi, rax
test rax, rax
je 0x14005040e
mov qword [rax], r12
mov qword [rax + 8], rsi
jmp 0x140050411
mov rdi, rbx
mov qword [rsp + 0x48], rdi
mov rax, qword [r13 + 0x38]
lea rcx, [rsp + 0x48]
cmp rcx, rax
jae 0x140050463
mov rcx, qword [r13 + 0x30]
lea rdx, [rsp + 0x48]
cmp rcx, rdx
ja 0x140050463
lea rdi, [rsp + 0x48]
sub rdi, rcx
sar rdi, 3
cmp rax, qword [r13 + 0x40]
jne 0x14005044d
lea rcx, [r13 + 0x30]
call fcn.140054570
mov rax, qword [r13 + 0x30]
mov rcx, qword [r13 + 0x38]
test rcx, rcx
je 0x14005047e
mov rax, qword [rax + rdi*8]
mov qword [rcx], rax
jmp 0x14005047e
cmp rax, qword [r13 + 0x40]
jne 0x140050472
lea rcx, [r13 + 0x30]
call fcn.140054570
mov rax, qword [r13 + 0x38]
test rax, rax
je 0x14005047e
mov qword [rax], rdi
add qword [r13 + 0x38], 8
mov rbx, qword [rbp + 8]
test rbx, rbx
je 0x1400504a9
lock dec dword [rbx + 8]
jne 0x1400504a9
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock dec dword [rbx + 0xc]
jne 0x1400504a9
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + VariantCopy]
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r13
pop r12
pop rdi
ret
Function at 0x1400513f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x140051423
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rcx, rax
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x140051466
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r11d, eax
add r11, rbx
and edi, 0xf
jbe 0x140051461
cmp rbx, r11
jae 0x140051466
dec edi
movzx eax, word [rbx]
lea rbx, [rbx + rax*2 + 2]
jne 0x140051450
cmp rbx, r11
jb 0x14005146a
xor eax, eax
jmp 0x140051476
xor eax, eax
cmp word [rbx], ax
cmove rbx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400557a0
Capabilities:
Copy file
Create directory

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x5c0]
sub rsp, 0x6c0
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rax, qword [0x1400b14a0]
xor rax, rsp
mov qword [rbp + 0x5b0], rax
mov rsi, r9
mov r13d, r8d
mov r12, rdx
lea rdi, [rcx + 8]
mov rbx, rdi
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x70]
call fcn.140062200
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1a0]
call fcn.140062200
cmp word [rdi], 0x7c
je 0x14005581a
nop
add rbx, 2
cmp word [rbx], 0x7c
jne 0x140055810
xor r14d, r14d
mov word [rbx], r14w
mov r8, rdi
mov edx, 0x104
lea rcx, [rbp - 0x70]
call fcn.14005c0fc
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp - 0x70]
repne scasw ax, word [rdi]
not rcx
mov word [rbp + rcx*2 - 0x70], r14w
lea r8, [rbx + 2]
mov edx, 0x104
lea rcx, [rbp + 0x1a0]
call fcn.14005c0fc
lea rdx, str.Copy_
lea rcx, [rsp + 0x60]
call fcn.14000264c
nop
lea rdx, [rbp - 0x70]
mov rcx, rax
call fcn.140002680
mov rcx, rax
lea rdx, str._to_
call fcn.140002680
mov rcx, rax
lea rdx, [rbp + 0x1a0]
call fcn.140002680
mov rcx, rax
lea rdx, [0x14008bc10]
call fcn.140002680
mov rcx, rax
call fcn.1400018c0
mov r8, rax
lea rdx, str.INFO
mov rcx, rsi
call fcn.140018920
nop
lea rcx, [rsp + 0x60]
call fcn.140001624
xor r8d, r8d
lea rdx, [rbp + 0x1a0]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov qword [rsp + 0x20], r14
mov dword [rsp + 0x28], 2
lea rax, [rbp - 0x70]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x1a0]
mov qword [rsp + 0x38], rax
mov eax, 0xe14
mov word [rsp + 0x40], ax
mov dword [rsp + 0x44], r14d
mov qword [rsp + 0x48], r14
lea rax, [0x1400882a8]
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov edi, eax
test eax, eax
je 0x14005597a
mov r9d, eax
lea r8, [0x140090730]
mov edx, r13d
mov rcx, r12
call qword [sym.imp.SHLWAPI.dll_wnsprintfW]
mov r9d, edi
lea r8, str.Error_copy_file__err:__d
mov edx, 0x100
lea rcx, [rbp + 0x3b0]
call qword [sym.imp.SHLWAPI.dll_wnsprintfW]
lea r8, [rbp + 0x3b0]
lea rdx, str.INFO
mov rcx, rsi
call fcn.140018920
mov rcx, qword [rbp + 0x5b0]
xor rcx, rsp
call fcn.14005ba60
add rsp, 0x6c0
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400559a0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
lea rbp, [rsp - 0x3b0]
sub rsp, 0x4b0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x4f0], rbx
mov rax, qword [0x1400b14a0]
xor rax, rsp
mov qword [rbp + 0x3a0], rax
mov r12, r9
mov rsi, rdx
lea rdi, [rcx + 8]
mov rbx, rdi
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x80]
call fcn.140062200
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x190]
call fcn.140062200
cmp word [rdi], 0x7c
je 0x140055a1b
add rbx, 2
cmp word [rbx], 0x7c
jne 0x140055a11
xor r13d, r13d
mov word [rbx], r13w
mov r8, rdi
mov edx, 0x104
lea rcx, [rbp - 0x80]
call fcn.14005c0fc
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp - 0x80]
repne scasw ax, word [rdi]
not rcx
mov word [rbp + rcx*2 - 0x80], r13w
lea r8, [rbx + 2]
mov edx, 0x104
lea rcx, [rbp + 0x190]
call fcn.14005c0fc
lea rdx, str.UnEbz_
lea rcx, [rsp + 0x28]
call fcn.14000264c
nop
lea rdx, [rbp - 0x80]
mov rcx, rax
call fcn.140002680
mov rcx, rax
lea rdx, str._to_
call fcn.140002680
mov rcx, rax
lea rdx, [rbp + 0x190]
call fcn.140002680
mov rcx, rax
lea rdx, [0x14008bc10]
call fcn.140002680
mov rcx, rax
call fcn.1400018c0
mov r8, rax
lea rdx, str.INFO
mov rcx, r12
call fcn.140018920
nop
lea rcx, [rsp + 0x28]
call fcn.140001624
xor r8d, r8d
lea rdx, [rbp + 0x190]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140055bc9
test al, 0x10
jne 0x140055bc9
lea rdx, [rbp + 0x190]
lea rcx, [rsp + 0x28]
call fcn.14000264c
nop
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x50]
call fcn.14000264c
nop
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x50]
call fcn.140007310
test al, al
sete dil
lea rcx, [rsp + 0x50]
call fcn.140001624
nop
lea rcx, [rsp + 0x28]
call fcn.140001624
test dil, dil
je 0x140055c33
lea rcx, [0x1400883b4]
sub rsi, rcx
nop dword [rax]
movzx eax, word [rcx]
mov word [rsi + rcx], ax
add rcx, 2
test ax, ax
jne 0x140055b60
lea rdx, str.Cant_unEbz
lea rcx, [rsp + 0x28]
call fcn.14000264c
nop
lea rdx, [rbp - 0x80]
mov rcx, rax
call fcn.140002680
mov rcx, rax
lea rdx, str._to
call fcn.140002680
mov rcx, rax
lea rdx, [rbp + 0x190]
call fcn.140002680
mov rcx, rax
call fcn.1400018c0
mov r8, rax
lea rdx, str.ERROR
mov rcx, r12
call fcn.140018920
nop
jmp 0x140055c29
lea rcx, [0x14008af40]
sub rsi, rcx
nop word [rax + rax]
movzx eax, word [rcx]
mov word [rsi + rcx], ax
add rcx, 2
test ax, ax
jne 0x140055be0
lea rdx, str.File_not_found:
lea rcx, [rsp + 0x28]
call fcn.14000264c
nop
lea rdx, [rbp - 0x80]
mov rcx, rax
call fcn.140002680
mov rcx, rax
call fcn.1400018c0
mov r8, rax
lea rdx, str.ERROR
mov rcx, r12
call fcn.140018920
nop
lea rcx, [rsp + 0x28]
call fcn.140001624
mov rcx, qword [rbp + 0x3a0]
xor rcx, rsp
call fcn.14005ba60
mov rbx, qword [rsp + 0x4f0]
add rsp, 0x4b0
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140055c60
Capabilities:
Delete file

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x4b8
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rax, qword [0x1400b14a0]
xor rax, rsp
mov qword [rsp + 0x4a0], rax
mov rbx, r9
mov ebp, r8d
mov rsi, rdx
mov rdi, rcx
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x90]
call fcn.140062200
lea r8, [rdi + 8]
mov edx, 0x104
lea rcx, [rsp + 0x90]
call fcn.14005c0fc
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x90]
repne scasw ax, word [rdi]
not rcx
xor edi, edi
mov word [rsp + rcx*2 + 0x90], di
lea rdx, str.Delete
lea rcx, [rsp + 0x60]
call fcn.14000264c
nop
lea rdx, [rsp + 0x90]
mov rcx, rax
call fcn.140002680
mov rcx, rax
call fcn.1400018c0
mov r8, rax
lea rdx, str.INFO
mov rcx, rbx
call fcn.140018920
nop
lea rcx, [rsp + 0x60]
call fcn.140001624
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
lea rax, [rsp + 0x90]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rdi
mov eax, 0xc14
mov word [rsp + 0x40], ax
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rdi
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov edi, eax
test eax, eax
je 0x140055db4
mov r9d, eax
lea r8, [0x140090730]
mov edx, ebp
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_wnsprintfW]
mov r9d, edi
lea r8, str.Error_delete_file__err:__d
mov edx, 0x100
lea rcx, [rsp + 0x2a0]
call qword [sym.imp.SHLWAPI.dll_wnsprintfW]
lea r8, [rsp + 0x2a0]
lea rdx, str.INFO
mov rcx, rbx
call fcn.140018920
mov rcx, qword [rsp + 0x4a0]
xor rcx, rsp
call fcn.14005ba60
add rsp, 0x4b8
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140055dd0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x160
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [0x1400b14a0]
xor rax, rsp
mov qword [rsp + 0x158], rax
mov rdi, r9
mov rsi, rdx
mov rbx, rcx
lea rdx, str.Create_directory
lea rcx, [rsp + 0x130]
call fcn.14000264c
nop
add rbx, 8
mov rdx, rbx
mov rcx, rax
call fcn.140002680
mov rcx, rax
call fcn.1400018c0
mov r8, rax
lea rdx, str.INFO
mov rcx, rdi
call fcn.140018920
nop
lea rcx, [rsp + 0x130]
call fcn.140001624
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140055e78
test al, 0x10
je 0x140055e78
lea r8, str.Folder_exist_already
lea rdx, str.INFO
mov rcx, rdi
call fcn.140018920
jmp 0x140055f47
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectory]
test eax, eax
je 0x140055f47
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov r8d, 0xa
mov rdx, rsi
call fcn.14005e214
lea rcx, [rsp + 0x30]
call fcn.1400082d0
nop
lea rdx, str.Cant_create_folder_
lea rcx, [rsp + 0x40]
call fcn.14000cf40
mov rcx, rax
mov rdx, rbx
call fcn.14000cf40
mov rcx, rax
lea rdx, str.__error_code
call fcn.14000cf40
mov rcx, rax
mov rdx, rsi
call fcn.14000cf40
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x30]
call fcn.140008470
nop
mov rcx, rax
call fcn.1400018c0
mov r8, rax
lea rdx, str.ERROR
mov rcx, rdi
call fcn.140018920
nop
lea rcx, [rsp + 0x130]
call fcn.140001624
nop
lea rcx, [rsp + 0xc8]
call fcn.1400083a0
lea r11, vtable.std::ios_base.0
mov qword [rsp + 0xc8], r11
lea rcx, [rsp + 0xc8]
call fcn.140074548
mov rcx, qword [rsp + 0x158]
xor rcx, rsp
call fcn.14005ba60
add rsp, 0x160
pop rdi
pop rsi
pop rbx
ret

Function at 0x140056050
Capabilities:
Delete file

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov rax, qword [0x1400b14a0]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, rdx
mov rbp, rcx
mov qword [rsp + 0x28], rdx
add rcx, 0x38
call fcn.1400026e0
lea rsi, [rax - 1]
cmp qword [rbp + 0x48], rsi
ja 0x140056099
call fcn.140002bf8
int3
lea rcx, [rbp + 0x38]
call fcn.1400016d4
movzx ecx, word [rax + rsi*2]
cmp cx, 0x5c
je 0x1400560b2
cmp cx, 0x2f
jne 0x1400560c5
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rbx
lea rcx, [rbp + 0x38]
call fcn.14000272c
lea rcx, [rbp + 0x38]
call fcn.1400018c0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rbp + 0x38]
call fcn.1400018c0
mov rcx, rax
lea rdx, [0x140091400]
call fcn.14005c7a8
mov qword [rbp + 0x30], rax
test rax, rax
jne 0x140056104
mov rcx, rbx
call fcn.140001624
xor al, al
jmp 0x14005610e
mov rcx, rbx
call fcn.140001624
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14005ba60
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x140056130
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x20
mov rbp, rcx
add rcx, 8
movsxd rdi, r9d
mov ebx, r8d
mov rsi, rdx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rbp + 0x30]
xor r8d, r8d
mov edx, ebx
call fcn.140077ad8
mov r9, qword [rbp + 0x30]
mov r8, rdi
mov edx, 1
mov rcx, rsi
call fcn.14005ce70
mov rcx, qword [rbp + 0x30]
call fcn.14005dc28
lea rcx, [rbp + 8]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140056250
Capabilities:
Hash data with md5
Read file on windows

Disassembly:
push rbp
push rsi
push rdi
mov eax, 0x22e0
call fcn.140068770
sub rsp, rax
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x2310], rbx
mov rax, qword [0x1400b14a0]
xor rax, rsp
mov qword [rsp + 0x22d0], rax
mov rsi, rdx
mov rbx, rcx
mov qword [rsp + 0x50], rdx
xor edi, edi
mov dword [rsp + 0x30], edi
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call fcn.140001678
mov dword [rsp + 0x30], 1
cmp qword [rbx + 0x30], rdi
je 0x1400563cb
lea rbp, [rbx + 8]
mov qword [rsp + 0x38], rbp
mov byte [rsp + 0x40], 1
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov dword [rsp + 0x60], 0x67452301
mov dword [rsp + 0x64], 0xefcdab89
mov dword [rsp + 0x68], 0x98badcfe
mov qword [rsp + 0x6c], 0x10325476
mov dword [rsp + 0x74], edi
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbx + 0x30]
call fcn.140077ad8
mov r9, qword [rbx + 0x30]
lea edx, [rdi + 1]
mov r8d, 0x2000
lea rcx, [rsp + 0x2d0]
call fcn.14005cc3c
test eax, eax
je 0x140056355
nop dword [rax]
mov r8d, eax
lea rdx, [rsp + 0x2d0]
lea rcx, [rsp + 0x60]
call fcn.140059570
mov r9, qword [rbx + 0x30]
mov edx, 1
mov r8d, 0x2000
lea rcx, [rsp + 0x2d0]
call fcn.14005cc3c
test eax, eax
jne 0x140056320
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0xc0]
call fcn.1400596f0
mov word [rsp + 0xd0], di
lea rbx, [rsp + 0xc0]
mov edi, 0x10
nop dword [rax]
movzx eax, byte [rbx]
mov dword [rsp + 0x20], eax
lea r9, [rsp + 0xd0]
lea r8, str._s_02x
mov edx, 0x100
lea rcx, [rsp + 0xd0]
call qword [sym.imp.SHLWAPI.dll_wnsprintfW]
inc rbx
dec rdi
jne 0x140056380
lea rdx, [rsp + 0xd0]
mov rcx, rsi
call fcn.1400026b0
nop
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rax, rsi
mov rcx, qword [rsp + 0x22d0]
xor rcx, rsp
call fcn.14005ba60
mov rbx, qword [rsp + 0x2310]
add rsp, 0x22e0
pop rdi
pop rsi
pop rbp
ret
Function at 0x14005a9d0
Capabilities:
Parse url

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
mov rbx, rcx
mov edx, 0x5000
mov ecx, 0x40
mov r15, r9
xor r12b, r12b
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edx, 0x5000
mov ecx, 0x40
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edx, 0x5000
mov ecx, 0x40
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edx, 0x5000
mov ecx, 0x40
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edx, 0x5000
mov ecx, 0x40
mov r13, rax
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
lea r9, [rsp + 0x20]
mov r14, rax
xor eax, eax
xor r8d, r8d
xor edx, edx
mov rcx, rbx
mov dword [rsp + 0x20], 0x68
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rax
mov word [rsp + 0x44], ax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x78], rbp
mov dword [rsp + 0x80], 0x2800
mov dword [rsp + 0x70], 0x2800
mov dword [rsp + 0x40], 0x2800
mov dword [rsp + 0x60], 0x104
mov dword [rsp + 0x50], 0x104
call qword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x14005aafb
mov rcx, qword [rsp + 0xd8]
mov rdx, rdi
mov r12b, 1
call fcn.1400026b0
mov rcx, qword [rsp + 0xe0]
mov rdx, rsi
call fcn.1400026b0
mov rdx, rbp
mov rcx, r15
call fcn.1400026b0
movzx ecx, word [rsp + 0x44]
mov rdx, qword [rsp + 0xf0]
mov word [rdx], cx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rbx, qword [rsp + 0xd0]
movzx eax, r12b
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14005b980
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
lea rax, [rsp + 0x40]
mov rbx, rcx
mov byte [rcx + 0x1a], 0
mov r9, rcx
mov qword [rsp + 0x28], rax
lea r8, [0x14005b8d0]
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0x20], rax
mov al, 1
add rsp, 0x30
pop rbx
ret

Function at 0x14005b9e0
Capabilities:
Terminate thread

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov byte [rcx + 0x1a], 1
mov rcx, qword [rcx + 0x20]
test rcx, rcx
je 0x14005ba22
mov edx, 1
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x10]
mov qword [rbx + 0x20], 0
test rcx, rcx
je 0x14005ba22
mov rax, qword [rcx]
call qword [rax + 0x28]
add rsp, 0x20
pop rbx
ret

Function at 0x14005f0bc
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.14005ef2c

Function at 0x14005f893
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1400b14a0]
jne 0x14005ba7a
rol rcx, 0x10
test cx, 0xffff
jne 0x14005ba76
repz ret
ror rcx, 0x10
jmp 0x14005f7ec
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1400b5ea0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x1400b5f98]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14005f871
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x1400b5ea0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x14005f893
mov rax, qword [rsp + 0x88]
mov qword [0x1400b5f98], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1400b5f38], rax
mov rax, qword [0x1400b5f98]
mov qword [0x1400b5e10], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1400b5f20], rax
mov dword [0x1400b5e00], 0xc0000409
mov dword [0x1400b5e04], 1
mov rax, qword [0x1400b14a0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1400b14a8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1400b5e98], eax
mov ecx, 1
call fcn.140068aa4
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140083b90]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1400b5e98], 0
jne 0x14005f91a
mov ecx, 1
call fcn.140068aa4
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret