joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410640
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov dword [eax], vtable.HitmanPro35::HashingDataStreamProvider.0
mov ecx, dword [ebp - 8]
cmp dword [ecx + 4], 0
je 0x4106ad
push 0
push 0x2710
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 8]
add ecx, 8
call fcn.004b9730
push eax
call dword [sym.imp.KERNEL32.dll_SignalObjectAndWait]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x102
jne 0x410696
push 0xffffffffffffffff
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 8]
mov dword [edx + 4], 0
mov ecx, dword [ebp - 8]
add ecx, 0x34
call fcn.00410890
mov ecx, dword [ebp - 8]
add ecx, 0x18
call fcn.00401330
mov ecx, dword [ebp - 8]
add ecx, 0x10
call fcn.004012b0
mov ecx, dword [ebp - 8]
add ecx, 8
call fcn.004012b0
mov esp, ebp
pop ebp
ret

Function at 0x4133a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cc038
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x6385e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x18]
call fcn.004b34a0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.004553f0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jle 0x41344e
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x18]
call fcn.004b48d0
lea ecx, [ebp - 0x18]
call fcn.004553f0
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x18]
call fcn.004b5930
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp + 8]
call fcn.004b34d0
mov ecx, dword [ebp - 0x20]
or ecx, 1
mov dword [ebp - 0x20], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004b3860
mov eax, dword [ebp + 8]
jmp 0x413489
mov edx, dword [0x63e870]
push edx
mov ecx, dword [ebp + 8]
call fcn.004b3550
mov eax, dword [ebp - 0x20]
or eax, 1
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004b3860
mov eax, dword [ebp + 8]
jmp 0x413489
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4137d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov byte [ebp - 0x11], 0
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
call fcn.004b6d00
lea ecx, [ebp - 0xc]
call fcn.004553f0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x413811
mov byte [ebp - 0x12], 0
lea ecx, [ebp - 0xc]
call fcn.004b3860
mov al, byte [ebp - 0x12]
jmp 0x413845
mov ecx, dword [ebp - 0x10]
and ecx, 0x10
je 0x41382c
mov byte [ebp - 0x13], 1
lea ecx, [ebp - 0xc]
call fcn.004b3860
mov al, byte [ebp - 0x13]
jmp 0x413845
mov byte [ebp - 0x14], 0
lea ecx, [ebp - 0xc]
call fcn.004b3860
mov al, byte [ebp - 0x14]
jmp 0x413845
mov esp, ebp
pop ebp
ret

Function at 0x413df0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
push str.RegDeleteKeyW___returned__d_for_subkey__ws_r_n
call fcn.0054d5e0
add esp, 0xc
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
cmp dword [ebp - 4], 0
sete al
mov esp, ebp
pop ebp
ret 4

