joyce8/EMBER2024-capa huggingface dataset:
Function at 0x449b22
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 4]
push ecx
push edx
push 0x4a7630
mov dword [ebp + 0xc], 0
call fcn.00441dc8
test al, al
jne 0x449b54
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp - 4]
mov ecx, dword [0x4a7690]
mov edx, dword [ecx + eax*4]
mov eax, dword [edx]
mov ecx, dword [0x4a76a4]
mov edx, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ecx + edx*4]
push ebx
mov ebx, dword [eax]
push edi
mov edi, dword [ebx]
cmp esi, 0xffffffff
je 0x449bfa
movzx eax, byte [ebx + 0x88]
add eax, 0xfffffffe
cmp eax, 0x14
ja case.0x449b92.4
movzx ecx, byte [eax + 0x449cbe]
jmp dword [ecx*4 + 0x449ca2]
pop edi
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0xc
or esi, 0xe
jmp case.0x449b92.4
or esi, 3
jmp case.0x449b92.4
or esi, 4
push 0
test esi, 0x800
je 0x449bcb
push 1
push 0xcf
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x449b92.4
push 0
push 0xcf
push edi
or esi, 0x10000
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x449b92.4
or esi, 0x4000000
or esi, 0x50000000
push esi
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov dword [ebp + 0xc], eax
mov esi, dword [ebp + 0x10]
cmp esi, 0xffffffff
je 0x449c38
push esi
push 0xffffffffffffffec
push edi
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov edx, dword [0x4a76a4]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 8]
mov ecx, dword [edx + eax*4]
mov edx, dword [ecx]
cmp byte [edx + 0x88], 0x13
jne 0x449c38
push esi
push 0
push 0x1036
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp + 0xc], eax
mov al, byte [ebx + 0x8b]
cmp al, 0xff
je 0x449c5b
mov ecx, dword [ebp - 4]
movzx eax, al
cmp eax, dword [ecx + 0x194]
je 0x449c5b
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x449c67
mov edx, dword [ebp - 4]
push 1
push ebx
push edx
call fcn.00430b92
mov al, byte [ebx + 0x88]
cmp al, 2
je 0x449c7a
cmp al, 3
je 0x449c7a
cmp esi, 0xffffffff
je 0x449c8f
mov eax, dword [ebx]
push 0x27
push 0
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
xor eax, eax
cmp dword [ebp + 0xc], eax
pop edi
pop ebx
setne al
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x44ac9c
Capabilities:
Connect to http server

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [ebp + 0x10], 0
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
je 0x44acc5
mov eax, dword [ebp + 0x14]
push eax
push esi
push edi
call fcn.0044ab6f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ebx, dword [esi + 0x70]
mov ecx, dword [edi + 0x54]
mov eax, dword [esi + 0x30]
mov edx, dword [esi + 0x10]
push 0
push 0
push ebx
push eax
movzx eax, word [esi + 0x78]
mov dword [ebp + 0x10], ecx
mov ecx, dword [esi + 0x20]
push ecx
mov ecx, dword [edi + 4]
push eax
push edx
push ecx
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [edi], eax
push 0
test eax, eax
jne 0x44ad0c
push 0xdeadbeef
push 0x15
push edi
call fcn.00442597
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edx, dword [ebp + 0x10]
mov esi, dword [esi + 0x60]
push edx
push accept
push esi
push eax
call dword [sym.imp.WININET.dll_FtpOpenFileW]
mov esi, eax
mov eax, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 8], esi
mov dword [ebp - 4], eax
test esi, esi
jne 0x44ad3b
push esi
push 0xdeadbeef
push 0x16
jmp 0x44ad83
lea edx, [ebp + 0x10]
push edx
push esi
call dword [sym.imp.WININET.dll_FtpGetFileSize]
mov ecx, dword [ebp + 0x10]
mov dword [ebp + 0xc], eax
xor eax, eax
or eax, dword [ebp + 0xc]
xor edx, edx
or ecx, edx
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], ecx
cmp byte [ebp + 0x14], dl
je 0x44ad7d
push esi
push edi
call fcn.004427bf
mov bl, al
lea eax, [ebp - 8]
push eax
call fcn.004317ae
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 1
push 0
push 0
push edi
call fcn.00442597
lea ecx, [ebp - 8]
push ecx
mov bl, al
call fcn.004317ae
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x44ad9f
Capabilities:
Connect to http server
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
mov esi, dword [ebp + 0xc]
cmp dword [esi + 0x74], 4
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x54]
mov dword [ebp + 0xc], eax
jne 0x44adc1
or dword [ebp + 0xc], 0x800000
mov ebx, dword [esi + 0x70]
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x10]
push 0
push 0
push ebx
push eax
push ecx
movzx ecx, word [esi + 0x78]
push ecx
push edx
mov edx, dword [edi + 4]
push edx
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [edi], eax
push 0
test eax, eax
jne 0x44ae02
push 0xdeadbeef
push 0xb
push edi
call fcn.00442597
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edx, dword [ebp + 0xc]
mov ecx, dword [esi + 0x60]
push edx
push 0
push 0
push 0
push ecx
push 0
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov ebx, eax
mov eax, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 8], ebx
mov dword [ebp - 4], eax
test ebx, ebx
jne 0x44ae4e
push ebx
push 0xdeadbeef
push 0xc
push edi
call fcn.00442597
lea ecx, [ebp - 8]
push ecx
mov bl, al
call fcn.004317ae
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp byte [ebp + 0x10], 0
je 0x44ae5c
push esi
push ebx
push edi
call fcn.004427e2
test dword [ebp + 0xc], 0x1000
je 0x44ae93
lea edx, [ebp + 0xc]
push edx
lea eax, [ebp + 0x10]
push eax
push 0x1f
push ebx
mov dword [ebp + 0xc], 4
call dword [sym.imp.WININET.dll_InternetQueryOptionW]
or dword [ebp + 0x10], 0x100
push 4
lea ecx, [ebp + 0x10]
push ecx
push 0x1f
push ebx
call dword [sym.imp.WININET.dll_InternetSetOptionW]
push 0
push 0
push 0
push 0
push ebx
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x44af31
push ebx
call fcn.00431838
cmp eax, 0xc8
jne 0x44af31
lea edx, [ebp + 0x10]
push edx
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x28]
push ecx
push 5
push ebx
mov dword [ebp + 0x10], 0
mov dword [ebp + 0xc], 0x20
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
lea edx, [ebp - 0x28]
push edx
call fcn.0041333b
add esp, 4
cmp byte [ebp + 0x14], 0
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], edx
je 0x44af0f
push ebx
push edi
call fcn.004427bf
mov bl, al
lea eax, [ebp - 8]
push eax
call fcn.004317ae
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 1
push 0
push 0
push edi
call fcn.00442597
lea ecx, [ebp - 8]
push ecx
mov bl, al
call fcn.004317ae
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0
push 0xdeadbeef
push 0xd
push edi
call fcn.00442597
lea edx, [ebp - 8]
push edx
mov bl, al
call fcn.004317ae
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x44b31e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe0
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0xdc]
push eax
call fcn.00442f67
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0xdc]
push edx
call fcn.00442ec1
xor esi, esi
test edi, edi
je 0x44b366
lea eax, [ebp - 0xdc]
push eax
call fcn.00442f36
xor byte [esi + ebx], al
inc esi
cmp esi, edi
jb 0x44b352
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x44b633
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
dec dword [0x49105c]
jne 0x44b644
call fcn.00443119
mov ecx, dword [0x4a653c]
mov eax, dword [ecx]
add ecx, 4
mov dword [0x4a653c], ecx
mov ecx, eax
shr ecx, 0xb
xor eax, ecx
mov edx, eax
and edx, 0xff3a58ad
shl edx, 7
xor eax, edx
mov ecx, eax
and ecx, 0xffffdf8c
shl ecx, 0xf
xor eax, ecx
mov edx, eax
shr edx, 0x12
xor edx, eax
mov dword [ebp - 4], edx
fild dword [ebp - 4]
jns 0x44b68b
fadd qword [0x48bd20]
fmul qword [0x48bd28]
mov esp, ebp
pop ebp
ret

