joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400bd3b0
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 0x1400bd420
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x140135244]
mov rbx, rcx
test esi, esi
jle 0x1400bd550
mov rax, qword [0x140135248]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1400bd46b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x1400bd4f5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x1400bd450
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x1400bd572
mov rax, qword [0x140135248]
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 [0x140135248]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400bd557
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x1400bd4ee
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x1400bd500
add dword [0x140135244], 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 [0x140135248]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400bd4ee
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 0x1400bd478
mov rax, qword [0x140135248]
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 0x1400bdb00
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x1401352a0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140135280]
test rbx, rbx
je 0x1400bdb5c
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 rsi, rsi
je 0x1400bdb53
test eax, eax
jne 0x1400bdb53
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400bdb38
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 0x1400bdd70
Capabilities:
Parse pe header

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

Function at 0x1400bdda0
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 0x1400bdded
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 0x1400bdde4
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x1400bddef
add rax, 0x28
cmp rax, r9
jne 0x1400bddd0
xor eax, eax
ret

Function at 0x1400bddf0
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x1400bde80
mov rdx, qword [0x140125160]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x1400bde6e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x1400bde6e
cmp word [rax + 0x18], 0x20b
jne 0x1400bde6e
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x1400bde80
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x1400bde59
add rbx, 0x28
cmp rbx, rdi
je 0x1400bde80
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x1400bde50
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 0x1400bde90
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140125160]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400bdeb0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400bdeb8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400bdeb0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1400bdf0d
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 0x1400bdf04
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400bdeb0
add rax, 0x28
cmp rax, r9
jne 0x1400bdef0
xor eax, eax
ret

Function at 0x1400bdf10
Capabilities:
Parse pe header

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

Disassembly:
mov r8, qword [0x140125160]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x1400bdf70
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x1400bdf78
ret
cmp word [rdx + 0x18], 0x20b
jne 0x1400bdf70
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x1400bdfc0
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x1400bdfb7
test rcx, rcx
je 0x1400bdf70
sub rcx, 1
add rax, 0x28
cmp rdx, rax
jne 0x1400bdfa8
xor eax, eax
ret

Function at 0x1400bdfd0
Capabilities:
Parse pe header

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

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

Disassembly:
mov rdx, qword [0x140125160]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400be030
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400be038
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400be030
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x1400be030
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 0x1400be084
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x1400be090
add rdx, 0x28
cmp rdx, r9
jne 0x1400be070
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

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

Disassembly:
mov r11, qword [0x140125160]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x1400be0c2
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x1400be0d0
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400be0c2
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x1400be0c2
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x1400be0c2
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 0x1400be125
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x1400be138
add rdx, 0x28
cmp r10, rdx
jne 0x1400be110
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x1400be147
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x1400be157
mov edx, dword [rax + 0xc]
test edx, edx
je 0x1400be12e
test ecx, ecx
jg 0x1400be140
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x401370
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
sub rsp, 0x28
xor rcx, rcx
call sub.KERNEL32_GetModuleHandleA
mov qword [0x004570a0], rax
call fcn.0043acd0
call fcn.00436890
call fcn.0043ace0
lea rax, [section..data]
lea rcx, [0x00402200]
mov qword [rax + 0x30], rcx
lea rcx, section..text
mov qword [rax], rcx
lea rcx, [0x0040130c]
mov qword [rax + 8], rcx
lea rcx, [0x0040130c]
mov qword [rax + 0x10], rcx
lea rcx, [0x0040136c]
mov qword [rax + 0x18], rcx
lea rcx, [0x0044bea0]
mov qword [rax + 0x68], rcx
lea rcx, [0x0044c2a0]
mov qword [rax + 0x70], rcx
lea rcx, [0x0044c2d0]
mov qword [rax + 0x78], rcx
lea rcx, [0x0044c880]
mov qword [rax + 0x80], rcx
lea rcx, [0x004648d0]
mov qword [rax + 0x50], rcx
mov rcx, rax
push 0
jmp 0x44d3a0
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rsi, r9
mov r14d, r8d
mov ebx, edx
mov edi, ecx
call fcn.0044d340
test edi, edi
je 0x44ba35
test ebx, ebx
jne 0x44ba4c
test edi, edi
jne 0x44ba26
call qword [0x004654d8]
call qword [0x004654e0]
call fcn.0044d360
mov ecx, r14d
call fcn.0044d0f0
jmp 0x44ba4c
mov rcx, rsi
call fcn.0044b7e0
call fcn.0044d210
call qword [0x004654d0]
test ebx, ebx
je 0x44ba16
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
jmp fcn.0044d360
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0x80]
mov rsi, rcx
mov eax, dword [rsi + 0x20]
and eax, 1
mov dword [0x00465530], eax
mov rcx, qword [rsi + 0x50]
call fcn.0043d070
mov rcx, qword [rsi + 0x88]
call fcn.0043d080
mov dword [0x00478e40], 1
lea rdi, [0x00478e40]
mov qword [0x00478e48], rsi
call sub.KERNEL32_GetEnvironmentStrings
mov qword [0x00478de0], rax
call sub.KERNEL32_GetCommandLineA
mov qword [0x00478df0], rax
mov rcx, qword [rsi + 0x68]
mov rdx, qword [rsi + 0x70]
mov r8, qword [rsi + 0x78]
mov r9, qword [rsi + 0x80]
call fcn.0044bc60
xor edx, edx
mov rcx, rdi
call fcn.0044d110
test byte [rsi + 0x20], 1
jne 0x44d464
mov ecx, dword [0x00478e0c]
mov rdx, qword [0x00478e10]
mov r8, qword [0x00478e18]
call qword [rsi + 0x30]
xor ecx, ecx
xor edx, edx
mov r9, 0xffffffffffffffff
mov r8d, eax
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop rbp
jmp 0x44b9f0
mov rax, qword [0x00478df0]
nop dword [rax + rax]
inc rax
mov cl, byte [rax - 1]
cmp cl, 9
je 0x44d470
cmp cl, 0x20
je 0x44d470
cmp cl, 0x22
jne 0x44d48e
mov cl, byte [rax]
mov edx, 0x22
jmp 0x44d496
dec rax
mov edx, 0x20
movsx edi, cl
cmp edx, edi
je 0x44d4b4
nop dword [rax]
test cl, cl
je 0x44d4b4
cmp cl, 9
je 0x44d4b4
movsx ecx, byte [rax + 1]
inc rax
cmp edx, ecx
jne 0x44d4a0
lea rdi, [rax + 1]
cmp cl, 0x22
cmovne rdi, rax
jmp 0x44d4d3
inc rdi
movzx eax, byte [rdi]
cmp al, 0x20
je 0x44d4d0
cmp al, 9
je 0x44d4d0
mov rbx, qword [rsi + 0x30]
xor ecx, ecx
call sub.KERNEL32_GetModuleHandleA
mov rsi, rax
lea rcx, [rbp - 0x60]
call sub.KERNEL32_GetStartupInfoA
mov eax, dword [rbp - 0x24]
test al, 1
movzx eax, word [rbp - 0x20]
mov r9d, 0xa
cmovne r9d, eax
xor edx, edx
mov rcx, rsi
mov r8, rdi
call rbx
xor ecx, ecx
xor edx, edx
mov r9, 0xffffffffffffffff
mov r8d, eax
call 0x44b9f0
nop
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop rbp
ret
Function at 0x401840
Capabilities:
Create process on windows

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0xd8
lea rbp, [rsp + 0x80]
mov rsi, rdx
mov rax, rcx
lea rdx, [0x00453300]
lea rdi, [rbp - 0x48]
mov rcx, rdi
mov r8, rax
call fcn.00403d00
lea rdx, [0x0045332e]
mov r8d, 0x14
mov rcx, rdi
call fcn.004064c0
mov rdi, rax
mov qword [rbp + 0x50], 7
mov qword [rbp + 0x48], 0
mov word [rbp + 0x38], 0
mov rcx, qword [rdi + 0x20]
cmp rcx, 7
ja 0x4018c9
mov r8, qword [rdi + 0x18]
mov rbx, rdi
add rbx, 8
inc r8
je 0x4018e0
lea rcx, [rbp + 0x38]
mov rdx, rbx
call fcn.0043b6a0
mov rcx, qword [rdi + 0x20]
jmp 0x4018e0
mov rbx, rdi
add rbx, 8
mov rax, qword [rdi + 8]
mov qword [rbp + 0x38], rax
mov qword [rdi + 8], 0
mov rax, qword [rdi + 0x18]
mov qword [rbp + 0x48], rax
mov qword [rbp + 0x50], rcx
mov qword [rdi + 0x20], 7
mov qword [rdi + 0x18], 0
mov word [rbx], 0
lea rcx, [rbp - 0x20]
lea rdx, [rbp + 0x30]
mov r8, rsi
call fcn.00403be0
lea rdx, [0x00453358]
lea rcx, [rbp - 0x20]
mov r8d, 1
call fcn.004064c0
mov rdi, rax
mov qword [rbp + 0x28], 7
lea rsi, [rbp + 0x10]
mov qword [rbp + 0x20], 0
mov word [rbp + 0x10], 0
mov rcx, qword [rdi + 0x20]
cmp rcx, 7
ja 0x40196f
mov r8, qword [rdi + 0x18]
mov rbx, rdi
add rbx, 8
inc r8
je 0x401986
mov rcx, rsi
mov rdx, rbx
call fcn.0043b6a0
mov rcx, qword [rdi + 0x20]
jmp 0x401986
mov rbx, rdi
add rbx, 8
mov rax, qword [rdi + 8]
mov qword [rbp + 0x10], rax
mov qword [rdi + 8], 0
mov rax, qword [rdi + 0x18]
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rcx
mov qword [rdi + 0x20], 7
mov qword [rdi + 0x18], 0
mov word [rbx], 0
mov rax, qword [rbp]
cmp rax, 8
jb 0x4019cb
mov rcx, qword [rbp - 0x18]
lea rax, [rax + rax + 2]
cmp rax, 0x1000
jb 0x4019c6
mov rcx, qword [rcx - 8]
call fcn.00408970
mov qword [rbp], 7
mov qword [rbp - 8], 0
mov word [rbp - 0x18], 0
mov rax, qword [rbp + 0x50]
cmp rax, 8
jb 0x401a05
mov rcx, qword [rbp + 0x38]
lea rax, [rax + rax + 2]
cmp rax, 0x1000
jb 0x401a00
mov rcx, qword [rcx - 8]
call fcn.00408970
mov qword [rbp + 0x50], 7
mov qword [rbp + 0x48], 0
mov word [rbp + 0x38], 0
mov rax, qword [rbp - 0x28]
cmp rax, 8
jb 0x401a3f
mov rcx, qword [rbp - 0x40]
lea rax, [rax + rax + 2]
cmp rax, 0x1000
jb 0x401a3a
mov rcx, qword [rcx - 8]
call fcn.00408970
cmp qword [rbp + 0x28], 7
cmova rsi, qword [rbp + 0x10]
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea rdx, [0x0045335c]
lea r8, [0x00453366]
xor ecx, ecx
mov r9, rsi
call sub.SHELL32.DLL_ShellExecuteW
cmp eax, 0x20
jg 0x401ab4
lea rcx, [0x00466b68]
lea rdx, [0x004530a6]
call fcn.00403920
mov rsi, rax
mov rax, qword [rsi]
mov rcx, qword [rax - 0x18]
add rcx, rsi
mov edx, 0xa
call fcn.00405fe0
movzx edx, al
mov rcx, rsi
call fcn.00405e70
mov rcx, rsi
call fcn.004050e0
mov rax, qword [rbp + 0x28]
cmp rax, 8
jb 0x401ad8
mov rcx, qword [rbp + 0x10]
lea rax, [rax + rax + 2]
cmp rax, 0x1000
jb 0x401ad3
mov rcx, qword [rcx - 8]
call fcn.00408970
nop
add rsp, 0xd8
pop rbx
pop rdi
pop rsi
pop rbp
ret
Function at 0x401e40
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x468
lea rbp, [rsp + 0x80]
mov rsi, rdx
mov r12, rcx
mov dword [rsp + 0x20], 0
lea rcx, [0x00453010]
mov edx, 1
xor r8d, r8d
xor r9d, r9d
call sub.WININET_InternetOpenA
mov r15, rax
test r15, r15
je 0x401fc4
lea rdx, [rsi + 8]
cmp qword [rsi + 0x20], 0xf
cmova rdx, qword [rsi + 8]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x80000000
xor r8d, r8d
xor r9d, r9d
mov rcx, r15
call sub.WININET_InternetOpenUrlA
mov rbx, rax
test rbx, rbx
je 0x402003
mov qword [rbp + 0x3d8], 0xf
mov qword [rbp + 0x3d0], 0
mov byte [rbp + 0x3c0], 0
mov dword [rbp + 0x3e4], 0
lea r14, [rbp - 0x51]
lea rdi, [rbp - 0x50]
lea rsi, [rbp + 0x3e4]
lea r13, [rbp + 0x3b8]
nop word cs:[rax + rax]
mov r8d, 0x400
mov rcx, rbx
mov rdx, rdi
mov r9, rsi
call sub.WININET_InternetReadFile
mov eax, dword [rbp + 0x3e4]
test rax, rax
je 0x401f62
mov byte [rbp + rax - 0x50], 0
mov r8, r14
nop word [rax + rax]
cmp byte [r8 + 1], 0
lea r8, [r8 + 1]
jne 0x401f40
sub r8, rdi
mov rcx, r13
mov rdx, rdi
call fcn.00405b60
cmp dword [rbp + 0x3e4], 0
jne 0x401f10
mov rcx, rbx
call sub.WININET_InternetCloseHandle
mov rcx, r15
call sub.WININET_InternetCloseHandle
mov qword [r12 + 0x20], 0xf
lea rcx, [r12 + 8]
mov qword [r12 + 0x18], 0
mov byte [r12 + 8], 0
mov rsi, qword [rbp + 0x3d8]
cmp rsi, 0xf
ja 0x402071
mov rdi, qword [rbp + 0x3d0]
mov r8, rdi
inc r8
je 0x40208f
lea rdx, [rbp + 0x3c0]
call fcn.0043b0c0
jmp 0x402096
lea rcx, [0x00466b68]
lea rdx, [0x00453016]
call fcn.00403920
mov rsi, rax
mov rax, qword [rsi]
mov rcx, qword [rax - 0x18]
add rcx, rsi
mov edx, 0xa
call fcn.00405fe0
movzx edx, al
mov rcx, rsi
call fcn.00405e70
mov rcx, rsi
call fcn.004050e0
jmp 0x402048
lea rcx, [0x00466b68]
lea rdx, [0x00453034]
call fcn.00403920
mov rsi, rax
mov rax, qword [rsi]
mov rcx, qword [rax - 0x18]
add rcx, rsi
mov edx, 0xa
call fcn.00405fe0
movzx edx, al
mov rcx, rsi
call fcn.00405e70
mov rcx, rsi
call fcn.004050e0
mov rcx, r15
call sub.WININET_InternetCloseHandle
mov qword [r12 + 0x20], 0xf
mov qword [r12 + 0x18], 0
mov byte [r12 + 8], 0
lea rdx, [0x004530c2]
mov rcx, r12
call fcn.00404720
jmp 0x4020a0
mov rax, qword [rbp + 0x3c0]
mov qword [rcx], rax
mov qword [rbp + 0x3c0], 0
mov rdi, qword [rbp + 0x3d0]
jmp 0x402096
mov rdi, 0xffffffffffffffff
mov qword [r12 + 0x18], rdi
mov qword [r12 + 0x20], rsi
mov rax, r12
add rsp, 0x468
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x402100
Capabilities:
Create process on windows

