joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41ae50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x5b86d0
push 0x53f780
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x5cc6c0]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x43c], esi
mov dword [ebp - 0x438], 0
mov dword [ebp - 4], 0
push 0x200
push 0
lea eax, [ebp - 0x42c]
push eax
call fcn.0053efc0
push edi
push str.SYSTEMCurrentControlSetServices_sParameters
push 0xff
lea eax, [ebp - 0x42c]
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x1c
lea eax, [ebp - 0x438]
push eax
push 0x20219
push 0
lea eax, [ebp - 0x42c]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41af69
mov dword [ebp - 0x434], eax
push 0x210
push eax
lea eax, [ebp - 0x22c]
push eax
call fcn.0053efc0
add esp, 0xc
mov dword [ebp - 0x430], 0x210
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x434]
push eax
push 0
push str.ServiceDll
push dword [ebp - 0x438]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41af69
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp + 0x10]
cmp ecx, eax
jle 0x41af69
push ecx
lea eax, [ebp - 0x22c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov dword [ebp - 4], 0xfffffffe
call fcn.0041af9b
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004fa004
mov esp, ebp
pop ebp
ret 0xc

Function at 0x41b0c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x5cc6c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], 0
cmp dword [ecx + 0x14], 8
mov dword [ebp - 0xc], 4
jb 0x41b0ef
mov ecx, dword [ecx]
cmp dword [eax + 0x14], 8
jb 0x41b0f7
mov eax, dword [eax]
push esi
lea esi, [ebp - 0xc]
push esi
lea esi, [ebp - 8]
push esi
push 0
push 0x10
push ecx
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
xor ecx, ecx
test eax, eax
pop esi
cmove ecx, dword [ebp - 8]
mov eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fa004
mov esp, ebp
pop ebp
ret
Function at 0x41b130
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56d598
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x5cc6c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x14]
mov ecx, eax
mov esi, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x14], 0
jb 0x41b180
mov ecx, dword [eax]
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x41b18a
mov eax, dword [edi]
lea edx, [ebp - 0x14]
push edx
mov edx, dword [ebp - 0x30]
push 0
push 0
push 2
push ecx
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x41b1bc
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
jmp 0x41b2a7
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
shr eax, 1
jne 0x41b1e6
xor ecx, ecx
mov dword [ebp - 0x1c], eax
mov word [ebp + eax*2 - 0x2c], cx
jmp 0x41b1f1
push 0
push eax
lea ecx, [ebp - 0x2c]
call fcn.004102d0
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x34]
cmovae ecx, dword [ebp - 0x2c]
cmp dword [eax + 0x14], 8
jb 0x41b207
mov eax, dword [eax]
cmp dword [edi + 0x14], 8
jb 0x41b20f
mov edi, dword [edi]
lea edx, [ebp - 0x14]
push edx
push ecx
push 0
push 2
push eax
push edi
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x41b23c
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
jmp 0x41b29f
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
shr ecx, 1
dec ecx
cmp ecx, eax
ja 0x41b25f
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x1c], ecx
cmovae eax, dword [ebp - 0x2c]
xor edx, edx
mov word [eax + ecx*2], dx
jmp 0x41b26c
sub ecx, eax
push 0
push ecx
lea ecx, [ebp - 0x2c]
call fcn.004102d0
movups xmm0, xmmword [ebp - 0x2c]
mov dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
mov word [ebp - 0x2c], ax
movq xmm0, qword [ebp - 0x1c]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
lea ecx, [ebp - 0x2c]
call fcn.00406060
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004fa004
mov esp, ebp
pop ebp
ret
Function at 0x41b5c0
Capabilities:
Check if file exists
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56d6a6
mov eax, dword fs:[0]
push eax
sub esp, 0x82c
mov eax, dword [0x5cc6c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
test edi, edi
jne 0x41b5fb
xor eax, eax
jmp 0x41b73e
push 0x800
xorps xmm0, xmm0
mov dword [ebp - 0x818], 0
lea eax, [ebp - 0x810]
movq qword [ebp - 0x820], xmm0
push 0
push eax
movups xmmword [ebp - 0x830], xmm0
mov word [ebp - 0x814], 0
call fcn.0053efc0
lea edx, [ebp - 0x810]
mov dword [ebp - 0x82c], 3
add esp, 0xc
mov ecx, edi
sub edx, edi
nop word [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x41b650
lea eax, [ebp - 0x810]
mov dword [ebp - 0x828], eax
mov eax, 0x614
mov word [ebp - 0x820], ax
lea eax, [ebp - 0x830]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41b739
push edi
call fcn.00418370
add esp, 4
test eax, eax
jne 0x41b739
lea ecx, [ebp - 0x834]
mov dword [ebp - 0x834], eax
call fcn.00411d80
push edi
lea ecx, [ebp - 0x838]
mov dword [ebp - 4], 0
call fcn.0040a2d0
lea eax, [ebp - 0x834]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x838]
push eax
call fcn.00418010
mov edx, dword [ebp - 0x838]
add esp, 8
mov esi, eax
add edx, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x41b703
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 4
test esi, esi
mov esi, dword [ebp - 0x834]
push 0
je 0x41b714
push esi
jmp 0x41b715
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov edi, eax
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41b735
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
jmp 0x41b73e
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004fa004
mov esp, ebp
pop ebp
ret
Function at 0x41b760
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x5cc6c0]
xor eax, ebp
mov dword [ebp - 4], eax
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0x44
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x48]
push edi
push eax
movlpd qword [ebp - 0x44], xmm0
movlpd qword [ebp - 0x3c], xmm0
movlpd qword [ebp - 0x34], xmm0
movlpd qword [ebp - 0x2c], xmm0
movlpd qword [ebp - 0x24], xmm0
movlpd qword [ebp - 0x1c], xmm0
movlpd qword [ebp - 0x14], xmm0
movlpd qword [ebp - 0xc], xmm0
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
cmp dword [ebp + 0xc], 0
mov dword [ebp - 0x1c], 1
je 0x41b7c2
xor eax, eax
jmp 0x41b7c7
mov eax, 1
mov word [ebp - 0x18], ax
xorps xmm0, xmm0
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push 0
movups xmmword [ebp - 0x58], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test edi, edi
je 0x41b80b
push dword [ebp - 0x54]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x58]
call esi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.004fa004
mov esp, ebp
pop ebp
ret
Function at 0x41eb00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56bd60
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5cc6c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.004f9d2c
mov edi, eax
add esp, 4
test edi, edi
je 0x41ebb2
xorps xmm0, xmm0
movq qword [edi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.00460e00
mov dword [edi + 4], eax
add esp, 4
mov dword [esi + 0x30], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x30], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x420070
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x4200a1
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x420090
pop edi
mov eax, edx
pop esi
pop ebp
ret 8
Function at 0x421310
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
cmp dword [edi + 0x1c], 0x10
lea esi, [edi + 8]
mov ebx, dword [edi + 0x18]
jb 0x421334
mov esi, dword [edi + 8]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x421351
nop
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x421340
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0xc]
and eax, edx
lea edx, [eax*8]
mov eax, dword [ecx + edx]
add ecx, edx
cmp dword [ecx + 4], edi
jne 0x42138a
cmp eax, edi
jne 0x421382
mov eax, dword [ebx + 4]
mov dword [ecx], eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
mov dword [edx + ecx + 4], eax
jmp 0x421392
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x421392
cmp eax, edi
jne 0x421392
mov eax, dword [edi]
mov dword [ecx], eax
mov eax, dword [edi + 4]
lea ecx, [edi + 8]
mov esi, dword [edi]
mov dword [eax], esi
mov edx, dword [edi]
mov eax, dword [edi + 4]
mov dword [edx + 4], eax
dec dword [ebx + 8]
call fcn.004215d0
push 0x48
push edi
call fcn.004f9d5c
mov eax, dword [ebp - 8]
add esp, 8
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x421a70
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56daeb
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x5cc6c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
mov dword [ebp - 0x21c], edi
call fcn.0053efc0
add esp, 0xc
lea eax, [ebp - 0x218]
push dword [esi + 0x20]
push 0x104
push eax
push 0x5805f0
push str.main_url
push str.test
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
call fcn.004062e0
mov ecx, eax
test ecx, ecx
je 0x421b5d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push eax
mov ecx, edi
call fcn.004088d0
test al, al
jne 0x421b3e
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x421b20
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.00406810
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004fa004
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.004061e0
int3
Function at 0x425290
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56ca8b
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x5cc6c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0x10
jb 0x4252c7
mov eax, dword [eax]
push 0xfde9
push eax
lea ecx, [ebp - 0x12c]
call fcn.00415d70
mov edx, dword [eax]
xor eax, eax
mov ecx, edx
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea esi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x425300
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00406a80
mov eax, dword [ebp - 0x12c]
lea ecx, [ebp - 0x128]
cmp eax, ecx
je 0x425332
push eax
call fcn.00542951
add esp, 4
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [ebp - 0x14]
mov esi, eax
cmp edx, 8
jb 0x42537c
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x425372
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42539a
push edx
push ecx
call fcn.004f9d5c
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004fa004
mov esp, ebp
pop ebp
ret 4
call fcn.00542850
int3
Function at 0x42b380
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x5b9e30
push 0x53f780
mov eax, dword fs:[0]
push eax
sub esp, 0x2cc
mov eax, dword [0x5cc6c0]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0
push 0x2b4
push 0
lea eax, [ebp - 0x2d0]
push eax
call fcn.0053efc0
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x42b3e1
mov esi, dword [esi]
push 0x4000
push 0x2b4
lea eax, [ebp - 0x2d0]
push eax
push 0x80
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov dword [ebp - 0x2d4], 0
lea eax, [ebp - 0x2d4]
push eax
push 0x585cd8
push 2
call dword [sym.imp.SHELL32.dll_SHGetImageList]
mov dword [ebp - 0x2dc], eax
xor ecx, ecx
mov dword [ebp - 0x2d8], ecx
test eax, eax
jne 0x42b472
mov edx, dword [ebp - 0x2cc]
test edx, edx
je 0x42b45a
mov ecx, dword [ebp - 0x2d4]
mov eax, dword [ecx]
lea esi, [ebp - 0x2d8]
push esi
push 0
push edx
push ecx
call dword [eax + 0x28]
mov dword [ebp - 0x2dc], eax
mov ecx, dword [ebp - 0x2d8]
test eax, eax
jne 0x42b472
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
jmp 0x42b47b
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004fa004
mov esp, ebp
pop ebp
ret 4
Function at 0x42dbe0
Capabilities:
Connect pipe

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
imul esi, ebx, 0x4058
mov edi, ecx
add esi, edi
push esi
push dword [esi + 0x28]
mov dword [esi + 0x4038], 0
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
je 0x42dc2b
mov byte [esi + 0x2c], 0
mov dword [esi + 0x4038], 1
mov ecx, dword [edi + 0x80ec]
test ecx, ecx
je 0x42dc2b
mov eax, dword [ecx]
push 0
push ebx
push edi
call dword [eax]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x217
je 0x42dc59
cmp eax, 0x3e5
je 0x42dc48
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret 4
pop edi
mov byte [esi + 0x2c], 1
mov al, 1
mov byte [esi + 0x2d], 0
pop esi
pop ebx
pop ebp
ret 4
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop edi
mov byte [esi + 0x2d], 0
mov al, 1
pop esi
pop ebx
pop ebp
ret 4

