joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4506c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f5301
mov eax, dword fs:[0]
push eax
sub esp, 0x40c
mov eax, dword [0x52e1e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3ec], 0
push 0x51390b
lea ecx, [ebp - 0x248]
call fcn.00407b70
mov dword [ebp - 4], 1
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.004c9a10
add esp, 0xc
push 0x104
lea edx, [ebp - 0x218]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x51b130
lea ecx, [ebp - 0x230]
call fcn.0040a6c0
mov byte [ebp - 4], 2
push 0x51b134
lea ecx, [ebp - 0x230]
call fcn.0040a690
lea ecx, [ebp - 0x230]
call fcn.0040de90
push eax
push 0x104
lea ecx, [ebp - 0x218]
push ecx
call fcn.004cc040
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x450873
lea ecx, [ebp - 0x3e8]
call fcn.00457b10
mov byte [ebp - 4], 3
push 0
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x3e8]
call fcn.00457d10
lea ecx, [ebp - 0x260]
push ecx
lea ecx, [ebp - 0x3e8]
call fcn.004582f0
mov byte [ebp - 4], 4
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x3fc], esp
lea edx, [ebp - 0x260]
push edx
call fcn.00409160
mov dword [ebp - 0x3f0], eax
mov eax, dword [ebp - 0x3f0]
mov dword [ebp - 0x400], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x418]
push ecx
mov byte [ebp - 4], 4
call fcn.0040e630
add esp, 0x1c
mov dword [ebp - 0x3f4], eax
mov edx, dword [ebp - 0x3f4]
mov dword [ebp - 0x3f8], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x3f8]
push eax
lea ecx, [ebp - 0x248]
call fcn.00411940
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x418]
call fcn.00407fd0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x260]
call fcn.004091f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3e8]
call fcn.00457bf0
lea ecx, [ebp - 0x248]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00410120
mov edx, dword [ebp - 0x3ec]
or edx, 1
mov dword [ebp - 0x3ec], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x230]
call fcn.004091f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.00407fd0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b7060
mov esp, ebp
pop ebp
ret
Function at 0x4508d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f5386
mov eax, dword fs:[0]
push eax
sub esp, 0x3f4
mov eax, dword [0x52e1e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3d4], 0
push 0x51391a
lea ecx, [ebp - 0x230]
call fcn.00407b70
mov dword [ebp - 4], 1
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.004c9a10
add esp, 0xc
push 0x104
lea edx, [ebp - 0x218]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x450a3f
lea ecx, [ebp - 0x3d0]
call fcn.00457b10
mov byte [ebp - 4], 2
push 0
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x3d0]
call fcn.00457d10
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x3d0]
call fcn.004582f0
mov byte [ebp - 4], 3
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x3e4], esp
lea edx, [ebp - 0x248]
push edx
call fcn.00409160
mov dword [ebp - 0x3d8], eax
mov eax, dword [ebp - 0x3d8]
mov dword [ebp - 0x3e8], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x400]
push ecx
mov byte [ebp - 4], 3
call fcn.0040e630
add esp, 0x1c
mov dword [ebp - 0x3dc], eax
mov edx, dword [ebp - 0x3dc]
mov dword [ebp - 0x3e0], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x3e0]
push eax
lea ecx, [ebp - 0x230]
call fcn.00411940
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x400]
call fcn.00407fd0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x248]
call fcn.004091f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3d0]
call fcn.00457bf0
lea ecx, [ebp - 0x230]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00410120
mov edx, dword [ebp - 0x3d4]
or edx, 1
mov dword [ebp - 0x3d4], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.00407fd0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b7060
mov esp, ebp
pop ebp
ret

