joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415b30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx + 0x3c]
cdq
add eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov edx, 8
imul eax, edx, 0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + eax + 0x78]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
add eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x20]
add edx, dword [ebp + 8]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x24]
add ecx, dword [ebp + 8]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x1c]
add eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
jmp 0x415b9a
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
cmp eax, dword [edx + 0x18]
jae 0x415bf0
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + ecx*4]
add eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x1c]
movzx eax, word [edx + ecx*2]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + eax*4]
xor eax, eax
add edx, dword [ebp + 8]
adc eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x24]
push edx
call fcn.0053a45a
add esp, 8
test eax, eax
jne 0x415bee
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
jmp 0x415bf4
jmp 0x415b91
xor eax, eax
xor edx, edx
mov esp, ebp
pop ebp
ret

Function at 0x41fa70
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x59a530]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], ecx
mov byte [ebp - 0x10], 0x73
mov byte [ebp - 0xf], 0x68
mov byte [ebp - 0xe], 0x6f
mov byte [ebp - 0xd], 0x77
mov byte [ebp - 0xc], 0x5f
mov byte [ebp - 0xb], 0x74
mov byte [ebp - 0xa], 0x72
mov byte [ebp - 9], 0x61
mov byte [ebp - 8], 0x79
mov byte [ebp - 7], 0
lea eax, [ebp - 0x10]
push eax
push 0xa
push 0x59fe08
call fcn.00415e10
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e6500
mov esp, ebp
pop ebp
ret

Function at 0x41fad0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x59a530]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], ecx
mov byte [ebp - 0x14], 0x76
mov byte [ebp - 0x13], 0x33
mov byte [ebp - 0x12], 0x5f
mov byte [ebp - 0x11], 0x75
mov byte [ebp - 0x10], 0x70
mov byte [ebp - 0xf], 0x5f
mov byte [ebp - 0xe], 0x66
mov byte [ebp - 0xd], 0x72
mov byte [ebp - 0xc], 0x6f
mov byte [ebp - 0xb], 0x6d
mov byte [ebp - 0xa], 0x5f
mov byte [ebp - 9], 0x62
mov byte [ebp - 8], 0
lea eax, [ebp - 0x14]
push eax
push 0xd
push 0x59fdf0
call fcn.00415e10
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e6500
mov esp, ebp
pop ebp
ret
Function at 0x420760
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x59a530]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], ecx
mov byte [ebp - 0x14], 0x63
mov byte [ebp - 0x13], 0x5f
mov byte [ebp - 0x12], 0x63
mov byte [ebp - 0x11], 0x68
mov byte [ebp - 0x10], 0x65
mov byte [ebp - 0xf], 0x63
mov byte [ebp - 0xe], 0x6b
mov byte [ebp - 0xd], 0x5f
mov byte [ebp - 0xc], 0x66
mov byte [ebp - 0xb], 0x72
mov byte [ebp - 0xa], 0x6f
mov byte [ebp - 9], 0x6d
mov byte [ebp - 8], 0x5f
mov byte [ebp - 7], 0x62
mov byte [ebp - 6], 0
lea eax, [ebp - 0x14]
push eax
push 0xf
push 0x59fdd8
call fcn.00415e10
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e6500
mov esp, ebp
pop ebp
ret

Function at 0x420af0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x59a530]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], ecx
mov byte [ebp - 0x10], 0x73
mov byte [ebp - 0xf], 0x65
mov byte [ebp - 0xe], 0x74
mov byte [ebp - 0xd], 0x5f
mov byte [ebp - 0xc], 0x61
mov byte [ebp - 0xb], 0x75
mov byte [ebp - 0xa], 0x74
mov byte [ebp - 9], 0x6f
mov byte [ebp - 8], 0x72
mov byte [ebp - 7], 0x75
mov byte [ebp - 6], 0x6e
mov byte [ebp - 5], 0
lea eax, [ebp - 0x10]
push eax
push 0xc
push 0x59fdc0
call fcn.00415e10
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e6500
mov esp, ebp
pop ebp
ret

Function at 0x4210e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x59a530]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], ecx
mov byte [ebp - 0x14], 0x43
mov byte [ebp - 0x13], 0x72
mov byte [ebp - 0x12], 0x65
mov byte [ebp - 0x11], 0x61
mov byte [ebp - 0x10], 0x74
mov byte [ebp - 0xf], 0x65
mov byte [ebp - 0xe], 0x50
mov byte [ebp - 0xd], 0x6c
mov byte [ebp - 0xc], 0x75
mov byte [ebp - 0xb], 0x67
mov byte [ebp - 0xa], 0x69
mov byte [ebp - 9], 0x6e
mov byte [ebp - 8], 0
lea eax, [ebp - 0x14]
push eax
push 0xd
push 0x59ff9c
call fcn.00415e10
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e6500
mov esp, ebp
pop ebp
ret
Function at 0x422d10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x59a530]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x228], ecx
xor eax, eax
mov byte [ebp - 0x20d], al
lea ecx, [ebp - 0x20d]
call fcn.00420b60
mov dword [ebp - 0x220], eax
push 0x208
push 0
lea ecx, [ebp - 0x20c]
push ecx
call fcn.00526d90
add esp, 0xc
push 0x104
lea edx, [ebp - 0x20c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov ecx, dword [ebp - 0x220]
push ecx
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x422da3
jmp 0x422e2f
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jne 0x422dc1
jmp 0x422e2f
xor edx, edx
mov byte [ebp - 0x20e], dl
lea ecx, [ebp - 0x20e]
call fcn.00420670
push eax
mov eax, dword [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0
jne 0x422df3
jmp 0x422e2f
mov dword [ebp - 0x224], 0
lea ecx, [ebp - 0x224]
push ecx
push 1
call dword [ebp - 0x218]
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
jne 0x422e1d
jmp 0x422e2f
mov edx, dword [ebp - 0x228]
mov eax, dword [ebp - 0x21c]
mov dword [edx + 0x3f8], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e6500
mov esp, ebp
pop ebp
ret
Function at 0x42daf0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x59a530]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x24], ecx
mov byte [ebp - 0x20], 0x53
mov byte [ebp - 0x1f], 0x65
mov byte [ebp - 0x1e], 0x74
mov byte [ebp - 0x1d], 0x55
mov byte [ebp - 0x1c], 0x6e
mov byte [ebp - 0x1b], 0x68
mov byte [ebp - 0x1a], 0x61
mov byte [ebp - 0x19], 0x6e
mov byte [ebp - 0x18], 0x64
mov byte [ebp - 0x17], 0x6c
mov byte [ebp - 0x16], 0x65
mov byte [ebp - 0x15], 0x64
mov byte [ebp - 0x14], 0x45
mov byte [ebp - 0x13], 0x78
mov byte [ebp - 0x12], 0x63
mov byte [ebp - 0x11], 0x65
mov byte [ebp - 0x10], 0x70
mov byte [ebp - 0xf], 0x74
mov byte [ebp - 0xe], 0x69
mov byte [ebp - 0xd], 0x6f
mov byte [ebp - 0xc], 0x6e
mov byte [ebp - 0xb], 0x46
mov byte [ebp - 0xa], 0x69
mov byte [ebp - 9], 0x6c
mov byte [ebp - 8], 0x74
mov byte [ebp - 7], 0x65
mov byte [ebp - 6], 0x72
mov byte [ebp - 5], 0
lea eax, [ebp - 0x20]
push eax
push 0x1c
push 0x5a0b54
call fcn.00415e10
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e6500
mov esp, ebp
pop ebp
ret