Function at 0x414000
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
cmp dword [ebp - 4], 0
sete al
mov esp, ebp
pop ebp
ret 4
Function at 0x414060
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 0x2c], ecx
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
push 0
push 0
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [ebp - 0xc], 0
je 0x4140af
xor al, al
jmp 0x41419a
mov eax, dword [ebp - 8]
add eax, 1
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0054d3af
add esp, 4
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004303b0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
jmp 0x4140fc
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 4]
jae 0x414172
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 0x1c], ecx
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [ebp - 0xc], 0
jne 0x414170
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x30], edx
sub esp, 0xc
mov ecx, esp
mov dword [ebp - 0x24], esp
mov eax, dword [ebp - 0x10]
push eax
call fcn.004b3550
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x30]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00430300
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
jmp 0x4140f3
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 4]
je 0x414186
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004303b0
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
push eax
call fcn.0054d555
add esp, 4
mov al, 1
mov esp, ebp
pop ebp
ret 4
Function at 0x414450
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 4
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 4]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [ebp - 0xc], 0
je 0x41449f
xor al, al
jmp 0x4144a9
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
mov dword [ecx], edx
mov al, 1
mov esp, ebp
pop ebp
ret 8
Function at 0x4144b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cad68
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x6385e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
push 0
lea ecx, [ebp - 0x10]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x414511
xor al, al
jmp 0x41466b
cmp dword [ebp - 0x10], 7
jne 0x414669
lea ecx, [ebp - 0x28]
call fcn.004b34a0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x14]
shr edx, 1
push edx
lea ecx, [ebp - 0x28]
call fcn.004b48d0
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x28]
call fcn.004553f0
push eax
lea ecx, [ebp - 0x10]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x41464f
cmp dword [ebp - 0x14], 2
jb 0x41464f
mov edx, dword [ebp - 0x14]
shr edx, 1
push edx
lea ecx, [ebp - 0x28]
call fcn.004b5930
mov dword [ebp - 0x2c], 0
jmp 0x414593
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 2
jge 0x41464f
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
cmp dword [ebp - 0x34], 0
jl 0x414638
mov ecx, dword [ebp - 0x34]
push ecx
push 0
lea ecx, [ebp - 0x28]
call fcn.004b4ed0
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jle 0x414633
cmp dword [ebp - 0x2c], 1
jne 0x4145fd
mov edx, dword [ebp - 0x38]
sub edx, dword [ebp - 0x34]
sub esp, 0xc
mov eax, esp
mov dword [ebp - 0x3c], esp
push edx
mov ecx, dword [ebp - 0x34]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.004b6620
mov dword [ebp - 0x48], eax
mov edx, dword [ebp - 0x30]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00430300
mov eax, dword [ebp - 0x30]
add eax, 1
mov dword [ebp - 0x30], eax
push 2
push 0x5fc600
lea ecx, [ebp - 0x28]
call fcn.004553f0
mov ecx, dword [ebp - 0x38]
lea edx, [eax + ecx*2]
push edx
call fcn.00439830
add esp, 0xc
test eax, eax
jne 0x41462a
jmp 0x414638
mov eax, dword [ebp - 0x38]
add eax, 1
mov dword [ebp - 0x34], eax
jmp 0x4145ab
cmp dword [ebp - 0x2c], 0
jne 0x41464a
mov ecx, dword [ebp - 0x30]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.004303b0
jmp 0x41458a
mov byte [ebp - 0x3d], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004b3860
mov al, byte [ebp - 0x3d]
jmp 0x41466b
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x4146b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push 0
lea ecx, [ebp - 4]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4146ec
xor al, al
jmp 0x414741
cmp dword [ebp - 4], 3
jne 0x41473f
mov edx, dword [ebp - 8]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00410e30
movzx eax, al
test eax, eax
jne 0x41470b
xor al, al
jmp 0x414741
lea ecx, [ebp - 8]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00404b70
push eax
lea edx, [ebp - 4]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x10], eax
xor eax, eax
cmp dword [ebp - 0x10], 0
sete al
jmp 0x414741
xor al, al
mov esp, ebp
pop ebp
ret 8

Function at 0x414750
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0xc], ecx
push 0
push 0
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x414783
xor eax, eax
jmp 0x4147ce
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
sub edx, 1
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0xa
ja case.0x41479b.4
mov eax, dword [ebp - 0x10]
jmp dword [eax*4 + 0x4147d4]
mov eax, 3
jmp 0x4147ce
mov eax, 4
jmp 0x4147ce
mov eax, 2
jmp 0x4147ce
mov eax, 7
jmp 0x4147ce
mov eax, 0xb
jmp 0x4147ce
mov eax, 1
jmp 0x4147ce
xor eax, eax
mov esp, ebp
pop ebp
ret 4

Function at 0x4148c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 0xc]
call fcn.00404b70
shl eax, 1
push eax
mov ecx, dword [ebp + 0xc]
call fcn.004553f0
push eax
push 1
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 4], eax
xor eax, eax
cmp dword [ebp - 4], 0
sete al
mov esp, ebp
pop ebp
ret 8

Function at 0x414910
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
add ecx, 2
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0xc]
mov ax, word [edx]
mov word [ebp - 0x12], ax
add dword [ebp - 0xc], 2
cmp word [ebp - 0x12], 0
jne 0x414928
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x10]
sar ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
shl edx, 1
push edx
mov eax, dword [ebp + 0xc]
push eax
push 1
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 4], eax
xor eax, eax
cmp dword [ebp - 4], 0
sete al
mov esp, ebp
pop ebp
ret 8
Function at 0x414980
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
push 4
lea eax, [ebp + 0xc]
push eax
push 4
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 4], eax
xor eax, eax
cmp dword [ebp - 4], 0
sete al
mov esp, ebp
pop ebp
ret 8