Function at 0x44b7b8
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10010
call fcn.004223e0
push esi
mov esi, dword [ebp + 8]
push edi
lea edi, [esi + 0x34]
push 0x1f5
push edi
mov dword [ebp - 0x10], edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 0xffff
mov dword [esi + 0x10], 0xffff
call fcn.00411777
mov edx, dword [esi + 0x2c]
add esp, 4
push 0
mov dword [esi + 8], eax
lea eax, [ebp - 4]
push eax
push 0xffff
lea ecx, [ebp - 0x10010]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x44b8e1
push ebx
cmp dword [ebp - 4], 0
jbe 0x44b8e0
lea ebx, [esi + 0x14]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0xc]
add eax, dword [ebp - 4]
cmp dword [esi + 0x10], eax
jae 0x44b895
mov ecx, dword [esi + 0xc]
add ecx, dword [ebp - 4]
mov edi, dword [esi + 8]
mov dword [ebp + 8], ecx
fild dword [ebp + 8]
jns 0x44b84e
fadd qword [0x48bd20]
fmul qword [0x48bd58]
fnstcw word [ebp + 0xa]
movzx eax, word [ebp + 0xa]
or eax, 0xc00
mov dword [ebp - 8], eax
fldcw word [ebp - 8]
fistp qword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
push eax
mov dword [esi + 0x10], eax
fldcw word [ebp + 0xa]
call fcn.00411777
mov edx, dword [esi + 0xc]
push edx
mov dword [esi + 8], eax
mov eax, dword [esi + 8]
push edi
push eax
call fcn.00411000
push edi
call fcn.0041137c
mov edi, dword [ebp - 0x10]
add esp, 0x14
mov ecx, dword [ebp - 4]
mov eax, dword [esi + 0xc]
add eax, dword [esi + 8]
push ecx
lea edx, [ebp - 0x10010]
push edx
push eax
call fcn.00411000
mov ecx, dword [ebp - 4]
add dword [esi + 0xc], ecx
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esi + 0x2c]
push 0
lea edx, [ebp - 4]
push edx
push 0xffff
lea eax, [ebp - 0x10010]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x44b818
pop ebx
push 0x1f6
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
pop edi
mov eax, 0x1f6
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x44b96a
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x30], 0
lea esi, [edi + 0x30]
je 0x44b9d4
mov eax, dword [edi + 0x34]
push ebx
lea ebx, [edi + 0x34]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp eax, 0x1f6
je 0x44b9d3
add edi, 0x14
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esi]
push 0x1f6
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [esi]
push 0x3e8
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call fcn.00432545
add esp, 4
push 0x1f6
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop ebx
pop edi
pop esi
pop ebp
ret 4