Function at 0x42def0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4014
call fcn.004e6570
mov eax, dword [0x59a530]
xor eax, ebp
mov dword [ebp - 4], eax
mov ax, word [0x557be0]
mov word [ebp - 0x4004], ax
push 0x3ffe
push 0
lea ecx, [ebp - 0x4002]
push ecx
call fcn.00526d90
add esp, 0xc
mov dword [ebp - 0x4008], 0
mov dword [ebp - 0x4010], 0
cmp dword [ebp + 8], 0
je 0x42df4a
cmp dword [ebp + 0xc], 0
jne 0x42df51
xor eax, eax
jmp 0x42e052
lea edx, [ebp - 0x4010]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x4008], eax
cmp dword [ebp - 0x4008], 0
je 0x42df7c
cmp dword [ebp - 0x4008], 0x3fff
jbe 0x42df83
xor eax, eax
jmp 0x42e052
lea ecx, [ebp - 0x4004]
push ecx
mov edx, dword [ebp - 0x4008]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x42e050
lea ecx, [ebp - 0x4014]
push ecx
lea edx, [ebp - 0x400c]
push edx
push 0x557be4
lea eax, [ebp - 0x4004]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x42e050
mov ecx, dword [ebp + 0x10]
shl ecx, 1
push ecx
push 0
mov edx, dword [ebp + 0xc]
push edx
call fcn.00526d90
add esp, 0xc
mov eax, dword [ebp - 0x400c]
mov ecx, dword [eax + 0xc]
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 0x400c]
mov ecx, dword [eax + 0xc]
shr ecx, 0x10
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 0x400c]
mov ecx, dword [eax + 8]
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 0x400c]
mov ecx, dword [eax + 8]
shr ecx, 0x10
and ecx, 0xffff
movzx edx, cx
push edx
push 0x557be8
mov eax, dword [ebp + 0x10]
sub eax, 1
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00410e20
add esp, 0x1c
mov eax, 1
jmp 0x42e052
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e6500
mov esp, ebp
pop ebp
ret
Function at 0x42e1f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 0
cmp dword [ebp + 8], 0
jne 0x42e20a
xor al, al
jmp 0x42e2aa
cmp dword [ebp + 0xc], 0
jne 0x42e217
xor al, al
jmp 0x42e2aa
cmp dword [ebp + 0x10], 0
jne 0x42e224
xor al, al
jmp 0x42e2aa
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x42e23a
xor al, al
jmp 0x42e2aa
mov dword [ebp - 4], 0
lea edx, [ebp - 4]
push edx
push 0x40
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x42e266
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
xor al, al
jmp 0x42e2aa
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00526290
add esp, 0xc
mov dword [ebp - 0xc], 0
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x42e2a8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
xor al, al
jmp 0x42e2aa
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x4360f0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x59a530]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x20c], ecx
push 0
lea ecx, [ebp - 0x21c]
call fcn.004316a0
mov eax, dword [ebp - 0x20c]
mov ecx, dword [eax + 4]
or ecx, 0x2001f
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x20c]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x21c]
call fcn.00435b60
mov dword [ebp - 0x208], eax
cmp dword [ebp - 0x208], 0
je 0x43616f
mov edx, dword [ebp - 0x208]
mov dword [ebp - 0x220], edx
lea ecx, [ebp - 0x21c]
call fcn.00431a10
mov eax, dword [ebp - 0x220]
jmp 0x436224
mov dword [ebp - 0x210], 0x100
lea eax, [ebp - 0x230]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0x204]
push edx
push 0
mov eax, dword [ebp - 0x21c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x4361f3
lea ecx, [ebp - 0x204]
push ecx
lea ecx, [ebp - 0x21c]
call fcn.004360f0
mov dword [ebp - 0x208], eax
cmp dword [ebp - 0x208], 0
je 0x4361e7
mov edx, dword [ebp - 0x208]
mov dword [ebp - 0x224], edx
lea ecx, [ebp - 0x21c]
call fcn.00431a10
mov eax, dword [ebp - 0x224]
jmp 0x436224
mov dword [ebp - 0x210], 0x100
jmp 0x436179
lea ecx, [ebp - 0x21c]
call fcn.00434c80
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x20c]
call fcn.00434db0
mov dword [ebp - 0x228], eax
lea ecx, [ebp - 0x21c]
call fcn.00431a10
mov eax, dword [ebp - 0x228]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e6500
mov esp, ebp
pop ebp
ret 4

Function at 0x436300
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x43635f
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x43632c
mov eax, 1
jmp 0x43637d
push str.RegDeleteKeyTransactedW
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x43635d
push 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
push 0
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [ebp - 0xc]
jmp 0x43637d
jmp 0x436378
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x436378
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x43637d
mov eax, 1
mov esp, ebp
pop ebp
ret 8
Function at 0x437aa0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0x28], ecx
xor eax, eax
jne 0x437aa9
cmp dword [ebp + 0xc], 0
je 0x437abc
mov dword [ebp - 0x18], 1
jmp 0x437ac3
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 0
jne 0x437ad9
mov eax, 0xd
jmp 0x437b5c
xor edx, edx
jne 0x437aad
mov dword [ebp - 0x14], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
add edx, 2
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 8]
mov cx, word [eax]
mov word [ebp - 2], cx
add dword [ebp - 8], 2
cmp word [ebp - 2], 0
jne 0x437af9
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0x20]
sar edx, 1
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
lea eax, [edx + ecx*2]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
lea eax, [edx + ecx*2]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x10], 1
jne 0x437aea
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 7
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 8

Function at 0x437b70
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], ecx
xor eax, eax
jne 0x437b79
cmp dword [ebp + 0xc], 0
je 0x437b8c
mov dword [ebp - 0xc], 1
jmp 0x437b93
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
jne 0x437ba6
mov eax, 0xd
jmp 0x437bfb
xor edx, edx
jne 0x437b7d
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
add ecx, 2
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 8]
mov ax, word [edx]
mov word [ebp - 2], ax
add dword [ebp - 8], 2
cmp word [ebp - 2], 0
jne 0x437bb9
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x14]
sar ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
lea eax, [edx + edx + 2]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x43e970
Capabilities:
Connect pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
imul eax, dword [ebp + 8], 0x4058
mov ecx, dword [ebp - 4]
mov dword [ecx + eax + 0x4038], 0
imul edx, dword [ebp + 8], 0x4058
add edx, dword [ebp - 4]
push edx
imul eax, dword [ebp + 8], 0x4058
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + eax + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
je 0x43ea04
imul eax, dword [ebp + 8], 0x4058
mov ecx, dword [ebp - 4]
mov byte [ecx + eax + 0x2c], 0
imul edx, dword [ebp + 8], 0x4058
mov eax, dword [ebp - 4]
mov dword [eax + edx + 0x4038], 1
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x80ec], 0
je 0x43ea04
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x80ec]
mov eax, dword [ebp - 4]
mov edx, dword [edx]
mov ecx, dword [eax + 0x80ec]
mov eax, dword [edx]
call eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x217
je 0x43ea32
cmp dword [ebp - 8], 0x3e5
je 0x43ea21
jmp 0x43ea49
imul ecx, dword [ebp + 8], 0x4058
mov edx, dword [ebp - 4]
mov byte [edx + ecx + 0x2c], 1
jmp 0x43ea4d
imul eax, dword [ebp + 8], 0x4058
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + eax + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x43ea4d
xor al, al
jmp 0x43ea5e
imul eax, dword [ebp + 8], 0x4058
mov ecx, dword [ebp - 4]
mov byte [ecx + eax + 0x2d], 0
mov al, 1
mov esp, ebp
pop ebp
ret 4
Function at 0x43ea70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
call fcn.0043ed60
mov dword [ebp - 0xc], 0
push 0
push 0x40000000
push 3
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 4], 0xffffffff
jne 0x43eac3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc], eax
xor al, al
jmp 0x43eb88
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x10
call fcn.0043e3d0
mov dword [ebp - 0x10], 2
push 0
push 0
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0xc], 0
je 0x43eb0f
push 0
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 4]
mov eax, dword [ecx]
mov ecx, dword [edx + 0xc]
mov edx, dword [eax]
call edx
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x28]
test eax, eax
je 0x43eb32
mov al, 1
jmp 0x43eb88
lea ecx, [ebp - 0x14]
push ecx
push 0
mov edx, dword [ebp - 4]
push edx
push 0x43f610
push 0
push 0
call fcn.0053064c
add esp, 0x18
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
cmp dword [ebp - 8], 0
ja 0x43eb62
jmp 0x43eb66
mov al, 1
jmp 0x43eb88
mov edx, dword [ebp - 4]
cmp dword [edx + 4], 0xffffffff
je 0x43eb86
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 4]
mov dword [edx + 4], 0xffffffff
xor al, al
mov esp, ebp
pop ebp
ret 4
Function at 0x43eb90
Capabilities:
Create pipe
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x80c8], 0xffffffff
je 0x43ebad
xor al, al
jmp 0x43ed59
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], ecx
cmp dword [0x59f604], 0
je 0x43ebcf
push 1
lea edx, [ebp - 0x3c]
push edx
call dword [0x59f604]
cmp dword [0x59f600], 0
je 0x43ebe8
push 0
push 0
push 1
lea eax, [ebp - 0x3c]
push eax
call dword [0x59f600]
mov dword [ebp - 0x28], 0xc
mov dword [ebp - 0x20], 1
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 8], 0
jmp 0x43ec0e
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 2
jae 0x43ece1
lea eax, [ebp - 0x28]
push eax
push 0x3e8
push 0x6000
push 0x6000
push 2
push 6
push 0x40000003
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
imul edx, dword [ebp - 8], 0x4058
mov ecx, dword [ebp - 4]
mov dword [ecx + edx + 0x28], eax
imul edx, dword [ebp - 8], 0x4058
mov eax, dword [ebp - 4]
cmp dword [eax + edx + 0x28], 0xffffffff
jne 0x43ec67
jmp 0x43ed46
push 0
push 1
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov dword [edx + ecx*4 + 0x80b0], eax
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov dword [edx + ecx*4 + 0x80b4], eax
imul eax, dword [ebp - 8], 0x4058
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov esi, dword [ebp - 4]
mov edx, dword [esi + edx*4 + 0x80b0]
mov dword [ecx + eax + 0x10], edx
imul eax, dword [ebp - 8], 0x4058
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov esi, dword [ebp - 4]
mov edx, dword [esi + edx*4 + 0x80b4]
mov dword [ecx + eax + 0x24], edx
mov eax, dword [ebp - 0xc]
add eax, 2
mov dword [ebp - 0xc], eax
jmp 0x43ec05
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov dword [edx + ecx*4 + 0x80b0], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov dword [ecx + 0x80c4], edx
lea eax, [ebp - 0x18]
push eax
push 0
mov ecx, dword [ebp - 4]
push ecx
push 0x43f500
push 0
push 0
call fcn.0053064c
add esp, 0x18
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
mov dword [edx + 0x80c8], eax
cmp dword [ebp - 0x14], 0
ja 0x43ed42
jmp 0x43ed46
mov al, 1
jmp 0x43ed59
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 4]
call fcn.0043edf0
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x43f8d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], 0
imul eax, dword [ebp + 8], 0x4058
add eax, dword [ebp - 8]
mov dword [ebp - 4], eax
push 0x2000
push 0
imul ecx, dword [ebp + 8], 0x4058
mov edx, dword [ebp - 8]
lea eax, [edx + ecx + 0x38]
push eax
call fcn.00526d90
add esp, 0xc
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 4]
add edx, 0x30
push edx
push 0x2000
mov eax, dword [ebp - 4]
add eax, 0x38
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43f93e
mov eax, dword [ebp - 4]
mov byte [eax + 0x2c], 0
mov al, 1
jmp 0x43f958
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x43f956
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x2c], 1
mov al, 1
jmp 0x43f958
xor al, al
mov esp, ebp
pop ebp
ret 4

Function at 0x43f960
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0
push 0
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x43f993
xor al, al
jmp 0x43f9b7
mov edx, dword [ebp - 4]
cmp dword [edx + 0xc], 0
je 0x43f9b5
push 0
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
mov eax, dword [ebp - 4]
mov edx, dword [edx]
mov ecx, dword [eax + 0xc]
mov eax, dword [edx + 0xc]
call eax
mov al, 1
mov esp, ebp
pop ebp
ret 8