joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5eb1f0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe9c
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov ebx, 1
mov eax, dword [ebp + 0x10]
push eax
push 0x6dcfd2
push 0x6dcfcd
lea edx, [ebp - 0x1c]
push edx
call fcn.006a0ad0
add esp, 0x10
push ebx
push 0x6dcfde
push 0x6dcfd9
lea ecx, [ebp - 0x164]
push ecx
call fcn.006a0ad0
add esp, 0x10
mov eax, dword [esi + 0x30]
lea edx, [ebp - 0x148]
lea ecx, [ebp - 0x164]
push eax
push 0x12c
push edx
push 0x6dcfe3
push ecx
lea eax, [ebp - 0x1c]
push eax
call sub.KERNEL32.DLL_GetPrivateProfileStringA
mov dl, byte [ebp - 0x148]
test dl, dl
je 0x5eb2a0
push 0x7c
lea ecx, [ebp - 0x148]
push ecx
call fcn.0069cf19
add esp, 8
test eax, eax
je 0x5eb282
mov byte [eax], 0
lea eax, [ebp - 0x148]
push eax
mov edx, dword [edi + 8]
push edx
call fcn.0069cfd8
add esp, 8
test eax, eax
jne 0x5eb29d
mov al, 1
jmp 0x5eb2a2
inc ebx
jmp 0x5eb221
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5eb2ac
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe9c
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov ebx, 1
mov eax, dword [ebp + 0x10]
push eax
push 0x6dcfe9
push 0x6dcfe4
lea edx, [ebp - 0x1c]
push edx
call fcn.006a0ad0
add esp, 0x10
push ebx
push 0x6dcff5
push 0x6dcff0
lea ecx, [ebp - 0x164]
push ecx
call fcn.006a0ad0
add esp, 0x10
mov eax, dword [esi + 0x30]
lea edx, [ebp - 0x148]
lea ecx, [ebp - 0x164]
push eax
push 0x12c
push edx
push 0x6dcffb
push ecx
lea eax, [ebp - 0x1c]
push eax
call sub.KERNEL32.DLL_GetPrivateProfileStringA
mov dl, byte [ebp - 0x148]
test dl, dl
je 0x5eb35c
push 0x7c
lea ecx, [ebp - 0x148]
push ecx
call fcn.0069cf19
add esp, 8
test eax, eax
je 0x5eb33e
mov byte [eax], 0
lea eax, [ebp - 0x148]
push eax
mov edx, dword [edi + 8]
push edx
call fcn.0069cfd8
add esp, 8
test eax, eax
jne 0x5eb359
mov al, 1
jmp 0x5eb35e
inc ebx
jmp 0x5eb2dd
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5eee70
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov byte [ebp - 1], 0
mov eax, dword [ebp + 0x10]
push eax
push 0x6dd562
push 0x6dd55d
lea edx, [ebp - 0x168]
push edx
call fcn.006a0ad0
add esp, 0x10
mov esi, 1
push esi
push 0x6dd56e
push 0x6dd569
lea eax, [ebp - 0x14c]
push eax
call fcn.006a0ad0
mov edx, dword [ebp + 8]
add esp, 0x10
lea eax, [ebp - 0x130]
mov ecx, dword [edx + 0x30]
push ecx
push 0x12c
push eax
lea edx, [ebp - 0x14c]
push 0x6dd573
push edx
lea ecx, [ebp - 0x168]
push ecx
call sub.KERNEL32.DLL_GetPrivateProfileStringA
mov al, byte [ebp - 0x130]
test al, al
je 0x5eefab
push 0x7c
lea edx, [ebp - 0x130]
push edx
call fcn.0069cf19
add esp, 8
test eax, eax
je 0x5eef19
lea ecx, [ebp - 0x130]
sub eax, ecx
jmp 0x5eef26
lea eax, [ebp - 0x130]
push eax
call fcn.0069ce0c
pop ecx
test bl, bl
jne 0x5eef59
mov edx, dword [edi + 8]
mov ecx, dword [edx - 4]
cmp eax, ecx
jne 0x5eef59
push eax
mov eax, dword [edi + 8]
push eax
lea edx, [ebp - 0x130]
push edx
call fcn.0069d070
add esp, 0xc
test eax, eax
jne 0x5eef59
mov byte [ebp - 1], 1
mov byte [ebp - 0x130], 0
mov bl, 1
test bl, bl
je 0x5eefa5
mov al, byte [ebp - 0x130]
test al, al
je 0x5eefa5
lea edx, [esi - 1]
push edx
push 0x6dd579
push 0x6dd574
lea ecx, [ebp - 0x14c]
push ecx
call fcn.006a0ad0
add esp, 0x10
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x30]
push edx
lea ecx, [ebp - 0x130]
push ecx
lea eax, [ebp - 0x14c]
push eax
lea edx, [ebp - 0x168]
push edx
call sub.KERNEL32.DLL_WritePrivateProfileStringA
inc esi
jmp 0x5eeea7
mov cl, byte [ebp - 1]
test cl, cl
je 0x5eefe9
dec esi
push esi
push str.User
push 0x6dd57e
lea eax, [ebp - 0x14c]
push eax
call fcn.006a0ad0
mov edx, dword [ebp + 8]
add esp, 0x10
lea eax, [ebp - 0x14c]
mov ecx, dword [edx + 0x30]
push ecx
push 0
push eax
lea edx, [ebp - 0x168]
push edx
call sub.KERNEL32.DLL_WritePrivateProfileStringA
mov ecx, dword [ebp + 0x10]
push ecx
mov eax, dword [edi + 8]
push eax
push str.USER
push 0x6dd588
lea edx, [ebp - 0x14c]
push edx
call fcn.006a0ad0
add esp, 0x14
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x30]
push eax
push 0
push 0
lea edx, [ebp - 0x14c]
push edx
call sub.KERNEL32.DLL_WritePrivateProfileStringA
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5f06bc
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff98
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebx], 0xabb6
mov eax, dword [eax + 0x30]
push eax
push 0x64
lea edx, [ebp - 0x68]
push edx
push 0x6dd674
push str.LocalSetupPortNo
push 0x6dd65c
call sub.KERNEL32.DLL_GetPrivateProfileStringA
test eax, eax
je 0x5f0727
mov dword [ebp - 4], 0x15
lea ecx, [ebp - 4]
lea eax, [ebp - 0x68]
push ecx
push 0x6dd675
push eax
call fcn.006a0b4c
add esp, 0xc
dec eax
jne 0x5f0727
mov edx, dword [ebp - 4]
test edx, edx
jle 0x5f0727
mov ecx, dword [ebp - 4]
cmp ecx, 0x10000
jge 0x5f0727
mov eax, dword [ebp - 4]
mov dword [ebx], eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5f072c
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff9c
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push str.l__ak.lk_0_P
push esi
call fcn.0069a464
add esp, 8
mov eax, dword [ebx + 0x30]
lea edx, [ebp - 0x64]
push eax
push 0x64
push edx
push 0x6dd6a1
push str.LocalSetupPassword
push str.GLOBAL
call sub.KERNEL32.DLL_GetPrivateProfileStringA
test eax, eax
je 0x5f0781
lea ecx, [ebp - 0x64]
push ecx
call fcn.004462dc
pop ecx
lea eax, [ebp - 0x64]
push eax
push esi
call fcn.0069a464
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5f1720
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff20
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx + 0x5c]
push eax
push 0x6dd6d3
push 0x6dd6ce
lea edx, [ebp - 0xcc]
push edx
call fcn.006a0ad0
add esp, 0x10
lea ecx, [ebp - 0xcc]
push ecx
push reloc.WSOCK32.DLL_bind
call fcn.00446bb4
add esp, 8
lea eax, [ebp - 4]
push eax
push 0x20006
push 0
push 0x6dd6f5
push reloc.WSOCK32.DLL_bind
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x5f17a4
push 0xa
lea edx, [ebp - 0xe0]
push edx
mov ecx, dword [ebx + 0x5c]
push ecx
call fcn.006a55f4
add esp, 0xc
push eax
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegDeleteValueA
mov edx, dword [ebp - 4]
push edx
call sub.ADVAPI32.DLL_RegCloseKey
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5f17ac
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd3c
push ebx
push esi
mov ebx, dword [ebp + 0xc]
mov dword [ebx + 0x60], 0xffffffff
xor esi, esi
mov al, byte [ebx + 0x58]
sub al, 1
jb 0x5f17d2
je 0x5f17d6
dec al
je 0x5f17dd
jmp 0x5f17e2
xor esi, esi
jmp 0x5f17e2
mov esi, 1
jmp 0x5f17e2
mov esi, 2
lea eax, [ebp - 4]
lea edx, [ebp - 8]
push eax
push edx
push 0
push 0x20006
push 0
push 0
push 0
push str.SOFTWARECat_SoftServ_UDomainsDomainList
push reloc.WSOCK32.DLL_bind
call sub.ADVAPI32.DLL_RegCreateKeyExA
test eax, eax
jne 0x5f1877
push 0xa
lea ecx, [ebp - 0xd0]
push ecx
mov eax, dword [ebx + 0x5c]
push eax
call fcn.006a55f4
add esp, 0xc
push esi
mov edx, dword [ebx + 0x30]
push edx
mov ecx, dword [ebx + 0x6c]
push ecx
lea ecx, [ebp - 0x2c4]
mov eax, dword [ebx + 0x20]
push eax
mov edx, dword [ebx + 0x10]
push edx
push str._s_s_d_s_d
push ecx
call fcn.006a0ad0
add esp, 0x1c
lea eax, [ebp - 0x2c4]
push eax
call fcn.0069ce0c
pop ecx
inc eax
push eax
lea edx, [ebp - 0x2c4]
push edx
push 1
push 0
lea ecx, [ebp - 0xd0]
push ecx
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegSetValueExA
mov edx, dword [ebp - 8]
push edx
call sub.ADVAPI32.DLL_RegCloseKey
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5f4028
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff6d8
mov eax, 0x69d2ab
xor edx, edx
push ebx
push esi
push edi
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x2c], 0x6e5cf4
mov dword [ebp - 0x28], esp
mov dword [ebp - 0x30], eax
mov word [ebp - 0x24], 0
mov dword [ebp - 0x18], edx
mov ecx, dword fs:[0]
mov dword [ebp - 0x34], ecx
lea eax, [ebp - 0x34]
mov dword fs:[0], eax
mov eax, dword [ebx + 8]
mov edi, eax
mov esi, dword [ebx + 4]
push esi
push eax
push edi
call fcn.004057f0
add esp, 0xc
mov edx, dword [ebx + 8]
sub edi, esi
test edi, edi
jns 0x5f4086
add edi, 0xf
sar edi, 4
shl edi, 4
sub dword [ebx + 8], edi
push edx
push eax
push ebx
call fcn.0040445c
add esp, 0xc
mov eax, dword [ebp + 0x14]
push eax
push 0x6ddb3e
mov ecx, dword [ebp + 0x10]
push ecx
push 0x6ddb1c
push 0x6ddb12
lea eax, [ebp - 0x118]
push eax
call fcn.006a0ad0
add esp, 0x18
lea edx, [ebp - 0x38]
push edx
push 0x20019
push 0
lea ecx, [ebp - 0x118]
push ecx
push reloc.WSOCK32.DLL_bind
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
je 0x5f40ee
mov eax, dword [ebp - 0x34]
mov dword fs:[0], eax
jmp 0x5f41e8
mov dword [ebp - 0x40], 0x800
lea edx, [ebp - 0x40]
push edx
lea ecx, [ebp - 0x918]
push ecx
lea eax, [ebp - 0x3c]
push eax
push 0
push 0x6ddb4c
mov edx, dword [ebp - 0x38]
push edx
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x5f41d5
mov ecx, dword [ebp - 0x3c]
cmp ecx, 1
jne 0x5f41d5
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x5f41d5
push ebx
lea edx, [ebp - 0x48]
mov word [ebp - 0x24], 8
push edx
lea ecx, [ebp - 0x918]
push ecx
lea eax, [ebp - 0x10]
push eax
call fcn.0069a6ec
add esp, 0xc
inc dword [ebp - 0x18]
lea edx, [ebp - 0x10]
push edx
call fcn.004466c0
add esp, 8
dec dword [ebp - 0x18]
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x5f41d5
mov eax, dword [ebp - 8]
mov edx, dword [eax - 0xc]
inc edx
test edx, edx
je 0x5f41a6
mov ebx, dword [ebp - 8]
add ebx, 0xfffffff4
cmp ebx, 0x6ff36c
je 0x5f419d
cmp ebx, 0x6ff36c
je 0x5f4196
push ebx
call sub.KERNEL32.DLL_InterlockedDecrement
mov eax, dword [ebx]
inc eax
jmp 0x5f41a2
mov eax, 1
jmp 0x5f41a2
mov eax, 1
test eax, eax
jne 0x5f41d5
mov edx, dword [ebp - 8]
add edx, 0xfffffff4
mov dword [ebp - 0x4c], edx
mov esi, dword [ebp - 8]
add esi, 0xfffffff4
push esi
call fcn.0067ac7c
xor eax, eax
pop ecx
mov edi, eax
lea edx, [ebp - 0x10]
mov dword [ebp - 8], edi
mov dword [ebp - 0x50], edx
mov ecx, dword [ebp - 0x50]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x920], eax
mov edx, dword [ebp - 0x38]
push edx
call sub.ADVAPI32.DLL_RegCloseKey
mov ecx, dword [ebp - 0x34]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5f84c8
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff34
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
push 0x6de5b2
push esi
push 0x6de590
push 0x6de589
lea eax, [ebp - 0xcc]
push eax
call fcn.006a0ad0
add esp, 0x14
lea edx, [ebp - 4]
push edx
push 0x20006
push 0
lea ecx, [ebp - 0xcc]
push ecx
push reloc.WSOCK32.DLL_bind
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x5f8565
mov eax, dword [ebx + 8]
push eax
mov edx, dword [ebp - 4]
push edx
call sub.ADVAPI32.DLL_RegDeleteValueA
mov ecx, dword [ebp - 4]
push ecx
call sub.ADVAPI32.DLL_RegCloseKey
mov eax, dword [ebx + 8]
push eax
push str.UserSettings
push esi
push 0x6de5c6
push 0x6de5bc
lea edx, [ebp - 0xcc]
push edx
call fcn.006a0ad0
add esp, 0x18
lea ecx, [ebp - 0xcc]
push ecx
push reloc.WSOCK32.DLL_bind
call fcn.00446bb4
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5f9400
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff34
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
push 0x6de758
push esi
push 0x6de736
push 0x6de72f
lea eax, [ebp - 0xcc]
push eax
call fcn.006a0ad0
add esp, 0x14
lea edx, [ebp - 4]
push edx
push 0x20006
push 0
lea ecx, [ebp - 0xcc]
push ecx
push reloc.WSOCK32.DLL_bind
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x5f949d
mov eax, dword [ebx + 8]
push eax
mov edx, dword [ebp - 4]
push edx
call sub.ADVAPI32.DLL_RegDeleteValueA
mov ecx, dword [ebp - 4]
push ecx
call sub.ADVAPI32.DLL_RegCloseKey
mov eax, dword [ebx + 8]
push eax
push str.GroupSettings
push esi
push 0x6de76d
push str._s_d_s_s
lea edx, [ebp - 0xcc]
push edx
call fcn.006a0ad0
add esp, 0x18
lea ecx, [ebp - 0xcc]
push ecx
push reloc.WSOCK32.DLL_bind
call fcn.00446bb4
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5f94a4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push str.UserList
mov eax, dword [ebp + 0x10]
push eax
push 0x6de7a5
push 0x6de79e
lea edx, [ebp - 0xd4]
push edx
call fcn.006a0ad0
add esp, 0x14
lea ecx, [ebp - 4]
push ecx
push 0x20019
push 0
lea eax, [ebp - 0xd4]
push eax
push reloc.WSOCK32.DLL_bind
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
je 0x5f94f4
xor eax, eax
jmp 0x5f9537
mov dword [ebp - 8], 0x12c
xor ebx, ebx
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x200]
push edx
lea ecx, [ebp - 0xc]
push ecx
push 0
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 8]
push edx
mov ecx, dword [ebp - 4]
push ecx
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x5f952c
mov eax, dword [ebp - 0xc]
cmp eax, 1
jne 0x5f952c
mov bl, 1
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5f953c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push str.GroupList
mov eax, dword [ebp + 0x10]
push eax
push str.SOFTWARECat_SoftServ_UDomains_
push str._s_d_s
lea edx, [ebp - 0xd4]
push edx
call fcn.006a0ad0
add esp, 0x14
lea ecx, [ebp - 4]
push ecx
push 0x20019
push 0
lea eax, [ebp - 0xd4]
push eax
push reloc.WSOCK32.DLL_bind
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
je 0x5f958c
xor eax, eax
jmp 0x5f95cf
mov dword [ebp - 8], 0x12c
xor ebx, ebx
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x200]
push edx
lea ecx, [ebp - 0xc]
push ecx
push 0
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 8]
push edx
mov ecx, dword [ebp - 4]
push ecx
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x5f95c4
mov eax, dword [ebp - 0xc]
cmp eax, 1
jne 0x5f95c4
mov bl, 1
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x60777c
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
push ebx
xor edx, edx
mov eax, dword [ebp + 0xc]
mov dl, al
mov ecx, edx
mov ebx, edx
sar ebx, 1
sar ecx, 0
and bl, 1
and cl, 1
shl ecx, 5
shl ebx, 3
add cl, bl
mov ebx, edx
sar ebx, 2
and bl, 1
shl ebx, 2
add cl, bl
mov ebx, edx
sar ebx, 3
and bl, 1
add ebx, ebx
add cl, bl
mov ebx, edx
sar edx, 5
sar ebx, 4
and dl, 1
and bl, 1
shl edx, 4
add cl, bl
add cl, dl
mov edx, dword [ebp + 8]
shl edx, 6
mov eax, ecx
and eax, 0xff
lea ecx, [edx + 0x6eacf0]
xor edx, edx
mov al, byte [ecx + eax]
xor ecx, ecx
mov dl, al
mov cl, al
sar ecx, 2
sar edx, 3
and cl, 1
add ecx, ecx
and dl, 1
add dl, cl
xor ecx, ecx
mov cl, al
and eax, 0xff
sar ecx, 1
sar eax, 0
and cl, 1
shl ecx, 2
and al, 1
shl eax, 3
add dl, cl
add dl, al
mov eax, edx
pop ebx
pop ebp
ret

Function at 0x608230
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax + 0x14], edx
mov dword [eax + 0x10], edx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
pop ebp
ret

Function at 0x608e68
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax + 0x14], edx
mov dword [eax + 0x10], edx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
pop ebp
ret
Function at 0x609e04
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
mov eax, 0x69d2ab
xor edx, edx
push ebx
push esi
push edi
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x20], 0x6ec1a4
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x24], eax
mov word [ebp - 0x18], 0
mov dword [ebp - 0xc], edx
mov ecx, dword fs:[0]
mov dword [ebp - 0x28], ecx
lea eax, [ebp - 0x28]
mov dword fs:[0], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x18]
cmp eax, ecx
je 0x609e80
mov edx, eax
add edx, 0xfffffffc
mov ecx, dword [edx]
mov dword [eax], ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
push eax
add eax, 0xfffffffc
push eax
push ebx
call fcn.0060a028
add esp, 0xc
mov edx, dword [ebp + 0x10]
mov ecx, dword [edx]
mov dword [ebx], ecx
mov eax, dword [ebp + 8]
add dword [eax + 8], 4
jmp 0x609ffd
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 4]
sub eax, ecx
test eax, eax
jns 0x609e95
add eax, 3
sar eax, 2
test eax, eax
je 0x609ea0
add eax, eax
jmp 0x609ea5
mov eax, 0x100
mov dword [ebp - 0x34], eax
mov edi, dword [ebp - 0x34]
shl edi, 2
push edi
call fcn.0067ac68
pop ecx
mov esi, eax
test esi, esi
jne 0x609efb
lea edx, [ebp - 0x28]
mov ecx, 0x6b0470
push edx
push 0
push 0
push 0
push 1
push 0x40487c
push 0
mov eax, 0x6b045c
mov word [ebp - 0x18], 8
mov dword [ebp - 4], ecx
lea edx, [ebp - 4]
inc dword [ebp - 0xc]
mov dword [ebp - 4], eax
inc dword [ebp - 0xc]
push edx
push 0x404824
call fcn.006aa5c5
add esp, 0x24
mov dword [ebp - 0x38], esi
mov ecx, dword [ebp - 0x38]
push ecx
push ebx
mov eax, dword [ebp + 8]
mov edx, dword [eax + 4]
push edx
call fcn.0060a04c
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
push dword [edx + 4]
mov edx, ebx
pop ecx
sub edx, ecx
test edx, edx
jns 0x609f27
add edx, 3
sar edx, 2
shl edx, 2
mov ecx, dword [ebp - 0x38]
add edx, ecx
mov eax, dword [eax]
mov dword [edx], eax
mov word [ebp - 0x18], 0x14
mov edx, dword [ebp + 8]
mov eax, ebx
mov edx, dword [edx + 4]
sub eax, edx
test eax, eax
jns 0x609f4d
add eax, 3
sar eax, 2
shl eax, 2
mov ecx, dword [ebp - 0x38]
add eax, ecx
add eax, 4
push eax
mov eax, dword [ebp + 8]
mov edx, dword [eax + 8]
push edx
push ebx
call fcn.0060a04c
mov word [ebp - 0x18], 0
add esp, 0xc
jmp 0x609f95
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov edx, dword [edx + 8]
mov eax, dword [eax + 4]
mov ebx, edx
sub ebx, eax
test ebx, ebx
jns 0x609fac
add ebx, 3
sar ebx, 2
push edx
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.0060a010
add esp, 0xc
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 4]
push eax
call fcn.0067ac7c
mov edx, dword [ebp - 0x34]
pop ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x38]
shl edx, 2
add eax, 0x10
add edx, ecx
mov ecx, edx
mov dword [eax + 8], ecx
mov dword [ebp - 0x40], ecx
shl ebx, 2
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp + 8]
add ebx, edx
add ebx, 4
mov dword [eax + 8], ebx
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x38]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x28]
mov dword fs:[0], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x66ea84
Capabilities:
Read file on windows
Read from mailslot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe60
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x4c]
cmp eax, 0xffffffff
je 0x66eb30
jmp 0x66eb13
mov edx, dword [ebp - 8]
test edx, edx
je 0x66eb30
mov ecx, dword [ebp - 4]
cmp ecx, 0xffffffff
je 0x66eb30
lea eax, [ebp - 0xc]
push 0
push eax
lea ecx, [ebp - 0x1a0]
mov edx, dword [ebp - 4]
push edx
push ecx
mov eax, dword [ebx + 0x4c]
push eax
call sub.KERNEL32.DLL_ReadFile
test eax, eax
je 0x66eb30
xor eax, eax
mov edx, dword [ebp - 0xc]
cmp edx, 4
jbe 0x66eae1
movsx eax, byte [ebp - 0x1a0]
dec eax
je 0x66eae9
dec eax
je 0x66eaff
jmp 0x66eb13
mov edx, dword [ebp - 0xc]
lea ecx, [ebp - 0x1a0]
push edx
push ecx
push ebx
call fcn.0066eb38
add esp, 0xc
jmp 0x66eb13
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x1a0]
push eax
push edx
push ebx
call fcn.0067020c
add esp, 0xc
push 0
lea ecx, [ebp - 8]
push ecx
lea eax, [ebp - 4]
push eax
push 0
mov edx, dword [ebx + 0x4c]
push edx
call sub.KERNEL32.DLL_GetMailslotInfo
test eax, eax
jne 0x66ea9f
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x672018
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
mov eax, 0x69d2ab
xor edx, edx
push ebx
push esi
push edi
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x20], 0x6f575c
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x24], eax
mov word [ebp - 0x18], 0
mov dword [ebp - 0xc], edx
mov ecx, dword fs:[0]
mov dword [ebp - 0x28], ecx
lea eax, [ebp - 0x28]
mov dword fs:[0], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x18]
cmp eax, ecx
je 0x672094
mov edx, eax
add edx, 0xfffffffc
mov ecx, dword [edx]
mov dword [eax], ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
push eax
add eax, 0xfffffffc
push eax
push ebx
call fcn.0067223c
add esp, 0xc
mov edx, dword [ebp + 0x10]
mov ecx, dword [edx]
mov dword [ebx], ecx
mov eax, dword [ebp + 8]
add dword [eax + 8], 4
jmp 0x672211
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 4]
sub eax, ecx
test eax, eax
jns 0x6720a9
add eax, 3
sar eax, 2
test eax, eax
je 0x6720b4
add eax, eax
jmp 0x6720b9
mov eax, 0x100
mov dword [ebp - 0x34], eax
mov edi, dword [ebp - 0x34]
shl edi, 2
push edi
call fcn.0067ac68
pop ecx
mov esi, eax
test esi, esi
jne 0x67210f
lea edx, [ebp - 0x28]
mov ecx, 0x6b0470
push edx
push 0
push 0
push 0
push 1
push 0x40487c
push 0
mov eax, 0x6b045c
mov word [ebp - 0x18], 8
mov dword [ebp - 4], ecx
lea edx, [ebp - 4]
inc dword [ebp - 0xc]
mov dword [ebp - 4], eax
inc dword [ebp - 0xc]
push edx
push 0x404824
call fcn.006aa5c5
add esp, 0x24
mov dword [ebp - 0x38], esi
mov ecx, dword [ebp - 0x38]
push ecx
push ebx
mov eax, dword [ebp + 8]
mov edx, dword [eax + 4]
push edx
call fcn.00672260
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
push dword [edx + 4]
mov edx, ebx
pop ecx
sub edx, ecx
test edx, edx
jns 0x67213b
add edx, 3
sar edx, 2
shl edx, 2
mov ecx, dword [ebp - 0x38]
add edx, ecx
mov eax, dword [eax]
mov dword [edx], eax
mov word [ebp - 0x18], 0x14
mov edx, dword [ebp + 8]
mov eax, ebx
mov edx, dword [edx + 4]
sub eax, edx
test eax, eax
jns 0x672161
add eax, 3
sar eax, 2
shl eax, 2
mov ecx, dword [ebp - 0x38]
add eax, ecx
add eax, 4
push eax
mov eax, dword [ebp + 8]
mov edx, dword [eax + 8]
push edx
push ebx
call fcn.00672260
mov word [ebp - 0x18], 0
add esp, 0xc
jmp 0x6721a9
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov edx, dword [edx + 8]
mov eax, dword [eax + 4]
mov ebx, edx
sub ebx, eax
test ebx, ebx
jns 0x6721c0
add ebx, 3
sar ebx, 2
push edx
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.00672224
add esp, 0xc
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 4]
push eax
call fcn.0067ac7c
mov edx, dword [ebp - 0x34]
pop ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x38]
shl edx, 2
add eax, 0x10
add edx, ecx
mov ecx, edx
mov dword [eax + 8], ecx
mov dword [ebp - 0x40], ecx
shl ebx, 2
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp + 8]
add ebx, edx
add ebx, 4
mov dword [eax + 8], ebx
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x38]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x28]
mov dword fs:[0], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret