joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4cae80
Capabilities:
Send data
Send data on socket

Disassembly:
push ecx
push esi
mov esi, eax
mov eax, dword [esi + 0x1c]
sub eax, 0
je 0x4caeb1
sub eax, 1
jne 0x4caebb
mov ecx, dword [ebx + 0x98]
cmp ecx, dword [ebx + 0x9c]
lea eax, [ebx + 0x60]
jne 0x4caeaa
mov eax, 6
pop esi
pop ecx
ret
call fcn.004c93b0
jmp 0x4caebb
movzx edx, word [esi + 0x103e]
mov dword [esi + 0x24], edx
push ebp
push edi
lea ebp, [ebx + 0x14c]
push ebp
xor edi, edi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov ecx, dword [esi + 0x20]
mov edx, dword [ebx + 4]
push edi
push esi
push edi
lea eax, [esp + 0x18]
push eax
push ecx
add esi, 0x24
push esi
push edx
mov dword [esp + 0x28], edi
call dword [sym.imp.WS2_32.dll_WSASend]
cmp eax, 0xffffffff
jne 0x4caf45
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
jne 0x4caf03
mov eax, edi
pop edi
pop ebp
pop esi
pop ecx
ret
cmp eax, 0x2733
je 0x4caf29
cmp eax, 8
je 0x4caf29
cmp eax, 0x2747
je 0x4caf29
push ebp
mov edi, 0x8002
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov eax, edi
pop edi
pop ebp
pop esi
pop ecx
ret
push eax
push str.WSASend_____NERR_TOO_MANY_OUTSTANDING:__d
push 0
call fcn.004ba480
add esp, 0xc
push ebp
mov edi, 0x8005
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov eax, edi
pop edi
pop ebp
pop esi
pop ecx
ret

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

Disassembly:
mov eax, dword [ebx + 0xdc]
mov ecx, dword [ebx + 0xe0]
sub esp, 8
cmp eax, ecx
push ebp
push esi
lea esi, [ebx + 0xa4]
jne 0x4cb552
xor ebp, ebp
mov dword [esi + 0x38], ebp
jmp 0x4cb56d
sub eax, ecx
push edi
mov edi, eax
mov eax, dword [esi + 0x34]
push edi
add ecx, eax
push ecx
push eax
call fcn.004e68b0
add esp, 0xc
mov dword [esi + 0x38], edi
xor ebp, ebp
pop edi
mov eax, esi
mov dword [esi + 0x3c], ebp
call fcn.004c93b0
mov ecx, dword [ebx + 0xc4]
push ebp
push esi
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
mov eax, dword [ebx + 4]
push ecx
lea edx, [ebx + 0xc8]
push edx
push eax
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
call dword [sym.imp.WS2_32.dll_WSARecv]
cmp eax, 0xffffffff
pop esi
pop ebp
jne 0x4cb5dc
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x4cb5dc
cmp eax, 0x2733
je 0x4cb5d3
cmp eax, 8
je 0x4cb5d3
cmp eax, 0x2747
je 0x4cb5d3
mov eax, 0x8002
add esp, 8
ret
mov eax, 0x8005
add esp, 8
ret
xor eax, eax
add esp, 8
ret
Function at 0x4cdd70
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push esi
mov esi, eax
cmp dword [esi + 4], 0xffffffff
mov byte [esi + 0xa8], 1
jne 0x4cddb5
push 1
push 0
push 0
push 0x11
push 2
push 2
call dword [sym.imp.WS2_32.dll_WSASocketA]
cmp eax, 0xffffffff
mov dword [esi + 4], eax
jne 0x4cddb5
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov ecx, esi
call edx
pop esi
xor eax, eax
pop ebp
ret 4
xor eax, eax
test bp, bp
push edi
lea edi, [esi + 0xb8]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov word [edi], 2
jbe 0x4cddf3
mov ecx, dword [esi + 4]
push 4
lea eax, [esp + 0x14]
push eax
push 4
push 0xffff
push ecx
mov dword [esp + 0x24], 1
call dword [sym.imp.WS2_32.dll_setsockopt]
push ebp
call dword [sym.imp.WS2_32.dll_htons]
mov edx, dword [esi + 4]
push 0x10
push edi
push edx
mov word [esi + 0xba], ax
mov dword [esi + 0xbc], 0
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
pop edi
jne 0x4cde2b
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
pop esi
xor eax, eax
pop ebp
ret 4
call fcn.004ce060
test eax, eax
je 0x4cddae
mov eax, esi
call fcn.004ce090
pop esi
mov eax, 1
pop ebp
ret 4

Function at 0x4d2380
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push esi
mov esi, eax
test esi, esi
jne 0x4d2393
pop esi
xor al, al
pop ebp
ret 4
test ebp, ebp
mov dword [ecx + 4], 0xffffffff
jbe 0x4d23ca
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 + 0x554080]
add esi, 1
sub ebp, 1
mov dword [ecx + 4], eax
jne 0x4d23a4
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 0x4d2db0
Capabilities:
Resolve dns

Disassembly:
push ecx
test esi, esi
jne 0x4d2db9
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 0x4d2dc0
sub eax, edx
je 0x4d2db5
push esi
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
jne 0x4d2df7
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x4d2de9
or eax, 0xffffffff
pop ecx
ret
cmp word [eax + 0xa], 4
jne 0x4d2de4
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov eax, dword [ecx]
pop ecx
ret
Function at 0x4d2ff0
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x198
mov eax, dword [0x54d154]
xor eax, esp
mov dword [esp + 0x194], eax
cmp dword [esi + 4], 0
je 0x4d3026
mov eax, 1
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.004e3834
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 0x4d3076
mov ax, word [esp]
cmp al, bl
jne 0x4d3070
cmp ah, byte [esp + 0x19c]
jne 0x4d3070
mov eax, 1
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.004e3834
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.004e3834
add esp, 0x198
ret 4

