joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4817f0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [0x5014e4], 0
je 0x481974
mov eax, dword [0x50f02c]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x481974
push esi
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov ecx, dword [0x50d254]
mov esi, dword [0x50d774]
cmp ecx, esi
jge 0x481840
mov eax, ecx
mov ecx, esi
mov esi, eax
mov dword [0x50d254], ecx
mov dword [0x50d774], esi
mov eax, dword [0x50d65c]
mov edx, dword [0x50d660]
push edi
cmp eax, edx
jge 0x481861
mov edi, eax
mov eax, edx
mov edx, edi
mov dword [0x50d65c], eax
mov dword [0x50d660], edx
push ebx
mov ebx, dword [0x5014e4]
movsx edi, word [ebx + 4]
cmp eax, edi
jl 0x481878
lea eax, [edi - 1]
mov dword [0x50d65c], eax
movsx edi, word [ebx + 6]
cmp ecx, edi
jl 0x481889
lea ecx, [edi - 1]
mov dword [0x50d254], ecx
sub ecx, esi
sub eax, edx
add ecx, 3
inc eax
imul ecx, eax
lea ecx, [ecx + ecx + 2]
push ecx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
mov dword [ebp - 4], edi
test edi, edi
je 0x48196b
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, dword [0x50d660]
mov esi, eax
cmp ebx, dword [0x50d65c]
jg 0x481956
lea edx, [esi - 2]
mov dword [ebp - 8], edx
nop
mov ecx, dword [0x50d774]
mov edx, 0x50d778
cmp ecx, dword [0x50d254]
jg 0x48190c
mov edi, dword [0x5014e4]
lea esp, [esp]
mov eax, dword [edi + 0x18]
mov eax, dword [eax + ebx*4]
mov al, byte [eax + ecx*2]
mov byte [edx], al
test al, al
je 0x481900
inc edx
inc ecx
cmp ecx, dword [0x50d254]
jle 0x4818f0
mov edi, dword [ebp - 4]
push 0x85
push esi
push 0xffffffffffffffff
push 0x50d778
mov byte [edx], 0
call fcn.0040d5c0
add esp, 0x10
lea esi, [esi + eax*2]
sub esi, 2
cmp esi, dword [ebp - 8]
je 0x481935
cmp word [esi], 0x20
je 0x481927
add esi, 2
cmp ebx, dword [0x50d65c]
jge 0x481949
mov dword [esi], 0xa000d
add esi, 4
inc ebx
cmp ebx, dword [0x50d65c]
jle 0x4818d0
xor eax, eax
push edi
mov word [esi], ax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x485f50
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
cmp word [0x50eff4], 0
push esi
je 0x485f63
call fcn.0048e5e0
mov esi, dword [ebp + 8]
test esi, esi
jne 0x485f84
mov eax, dword [0x5014e0]
push eax
call fcn.00408090
mov ecx, dword [0x5014e0]
push ecx
call fcn.00455d80
add esp, 8
call fcn.00410250
call fcn.00420c50
push esi
call dword [sym.imp.MSVCR100.dll_exit]
int3

Function at 0x486730
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [0x50e6dc]
xor ecx, ecx
cmp eax, ecx
je 0x486744
mov edx, 1
mov word [eax + 0x16], dx
mov eax, dword [0x50eb4c]
inc eax
mov dword [0x50eb4c], eax
cmp eax, 1
jne 0x48675a
mov dword [0x50ed9c], ecx
push str.enl_
mov dword [0x50eaac], ecx
call fcn.00490170
push 0x50eda0
call fcn.00490170
push 0xd
call fcn.00490110
add esp, 0xc
jmp fcn.0048e840

Function at 0x486ac0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
cmp word [0x50eff4], 0
je 0x486af3
mov ecx, dword [ebp + 8]
movzx eax, cl
add eax, 0xfffffff8
cmp eax, 0x77
ja case.0x486ae2.10
movzx eax, byte [eax + 0x486b64]
jmp dword [eax*4 + 0x486b4c]
push 0x20
call fcn.00483cf0
add esp, 4
pop ebp
ret
cmp dword [0x50efa4], 0
je 0x486b0a
push 0x26
call fcn.00483cf0
add esp, 4
pop ebp
ret
push 0x21
call fcn.00483cf0
add esp, 4
pop ebp
ret
push 0x22
call fcn.00483cf0
add esp, 4
pop ebp
ret
push 0x23
call fcn.00483cf0
add esp, 4
pop ebp
ret
push 0x24
call fcn.00483cf0
add esp, 4
pop ebp
ret
push ecx
call fcn.00490110
add esp, 4
pop ebp
jmp fcn.0048e840
Function at 0x48e5e0
Capabilities:
Check for time delay via gettickcount