Disassembly:
push rbp
push rsi
sub rsp, 0xd8
lea rbp, [rsp + 0x80]
xorps xmm0, xmm0
movaps xmmword [rbp - 0x30], xmm0
movaps xmmword [rbp + 0x20], xmm0
movaps xmmword [rbp + 0x10], xmm0
movaps xmmword [rbp], xmm0
movaps xmmword [rbp - 0x10], xmm0
movaps xmmword [rbp - 0x20], xmm0
mov qword [rbp + 0x30], 0
mov dword [rbp - 0x30], 0x68
movaps xmmword [rbp + 0x40], xmm0
mov qword [rbp + 0x50], 0
lea rdx, [rcx + 8]
cmp qword [rcx + 0x20], 7
cmova rdx, qword [rcx + 8]
lea rax, [rbp + 0x40]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor ecx, ecx
xor r8d, r8d
xor r9d, r9d
call sub.KERNEL32_CreateProcessW
test eax, eax
jne 0x4021e2
lea rcx, [0x00466b68]
lea rdx, [0x004530c3]
call fcn.00403920
mov rsi, rax
mov rax, qword [rsi]
mov rcx, qword [rax - 0x18]
add rcx, rsi
mov edx, 0xa
call fcn.00405fe0
movzx edx, al
mov rcx, rsi
call fcn.00405e70
mov rcx, rsi
call fcn.004050e0
nop
add rsp, 0xd8
pop rsi
pop rbp
ret
xor ecx, ecx
call sub.KERNEL32_ExitProcess
ud2