Function at 0x4d4c20
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 0x4d4c89
lea edi, [esi + 4]
push edi
mov dword [esp + 0x10], edi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp dword [ebx], 0
jne 0x4d4c82
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [ecx]
call edi
mov ecx, dword [esi + 0x4c]
mov ebx, eax
mov eax, dword [esi + 0x50]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4d4c7e
call edi
sub eax, ebx
push eax
lea ebx, [esi + 0x70]
call fcn.004d4e80
mov edx, dword [ebp + 8]
cmp dword [edx], 0
je 0x4d4c50
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 0x4d5c20
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5199c3
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x54d154]
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.004d8860
mov byte [esp + 0x14], 1
lea ecx, [esi + 0x58]
push ecx
call fcn.004b7cb0
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 0x4d5cb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x51997d
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x54d154]
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.004d5fc0
mov byte [esp + 0x1c], 1
lea ecx, [esi + 0x58]
call fcn.0040b1b0
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.004d88b0
mov dword [esp + 0x1c], 0xffffffff
cmp dword [esi + 0x2c], 0x10
jb 0x4d5d2c
mov eax, dword [esi + 0x18]
push eax
call fcn.004e3843
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 0x4d7be0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x519748
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push edi
mov eax, dword [0x54d154]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea ebx, [esi + 4]
xor edi, edi
cmp ebx, edi
mov dword [esp + 0xc], ebx
jne 0x4d7c1d
call fcn.004b7940
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
mov dword [esp + 0x24], eax
mov eax, dword [edx + 4]
push 0xffffffffffffffff
mov ecx, ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], edi
call eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x38], edi
mov eax, dword [esi + 0x48]
mov ebx, dword [eax]
lea edi, [esi + 0x44]
mov ecx, eax
mov dword [esp + 0x14], ecx
lea ecx, [ecx]
cmp edi, edi
jne 0x4d7d57
cmp ebx, dword [esp + 0x14]
sete al
test al, al
sete al
test al, al
je 0x4d7c8a
cmp ebx, dword [edi + 4]
je 0x4d7c85
mov ecx, dword [ebx + 0xc]
test ecx, ecx
je 0x4d7c7c
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
cmp ebx, dword [edi + 4]
je 0x4d7c85
mov ebx, dword [ebx]
jmp 0x4d7c50
jmp fcn.004dbb90
lea ebx, [esi + 0x40]
call fcn.004d95a0
lea edi, [esi + 0x6c]
mov ebx, edi
call fcn.004dade0
mov eax, dword [edi + 4]
mov ecx, dword [esi + 0x7c]
lea ebx, [esi + 0x78]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0x10], edi
xor edi, edi
cmp ecx, eax
mov dword [esp + 0x18], edi
ja 0x4d7d52
push eax
push ebx
push ecx
push ebx
lea ecx, [esp + 0x28]
push ecx
push ebx
mov dword [esp + 0x30], edi
call fcn.004dc3f0
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
mov dword [esp + 0x18], edi
ja 0x4d7d52
push eax
push ebx
lea edx, [esp + 0x18]
push edx
push 9
mov ecx, ebx
call fcn.004dc510
mov eax, 1
mov dword [esi + 0x88], eax
mov dword [esi + 0x8c], eax
mov dword [esi + 0x94], edi
mov dword [esi + 0x98], edi
mov dword [esi + 0x9c], edi
mov dword [esi + 0xa0], edi
mov dword [esi + 0xc4], edi
mov dword [esp + 0x38], 0xffffffff
cmp dword [esp + 0x28], edi
je 0x4d7d40
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
neg eax
sbb eax, eax
add eax, 1
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
jmp fcn.004ddcc0
jmp fcn.004da7f0
Function at 0x4de810
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 0x4de835
test esi, esi
je 0x4de830
cmp esi, dword [esp + 0x1c]
je 0x4de835
call fcn.004e37f5
cmp edi, dword [esp + 0x20]
je 0x4de8a1
cmp esi, 0xfffffffe
mov ebx, edi
je 0x4de867
test esi, esi
jne 0x4de84b
call fcn.004e37f5
cmp dword [esi + 0x18], 0x10
jb 0x4de856
mov eax, dword [esi + 4]
jmp 0x4de859
lea eax, [esi + 4]
mov ecx, dword [esi + 0x14]
add ecx, eax
cmp edi, ecx
jb 0x4de867
call fcn.004e37b6
add edi, 1
cmp esi, 0xfffffffe
je 0x4de894
test esi, esi
jne 0x4de878
call fcn.004e37f5
cmp dword [esi + 0x18], 0x10
jb 0x4de883
mov eax, dword [esi + 4]
jmp 0x4de886
lea eax, [esi + 4]
mov edx, dword [esi + 0x14]
add edx, eax
cmp ebx, edx
jb 0x4de894
call fcn.004e37b6
movsx eax, byte [ebx]
imul ebp, ebp, 0x1000193
xor ebp, eax
jmp 0x4de821
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
ret
Function at 0x4e3150
Capabilities:
Create thread

Disassembly:
cmp dword [esi + 0x14], 0
jne 0x4e3183
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.004e4227
add esp, 0x18
test eax, eax
mov dword [esi + 0x14], eax
je 0x4e318b
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 0x4e3190
Capabilities:
Resume thread

Disassembly:
mov eax, dword [esi + 0x14]
test eax, eax
push ebx
je 0x4e31d3
cmp dword [esi + 0x18], 1
jne 0x4e31d3
mov ebx, dword [sym.imp.KERNEL32.dll_ResumeThread]
push eax
call ebx
cmp eax, 0xffffffff
jne 0x4e31b0
xor eax, eax
pop ebx
ret
cmp eax, 1
jbe 0x4e31cc
push edi
lea edi, [eax - 1]
test edi, edi
jbe 0x4e31cb
lea ecx, [ecx]
mov eax, dword [esi + 0x14]
push eax
call ebx
sub edi, 1
jne 0x4e31c0
pop edi
mov dword [esi + 0x18], 0
mov eax, 1
pop ebx
ret

Function at 0x4e31e0
Capabilities:
Resume thread
Suspend thread

Disassembly:
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4e3225
cmp dword [esi + 0x18], 0
jne 0x4e3225
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x4e3203
mov dword [esi + 0x18], 0
xor eax, eax
ret
test eax, eax
jbe 0x4e321e
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 0x4e3211
pop edi
pop ebx
mov dword [esi + 0x18], 1
mov eax, 1
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x5193c3
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x54d154]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
call fcn.004e3240
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.004b7cb0
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 0x4e3834
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x54d154]
jne 0x4e383e
repz ret
jmp fcn.004e743a
Function at 0x4f19fd
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004e78ed
xor ebx, ebx
cmp dword [0x552ec4], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x4f1ad2
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x4f1a3d
xor eax, eax
jmp 0x4f1b96
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x522098
push edi
call esi
cmp eax, ebx
je 0x4f1a36
push eax
call fcn.004e788a
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x552ec4], eax
call esi
push eax
call fcn.004e788a
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x552ec8], eax
call esi
push eax
call fcn.004e788a
mov dword [0x552ecc], eax
lea eax, [ebp - 8]
push eax
call fcn.004e8122
test eax, eax
pop ecx
pop ecx
je 0x4f1aa0
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004e5e14
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x4f1ad2
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004e788a
cmp eax, ebx
pop ecx
mov dword [0x552ed4], eax
je 0x4f1ad2
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004e788a
pop ecx
mov dword [0x552ed0], eax
mov eax, dword [0x552ed0]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x4f1b4b
cmp dword [0x552ed4], esi
je 0x4f1b4b
push eax
call fcn.004e78f6
pop ecx
call eax
cmp eax, ebx
je 0x4f1b18
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x552ed4]
call fcn.004e78f6
pop ecx
call eax
test eax, eax
je 0x4f1b18
test byte [ebp - 0x18], 1
jne 0x4f1b4b
lea eax, [ebp - 0xc]
push eax
call fcn.004e81d1
test eax, eax
pop ecx
je 0x4f1b33
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004e5e14
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x4f1b42
or dword [ebp + 0x10], 0x200000
jmp 0x4f1b7c
or dword [ebp + 0x10], 0x40000
jmp 0x4f1b7c
mov eax, dword [0x552ec8]
cmp eax, esi
je 0x4f1b7c
push eax
call fcn.004e78f6
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4f1b7c
mov eax, dword [0x552ecc]
cmp eax, esi
je 0x4f1b7c
push dword [ebp - 4]
push eax
call fcn.004e78f6
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 [0x552ec4]
call fcn.004e78f6
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10001970
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 0
jmp 0x1000198c
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 4
jae 0x100019a8
push 4
push 0
mov ecx, dword [ebp - 0x14]
lea edx, [ebp + ecx*4 - 0x28]
push edx
call fcn.10039570
add esp, 0xc
jmp 0x10001983
mov dword [ebp - 4], 0
jmp 0x100019ba
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 4
jae 0x10001a3f
mov dword [ebp - 0xc], 0
jmp 0x100019d2
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 4
jae 0x10001a3a
mov dword [ebp - 8], 0
jmp 0x100019ea
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 4
jae 0x10001a38
mov eax, dword [ebp - 4]
lea ecx, [ebp + eax*4 - 0x28]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
movzx edx, byte [edx + eax*4 + 0x1005b478]
shl edx, 8
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp + 8]
lea eax, [esi + eax*4]
mov esi, dword [ebp - 8]
movzx eax, byte [eax + esi]
movzx edx, byte [edx + eax + 0x1005a568]
mov eax, dword [ebp - 8]
movzx ecx, byte [ecx + eax]
xor ecx, edx
mov edx, dword [ebp - 4]
lea eax, [ebp + edx*4 - 0x28]
mov edx, dword [ebp - 8]
mov byte [eax + edx], cl
jmp 0x100019e1
jmp 0x100019c9
jmp 0x100019b1
mov dword [ebp - 0x10], 0
jmp 0x10001a51
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 4
jae 0x10001a75
push 4
mov ecx, dword [ebp - 0x10]
lea edx, [ebp + ecx*4 - 0x28]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax*4]
push edx
call fcn.10038ff0
add esp, 0xc
jmp 0x10001a48
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x1001ccd0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
push 0
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 8], eax
push 0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
mov esp, ebp
pop ebp
ret
Function at 0x1001e2e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10057994
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x258
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], 0
push 0x208
push 0
lea eax, [ebp - 0x264]
push eax
call fcn.10039570
add esp, 0xc
mov dword [ebp - 0x14], 0
push 0x1005bd20
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.1000b540
add esp, 8
movzx edx, al
test edx, edx
je 0x1001e346
mov dword [ebp - 0x14], 0x1a
jmp 0x1001e385
push 0x1005bd24
mov eax, dword [ebp + 0xc]
push eax
call fcn.1000b540
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x1001e367
mov dword [ebp - 0x14], 0
jmp 0x1001e385
push 0x1005bcd1
mov ecx, dword [ebp + 8]
call fcn.1000d250
mov edx, dword [ebp - 0x10]
or edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 8]
jmp 0x1001e443
push 0
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x264]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x1001e42f
lea edx, [ebp - 0x264]
push edx
lea ecx, [ebp - 0x5c]
call fcn.1001ff70
mov dword [ebp - 4], 0
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x44]
call fcn.1001ff70
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0x2c]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.1001e7d0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x20]
call fcn.10004540
push eax
mov ecx, dword [ebp + 8]
call fcn.1000d250
mov ecx, dword [ebp - 0x10]
or ecx, 1
mov dword [ebp - 0x10], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.10003ca0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.1000e2b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.1000e2b0
nop
mov eax, dword [ebp + 8]
jmp 0x1001e443
mov ecx, dword [ebp + 8]
call fcn.10016990
mov edx, dword [ebp - 0x10]
or edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x1001e5d0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100579d1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x10], 0
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov ecx, dword [ebp + 0xc]
call fcn.10004500
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x1001e638
mov ecx, dword [ebp + 8]
call fcn.10020180
mov eax, dword [ebp - 0x10]
or eax, 1
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
jmp 0x1001e73d
push 0
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x1001e670
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 8]
call fcn.10020180
mov eax, dword [ebp - 0x10]
or eax, 1
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
jmp 0x1001e73d
lea ecx, [ebp - 0x2c]
call fcn.10020180
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.10021740
nop
push 0
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x18]
push eax
push 0
lea ecx, [ebp - 0x2c]
call fcn.10003d50
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1001e6de
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 8]
call fcn.10020180
mov eax, dword [ebp - 0x10]
or eax, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.10003ca0
mov eax, dword [ebp + 8]
jmp 0x1001e73d
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 0x18]
je 0x1001e716
mov ecx, dword [ebp + 8]
call fcn.10020180
mov eax, dword [ebp - 0x10]
or eax, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.10003ca0
mov eax, dword [ebp + 8]
jmp 0x1001e73d
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.100038d0
mov edx, dword [ebp - 0x10]
or edx, 1
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.10003ca0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x1001e750
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov ecx, dword [ebp + 8]
call fcn.10004500
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x1001e78b
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1001e7bf
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x1001e7b2
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1001e7bf
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 4