Disassembly:
xor eax, eax
xor ecx, ecx
mov word [0x50eff4], ax
mov dword [0x50eb50], eax
mov word [0x50e354], cx
call fcn.00490fe0
push 1
call fcn.00485400
mov eax, dword [0x4fac14]
add esp, 4
cmp eax, 0x3e7
je 0x48e686
cmp eax, 0x3e6
je 0x48e686
cmp eax, 0x3e5
jne 0x48e629
call fcn.00454910
jmp 0x48e6b3
mov edx, dword [0x50eae8]
push esi
push edi
push 0
push edx
call dword [sym.imp.KERNEL32.dll_SetCommMask]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov edi, eax
cmp dword [0x50eaec], 0
je 0x48e658
call esi
sub eax, edi
cmp eax, 0x3e8
jb 0x48e644
mov eax, dword [0x50eae8]
push 6
push eax
call dword [sym.imp.KERNEL32.dll_EscapeCommFunction]
mov ecx, dword [0x50eae8]
push 0xf
push ecx
call dword [sym.imp.KERNEL32.dll_PurgeComm]
mov edx, dword [0x50eae8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
jmp 0x48e6b3
call fcn.00478690
cmp dword [0x512128], 0
je 0x48e6b3
mov eax, dword [0x5120e4]
test eax, eax
je 0x48e6b3
mov eax, dword [eax + 0x20]
push 0
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov dword [0x512128], 0
call fcn.0048bc10
mov eax, dword [0x50ded8]
test eax, eax
je 0x48e714
push 0
push eax
call fcn.004012c0
mov ecx, dword [0x50ded8]
push ecx
call fcn.00408090
mov edx, dword [0x50ded8]
push 0
push 0
push edx
call fcn.004370d0
mov eax, dword [0x50ded8]
push str.Connection_closed.
push eax
call fcn.00401270
mov ecx, dword [0x50ded8]
push 0
push 1
push ecx
call fcn.004370d0
mov edx, dword [0x50ded8]
push edx
call fcn.00455d80
add esp, 0x30
push 0
call fcn.00482010
add esp, 4
mov eax, 1
ret
Function at 0x48e730
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4ff94c]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [0x50eae8]
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x24]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ClearCommError]
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x48e799
cmp word [0x50f03c], 0
je 0x48e799
push eax
lea eax, [ebp - 0x10]
push str._CE__u_
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
lea eax, [ebp - 0x10]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x48e783
sub eax, edx
push eax
lea ecx, [ebp - 0x10]
push ecx
call fcn.0048c5e0
add esp, 8
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x18]
cmp eax, ecx
jb 0x48e7a5
mov eax, ecx
mov dword [ebp - 0x20], eax
test eax, eax
je 0x48e831
push 0x50eb54
lea edx, [ebp - 0x20]
push edx
push eax
mov eax, dword [0x50eae8]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x48e82e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x48e7ee
mov ecx, dword [0x50eb64]
push 0x3e8
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x48e7ff
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b7f56
mov esp, ebp
pop ebp
ret
mov eax, dword [0x50eae8]
push 0
lea edx, [ebp - 0x20]
push edx
push 0x50eb54
push eax
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov eax, dword [ebp - 0x20]
add dword [0x50eb5c], eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b7f56
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004b7f56
mov esp, ebp
pop ebp
ret
Function at 0x48e840
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
xor eax, eax
push edi
cmp word [0x50eff4], ax
je 0x48ea75
cmp word [0x50eff8], ax
jne 0x48ea75
mov edi, dword [0x51212c]
cmp edi, eax
jle 0x48ea75
mov ecx, dword [0x5120e8]
push ebx
push esi
mov dword [0x51212c], eax
cmp ecx, eax
je 0x48e8c5
cmp dword [ecx + 0x20], eax
je 0x48e8c5
mov esi, 0x50f1d0
cmp edi, eax
jle 0x48e8a7
mov ebx, edi
movzx eax, byte [esi]
push 1
push eax
call fcn.00456420
mov ecx, dword [0x5120e8]
inc esi
dec ebx
jne 0x48e892
mov ecx, dword [ecx + 0x20]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov edx, dword [0x5120e8]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [0x4fac14]
cmp eax, 0x3e7
je 0x48e96f
cmp eax, 0x3e6
je 0x48e96f
cmp eax, 0x3e5
jne 0x48e901
push edi
push 0x50f1d0
call fcn.004549f0
add esp, 8
pop esi
pop ebx
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret
mov edx, dword [0x50eae8]
push 0x50ed68
lea ecx, [ebp - 0xc]
push ecx
push edi
push 0x50f1d0
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x48e8f5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x48e8f5
mov eax, dword [0x50ed78]
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x48e8f5
mov edx, dword [0x50eae8]
push eax
lea ecx, [ebp - 0xc]
push ecx
push 0x50ed68
push edx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov eax, dword [ebp - 0xc]
add dword [0x50ed70], eax
pop esi
pop ebx
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret
mov dword [ebp - 8], 0x50f1d0
mov dword [ebp - 4], edi
test edi, edi
jle 0x48e8f5
mov edi, dword [sym.imp.USER32.dll_PeekMessageW]
mov ebx, dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [ecx]
push 0x51a120
call fcn.00479390
add esp, 4
cmp eax, 0xa
jg 0x48ea04
mov eax, dword [0x5120e4]
test eax, eax
je 0x48e9bb
mov ecx, dword [eax + 0x20]
push 0
push 0
push 0x44
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
push 1
push 0x44
push 0x44
push 0
lea edx, [ebp - 0x28]
push edx
call edi
test eax, eax
je 0x48e9f2
lea ecx, [ecx]
lea eax, [ebp - 0x28]
push eax
call ebx
lea ecx, [ebp - 0x28]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 1
push 0x44
push 0x44
push 0
lea edx, [ebp - 0x28]
push edx
call edi
test eax, eax
jne 0x48e9d0
push 0x51a120
call fcn.00479390
add esp, 4
cmp eax, 0xa
jle 0x48e9a2
push 0x517880
call fcn.004793c0
mov esi, eax
mov eax, dword [ebp - 4]
add esp, 4
cmp esi, eax
jle 0x48ea1c
mov esi, eax
mov eax, dword [ebp - 8]
mov ecx, dword [0x517884]
push esi
push eax
push ecx
call sub.MSVCR100.dll_memcpy
push esi
push 0x517880
call fcn.004792d0
add dword [ebp - 8], esi
sub dword [ebp - 4], esi
add esp, 0x14
call fcn.0047c200
mov eax, dword [0x5120e4]
test eax, eax
je 0x48ea5f
mov edx, dword [eax + 0x20]
push 0
push 0
push 0x44
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
cmp dword [ebp - 4], 0
jg 0x48e990
pop esi
pop ebx
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret
mov dword [0x51212c], eax
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x490110
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x51212c]
mov cl, byte [ebp + 8]
mov byte [eax + 0x50f1d0], cl
inc eax
mov dword [0x51212c], eax
cmp eax, 0x2edf
jb 0x490134
pop ebp
jmp fcn.0048e840
pop ebp
ret

Function at 0x4901a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push eax
call fcn.00490170
add esp, 4
pop ebp
jmp fcn.0048e840
Function at 0x4909d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [0x513238]
push esi
test ecx, ecx
je 0x490ac2
mov esi, dword [ebp + 8]
lea eax, [esi - 8]
cmp eax, 0x13
ja case.0x4909f8.11
movzx eax, byte [eax + 0x490b20]
jmp dword [eax*4 + 0x490b0c]
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
movsx esi, ax
and esi, 0x80000000
neg esi
sbb esi, esi
and esi, 0xffffffde
add esi, 9
or dword [0x51323c], 8
cmp esi, 0xffffffe5
jne 0x490a50
push esi
call fcn.004930a0
mov esi, eax
add esp, 4
test esi, esi
jne 0x490a50
pop esi
pop ebp
ret
test cl, 4
jne 0x490ab6
call fcn.0040c5a0
xor eax, eax
pop esi
pop ebp
ret
xor esi, esi
or dword [0x51323c], 8
cmp dword [0x509e18], 0
je 0x490a67
cmp esi, 0xffffffd7
je 0x490a67
push esi
call fcn.0041cb50
add esp, 4
mov eax, dword [0x4fac30]
mov ecx, eax
add eax, 4
mov dword [0x4fac30], eax
cmp eax, 0x513200
jb 0x490a87
mov eax, 0x512200
mov dword [0x4fac30], eax
cmp eax, dword [0x4fac2c]
jne 0x490b00
mov dword [0x4fac30], ecx
call fcn.0040c5a0
xor eax, eax
pop esi
pop ebp
ret
or esi, 0xffffffff
jmp 0x490a49
test esi, esi
jle 0x490a1a
test cl, 4
je 0x490a3d
cmp esi, 0x20
jl 0x490a3d
or dword [0x51323c], 4
jmp 0x490a21
cmp dword [ebp + 0xc], 0
jne 0x490a42
mov esi, dword [ebp + 8]
cmp esi, 9
je 0x490ae5
cmp esi, 0x1b
jne 0x490a21
or esi, 0xffffffff
jmp 0x490a50
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x490a50
mov esi, 0xffffffe7
jmp 0x490a50
mov dword [ecx], esi
mov eax, 1
pop esi
pop ebp
ret
Function at 0x492c90
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0x1034
push 1
call fcn.00454380
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventW]
add esp, 8
push 0
mov esi, eax
mov eax, dword [ebp + 8]
push 0
push 0
lea edi, [esi + 4]
push 0
mov dword [esi], 0
mov dword [edi], eax
call ebx
push 0
push 0
push 0
push 0
mov dword [esi + 8], eax
call ebx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0x14]
xor ebx, ebx
mov dword [esi + 0x24], eax
mov eax, dword [0x5132c4]
mov dword [esi + 0x1030], ecx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x20], edx
cmp eax, ebx
jne 0x492d11
push 0x492c70
call fcn.0047f3a0
add esp, 4
mov dword [0x5132c4], eax
push esi
push eax
call fcn.0047f9d0
add esp, 8
lea ecx, [ebp - 4]
push ecx
push ebx
push edi
push 0x4929a0
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
mov dword [esi + 0x1c], 1
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x492d40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0x1034
push 1
call fcn.00454380
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventW]
add esp, 8
push 0
mov esi, eax
mov eax, dword [ebp + 8]
push 0
push 0
lea edi, [esi + 4]
push 0
mov dword [esi], 1
mov dword [edi], eax
call ebx
push 0
push 0
push 0
push 0
mov dword [esi + 8], eax
call ebx
mov ecx, dword [ebp + 0x10]
xor ebx, ebx
lea edx, [esi + 0x38]
push edx
mov dword [esi + 0xc], eax
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x20], ecx
call fcn.004542d0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
mov dword [esi + 0x44], eax
mov eax, dword [0x5132c4]
add esp, 4
mov dword [esi + 0x24], ecx
cmp eax, ebx
jne 0x492dcd
push 0x492c70
call fcn.0047f3a0
add esp, 4
mov dword [0x5132c4], eax
push esi
push eax
call fcn.0047f9d0
add esp, 8
lea edx, [ebp - 4]
push edx
push ebx
push edi
push 0x492b30
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x493050
Capabilities:
Query environment variable