Function at 0x452dd0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov byte [eax + 0xc], 0
mov ecx, dword [ebp - 4]
cmp dword [ecx + 8], 0
jne 0x452dfb
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x452e23
push 0
push 0
mov ecx, dword [ebp - 4]
push ecx
push 0x452da0
push 0
push 0
call fcn.004cf766
add esp, 0x18
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x452e30
xor al, al
jmp 0x452e32
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x452e40
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f56b0
mov eax, dword fs:[0]
push eax
push ecx
push ecx
push ebx
push esi
push edi
mov eax, dword [0x52e1e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
mov byte [eax + 0xc], 1
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 8], 0
je 0x452e8a
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 4], 0
je 0x452ee0
mov dword [ebp - 4], 0
push 0x1f4
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x452ed0
mov dword [ebp - 4], 0xffffffff
jmp 0x452ee0
mov edx, dword [ebp - 0x14]
mov dword [edx + 4], 0
mov eax, dword [ebp - 0x14]
cmp dword [eax + 8], 0
je 0x452f1f
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x452f0f
mov dword [ebp - 4], 0xffffffff
jmp 0x452f1f
mov eax, dword [ebp - 0x14]
mov dword [eax + 8], 0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4544a0
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 8], eax
push 0
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 4]
je 0x4544e6
push 1
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp + 8]
je 0x454524
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
push 3
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 4]
je 0x45453c
push 0
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov esp, ebp
pop ebp
ret
Function at 0x455620
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
jne 0x45562f
xor eax, eax
pop ebp
ret 8
push 0x104
push 0
push 0x532860
call fcn.004c9a10
add esp, 0xc
push 0x104
push 0x532860
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x455629
push 0x532860
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
test eax, eax
je 0x455629
push str.log_
push 0x104
push 0x532860
call fcn.004d785e
push dword [ebp + 8]
push 0x104
push 0x532860
call fcn.004d785e
add esp, 0x14
call fcn.004556c0
cmp eax, 0x100000
jbe 0x4556a9
push 0x532860
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, 0x532860
pop ebp
ret 8

Function at 0x4556c0
Capabilities:
Get file size

Disassembly:
push edi
push 0
push 0x80
push 3
push 0
push 1
push accept
push 0x532860
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x4556ff
push esi
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop edi
ret 4
xor eax, eax
pop edi
ret 4
Function at 0x456660
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f5d20
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x52e1e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.0040a6c0
push 0x51d1f4
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.0040ef00
lea eax, [ebp - 0x270]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040de90
push eax
call fcn.004d820b
mov edi, eax
add esp, 8
cmp edi, 0xffffffff
je 0x4567b8
lea eax, [ebp - 0x270]
push eax
push edi
call fcn.004d8216
add esp, 8
test eax, eax
jne 0x45685f
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
nop
mov ecx, 0x51d200
lea eax, [ebp - 0x24c]
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x456726
test dx, dx
je 0x456722
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x456726
add eax, 4
add ecx, 4
test dx, dx
jne 0x456700
xor eax, eax
jmp 0x45672b
sbb eax, eax
or eax, 1
test eax, eax
je 0x456847
mov eax, 0x51d1ec
lea ecx, [ebp - 0x24c]
nop
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x456766
test dx, dx
je 0x456762
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x456766
add ecx, 4
add eax, 4
test dx, dx
jne 0x456740
xor eax, eax
jmp 0x45676b
sbb eax, eax
or eax, 1
test eax, eax
je 0x456847
test byte [ebp - 0x270], 0x10
push esi
je 0x4567e0
lea ecx, [ebp - 0x28]
call fcn.0040de10
push 0x51d1f0
lea ecx, [ebp - 0x28]
call fcn.0040ef00
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040ef00
lea ecx, [ebp - 0x28]
call fcn.0040de90
mov ecx, eax
call fcn.00456660
test eax, eax
jne 0x456847
xor esi, esi
lea ecx, [ebp - 0x28]
call fcn.004091f0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b7060
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x40]
call fcn.0040a6c0
push 0x51d1f0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.0040ef00
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x40]
call fcn.0040ef00
mov eax, dword [ebp - 0x270]
test al, 1
je 0x456827
and eax, 0xfffffffe
lea ecx, [ebp - 0x40]
push eax
mov dword [ebp - 0x270], eax
call fcn.0040de90
push eax
call ebx
lea ecx, [ebp - 0x40]
call fcn.0040de90
push eax
call fcn.004d7e37
add esp, 4
lea ecx, [ebp - 0x40]
test eax, eax
jne 0x45687e
mov byte [ebp - 4], al
call fcn.004091f0
lea eax, [ebp - 0x270]
push eax
push edi
call fcn.004d8216
add esp, 8
test eax, eax
je 0x4566f0
push edi
call fcn.004d81e5
push esi
call fcn.004d8221
add esp, 8
test eax, eax
jne 0x4567b8
lea esi, [eax + 1]
jmp 0x4567ba
call fcn.004091f0
jmp 0x4567b8
Function at 0x456bb0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x52e1e0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
lea eax, [ebp - 8]
mov edi, dword [ebp + 0x10]
xor bl, bl
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
mov eax, dword [ecx + 0x20c]
push 0
or eax, 0x20006
mov dword [ebp - 8], 0
push eax
push 0
push 0
push 0
lea eax, [ecx + 4]
push eax
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x456c20
test esi, esi
je 0x456c1e
push dword [ebp + 0x14]
push edi
push 1
push eax
push esi
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x456c20
mov bl, 1
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x456c37
push eax
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b7060
mov esp, ebp
pop ebp
ret 0x10