Function at 0x42dc70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x5cc6c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi + 4], 0xffffffff
je 0x42dcdb
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x42dcb7
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi]
call edi
mov dword [esi], 0xffffffff
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x42dcc9
push eax
call edi
mov dword [esi + 4], 0xffffffff
mov eax, dword [esi + 8]
cmp eax, 0xffffffff
je 0x42dcdb
push eax
call edi
mov dword [esi + 8], 0xffffffff
push 0
push 0x40000000
push 3
push 0
push 0
push 0xc0000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
jne 0x42dd17
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fa004
mov esp, ebp
pop ebp
ret 4
mov ecx, ebx
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42dd20
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [esi + 0x10]
call fcn.00406a80
push 0
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 2
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x42dd5f
mov eax, dword [ecx]
push 0
push esi
call dword [eax]
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
cmp byte [esi + 0x28], 0
mov dword [esi + 8], eax
jne 0x42ddbb
lea eax, [ebp - 0xc]
push eax
push 0
push esi
push 0x42e4e0
push 0
push 0
call fcn.00550d7b
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x42ddbb
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x42dda6
push eax
call edi
mov dword [esi + 4], 0xffffffff
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fa004
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004fa004
mov esp, ebp
pop ebp
ret 4
Function at 0x42e140
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x5cc6c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
imul edi, ebx, 0x4058
mov esi, ecx
mov dword [ebp - 8], 0
add edi, esi
cmp byte [edi + 0x2c], 0
je 0x42e21e
push 0
lea eax, [ebp - 8]
push eax
push edi
push dword [edi + 0x28]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov ecx, dword [edi + 0x4038]
sub ecx, 0
je 0x42e1fa
sub ecx, 1
jne 0x42e21e
test eax, eax
je 0x42e1bd
mov eax, dword [ebp - 8]
test eax, eax
je 0x42e1bd
mov dword [edi + 0x30], eax
mov ecx, dword [esi + 0x80ec]
test ecx, ecx
je 0x42e21e
mov edx, dword [ecx]
push 0
push eax
lea eax, [edi + 0x38]
push eax
push ebx
push esi
call dword [edx + 8]
jmp 0x42e21e
push dword [edi + 0x28]
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
push ebx
mov ecx, esi
call fcn.0042dbe0
mov ecx, dword [esi + 0x80ec]
test ecx, ecx
je 0x42e280
mov eax, dword [ecx]
push 0
push ebx
push esi
call dword [eax + 4]
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fa004
mov esp, ebp
pop ebp
ret 4
test eax, eax
je 0x42e2b9
mov dword [edi + 0x4038], 1
mov ecx, dword [esi + 0x80ec]
test ecx, ecx
je 0x42e21e
mov eax, dword [ecx]
push 0
push ebx
push esi
call dword [eax]
push 0x2000
lea eax, [edi + 0x38]
push 0
push eax
call fcn.0053efc0
add esp, 0xc
lea eax, [edi + 0x30]
push edi
push eax
push 0x2000
lea eax, [edi + 0x38]
push eax
push dword [edi + 0x28]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x42e250
xor al, al
jmp 0x42e25f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x42e295
mov al, 1
mov byte [edi + 0x2c], al
test al, al
jne 0x42e280
mov ecx, dword [esi + 0x80ec]
test ecx, ecx
je 0x42e280
mov eax, dword [ecx]
lea edx, [edi + 0x38]
push 0
push dword [edi + 0x30]
push edx
push ebx
push esi
call dword [eax + 8]
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fa004
mov esp, ebp
pop ebp
ret 4
push dword [edi + 0x28]
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
push ebx
mov ecx, esi
call fcn.0042dbe0
mov ecx, dword [esi + 0x80ec]
test ecx, ecx
je 0x42e2b9
mov eax, dword [ecx]
push 0
push ebx
push esi
call dword [eax + 4]
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004fa004
mov esp, ebp
pop ebp
ret 4

Function at 0x42e670
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x5cc6c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push 0
mov esi, ecx
mov dword [ebp - 8], 0
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0xc]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x42e6b7
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fa004
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x42e6c6
mov eax, dword [ecx]
push 0
push esi
call dword [eax + 0xc]
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.004fa004
mov esp, ebp
pop ebp
ret 8
Function at 0x42e6e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x5cc6c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
imul edx, ebx, 0x4058
mov esi, ecx
mov ecx, dword [ebp + 0xc]
add edx, esi
push edi
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], edx
lea eax, [edx + 0x14]
imul edi, ebx, 0x4058
push eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x10]
push ecx
push dword [edx + 0x28]
call dword [sym.imp.KERNEL32.dll_WriteFile]
add edi, esi
test eax, eax
je 0x42e732
xor al, al
jmp 0x42e741
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x42e77e
mov al, 1
mov ecx, dword [ebp - 0xc]
mov byte [ecx + 0x2d], al
cmp byte [edi + 0x2d], 0
jne 0x42e769
push dword [edi + 0x24]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov ecx, dword [esi + 0x80ec]
test ecx, ecx
je 0x42e769
mov eax, dword [ecx]
push 0
push ebx
push esi
call dword [eax + 0xc]
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fa004
mov esp, ebp
pop ebp
ret 0xc
push dword [edi + 0x28]
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
push ebx
mov ecx, esi
call fcn.0042dbe0
test al, al
jne 0x42e769
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004fa004
mov esp, ebp
pop ebp
ret 0xc

Function at 0x42fe50
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
xor eax, eax
mov dword [ebp - 0x44], 0x7a0059
push edi
mov dword [ebp - 0x40], 0x420059
mov dword [ebp - 0x3c], 0x430075
mov dword [ebp - 0x38], 0x430073
mov dword [ebp - 0x34], 0x50004b
mov dword [ebp - 0x30], 0x530061
mov dword [ebp - 0x2c], 0x69004d
mov dword [ebp - 0x28], 0x4d0076
mov dword [ebp - 0x24], 0x4c0036
mov dword [ebp - 0x20], 0x490069
mov dword [ebp - 0x1c], 0x570065
mov dword [ebp - 0x18], 0x4b0049
mov dword [ebp - 0x14], 0x780045
mov dword [ebp - 0x10], 0x4a0074
mov dword [ebp - 0xc], 0x770069
mov dword [ebp - 8], 0x4e0057
mov word [ebp - 4], ax
call fcn.004062e0
mov ecx, eax
test ecx, ecx
je 0x42ff28
mov eax, dword [ecx]
push 2
push 0x20
call dword [eax]
test eax, eax
je 0x42ff32
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
cmp dword [eax - 8], 0x20
jl 0x42ff1e
mov dword [eax - 0xc], 0x20
xor eax, eax
mov ecx, dword [esi]
push 0x40
mov word [ecx + 0x40], ax
lea eax, [ebp - 0x44]
push eax
push 0x40
push dword [esi]
call fcn.00406ba0
add esp, 0x10
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.004061e0
push 0x80004005
call fcn.004061e0
call fcn.004069a0
int3