joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b4440
Capabilities:
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x4d652b
mov eax, dword fs:[0]
push eax
mov eax, 0x6060
call fcn.004c1320
mov eax, dword [0x4eb0b4]
xor eax, esp
mov dword [esp + 0x605c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4eb0b4]
xor eax, esp
push eax
lea eax, [esp + 0x6074]
mov dword fs:[0], eax
mov eax, dword [esp + 0x6088]
mov ebp, dword [esp + 0x6084]
push eax
mov edi, ecx
call fcn.00460620
mov ecx, edi
lea esi, [ecx + 2]
lea ebx, [ebx]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x4b44a0
sub ecx, esi
mov edx, eax
sar ecx, 1
lea ebx, [edx + 2]
mov si, word [edx]
add edx, 2
test si, si
jne 0x4b44b4
sub edx, ebx
sar edx, 1
lea ecx, [edx + ecx + 1]
cmp ecx, 0x1000
jae 0x4b45fc
push 0x1000
lea edx, [esp + 0x4074]
push edx
push eax
push edi
call fcn.00460210
lea ecx, [esp + 0x14]
call fcn.0047fbd0
mov dword [esp + 0x607c], 0
push 0x1000
push 0x4d79fc
lea eax, [esp + 0x1078]
push eax
push str.ViewerIgnoreModifications
push 0x4d867c
call fcn.0046c8c0
cmp word [esp + 0x1070], si
je 0x4b453c
push 0
push 0
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x107c]
push edx
call fcn.0047fe60
push 0x800
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x1c]
call fcn.0047fc50
test al, al
je 0x4b45e8
mov edi, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea ecx, [ecx]
push 0x800
lea ecx, [esp + 0x3074]
push ecx
lea edx, [esp + 0x78]
push edx
call edi
lea eax, [esp + 0x3072]
push 0x4df83c
push eax
call fcn.004c4fa6
mov esi, eax
add esp, 8
test esi, esi
je 0x4b4628
xor ecx, ecx
mov word [esi], cx
add esi, 4
cmp word [esi], cx
jne 0x4b45a5
mov esi, 0x4d7800
push 4
push ebp
lea edx, [esp + 0x3078]
push edx
call fcn.00452e00
test al, al
je 0x4b45cd
push 4
lea eax, [esp + 0x4074]
push eax
push esi
call fcn.00452e00
test al, al
jne 0x4b4631
push 0x800
lea ecx, [esp + 0x74]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0047fc50
test al, al
jne 0x4b4560
mov dword [esp + 0x607c], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00401b10
xor al, al
mov ecx, dword [esp + 0x6074]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x605c]
xor ecx, esp
call fcn.004c1302
add esp, 0x606c
ret 8
lea esi, [esp + 0x3070]
jmp 0x4b45b9
mov dword [esp + 0x607c], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00401b10
mov al, 1
jmp 0x4b45fe
Function at 0x401930
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using rc4 via winapi
Encrypt or decrypt via wincrypt
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
sub esp, 0x10
lea eax, [esp + 4]
push ebx
push ebp
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
xor ebx, ebx
push edi
push ebx
push 1
push ebx
push ebx
push eax
call esi
test eax, eax
je 0x401956
push str.A_cryptographic_provider_has_been_acquired.__n
jmp 0x401970
push 8
push 1
push ebx
lea ecx, [esp + 0x20]
push ebx
push ecx
call esi
test eax, eax
je 0x401aea
push str.A_new_key_container_has_been_created._n
mov esi, dword [sym.imp.MSVCRT.dll_printf]
call esi
mov eax, dword [esp + 0x18]
add esp, 4
lea edx, [esp + 0x10]
push edx
push ebx
push ebx
push 0x8003
push eax
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x401aea
push str.A_hash_object_has_been_created.__n
call esi
mov edx, dword [esp + 0x30]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ebx
push ecx
mov ecx, dword [esp + 0x18]
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x401aea
push str.The_password_has_been_added_to_the_hash.__n
call esi
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
add esp, 4
lea edx, [esp + 0x1c]
push edx
push 0x800000
push eax
push 0x6801
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
je 0x401aea
push str.An_encryption_key_is_derived_from_the_password_hash.__n
call esi
mov edx, dword [esp + 0x14]
add esp, 4
push edx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov edi, dword [esp + 0x28]
mov eax, 0x4104105
mul edi
mov esi, edi
mov dword [esp + 0x10], ebx
sub esi, edx
mov dword [esp + 0x18], 0x3f0
shr esi, 1
add esi, edx
shr esi, 9
cmp esi, ebx
jle 0x401a69
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x18]
push 0x3f0
push eax
push ebp
push 0
push 0
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
je 0x401aea
inc ebx
add ebp, 0x3f0
cmp ebx, esi
jl 0x401a3a
mov eax, edi
xor edx, edx
mov ecx, 0x3e8
div ecx
test edx, edx
je 0x401aae
mov ecx, dword [esp + 0x24]
mov eax, ebx
shl eax, 6
sub eax, ebx
lea edx, [esp + 0x18]
shl eax, 4
sub edi, eax
push 0x3f0
add eax, ecx
push edx
mov edx, dword [esp + 0x24]
push eax
push 0
push 1
push 0
push edx
mov dword [esp + 0x34], edi
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
je 0x401aea
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x401abd
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x401acc
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x401add
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x10
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
Function at 0x4039c0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41cbc0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x130
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov bl, 1
push 0
mov dword [ebp - 4], 0
push 0xf
mov byte [ebp - 4], bl
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea ecx, [ebp + 8]
mov esi, eax
mov dword [ebp - 0x13c], 0x128
call sub.MFC42.DLL_CString::MakeLower
lea eax, [ebp - 0x13c]
push eax
push esi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x403ab3
lea ecx, [ebp - 0x118]
push ecx
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::MakeLower
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x14]
push edx
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x403a8c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x134]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x13c]
push ecx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x403a22
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x403b60
Capabilities:
Delete directory
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41cc10
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CFileFind::CFileFind
lea eax, [ebp + 8]
push 0x425400
lea ecx, [ebp - 0x18]
push eax
push ecx
mov byte [ebp - 4], 2
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
push 0
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CFileFind::FindFile
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
mov edi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov esi, dword [sym.imp.MSVCRT.dll__mbscmp]
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x48]
test eax, eax
je 0x403cd1
call sub.MFC42.DLL_CFileFind::FindNextFileA
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x48]
push edx
mov dword [ebp - 0x14], eax
call sub.MFC42.DLL_CFileFind::GetFileName
mov eax, dword [eax]
push 0x4253fc
push eax
mov byte [ebp - 4], 4
call esi
add esp, 8
test eax, eax
je 0x403c37
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x48]
push eax
call sub.MFC42.DLL_CFileFind::GetFileName
mov eax, dword [eax]
push 0x4253f8
push eax
call esi
add esp, 8
lea ecx, [ebp - 0x18]
test eax, eax
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x403c39
mov bl, 1
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
test bl, bl
jne 0x403bd6
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x48]
call sub.MFC42.DLL_CFileFind::GetFilePath
mov eax, dword [eax]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString
mov edx, dword [ebp - 0x48]
push 0x10
lea ecx, [ebp - 0x48]
call dword [edx + 0x40]
test eax, eax
je 0x403caf
push ecx
lea ecx, [ebp - 0x48]
mov eax, esp
mov dword [ebp - 0x2c], esp
push eax
call sub.MFC42.DLL_CFileFind::GetFilePath
call fcn.00403b60
add esp, 4
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x48]
call sub.MFC42.DLL_CFileFind::GetFilePath
mov eax, dword [eax]
push eax
call edi
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::CString
jmp 0x403bd6
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x48]
push edx
call sub.MFC42.DLL_CFileFind::GetFilePath
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CString::CString
jmp 0x403bd6
call sub.MFC42.DLL_CFileFind::Close
mov eax, dword [ebp + 8]
push eax
call edi
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.00415d68
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x415370
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x1c
mov al, 0x81
add ecx, 4
mov byte [esp + 0xa], al
mov byte [esp + 0x19], al
push ecx
lea eax, [esp + 4]
push 0x1a
push eax
push 0
mov byte [esp + 0x10], 0x18
mov byte [esp + 0x11], 0
mov byte [esp + 0x12], 0x25
mov byte [esp + 0x13], 0xe7
mov byte [esp + 0x14], 0xf9
mov byte [esp + 0x15], 0xd
mov byte [esp + 0x16], 0x6f
mov byte [esp + 0x17], 0x9b
mov byte [esp + 0x18], 0xf5
mov byte [esp + 0x19], 0xc2
mov byte [esp + 0x1b], 0xaf
mov byte [esp + 0x1c], 0xc8
mov byte [esp + 0x1d], 0x5a
mov byte [esp + 0x1e], 0x98
mov byte [esp + 0x1f], 0x12
mov byte [esp + 0x20], 0xa9
mov byte [esp + 0x21], 0xb4
mov byte [esp + 0x22], 0xbe
mov byte [esp + 0x23], 0x60
mov byte [esp + 0x24], 0x7c
mov byte [esp + 0x25], 0x39
mov byte [esp + 0x26], 0xe0
mov byte [esp + 0x27], 0x43
mov byte [esp + 0x28], 0x62
call fcn.00418a40
add esp, 0x1c
ret
Function at 0x417f53
Capabilities:
Connect socket

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
cmp dword [esi], 0xffffffff
jne 0x417f65
or eax, 0xffffffff
pop esi
add esp, 0x10
ret 4
mov eax, dword [esp + 0x18]
xor edx, edx
mov dword [esp + 6], edx
mov word [esp + 4], 2
mov cx, word [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0xa], edx
push ecx
mov dword [esp + 0x12], edx
mov dword [esp + 0xc], eax
mov word [esp + 0x16], dx
call dword [sym.imp.WS2_32.dll_htons]
mov edx, dword [esi]
lea ecx, [esp + 4]
push 0x10
push ecx
push edx
mov word [esp + 0x12], ax
call dword [sym.imp.WS2_32.dll_connect]
inc eax
pop esi
neg eax
sbb eax, eax
neg eax
dec eax
add esp, 0x10
ret 4

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

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x1c]
push esi
push edi
xor edi, edi
push edi
push ebp
push ebx
push ecx
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], edi
mov dword [eax], edi
call dword [sym.imp.WS2_32.dll_recv]
mov esi, eax
cmp esi, 0xffffffff
je 0x418575
test esi, esi
je 0x418575
add edi, esi
add ebx, esi
cmp edi, ebp
jae 0x418594
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x10]
mov edx, eax
inc eax
cmp edx, 0xc8
mov dword [esp + 0x10], eax
jg 0x418594
mov ecx, dword [esp + 0x1c]
mov eax, ebp
sub eax, edi
push 0
push eax
push ebx
push ecx
call dword [sym.imp.WS2_32.dll_recv]
mov esi, eax
cmp esi, 0xffffffff
jne 0x418534
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test esi, esi
jne 0x418588
test eax, eax
mov eax, 0xfffffffe
je 0x41858c
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov edx, dword [esp + 0x28]
xor eax, eax
mov dword [edx], edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret

Function at 0x418770
Capabilities:
Create thread

Disassembly:
push ecx
mov eax, dword [esp + 8]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push eax
push 0x4374d0
call esi
mov ecx, dword [esp + 0x10]
push ecx
push 0x4375fc
call esi
mov eax, dword [0x437670]
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0x400
push eax
push 0
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x436474
push 0x4374d0
call esi
mov ecx, dword [esp + 0xc]
push ecx
push 0x4374d0
call esi
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
push 0x4374d0
call fcn.00418840
add esp, 4
lea eax, [esp + 4]
push eax
push 0
push 0x4374d0
push 0x418810
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop esi
pop ecx
ret
Function at 0x418840
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x144
push esi
push edi
push 0x437610
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
push 0
push 4
push 0
push 3
push 0xc0000000
push str.ServerLog.txt
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
mov al, byte [0x436a54]
mov byte [esp + 0x20], al
mov ecx, 0x4a
xor eax, eax
lea edi, [esp + 0x21]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x10]
mov byte [esp + 0xa], 0xd
push ecx
mov byte [esp + 0xf], 0xa
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov edx, dword [esp + 0x150]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1a]
push edx
mov edx, dword [esp + 0x1c]
and eax, 0xffff
and ecx, 0xffff
push eax
mov eax, dword [esp + 0x1e]
and edx, 0xffff
push ecx
mov ecx, dword [esp + 0x1e]
push edx
mov edx, dword [esp + 0x20]
and eax, 0xffff
and ecx, 0xffff
push eax
and edx, 0xffff
push ecx
push edx
lea eax, [esp + 0x3c]
push str._d___d___d__d:_d:_d__hs
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x24
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea ecx, [esp + 0xc]
push 0
push ecx
lea edi, [esp + 0x28]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea edx, [esp + 0x28]
not ecx
push ecx
push edx
push esi
call edi
lea eax, [esp + 0xc]
push 0
push eax
lea ecx, [esp + 0x12]
push 2
push ecx
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x437610
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
add esp, 0x144
ret