Disassembly:
push str.DISPLAY
call dword [sym.imp.MSVCR100.dll_getenv]
push eax
call fcn.00454630
add esp, 8
ret
Function at 0x494ff0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x4ff94c]
xor eax, ebp
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push 4
push eax
call fcn.004713c0
add esp, 8
call dword [sym.imp.USER32.dll_GetCapture]
lea ecx, [ebp - 0x48]
push 4
push ecx
mov dword [ebp - 0x48], eax
call fcn.004713c0
add esp, 8
call dword [sym.imp.USER32.dll_GetClipboardOwner]
lea edx, [ebp - 0x48]
push 4
push edx
mov dword [ebp - 0x48], eax
call fcn.004713c0
add esp, 8
push 0x4bf
call dword [sym.imp.USER32.dll_GetQueueStatus]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push 4
push eax
call fcn.004713c0
add esp, 8
lea ecx, [ebp - 0x54]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
lea edx, [ebp - 0x54]
push 8
push edx
call fcn.004713c0
add esp, 8
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
lea ecx, [ebp - 0x44]
push 0x20
push ecx
call fcn.004713c0
add esp, 8
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadTimes]
lea eax, [ebp - 0x24]
push 0x20
push eax
call fcn.004713c0
add esp, 8
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
lea edx, [ebp - 0x24]
push 0x20
push edx
call fcn.004713c0
mov ecx, dword [ebp - 4]
xor ecx, ebp
add esp, 8
call fcn.004b7f56
mov esp, ebp
pop ebp
ret