Function at 0x456c90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x52e1e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
add eax, eax
push edi
mov edi, dword [ebp + 0xc]
xor bl, bl
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ecx + 0x20c]
or eax, 1
mov dword [ebp - 0x10], 0
push eax
push 0
lea eax, [ecx + 4]
mov dword [ebp - 0xc], 0
push eax
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x456d00
test esi, esi
je 0x456cfe
lea eax, [ebp - 8]
push eax
push edi
lea eax, [ebp - 0xc]
push eax
push 0
push esi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x456d00
mov bl, 1
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x456d0e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b7060
mov esp, ebp
pop ebp
ret 0xc

Function at 0x456d30
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x52e1e0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
mov eax, dword [ecx + 0x20c]
xor bl, bl
or eax, 0xf003f
mov dword [ebp - 8], 0
push eax
push 0
lea eax, [ecx + 4]
push eax
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x456d87
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
movzx ebx, bl
mov ecx, 1
cmove ebx, ecx
mov eax, dword [ebp - 8]
test eax, eax
je 0x456d9e
push eax
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.004b7060
mov esp, ebp
pop ebp
ret 4
Function at 0x456dc0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x52e1e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x18], eax
xor edi, edi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x1c], ecx
push eax
mov eax, dword [ecx + 0x20c]
or eax, 9
mov dword [ebp - 0x10], 0
push eax
push edi
lea eax, [ecx + 4]
mov dword [ebp - 0xc], 0
push eax
push dword [ecx]
mov dword [ebp - 0x14], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x456f05
push eax
push eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push edi
push edi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x456f05
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x456f08
mov edx, dword [ebp - 0x14]
test edx, edx
je 0x456f08
add edx, 2
xor ecx, ecx
imul eax, edx
mov dword [ebp - 0x14], edx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004b7342
mov edi, eax
add esp, 4
test edi, edi
je 0x456f05
mov ecx, dword [ebp - 0x14]
imul ecx, dword [ebp - 0xc]
add ecx, ecx
push ecx
push 0
push edi
call fcn.004c9a10
xor esi, esi
add esp, 0xc
cmp dword [ebp - 0xc], esi
jbe 0x456ec0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 8]
push 0
push 0
push 0
push 0
push eax
mov eax, esi
mov dword [ebp - 8], ecx
imul eax, ecx
lea eax, [edi + eax*2]
push eax
push esi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
inc esi
cmp esi, dword [ebp - 0xc]
jb 0x456e95
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
xor esi, esi
mov dword [ebp - 0x10], 0
test eax, eax
je 0x456f20
nop dword [eax]
test ebx, ebx
je 0x456f08
push dword [ebp - 0x18]
mov eax, esi
imul eax, dword [ebp - 0x14]
push dword [ebp - 0x1c]
lea eax, [edi + eax*2]
push eax
push esi
call ebx
test al, al
je 0x456f05
mov eax, dword [ebp - 0xc]
inc esi
cmp esi, eax
jb 0x456ee0
jmp 0x456f08
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x456f20
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], 0
test edi, edi
je 0x456f30
push edi
call fcn.004b733d
mov eax, dword [ebp - 0xc]
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b7060
mov esp, ebp
pop ebp
ret 8

Function at 0x456f50
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
xorps xmm0, xmm0
mov ecx, dword [ebp + 8]
mov byte [edi + 0x68], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi], 0x67452301
mov dword [edi + 4], 0xefcdab89
mov dword [edi + 8], 0x98badcfe
mov dword [edi + 0xc], 0x10325476
movups xmmword [edi + 0x58], xmm0
call fcn.0040ef20
mov ecx, dword [ebp + 8]
push eax
call fcn.00407d10
push eax
mov ecx, edi
call fcn.00456fb0
mov eax, edi
pop edi
pop ebp
ret 4
Function at 0x479c70
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
xor edx, edx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, 0x1505
add eax, esi
mov ecx, eax
sub ecx, esi
push edi
xor edi, edi
cmp esi, eax
cmova ecx, edx
mov dword [ebp + 8], ecx
test ecx, ecx
je 0x479cb9
mov al, byte [esi]
push eax
call fcn.00485ce0
movsx ecx, al
lea esi, [esi + 1]
mov eax, ebx
inc edi
shl eax, 5
add esp, 4
add eax, ebx
xor ecx, eax
mov ebx, ecx
cmp edi, dword [ebp + 8]
jb 0x479c97
pop edi
pop esi
movzx eax, bl
pop ebx
pop ebp
ret
Function at 0x4830b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x608], 0
je 0x4830f4
push esi
push 1
push edi
call fcn.00476410
push dword [edi + 0x59c]
mov eax, dword [edi + 0x608]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call eax
push 0
push edi
mov esi, eax
call fcn.00476410
add esp, 0x24
mov eax, esi
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp + 0xc]
cmp eax, 2
ja 0x48312a
push dword [edi + 0x598]
lea eax, [eax + eax*2]
push 1
add eax, 0x4fe1a0
push 2
push eax
call fcn.004cfd9b
push dword [edi + 0x598]
push 1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.004cfd9b
add esp, 0x20
xor eax, eax
pop edi
pop ebp
ret

Function at 0x4834b0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x52e1e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x18]
push esi
mov esi, dword [ecx + eax*4 + 0x420]
push edi
mov edi, dword [ebp + 0x10]
push eax
push ecx
mov dword [ebp - 0x108], ecx
call fcn.00483a10
add esp, 8
push 0
push dword [ebp + 0x14]
push edi
push esi
call dword [sym.imp.WS2_32.dll_send]
mov esi, eax
mov dword [ebx], 0
cmp esi, 0xffffffff
jne 0x48356a
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
cmp edi, 0x2733
jne 0x48352c
pop edi
pop esi
mov dword [ebx], 0x51
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b7060
mov esp, ebp
pop ebp
ret
push 0x100
lea eax, [ebp - 0x104]
push eax
push edi
call fcn.004ab930
push eax
mov eax, dword [ebp - 0x108]
push str.Send_failure:__s
push dword [eax]
call fcn.00483130
mov eax, dword [ebp - 0x108]
add esp, 0x18
mov eax, dword [eax]
mov dword [eax + 0xd44], edi
mov eax, esi
mov dword [ebx], 0x37
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b7060
mov esp, ebp
pop ebp
ret
Function at 0x483a10
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
lea esi, [ecx + 0x44]
shl esi, 4
mov eax, dword [ebx + 0x540]
add esi, ebx
mov edx, dword [ebx + ecx*4 + 0x420]
push edi
mov dword [ebp + 8], edx
mov edi, dword [esi + 4]
sub edi, dword [esi + 8]
test byte [eax + 0x40], 3
je 0x483ac8
cmp dword [ebx + ecx*4 + 0x430], 0x4833c0
jne 0x483ac8
cmp dword [esi], 0
je 0x483a5a
test edi, edi
je 0x483ac8
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push edx
call fcn.0048fa70
add esp, 0x14
cmp eax, 0xffffffff
je 0x483ac8
test al, 1
je 0x483ac8
cmp dword [esi], 0
jne 0x483aaf
mov eax, dword [ebx]
mov eax, dword [eax + 0x90c]
add eax, eax
push eax
mov dword [esi + 4], eax
call dword [0x52e1a8]
mov edi, dword [esi + 4]
add esp, 4
mov dword [esi], eax
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
test eax, eax
jne 0x483aaf
pop edi
mov dword [esi + 4], eax
pop esi
pop ebx
pop ebp
ret
mov eax, dword [esi]
add eax, dword [esi + 8]
push 0
push edi
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x483ac8
add dword [esi + 8], eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x483c50
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp byte [eax + 0x46c], 0
je 0x483c70
push eax
call fcn.0047df40
add esp, 4
test eax, eax
jne 0x483c92
xor al, al
pop ebp
ret
mov eax, dword [eax + 0x420]
cmp eax, 0xffffffff
je 0x483c6c
push 2
push 1
lea ecx, [ebp + 0xb]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jne 0x483c92
xor al, al
pop ebp
ret
mov al, 1
pop ebp
ret

Function at 0x484430
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x53061c]
mov dword [ebp - 8], 0x4020
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 4
test eax, eax
jne 0x484481
push 3
push 2
push eax
push 6
call fcn.00485a70
add esp, 0x10
test al, al
je 0x484475
mov dword [0x53061c], 2
mov esp, ebp
pop ebp
ret
mov dword [0x53061c], 1
jmp 0x484486
cmp eax, 2
je 0x4844c6
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0x1001
push 0xffff
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x4844ad
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jg 0x4844c6
push 4
lea eax, [ebp - 8]
push eax
push 0x1001
push 0xffff
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_setsockopt]
mov esp, ebp
pop ebp
ret