Function at 0x436150
Capabilities:
Link many functions at runtime

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov r14, r9
mov r15, r8
mov rbx, rdx
mov rsi, rcx
test rsi, rsi
je 0x436292
test rbx, rbx
je 0x436292
test r15, r15
je 0x436292
lea rcx, [0x004552c0]
call sub.KERNEL32_GetModuleHandleA
mov rdi, rax
test rdi, rdi
je 0x436292
mov r13, qword [rbp + 0x78]
mov r12, qword [rbp + 0x70]
lea rdx, [0x004552c9]
mov rcx, rdi
call sub.KERNEL32_GetProcAddress
mov qword [rsi], rax
lea rdx, [0x004552e2]
mov rcx, rdi
call sub.KERNEL32_GetProcAddress
mov qword [rbx], rax
lea rdx, [0x004552fd]
mov rcx, rdi
call sub.KERNEL32_GetProcAddress
mov qword [r15], rax
lea rdx, [0x0045531c]
mov rcx, rdi
call sub.KERNEL32_GetProcAddress
mov qword [r14], rax
lea rdx, [0x00455337]
mov rcx, rdi
call sub.KERNEL32_GetProcAddress
mov qword [r12], rax
lea rdx, [0x00455365]
mov rcx, rdi
call sub.KERNEL32_GetProcAddress
mov qword [r13], rax
mov rax, qword [rsi]
mov qword [0x00467570], rax
cmp qword [r14], 0
je 0x43626e
cmp qword [r12], 0
jne 0x43623c
lea rax, [0x00436100]
mov qword [r12], rax
mov rcx, qword [r13]
test rcx, rcx
je 0x436281
cmp qword [rsi], 0
je 0x436292
cmp qword [rbx], 0
je 0x436292
cmp qword [r15], 0
je 0x436292
cmp qword [r14], 0
je 0x436292
cmp qword [r12], 0
je 0x436292
xor eax, eax
test rcx, rcx
setne al
jmp 0x436294
lea rax, [0x00436110]
mov qword [r14], rax
cmp qword [r12], 0
jne 0x43623c
jmp 0x436231
lea rcx, [0x00436100]
mov qword [r13], rcx
cmp qword [rsi], 0
jne 0x43624b
xor eax, eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x438030
Capabilities:
Get system information on windows