Function at 0x44b9da
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x30], 0
jne 0x44ba00
lea eax, [ebp + 8]
push eax
push 0
push esi
push 0x44b8fa
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x30], eax
pop esi
pop ebp
ret 4

Function at 0x44be5f
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
sub esp, 0x22c
lea eax, [ebp - 0x22c]
call fcn.004102e0
lea eax, [ebp - 0x22c]
push eax
call fcn.004338cf
add esp, 4
test al, al
jne 0x44be8d
mov esp, ebp
pop ebp
ret
push ebx
xor ebx, ebx
cmp byte [ebp + 0xc], bl
jne 0x44beac
lea ecx, [ebp - 0x22c]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne al
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x22c]
push edx
call fcn.00411361
xor ecx, ecx
mov word [ebp + eax*2 - 0x22a], cx
add esp, 4
lea ecx, [ebp - 0x20]
lea edx, [ebp - 0x22c]
mov eax, 0x614
push ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xa], ebx
mov dword [ebp - 6], ebx
mov dword [ebp - 0xe], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], 3
mov word [ebp - 0x10], ax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
sete al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44bf01
Capabilities:
Copy file
Move file

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
sub esp, 0x438
push ebx
mov bl, byte [ebp + 0x10]
lea eax, [ebp - 0x438]
call fcn.004102e0
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x22c]
call fcn.004102e0
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x438]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x44bf7b
test bl, bl
je 0x44bfa5
lea edx, [ebp - 0x22c]
push edx
lea eax, [ebp - 0x438]
push eax
call fcn.004132dc
add esp, 8
test eax, eax
je 0x44bf74
lea ecx, [ebp - 0x22c]
push ecx
lea edx, [ebp - 0x438]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x438]
push eax
call fcn.004338cf
add esp, 4
test al, al
je 0x44bfa5
lea ecx, [ebp - 0x22c]
push ecx
call fcn.004338cf
add esp, 4
test al, al
je 0x44bfac
test bl, bl
jne 0x44bfd2
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x22c]
push edx
call fcn.00433504
add esp, 4
test al, al
je 0x44bfa5
lea eax, [ebp - 0x22c]
push eax
call fcn.004338cf
add esp, 4
test al, al
je 0x44bfa5
lea ecx, [ebp - 0x438]
push str..
push ecx
call fcn.004116d6
lea edx, [ebp - 0x438]
push edx
call fcn.00411361
lea edx, [ebp - 0x22c]
xor ecx, ecx
push edx
mov word [ebp + eax*2 - 0x436], cx
call fcn.00411361
xor ecx, ecx
mov word [ebp + eax*2 - 0x22a], cx
lea edx, [ebp - 0x438]
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x18], edx
add esp, 0x10
mov dword [ebp - 0x14], eax
xor eax, eax
lea edx, [ebp - 0x20]
mov ecx, 0x614
push edx
mov dword [ebp - 0xa], eax
mov dword [ebp - 6], eax
mov dword [ebp - 0xe], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 2
mov word [ebp - 0x10], cx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
sete al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44c056
Capabilities:
Copy file
Delete file
Enumerate files on windows
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x10b4
call fcn.004223e0
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
lea eax, [esp + 0x438]
xor bl, bl
call fcn.004102e0
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x648]
call fcn.004102e0
lea eax, [esp + 0x648]
push eax
lea ecx, [esp + 0x43c]
push ecx
call fcn.0043383f
lea edx, [esp + 0x440]
push edx
mov byte [esp + 0x1b], al
call fcn.004338cf
add esp, 0xc
test al, al
je 0x44c0cb
lea eax, [esp + 0x438]
push str..
push eax
call fcn.004116d6
add esp, 8
lea ecx, [esp + 0x648]
push ecx
call fcn.004338cf
add esp, 4
test al, al
je 0x44c0f4
lea edx, [esp + 0x648]
push str..
push edx
call fcn.004116d6
add esp, 8
lea eax, [esp + 0xcb0]
push eax
lea ecx, [esp + 0xebc]
push ecx
lea edx, [esp + 0xab0]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x448]
push ecx
call fcn.00413bbe
add esp, 0x14
lea edx, [esp + 0x858]
push edx
lea eax, [esp + 0x43c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov byte [esp + 0xe], 1
cmp esi, 0xffffffff
je 0x44c2aa
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp byte [esp + 0xe], 1
jne 0x44c2aa
test byte [esp + 0x858], 0x10
jne 0x44c28a
lea ecx, [esp + 0x228]
push ecx
lea edx, [esp + 0x64c]
push edx
lea eax, [esp + 0xcb8]
push eax
lea ecx, [esp + 0xec4]
push ecx
lea edx, [esp + 0x894]
push edx
call fcn.004336bb
add esp, 0x14
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00411707
lea edx, [esp + 0xab0]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.004116d6
lea ecx, [esp + 0x894]
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.004116d6
lea eax, [esp + 0x240]
push eax
call fcn.00433931
add esp, 0x1c
test al, al
je 0x44c208
cmp byte [ebp + 0x10], 0
je 0x44c261
lea ecx, [esp + 0x228]
push ecx
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x44c271
lea eax, [esp + 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp byte [ebp + 0x14], 1
jne 0x44c24c
cmp byte [esp + 0xf], 0
jne 0x44c22a
lea ecx, [esp + 0x228]
push ecx
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
jmp 0x44c25d
push 0
lea eax, [esp + 0x22c]
push eax
lea ecx, [esp + 0x20]
push ecx
call edi
test eax, eax
je 0x44c261
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x44c25d
push 0
lea eax, [esp + 0x22c]
push eax
lea ecx, [esp + 0x20]
push ecx
call edi
test eax, eax
jne 0x44c288
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [esp + 0x228]
push edx
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x44c261
mov bl, 1
lea ecx, [esp + 0x858]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x44c14d
mov byte [esp + 0xe], al
jmp 0x44c14d
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44c2ba
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa88
mov ecx, dword [ebp + 8]
push ebx
push esi
lea eax, [esp + 0x18]
mov byte [esp + 0xf], 0
call fcn.004102e0
lea eax, [esp + 0x18]
push eax
call fcn.004338cf
add esp, 4
test al, al
je 0x44c2fc
lea ecx, [esp + 0x18]
push str..
push ecx
call fcn.004116d6
add esp, 8
lea edx, [esp + 0x680]
push edx
lea eax, [esp + 0x88c]
push eax
lea ecx, [esp + 0x480]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x28]
push eax
call fcn.00413bbe
add esp, 0x14
lea ecx, [esp + 0x228]
push ecx
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov bl, 1
cmp esi, 0xffffffff
je 0x44c3c1
cmp bl, 1
jne 0x44c3c1
test byte [esp + 0x228], 0x10
jne 0x44c39b
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x17], bl
call fcn.00411707
lea edx, [esp + 0x480]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.004116d6
lea ecx, [esp + 0x264]
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.004116d6
add esp, 0x18
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, 1
jne 0x44c3b2
lea ecx, [esp + 0x228]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x44c342
xor bl, bl
jmp 0x44c342
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor al, al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, byte [esp + 0xf]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44c693
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x20], 0
push esi
push edi
mov edi, dword [ebp + 0xc]
mov al, byte [edi]
mov cl, byte [edi + 7]
movzx esi, word [edi + 8]
mov byte [ebp + 0xc], al
mov byte [ebp + 8], cl
je 0x44c7a0
cmp al, 0x14
je 0x44c7a0
cmp al, 0x90
je 0x44c7a0
cmp al, 0x91
je 0x44c7a0
push edi
call fcn.004347d8
test al, al
je 0x44c81e
lea edx, [ebp - 0x11c]
push edx
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x44c715
movzx eax, byte [ebp + 0xc]
xor byte [ebp + eax - 0x11c], 0x80
lea eax, [ebp + eax - 0x11c]
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.USER32.dll_SetKeyboardState]
movzx esi, byte [ebp + 8]
shl esi, 0x10
push edi
or esi, 0xc0000001
call fcn.00444c6b
cmp al, 1
jne 0x44c732
or esi, 0x1000000
cmp byte [ebx + 0x17], 0
jne 0x44c768
cmp byte [ebx + 0x1d], 0
jne 0x44c768
mov al, byte [ebp + 0xc]
cmp al, 0x12
je 0x44c76b
mov ecx, dword [ebx + 0x20]
push esi
movzx eax, al
push eax
push 0x101
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
push ebx
call fcn.00434705
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov al, byte [ebp + 0xc]
cmp byte [ebx + 0x16], 0
jne 0x44c745
cmp byte [ebx + 0x1c], 0
jne 0x44c745
mov edx, dword [ebx + 0x20]
movzx ecx, al
or esi, 0x20000000
push esi
push ecx
push 0x105
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
push ebx
call fcn.00434705
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push edi
call fcn.004347d8
test al, al
je 0x44c7f2
push edi
call fcn.00444c6b
cmp al, 1
jne 0x44c7d3
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push 3
push edx
push eax
push ebx
call fcn.00434679
push ebx
call fcn.00434705
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
push 2
push ecx
push edx
push ebx
call fcn.00434679
push ebx
call fcn.00434705
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x1c
lea ecx, [ebp - 0x1c]
xor eax, eax
push ecx
push 1
mov dword [ebp - 0x1c], 1
mov word [ebp - 0x18], ax
mov word [ebp - 0x16], si
mov dword [ebp - 0x14], 6
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.USER32.dll_SendInput]
push ebx
call fcn.00434705
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x44ca0f
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov edi, dword [ebp + 0xc]
mov byte [esi + 7], bl
mov word [esi], 0xff
mov dword [esi + 2], ebx
mov byte [esi + 6], bl
push esi
mov byte [esi + 0xa], bl
mov word [esi + 8], di
call fcn.004347c5
test al, al
je 0x44ca4c
push edi
call dword [sym.imp.USER32.dll_VkKeyScanW]
movzx eax, ax
cmp ax, 0xffff
jne 0x44ca55
xor al, al
pop edi
pop esi
pop ebx
pop ebp
ret 8
movzx edx, al
mov ecx, eax
push ebx
sar ecx, 8
push edx
mov byte [esi], al
mov byte [ebp + 0xf], cl
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
mov cl, byte [ebp + 0xf]
mov byte [esi + 7], al
mov al, 1
test al, cl
je 0x44ca79
mov byte [esi + 1], al
test cl, 2
je 0x44ca81
mov byte [esi + 3], al
test cl, 4
je 0x44ca4e
pop edi
mov byte [esi + 4], al
pop esi
pop ebx
pop ebp
ret 8
Function at 0x45273b
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x27c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea esi, [ebp - 0x10]
mov dword [ebp - 0x14], ecx
call fcn.00401c20
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
inc dword [eax]
mov dword [ebp - 0x18], eax
mov edi, 0x489b2c
mov eax, esi
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], edx
call fcn.0040d4d0
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x278]
push eax
push ecx
mov bl, 1
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x4528a4
nop
mov edx, dword [ebp - 0x14]
push edx
call fcn.00442d90
cmp eax, 1
je 0x4528a2
cmp eax, 0xb
jne 0x4527bc
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x45279b
lea eax, [ebp - 0x24c]
push 0x486cac
push eax
call fcn.004132dc
add esp, 8
test eax, eax
je 0x452887
lea ecx, [ebp - 0x24c]
push 0x489b34
push ecx
call fcn.004132dc
add esp, 8
test eax, eax
je 0x452887
lea edx, [ebp - 0x24]
push edx
lea esi, [ebp - 0x10]
call fcn.0040e400
lea edi, [ebp - 0x24c]
mov eax, esi
call fcn.0040d4d0
test byte [ebp - 0x278], 0x10
je 0x45285e
cmp byte [ebp + 0x18], 0
mov esi, dword [ebp + 0x14]
je 0x452826
add dword [esi], 1
adc dword [esi + 4], 0
cmp byte [ebp + 0x1c], 0
je 0x452887
mov edi, 0x484668
lea eax, [ebp - 0x10]
call fcn.0040d4d0
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x10]
push esi
push edx
push eax
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.0045273b
mov bl, al
test bl, bl
je 0x4528a4
jmp 0x452887
mov ecx, dword [ebp - 0x25c]
mov eax, dword [ebp + 0xc]
xor edx, edx
or edx, dword [ebp - 0x258]
xor esi, esi
or ecx, esi
add dword [eax], edx
adc dword [eax + 4], ecx
cmp byte [ebp + 0x18], 0
je 0x452887
mov eax, dword [ebp + 0x10]
add dword [eax], 1
adc dword [eax + 4], esi
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x278]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x45279b
jmp 0x4528a4
xor bl, bl
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x24]
call fcn.00402250
lea ecx, [ebp - 0x10]
call fcn.00402250
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0x18