Function at 0x4149c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 0xc]
call fcn.004b9730
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00404b70
push eax
push 3
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 4], eax
xor eax, eax
cmp dword [ebp - 4], 0
sete al
mov esp, ebp
pop ebp
ret 8

Function at 0x414a40
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 3
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 4], eax
xor eax, eax
cmp dword [ebp - 4], 0
sete al
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4156f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp - 0x38]
cmp dword [eax + 8], 0
je 0x41571d
lea ecx, [ebp - 0x18]
call fcn.00414ea0
push 0x62657c
lea ecx, [ebp - 0x18]
push ecx
call fcn.00553e2b
jmp 0x415805
mov ecx, dword [ebp - 0x38]
call fcn.00415e10
mov edx, dword [ebp - 0x38]
mov byte [edx + 0x65], 0
push 0x2c
call fcn.0054d57b
add esp, 4
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x41576a
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
add eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 0x68
push ecx
mov edx, dword [ebp - 0x38]
push edx
mov ecx, dword [ebp - 0x20]
call fcn.004151a0
mov dword [ebp - 0x3c], eax
jmp 0x415771
mov dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x38]
add edx, 0x68
push edx
mov eax, dword [ebp - 4]
add eax, 0x10
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx + 0x60]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x415802
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xea
jne 0x4157bb
jmp 0x415802
cmp dword [ebp - 8], 0x3e5
jne 0x4157c6
jmp 0x415802
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x38]
call fcn.00415e50
cmp dword [ebp - 8], 0x6d
je 0x4157e1
cmp dword [ebp - 8], 0xe9
jne 0x4157e8
mov ecx, dword [ebp - 0x38]
mov byte [ecx + 0x64], 0
mov edx, dword [ebp - 8]
push edx
lea ecx, [ebp - 0x34]
call fcn.00415060
push 0x626524
lea eax, [ebp - 0x34]
push eax
call fcn.00553e2b
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0x18
Function at 0x415aa0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x30]
cmp dword [eax + 8], 0
je 0x415ad4
lea ecx, [ebp - 0x18]
call fcn.00414ea0
push 0x62657c
lea ecx, [ebp - 0x18]
push ecx
call fcn.00553e2b
jmp 0x415bae
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x8c], eax
mov eax, dword [ebp - 0x30]
add eax, 0x7c
push eax
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
add eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0x60]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x415b9e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x3e5
jne 0x415b58
push 1
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 0x30]
add ecx, 0x7c
push ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
jne 0x415b51
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
jmp 0x415b58
mov dword [ebp - 8], 0
cmp dword [ebp - 8], 0
je 0x415b9e
cmp dword [ebp - 8], 0x6d
je 0x415b6d
cmp dword [ebp - 8], 0xe9
jne 0x415b74
mov ecx, dword [ebp - 0x30]
mov byte [ecx + 0x64], 0
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0x8c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 8]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00415060
push 0x626524
lea edx, [ebp - 0x2c]
push edx
call fcn.00553e2b
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x8c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x415bc0
Capabilities:
Read file on windows
Read pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp - 0x34]
mov byte [eax + 0x65], 0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x34]
cmp dword [ecx + 8], 0
je 0x415bfb
lea ecx, [ebp - 0x1c]
call fcn.00414ea0
push 0x62657c
lea edx, [ebp - 0x1c]
push edx
call fcn.00553e2b
jmp 0x415d4d
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 0x78], eax
mov edx, dword [ebp - 0x34]
add edx, 0x68
push edx
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
add edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x60]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x415c3b
jmp 0x415d0b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xea
jne 0x415c8f
push 1
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 0x34]
add eax, 0x68
push eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0x60]
push edx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
jne 0x415c86
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xea
jne 0x415c84
mov dword [ebp - 0xc], 0
jmp 0x415c8d
mov dword [ebp - 0xc], 0
jmp 0x415cc8
cmp dword [ebp - 0xc], 0x3e5
jne 0x415cc8
push 1
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 0x34]
add ecx, 0x68
push ecx
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
jne 0x415cc1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc], eax
jmp 0x415cc8
mov dword [ebp - 0xc], 0
cmp dword [ebp - 0xc], 0
je 0x415d0b
cmp dword [ebp - 0xc], 0x6d
je 0x415cdd
cmp dword [ebp - 0xc], 0xe9
jne 0x415ce4
mov ecx, dword [ebp - 0x34]
mov byte [ecx + 0x64], 0
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
push ecx
lea ecx, [ebp - 0x30]
call fcn.00415060
push 0x626524
lea edx, [ebp - 0x30]
push edx
call fcn.00553e2b
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x78]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [ebp - 8]
push edx
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x60]
push ecx
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
jne 0x415d3e
mov edx, dword [ebp - 0x34]
mov byte [edx + 0x65], 1
jmp 0x415d4d
xor eax, eax
cmp dword [ebp - 8], 0
sete al
mov ecx, dword [ebp - 0x34]
mov byte [ecx + 0x65], al
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4183f0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
and eax, 0xffff
movzx ecx, ax
and ecx, 0xff
movzx edx, cl
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 6
sbb eax, eax
add eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x4198d0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cad40
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x78
push ebx
push esi
push edi
mov eax, dword [0x6385e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [0x643664]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x11], al
movzx ecx, byte [ebp - 0x11]
test ecx, ecx
jne 0x419acf
mov dword [ebp - 0x18], 0
jmp 0x419928
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 3
jae 0x419aba
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax*4 + 0x63eaa8]
push ecx
lea ecx, [ebp - 0x5c]
call fcn.004b3550
mov dword [ebp - 0x6c], eax
mov byte [ebp - 4], 1
lea edx, [ebp - 0x5c]
push edx
lea ecx, [ebp - 0x3c]
call fcn.004bc770
mov dword [ebp - 0x70], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x5c]
call fcn.004b3860
lea eax, [ebp - 0x3c]
push eax
call fcn.004be960
add esp, 4
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x74]
push ecx
lea ecx, [ebp - 0x50]
call fcn.004328d0
mov dword [ebp - 0x78], eax
mov byte [ebp - 4], 4
push str.HEAD
lea ecx, [ebp - 0x68]
call fcn.004b3550
mov dword [ebp - 0x7c], eax
mov byte [ebp - 4], 5
lea edx, [ebp - 0x68]
push edx
lea ecx, [ebp - 0x50]
call fcn.004b9730
mov ecx, eax
call fcn.004138e0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x68]
call fcn.004b3860
push 0x1a0b
lea ecx, [ebp - 0x50]
call fcn.004b9730
mov ecx, eax
call fcn.004bf450
push 0x1a0b
lea ecx, [ebp - 0x50]
call fcn.004b9730
mov ecx, eax
call fcn.00413900
push 0
lea ecx, [ebp - 0x50]
call fcn.004b9730
mov ecx, eax
call fcn.004bf430
push 6
lea ecx, [ebp - 0x50]
call fcn.004b9730
mov ecx, eax
call fcn.004138a0
lea ecx, [ebp - 0x50]
call fcn.004b9730
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x80]
mov eax, dword [edx + 8]
call eax
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x40], ecx
mov ecx, dword [ebp - 0x40]
call fcn.004bd940
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x88], edx
mov eax, dword [ebp - 0x88]
sub eax, 0xc8
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0xcc
ja case.0x419a72.1
mov ecx, dword [ebp - 0x88]
movzx edx, byte [ecx + 0x419aec]
jmp dword [edx*4 + 0x419ae4]
mov byte [ebp - 0x11], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x50]
call fcn.00432910
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.004bce80
jmp 0x419aa4
mov dword [ebp - 4], 0xffffffff
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x419ab5
jmp 0x419aba
jmp 0x41991f
movzx ecx, byte [ebp - 0x11]
test ecx, ecx
je 0x419acf
push 1
push 0x643664
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov al, byte [ebp - 0x11]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret