joyce8/EMBER2024-capa huggingface dataset:
Function at 0x481860
Capabilities:
Print debug messages
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1120
call fcn.004c2450
mov eax, dword [0x4fb164]
xor eax, esp
mov dword [esp + 0x111c], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push edi
mov edi, dword [sym.imp.WS2_32.dll_recvfrom]
lea esp, [esp]
push 0x1000
lea eax, [esp + 0x124]
push 0
push eax
mov dword [esp + 0x18], 0x10
call fcn.004a6f40
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esi + 8]
lea edx, [esp + 0x14]
push edx
push 0
push 0x1000
lea eax, [esp + 0x130]
push eax
push ecx
call edi
cmp eax, 0xffffffff
jne 0x4818e9
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2746
jne 0x481944
push str.unreachable_host__n
call ebx
jmp 0x481890
cmp byte [esp + 0x120], 0x52
jne 0x481890
cmp byte [esp + 0x121], 0x45
jne 0x481890
cmp byte [esp + 0x122], 0x51
jne 0x481890
push str.REQ_received__n
call ebx
mov edx, dword [esp + 0x12c]
mov eax, dword [esp + 0x128]
push edx
mov edx, dword [esi + 8]
push eax
lea ecx, [esp + 0x18]
push ecx
push edx
call fcn.004813f0
add esp, 0x10
cmp eax, 0xffffffff
jne 0x481890
push str.failed_to_send_ack__n
call ebx
jmp 0x481890
push eax
push str.recvfrom_failed___err:__d__n
mov eax, 0xff
lea edi, [esp + 0x28]
call fcn.0040a3a0
add esp, 8
test eax, eax
je 0x481964
mov eax, edi
push eax
call ebx
mov ecx, dword [esp + 0x1124]
pop edi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.004a2094
mov esp, ebp
pop ebp
ret
Function at 0x481f90
Capabilities:
Print debug messages
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1130
call fcn.004c2450
mov eax, dword [0x4fb164]
xor eax, esp
mov dword [esp + 0x112c], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push edi
mov edi, dword [sym.imp.USER32.dll_PostMessageA]
lea esp, [esp]
push 0x1000
lea eax, [esp + 0x134]
push 0
push eax
mov dword [esp + 0x18], 0x10
call fcn.004a6f40
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esi + 0x10]
lea edx, [esp + 0x24]
push edx
push 0
push 0x1000
lea eax, [esp + 0x140]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_recvfrom]
cmp eax, 0xffffffff
jne 0x482049
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2746
jne 0x482102
push 0
push ecx
lea edx, [esp + 0x28]
push edx
mov eax, esi
call fcn.00481e60
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 8]
movzx eax, ax
add esp, 4
or eax, 0x27460000
push eax
push ecx
push edx
call edi
push str.unreachable_host__n
call ebx
jmp 0x481fc0
cmp byte [esp + 0x130], 0x41
jne 0x4820f6
cmp byte [esp + 0x131], 0x43
jne 0x4820f6
cmp byte [esp + 0x132], 0x4b
jne 0x4820f6
cmp dword [esi + 0x18], 0
je 0x48208e
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
jmp 0x482096
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ecx, ecx
sub eax, dword [esp + 0x138]
sbb ecx, dword [esp + 0x13c]
cmp dword [esi + 0x18], 0
je 0x4820cb
push 0
push 0x3e8
push ecx
push eax
call fcn.004bc5e0
mov ecx, dword [esi + 0x24]
push ecx
mov ecx, dword [esi + 0x20]
push ecx
push edx
push eax
call fcn.004cacb0
mov dword [esp + 0x1c], edx
push eax
push ecx
lea edx, [esp + 0x28]
push edx
mov eax, esi
call fcn.00481e60
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 8]
add esp, 4
movzx eax, ax
push eax
push ecx
push edx
call edi
push str.ACK_received__n
call ebx
jmp 0x481fc0
push str.unknown_datagram_received__n
call ebx
jmp 0x481fc0
push eax
push str.recvfrom_failed___err:__d__n
mov eax, 0xff
lea edi, [esp + 0x38]
call fcn.0040a3a0
add esp, 8
test eax, eax
je 0x482122
mov eax, edi
push eax
call ebx
mov ecx, dword [esp + 0x1134]
pop edi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.004a2094
mov esp, ebp
pop ebp
ret

Function at 0x483210
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4cd9a3
mov eax, dword fs:[0]
push eax
mov eax, dword [0x4fb164]
xor eax, esp
push eax
lea eax, [esp + 4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov edx, 0xf
mov dword [eax + 0x18], edx
mov dword [eax + 0x14], ecx
mov byte [eax + 4], cl
mov dword [esp + 0xc], ecx
mov dword [eax + 0x50], edx
mov dword [eax + 0x4c], ecx
mov byte [eax + 0x3c], cl
mov byte [esp + 0xc], 1
or edx, 0xffffffff
mov dword [eax + 0x1c], edx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], edx
mov dword [eax + 0x34], ecx
mov dword [esp + 0xc], edx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret 4
Function at 0x48edc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push esi
mov esi, eax
test esi, esi
jne 0x48edd3
pop esi
xor al, al
pop ebp
ret 4
test ebp, ebp
mov dword [ecx + 4], 0xffffffff
jbe 0x48ee0a
push edi
mov edi, dword [ecx]
shl edi, 8
movzx edx, byte [esi]
mov eax, dword [ecx + 4]
xor edx, eax
and edx, 0xff
add edx, edi
shr eax, 8
xor eax, dword [edx*4 + 0x500ed8]
add esi, 1
sub ebp, 1
mov dword [ecx + 4], eax
jne 0x48ede4
pop edi
movzx edx, word [ecx + 6]
movzx ecx, word [ecx + 4]
push ebx
mov bl, dh
mov al, ch
add al, bl
pop ebx
add al, dl
pop esi
add al, cl
pop ebp
ret 4

Function at 0x48efb0
Capabilities:
Resolve dns

Disassembly:
push ecx
test esi, esi
jne 0x48efb9
xor eax, eax
pop ecx
ret
mov eax, esi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x48efc0
sub eax, edx
je 0x48efb5
push esi
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
jne 0x48eff7
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x48efe9
or eax, 0xffffffff
pop ecx
ret
cmp word [eax + 0xa], 4
jne 0x48efe4
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov eax, dword [ecx]
pop ecx
ret

Function at 0x48f1f0
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x198
mov eax, dword [0x4fb164]
xor eax, esp
mov dword [esp + 0x194], eax
cmp dword [esi + 4], 0
je 0x48f226
mov eax, 1
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.004a2094
add esp, 0x198
ret 4
xor ecx, ecx
mov ch, byte [esp + 0x19c]
lea eax, [esp]
push eax
mov cl, bl
push ecx
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x48f276
mov ax, word [esp]
cmp al, bl
jne 0x48f270
cmp ah, byte [esp + 0x19c]
jne 0x48f270
mov eax, 1
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.004a2094
add esp, 0x198
ret 4
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [esp + 0x194]
xor ecx, esp
xor eax, eax
call fcn.004a2094
add esp, 0x198
ret 4

Function at 0x48f430
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4d5803
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x4fb164]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov dword [esi], vtable.IFile.0
xor ebx, ebx
mov dword [esi + 0x2c], 0xf
mov dword [esi + 0x28], ebx
mov byte [esi + 0x18], bl
mov dword [esp + 0x14], ebx
lea eax, [esi + 0x30]
push eax
call fcn.004922a0
mov byte [esp + 0x14], 1
lea ecx, [esi + 0x58]
push ecx
call fcn.0048a440
mov byte [esp + 0x14], 2
or eax, 0xffffffff
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x94], ebx
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esp + 0x14], eax
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 4
Function at 0x48f4c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d57bd
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x4fb164]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], vtable.IFile.0
mov dword [esp + 0x1c], 2
call fcn.0048f7f0
mov byte [esp + 0x1c], 1
lea ecx, [esi + 0x58]
call fcn.00412ae0
xor ebx, ebx
mov byte [esp + 0x1c], bl
lea eax, [esi + 0x30]
mov dword [esp + 0x10], eax
mov byte [esp + 0x1c], bl
push eax
call fcn.004922f0
mov dword [esp + 0x1c], 0xffffffff
cmp dword [esi + 0x2c], 0x10
jb 0x48f53c
mov eax, dword [esi + 0x18]
push eax
call fcn.004a20a3
add esp, 4
mov dword [esi + 0x2c], 0xf
mov dword [esi + 0x28], ebx
mov byte [esi + 0x18], bl
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x14
ret

Function at 0x498120
Capabilities:
Hash data using fnv

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x18]
mov ebp, 0x811c9dc5
cmp esi, 0xfffffffe
je 0x498145
test esi, esi
je 0x498140
cmp esi, dword [esp + 0x1c]
je 0x498145
call fcn.004a1d7a
cmp edi, dword [esp + 0x20]
je 0x4981b1
cmp esi, 0xfffffffe
mov ebx, edi
je 0x498177
test esi, esi
jne 0x49815b
call fcn.004a1d7a
cmp dword [esi + 0x18], 0x10
jb 0x498166
mov eax, dword [esi + 4]
jmp 0x498169
lea eax, [esi + 4]
mov ecx, dword [esi + 0x14]
add ecx, eax
cmp edi, ecx
jb 0x498177
call fcn.004a1d3b
add edi, 1
cmp esi, 0xfffffffe
je 0x4981a4
test esi, esi
jne 0x498188
call fcn.004a1d7a
cmp dword [esi + 0x18], 0x10
jb 0x498193
mov eax, dword [esi + 4]
jmp 0x498196
lea eax, [esi + 4]
mov edx, dword [esi + 0x14]
add edx, eax
cmp ebx, edx
jb 0x4981a4
call fcn.004a1d3b
movsx eax, byte [ebx]
imul ebp, ebp, 0x1000193
xor ebp, eax
jmp 0x498131
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
ret

Function at 0x49d240
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx], 0
push esi
push edi
mov esi, ecx
jne 0x49d2a9
lea edi, [esi + 4]
push edi
mov dword [esp + 0x10], edi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp dword [ebx], 0
jne 0x49d2a2
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [ecx]
call ebx
mov ecx, dword [esi + 0x4c]
mov edi, eax
mov eax, dword [esi + 0x50]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x49d29e
call ebx
sub eax, edi
push eax
lea edi, [esi + 0x70]
call fcn.0049d4b0
mov edx, dword [ebp + 8]
cmp dword [edx], 0
je 0x49d270
mov edi, dword [esp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x49e2a0
Capabilities:
Set registry value

Disassembly:
mov eax, dword [eax + 4]
test eax, eax
jne 0x49e2ac
xor al, al
ret 4
push 4
lea ecx, [esp + 8]
push ecx
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
neg eax
sbb eax, eax
add eax, 1
ret 4
Function at 0x49e340
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [eax + 4]
sub esp, 8
test eax, eax
jne 0x49e352
xor al, al
add esp, 8
ret 4
mov ecx, 4
mov dword [esp], ecx
mov dword [esp + 4], ecx
lea ecx, [esp]
push ecx
push edx
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0xc]
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
neg eax
sbb eax, eax
add eax, 1
add esp, 8
ret 4

Function at 0x49e560
Capabilities:
Hash data with md5

Disassembly:
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x4a1720
Capabilities:
Create thread

Disassembly:
cmp dword [esi + 0x14], 0
jne 0x4a1753
lea eax, [esi + 0x1c]
push eax
mov eax, dword [esp + 8]
push 4
push ecx
lea edx, [esi + 4]
push edx
push eax
push 0
call fcn.004a56ff
add esp, 0x18
test eax, eax
mov dword [esi + 0x14], eax
je 0x4a175b
mov ecx, dword [esp + 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, 1
ret 8
xor eax, eax
ret 8

Function at 0x4a1760
Capabilities:
Resume thread

Disassembly:
mov eax, dword [esi + 0x14]
test eax, eax
push ebx
je 0x4a17a3
cmp dword [esi + 0x18], 1
jne 0x4a17a3
mov ebx, dword [sym.imp.KERNEL32.dll_ResumeThread]
push eax
call ebx
cmp eax, 0xffffffff
jne 0x4a1780
xor eax, eax
pop ebx
ret
cmp eax, 1
jbe 0x4a179c
push edi
lea edi, [eax - 1]
test edi, edi
jbe 0x4a179b
lea ecx, [ecx]
mov eax, dword [esi + 0x14]
push eax
call ebx
sub edi, 1
jne 0x4a1790
pop edi
mov dword [esi + 0x18], 0
mov eax, 1
pop ebx
ret

Function at 0x4a17b0
Capabilities:
Resume thread
Suspend thread

Disassembly:
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4a17f5
cmp dword [esi + 0x18], 0
jne 0x4a17f5
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x4a17d3
mov dword [esi + 0x18], 0
xor eax, eax
ret
test eax, eax
jbe 0x4a17ee
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
mov edi, eax
mov eax, dword [esi + 0x14]
push eax
call ebx
sub edi, 1
jne 0x4a17e1
pop edi
pop ebx
mov dword [esi + 0x18], 1
mov eax, 1
ret

Function at 0x4a1920
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4d4e23
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4fb164]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
call fcn.004a1810
xor edi, edi
mov dword [esp + 0x14], edi
xor eax, eax
mov dword [esi], vtable.CThreadControl.0
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x30], eax
lea eax, [esi + 0x44]
push eax
mov dword [esi + 0x2c], 0xffffffff
call fcn.0048a440
mov eax, 1
mov byte [esp + 0x14], al
mov dword [esi + 0x40], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x34], edi
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4

Function at 0x4a2094
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4fb164]
jne 0x4a209e
repz ret
jmp fcn.004a696d
Function at 0x4b62af
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004a779b
xor ebx, ebx
cmp dword [0x4ffc9c], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x4b6384
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x4b62ef
xor eax, eax
jmp 0x4b6448
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4dc040
push edi
call esi
cmp eax, ebx
je 0x4b62e8
push eax
call fcn.004a7738
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4ffc9c], eax
call esi
push eax
call fcn.004a7738
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4ffca0], eax
call esi
push eax
call fcn.004a7738
mov dword [0x4ffca4], eax
lea eax, [ebp - 8]
push eax
call fcn.004a8504
test eax, eax
pop ecx
pop ecx
je 0x4b6352
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004a512d
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x4b6384
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004a7738
cmp eax, ebx
pop ecx
mov dword [0x4ffcac], eax
je 0x4b6384
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004a7738
pop ecx
mov dword [0x4ffca8], eax
mov eax, dword [0x4ffca8]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x4b63fd
cmp dword [0x4ffcac], esi
je 0x4b63fd
push eax
call fcn.004a77a4
pop ecx
call eax
cmp eax, ebx
je 0x4b63ca
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x4ffcac]
call fcn.004a77a4
pop ecx
call eax
test eax, eax
je 0x4b63ca
test byte [ebp - 0x18], 1
jne 0x4b63fd
lea eax, [ebp - 0xc]
push eax
call fcn.004a85b3
test eax, eax
pop ecx
je 0x4b63e5
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004a512d
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x4b63f4
or dword [ebp + 0x10], 0x200000
jmp 0x4b642e
or dword [ebp + 0x10], 0x40000
jmp 0x4b642e
mov eax, dword [0x4ffca0]
cmp eax, esi
je 0x4b642e
push eax
call fcn.004a77a4
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4b642e
mov eax, dword [0x4ffca4]
cmp eax, esi
je 0x4b642e
push dword [ebp - 4]
push eax
call fcn.004a77a4
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x4ffc9c]
call fcn.004a77a4
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0xaac058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00aac1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xaac07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xaac06a
add dl, dl
jne 0xaac089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xaac0dc
xor eax, eax
add dl, dl
jne 0xaac096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xaac17d
add dl, dl
jne 0xaac0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xaac0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xaac0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xaac0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xaac0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xaac075
mov eax, 1
add dl, dl
jne 0xaac0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xaac0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xaac0e1
sub eax, ebx
mov ebx, 1
jne 0xaac128
mov ecx, 1
add dl, dl
jne 0xaac10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xaac119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xaac105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xaac075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xaac13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xaac14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xaac136
cmp eax, 0x7d00
jae 0xaac16d
cmp eax, 0x500
jb 0xaac168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xaac075
cmp eax, 0x7f
ja 0xaac170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xaac075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xaac19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xaac075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x40f670
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x49902b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0048d92f
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40f6f2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0048b24b
mov eax, dword [eax]
push 0x4e9cec
push eax
call fcn.0047dc04
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0048dbba
test bl, bl
je 0x40f6f2
push 0x4e9cec
lea ecx, [esp + 0xc]
call fcn.0048df4a
push 0x4e9cf8
lea ecx, [esp + 0xc]
call fcn.0048df4a
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x40f72e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0048dbba
jmp 0x40f7f9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x40f7b2
lea edx, [esp + 0x7c]
push 0x4e9cf4
push edx
call fcn.0047dc04
add esp, 8
test eax, eax
je 0x40f7b2
lea eax, [esp + 0x7c]
push 0x4e9cf0
push eax
call fcn.0047dc04
add esp, 8
test eax, eax
je 0x40f7b2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40f742
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0048dbba
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x40fff0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x410052
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x410060
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4990ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4f3908]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x410198
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4100c6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0048dbba
xor eax, eax
jmp 0x41020f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0048dcf7
push esi
lea ecx, [esp + 0xc]
call fcn.0048df86
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x4e9d2c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x4101ed
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0040fff0
test eax, eax
jne 0x4101ed
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.0040fff0
test eax, eax
jne 0x4101ed
lea eax, [esp + 0x14]
push 0x4e9d08
push eax
call fcn.0047ed00
mov esi, eax
add esp, 8
test esi, esi
jne 0x4101cc
lea ecx, [esp + 0x14]
push 0x4e9d04
push ecx
call fcn.0047ec80
mov esi, eax
add esp, 8
test esi, esi
jne 0x4101cc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4101cf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0048dca7
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4100de
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0048dbba
xor eax, eax
jmp 0x41020f
mov byte [esi], 0
push 0x4e9d00
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.0048dbba
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4