Function at 0x495150
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x468
mov eax, dword [0x4ff94c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push 0x20e
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x214]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x495183
mov ecx, dword [0x4e76fc]
mov dx, word [0x4e7700]
mov dword [eax], ecx
mov word [eax + 4], dx
lea eax, [ebp - 0x464]
push eax
lea ecx, [ebp - 0x214]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4951eb
push edi
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea edx, [ebp - 0x464]
push 0x250
push edx
call ebx
add esp, 8
lea eax, [ebp - 0x464]
push eax
push esi
call edi
test eax, eax
jne 0x4951c4
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea ecx, [ebp - 0x468]
push 4
push ecx
mov dword [ebp - 0x468], eax
call ebx
push ebx
call fcn.00455510
add esp, 0xc
call fcn.00494f50
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004b7f56
mov esp, ebp
pop ebp
ret
Function at 0x4954b0
Capabilities:
Create pipe
Create process on windows
Create reverse shell
Create two anonymous pipes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x28]
sub esp, 0x6c
cmp dword [eax + 0x428], 5
je 0x4954c8
xor eax, eax
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
push eax
mov eax, dword [ebp + 0x10]
push eax
push ecx
call fcn.00453460
mov ebx, eax
push ebx
push str.Starting_local_proxy_command:__s
call fcn.004548f0
mov esi, eax
push esi
xor edi, edi
push edi
call fcn.00455060
push esi
call fcn.004544e0
push 0x20
push 1
call fcn.00454380
mov edx, dword [ebp + 0x24]
add esp, 0x28
mov esi, eax
push edi
mov dword [esi + 0x18], edx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 4]
mov dword [esi], 0x4e7720
mov dword [esi + 0x14], edi
push ecx
lea edx, [ebp + 0x28]
push edx
mov dword [ebp - 0x18], 0xc
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], 1
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x495565
push edi
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x49557e
mov eax, dword [ebp + 0x28]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
mov ecx, dword [ebp - 4]
push ecx
call edi
push str.Unable_to_create_pipes_for_proxy_command
call fcn.004548f0
add esp, 4
mov dword [esi + 0x14], eax
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0xc]
push edi
push 1
push edx
call dword [sym.imp.KERNEL32.dll_SetHandleInformation]
mov eax, dword [ebp + 0x28]
push edi
push 1
push eax
call dword [sym.imp.KERNEL32.dll_SetHandleInformation]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
xor ecx, ecx
mov word [ebp - 0x3a], cx
lea ecx, [ebp - 0x28]
push ecx
mov dword [ebp - 0x34], edx
lea edx, [ebp - 0x6c]
push edx
push edi
push edi
push 0x8000020
push 1
push edi
push edi
push ebx
push edi
mov dword [ebp - 0x6c], 0x44
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x40], 0x100
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov eax, dword [ebp - 8]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call ebx
mov ecx, dword [ebp - 4]
push ecx
call ebx
mov edx, dword [ebp - 0xc]
mov dword [esi + 4], edx
mov eax, dword [ebp + 0x28]
push edi
push esi
mov dword [esi + 8], eax
mov ecx, dword [ebp + 0x28]
push 0x495370
push ecx
call fcn.00492c90
mov edx, dword [esi + 4]
push edi
push esi
push 0x4953d0
push edx
mov dword [esi + 0x10], eax
call fcn.00492d40
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 8]
push eax
call fcn.00493f90
add esp, 0x24
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49a7d0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x58], ecx
ret
Function at 0x4a53e0
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x88
call fcn.004b81c0
mov eax, dword [0x4ff94c]
xor eax, esp
mov dword [esp + 0x84], eax
push ebx
push ebp
mov ebp, dword [esp + 0x94]
push esi
push 0xdc
push str..crypto_randmd_rand.c
push 0x10
push 9
call fcn.00499490
add esp, 0x10
cmp dword [0x4fe634], 0
je 0x4a54be
push 0xe1
push str..crypto_randmd_rand.c
push 0x10
push 0xa
mov dword [0x4fe634], 0
call fcn.00499490
lea eax, [esp + 0x24]
push 0x5c
push eax
call fcn.004a5240
push 0
call dword [sym.imp.MSVCR100.dll__time64]
lea ecx, [esp + 0x2c]
push 4
push ecx
mov dword [esp + 0x34], eax
call fcn.004a5240
push 0x4cce30
push str._dev_urandom
call dword [sym.imp.MSVCR100.dll_fopen]
mov esi, eax
add esp, 0x2c
test esi, esi
je 0x4a54a8
push esi
push 0x20
lea edx, [esp + 0x78]
push 1
push edx
call dword [sym.imp.MSVCR100.dll_fread]
push esi
call dword [sym.imp.MSVCR100.dll_fclose]
lea eax, [esp + 0x84]
push 0x20
push eax
call fcn.004a5240
add esp, 0x1c
push 0x107
push str..crypto_randmd_rand.c
push 0x10
push 9
call fcn.00499490
add esp, 0x10
mov eax, dword [0x5140ac]
mov esi, dword [esp + 0x9c]
mov ecx, dword [0x5140a8]
mov ebx, eax
add eax, esi
mov dword [esp + 0xc], ecx
mov dword [0x5140ac], eax
cmp eax, ecx
jle 0x4a54ea
cdq
idiv ecx
mov dword [0x5140ac], edx
push pe_nt_image_headers32
push str..crypto_randmd_rand.c
push 0x10
push 0xa
call fcn.00499490
add esp, 0x10
test esi, esi
jle 0x4a55e3
push edi
jmp 0x4a5517
mov esi, dword [esp + 0xa0]
mov edi, 8
cmp esi, 8
jge 0x4a5523
mov edi, esi
lea ecx, [esp + 0x18]
sub esi, edi
push ecx
mov dword [esp + 0xa4], esi
call fcn.0049a7d0
push 8
lea edx, [esp + 0x20]
push 0x5140a0
push edx
call fcn.0049a800
push edi
lea eax, [esp + 0x2c]
push ebp
push eax
call fcn.0049a800
mov esi, edi
sub esi, dword [esp + 0x2c]
add esp, 0x1c
add esi, ebx
lea edx, [ebx + 0x513c88]
lea eax, [esp + 0x18]
test esi, esi
jle 0x4a558d
mov ecx, edi
sub ecx, esi
push ecx
push edx
push eax
call fcn.0049a800
push esi
lea ecx, [esp + 0x28]
push 0x513c88
push ecx
call fcn.0049a800
add esp, 0x18
jmp 0x4a5598
push edi
push edx
push eax
call fcn.0049a800
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
push 0x514098
call fcn.0049ab50
add esp, 8
xor eax, eax
test edi, edi
jle 0x4a55d4
cmp ebx, dword [esp + 0x10]
jl 0x4a55b8
xor ebx, ebx
mov dl, byte [eax + 0x514098]
xor byte [ebx + 0x513c88], dl
mov cl, byte [eax + 0x5140a0]
mov byte [ebp], cl
inc eax
inc ebx
inc ebp
cmp eax, edi
jl 0x4a55b0
cmp dword [esp + 0xa0], 0
jg 0x4a5510
pop edi
lea edx, [esp + 0x14]
push edx
call fcn.0049a7d0
push 4
lea eax, [esp + 0x1c]
push 0x5140b0
push eax
call fcn.0049a800
inc dword [0x5140b0]
push 0x10
lea ecx, [esp + 0x28]
push 0x514098
push ecx
call fcn.0049a800
lea edx, [esp + 0x30]
push edx
push 0x514098
call fcn.0049ab50
mov ecx, dword [esp + 0xb4]
add esp, 0x24
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b7f56
add esp, 0x88
ret