Function at 0x418990
Capabilities:
Read file on windows
Write file on windows

Disassembly:
sub esp, 8
push edi
mov edi, dword [esp + 0x14]
push edi
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.00418970
add esp, 4
test al, al
jne 0x4189ba
pop edi
add esp, 8
ret
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
mov esi, dword [esp + 0x18]
lea eax, [esp + 0xc]
push 0
push eax
push 0x10
push edi
push esi
call ebx
mov ax, word [edi + 2]
test ax, ax
je 0x4189f1
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0xc]
push 0
and eax, 0xffff
push ecx
push eax
push edx
push esi
call ebx
mov ax, word [edi + 4]
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
test ax, ax
je 0x418a15
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x10]
push 0
and eax, 0xffff
push ecx
push eax
push edx
push esi
call ebx
mov edi, dword [esp + 0x24]
lea eax, [esp + 0xc]
push 0
push eax
push 0x10
push edi
push esi
call ebx
push edi
call fcn.00418960
add esp, 4
mov al, 1
pop esi
pop ebx
pop edi
add esp, 8
ret

Function at 0x41bc30
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
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 0x10119095
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x101bd714], 0
mov byte [0x101bd718], 0
mov dword [0x101bd708], 0x19f5
mov dword [0x101bd710], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x10119105
mov dword [0x101bd708], 0x1a82
mov eax, 0x1a82
xor ecx, ecx
mov dword [0x101bd710], 0
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
jmp 0x10119143
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x101bd708]
add eax, 0x1e60
mov dword [0x101bd70c], eax
mov esi, dword [0x101bd710]
add esi, 1
mov dword [0x101bd710], esi
cmp esi, 0x100
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], esi
jl 0x10119105
jmp 0x101190dc
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov dword [0x101bd71c], 0
add eax, 0xffffe1b1
mov dword [0x101bd70c], eax
mov eax, dword [0x101bd714]
mov edi, dword [ebp - 0x18]
movzx ebx, byte [edi + ecx]
add ebx, eax
mov eax, ecx
xor edi, edi
mov dword [ebp - 0x30], edx
mov edx, edi
mov edi, dword [ebp - 0x10]
div edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add ebx, edx
mov dword [0x101bd71c], ebx
mov eax, ebx
cdq
idiv esi
mov dword [0x101bd714], edx
mov esi, dword [ebp - 0x18]
mov bl, byte [esi + ecx]
mov byte [0x101bd718], bl
mov esi, dword [ebp - 0x30]
add esi, 0xffffe791
mov dword [0x101bd70c], esi
mov esi, dword [ebp - 0x18]
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov bl, byte [0x101bd718]
mov ecx, dword [0x101bd714]
mov byte [esi + ecx], bl
mov ecx, dword [0x101bd710]
add ecx, 1
mov dword [0x101bd710], ecx
cmp ecx, 0x100
mov dword [ebp - 0x34], ecx
jge 0x10119207
mov eax, dword [0x101bd70c]
mov ecx, dword [0x101bd708]
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x2c], eax
jmp 0x10119143
mov dword [0x101bd70c], 0x2635
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1011950b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x5c
mov eax, dword [ebp + 8]
mov dword [0x101bd708], 0x15d2
mov dword [0x101bd70c], 0x1167
mov dword [ebp - 0x10], eax
call fcn.10118c27
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x1011955b
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [0x101bd70c], 0xfffffc1e
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov esi, dword [edx + eax + 0x24]
mov dword [0x101bd708], 0x901
mov edi, eax
add edi, 0x18
mov ebx, dword [ebp - 0x1c]
add ebx, edi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], ebx
xor eax, eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx]
cmp edx, 0
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], eax
je 0x101196c1
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
add ecx, edx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], eax
jmp 0x1011962a
mov eax, dword [ebp - 0x44]
add eax, 1
mov cl, byte [ebp - 0x45]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x46]
and ch, dl
cmp eax, 0x20
setb dl
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x4d], ch
mov byte [ebp - 0x4e], dl
mov al, byte [ebp - 0x4d]
mov cl, byte [ebp - 0x4e]
and al, cl
test al, 1
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x54], edx
jne 0x1011964e
jmp 0x1011967b
xor eax, eax
mov ecx, dword [ebp - 0x58]
add ecx, 2
mov edx, dword [ebp - 0x5c]
add edx, 1
mov esi, dword [ebp - 0x34]
cmp edx, esi
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], eax
jae 0x101196c1
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x3c]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [0x101bd70c], 0x1167
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x54]
mov ecx, eax
mov edx, dword [ebp - 0x60]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x45], bh
mov byte [ebp - 0x46], cl
jne 0x101195c7
mov al, byte [ebp - 0x46]
test al, 1
jne 0x10119687
jmp 0x10119602
mov eax, dword [ebp - 0x58]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x24]
add edx, 0x1c
mov esi, dword [ebp - 0x1c]
add esi, edx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x68], esi
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x68]
add eax, dword [ecx]
mov edx, dword [ebp - 0x64]
mov eax, dword [eax + edx*4]
mov dword [0x101bd70c], 0x1d20
mov esi, dword [ebp - 0x1c]
add esi, eax
mov dword [ebp - 0x38], esi
mov eax, dword [ebp - 0x38]
add esp, 0x5c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10119794
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov ebx, 0x2448
mov dword [0x101bd710], 0
mov dword [0x101bd714], 0
mov dword [0x101bd720], 0
mov dword [0x101bd708], 0x2448
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 0x101198ff
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x14]
mov edi, 0x100
mov dword [0x101bd70c], 0x264a
add ecx, 1
mov dword [ebp - 0x30], eax
mov eax, ecx
mov dword [ebp - 0x34], edx
cdq
idiv edi
mov dword [0x101bd710], edx
mov ecx, dword [ebp - 0x34]
add ecx, 0xffffffa9
mov dword [0x101bd708], ecx
mov ecx, dword [ebp - 0x24]
movzx ebx, byte [ecx + edx]
add ebx, esi
mov eax, ebx
mov dword [ebp - 0x38], edx
cdq
idiv edi
mov dword [0x101bd714], edx
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x101bd718], cl
mov dword [0x101bd70c], 0x20ef
mov edi, dword [ebp - 0x24]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov cl, byte [0x101bd718]
mov edx, dword [0x101bd714]
mov byte [edi + edx], cl
mov edx, dword [0x101bd708]
mov ebx, edx
add ebx, 0xffffe99b
mov dword [0x101bd70c], ebx
mov ebx, dword [0x101bd710]
movzx ebx, byte [edi + ebx]
mov ecx, dword [0x101bd714]
movzx ecx, byte [edi + ecx]
add ecx, ebx
and ecx, 0xff
mov dword [0x101bd720], ecx
mov dword [0x101bd70c], 0x1562
mov cl, byte [edi + ecx]
mov ebx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x30]
mov ch, byte [ebx + esi]
add edx, 0x5a6
mov dword [0x101bd70c], edx
xor ch, cl
mov dword [0x101bd708], 0x6a8
mov edx, dword [ebp - 0x20]
mov byte [edx + esi], ch
add esi, 1
mov edx, dword [ebp - 0x10]
cmp esi, edx
mov dword [ebp - 0x3c], esi
jne 0x10119907
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [0x101bd714]
mov ecx, dword [0x101bd710]
mov edx, dword [0x101bd708]
mov esi, dword [ebp - 0x3c]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x2c], esi
jmp 0x101197ff