Disassembly:
push rbp
push rsi
sub rsp, 0x58
lea rbp, [rsp + 0x50]
cmp dword [0x004679c0], 0
jg 0x43809c
mov eax, dword [0x004679c0]
test eax, eax
jg 0x43809c
mov esi, 0xffffffff
nop word cs:[rax + rax]
test eax, eax
jne 0x438070
xor eax, eax
lock cmpxchg dword [0x004679c0], esi
je 0x438085
xor ecx, ecx
xor edx, edx
call sub.KERNEL32_SleepEx
mov eax, dword [0x004679c0]
test eax, eax
jle 0x438060
jmp 0x43809c
lea rcx, [0x004679c8]
call fcn.00452008
mov eax, 1
xchg dword [0x004679c0], eax
lea rcx, [0x004679c8]
call fcn.00451ed8
cmp qword [0x004675c0], 0
jne 0x43812a
lea rcx, [rbp - 0x28]
call sub.KERNEL32_GetSystemInfo
mov eax, dword [rbp]
lea ecx, [rax - 1]
test rcx, rax
jne 0x43813e
mov edx, 0xffffffff
mov ecx, dword [rbp - 0x24]
add edx, ecx
test rdx, rcx
jne 0x43813e
mov qword [0x004675d0], rax
mov qword [0x004675c8], rcx
movaps xmm0, xmmword [0x00455490]
movups xmmword [0x004675d8], xmm0
mov dword [0x004675e8], 7
mov dword [0x00467960], 7
lea rcx, [0x00467968]
mov edx, 0x80000fa0
call sub.KERNEL32_InitializeCriticalSectionAndSpinCount
call sub.KERNEL32_GetTickCount
and eax, 0xfffffff0
xor eax, 0x55555558
mov qword [0x004675c0], rax
lea rcx, [0x004679c8]
call fcn.00452038
nop
add rsp, 0x58
pop rsi
pop rbp
ret
call fcn.0044b6e0
ud2

Function at 0x43bce0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
push rsi
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov esi, edx
call sub.KERNEL32_GetFileAttributesA
mov ecx, eax
cmp ecx, 0xffffffff
je 0x43bd1d
xor eax, eax
test sil, 2
je 0x43bd16
and ecx, 1
je 0x43bd16
call fcn.0044aec0
mov dword [rax], 5
mov eax, 0xffffffff
add rsp, 0x28
pop rsi
pop rbp
ret
add rsp, 0x28
pop rsi
pop rbp
jmp fcn.0043e630
jmp 0x43bce0