joyce8/EMBER2024-capa huggingface dataset:
Function at 0x482d70
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4a3106
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14c
mov eax, dword [0xc42d60]
push ebx
push esi
mov ebx, ecx
mov dword [esp + 8], eax
mov dword [esp + 0x15c], 0
mov dword [esp + 0xc], eax
mov esi, dword [esp + 0x164]
lea ecx, [esp + 0xc]
push esi
mov byte [esp + 0x160], 1
call fcn.004951f1
push str..
lea ecx, [esp + 0x10]
call fcn.00495444
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
jne 0x482e13
lea ecx, [esp + 0xc]
mov byte [esp + 0x15c], 0
call fcn.004950b4
lea ecx, [esp + 8]
mov dword [esp + 0x15c], 0xffffffff
call fcn.004950b4
xor eax, eax
jmp 0x482f58
push ebp
mov ebp, dword [esp + 0x16c]
push edi
mov edi, dword [esp + 0x174]
lea edx, [esp + 0x48]
push 0xc42cf8
push edx
call fcn.00485354
add esp, 8
test eax, eax
je 0x482f09
lea eax, [esp + 0x48]
push 0xc42cf4
push eax
call fcn.00485354
add esp, 8
test eax, eax
je 0x482f09
test ebp, ebp
jne 0x482e75
lea ecx, [esp + 0x48]
push str.desktop.ini
push ecx
call fcn.00485403
add esp, 8
test eax, eax
je 0x482f09
push esi
lea ecx, [esp + 0x14]
call fcn.004951f1
push 0x5c
lea ecx, [esp + 0x14]
call fcn.0049546b
lea edx, [esp + 0x48]
lea ecx, [esp + 0x10]
push edx
call fcn.00495444
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 1
je 0x482eb5
mov ecx, dword [esp + 0x10]
and al, 0xfe
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test byte [esp + 0x1c], 0x10
je 0x482ed7
mov edx, dword [esp + 0x10]
push edi
push ebp
push edx
mov ecx, ebx
call fcn.00482d70
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
jmp 0x482f09
test edi, edi
je 0x482efe
lea ecx, [esp + 0x48]
push str.index.dat
push ecx
call fcn.00485403
add esp, 8
test eax, eax
jne 0x482efe
lea edx, [esp + 0x48]
mov ecx, ebx
push edx
push esi
call fcn.00482f80
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x482e23
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x14]
mov byte [esp + 0x164], 0
call fcn.004950b4
lea ecx, [esp + 0x10]
mov dword [esp + 0x164], 0xffffffff
call fcn.004950b4
pop edi
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x154]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x158
ret 0xc
Function at 0x482f80
Capabilities:
Get file size
Write file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4a311b
push eax
mov eax, 0x2718
mov dword fs:[0], esp
call fcn.00485b70
mov eax, dword [0xc42d60]
push edi
mov dword [esp + 4], eax
mov ecx, 0x9c4
xor eax, eax
lea edi, [esp + 0xc]
mov dword [esp + 0x2724], 0
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x272c]
push ecx
lea ecx, [esp + 8]
call fcn.004951f1
push 0x5c
lea ecx, [esp + 8]
call fcn.0049546b
mov edx, dword [esp + 0x2730]
lea ecx, [esp + 4]
push edx
call fcn.00495444
mov eax, dword [esp + 4]
push 0
push 0x80
push 3
push 0
push 3
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x483026
lea ecx, [esp + 4]
mov dword [esp + 0x2724], eax
call fcn.004950b4
xor eax, eax
jmp 0x4830a3
push ebx
push esi
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
push 0
mov esi, eax
push 0x40
push edi
sub esi, 0x40
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
test esi, esi
jbe 0x483081
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
cmp esi, 0x2710
push 0
jbe 0x483073
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push 0x2710
push edx
push edi
call ebx
sub esi, 0x2710
jne 0x48304d
jmp 0x483081
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
push esi
push ecx
push edi
call ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0xc]
mov dword [esp + 0x272c], 0xffffffff
call fcn.004950b4
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x271c]
pop edi
mov dword fs:[0], ecx
add esp, 0x2724
ret 8

Function at 0x49745b
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x497493
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.0049550f
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004954e7
jmp 0x49749f
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x498b49
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 0x498b8b
call fcn.0049e602
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x498b8b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x498b82
xor eax, eax
jmp 0x498b93
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00498b99
pop edi
pop esi
pop ebx
ret 4
Function at 0x49eb32
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 0x49eb60
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x49eb7e
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0049ea98
jmp 0x49eb7e
mov eax, dword [esi + 0x14]
test eax, eax
je 0x49eb7e
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0049ea98
test edi, edi
mov eax, edi
jne 0x49eb68
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x10004160
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 8]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 4]
mov dword [ebp - 8], 1
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareMicrosoftWindows_NTCurrentVersionNetworkPlatformLocation_Awareness
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x100041c3
push 0x380
push dword [ebp + 0xc]
push 3
push eax
push str.LastBackup
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
test eax, eax
je 0x100041c9
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov esp, ebp
pop ebp
ret
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x100049c0
Capabilities:
Check mutex on windows
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3a0
mov eax, dword [0x10018008]
xor eax, esp
mov dword [esp + 0x39c], eax
movaps xmm0, xmmword [str.F147EC_C7F5_F89]
lea eax, [esp + 0x380]
push esi
push edi
push eax
push 1
push 0
movups xmmword [esp + 0x394], xmm0
mov dword [esp + 0x3a4], 0x394a2d41
mov dword [esp + 0x3a8], 0x44353941
mov word [esp + 0x3ac], 0x7d
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
sete al
test esi, esi
je 0x10004a43
test al, al
je 0x10004a59
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x39c]
xor ecx, esp
call fcn.1000599e
mov esp, ebp
pop ebp
ret
mov ecx, 0xe0
lea edi, [esp + 8]
mov esi, str.SecureRPCEvent
xor eax, eax
rep movsd dword es:[edi], dword [esi]
nop dword [eax + eax]
mov cl, byte [esp + eax + 0xc8]
lea eax, [eax + 1]
mov byte [eax + 0x1001b71f], cl
test cl, cl
jne 0x10004a70
push ecx
lea eax, [esp + 0xc]
push eax
push ecx
call fcn.10004160
mov ecx, dword [esp + 0x3b0]
add esp, 0xc
mov al, 1
pop edi
pop esi
xor ecx, esp
call fcn.1000599e
mov esp, ebp
pop ebp
ret

Function at 0x10004cc0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
test edi, edi
je 0x10004d2e
cmp dword [0x1001b718], 0
jne 0x10004cef
push 4
call fcn.100059af
add esp, 4
mov dword [0x1001b718], eax
mov dword [eax], 0
mov dword [eax], vtable.PluginProvider.0
push esi
push 4
call fcn.100059af
mov ecx, dword [0x1001b718]
mov esi, eax
push 8
mov dword [esi], ecx
call fcn.100059af
add esp, 8
lea ecx, [ebp - 4]
mov dword [eax + 4], edi
push ecx
push 0
push eax
push 0x10004ca0
push 0
mov dword [eax], esi
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop esi
xor al, al
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x1000e543
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1000e582
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1000e582
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1000e582
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x1000e582
cmp dword [ecx + 0x74], 0xe
jbe 0x1000e582
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x10011201
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1001129e
push ebx
push esi
call fcn.100111ca
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1001115e
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1001124b
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001129d
push edi
push eax
call fcn.100121bc
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1001126b
call fcn.1000fca4
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001129c
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1001115e
add esp, 0x20
test eax, eax
jne 0x1001128a
push edi
call fcn.1000fca4
jmp 0x10011292
push ebx
call fcn.1000fca4
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1001150b
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10018888
push 0x10018880
push str.FlsAlloc
push 0x1f
call fcn.10011427
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001153f
push dword [ebp + 8]
mov ecx, esi
call dword [0x10017150]
call esi
jmp 0x10011545
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x10011589
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10018898
push 0x10018890
push str.FlsGetValue
push 0x21
call fcn.10011427
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100115c0
push dword [ebp + 8]
mov ecx, esi
call dword [0x10017150]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x100115c8
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100188a0
push 0x10018898
push str.FlsSetValue
push 0x22
call fcn.10011427
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10011602
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10017150]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10016c90
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10016cbd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10016cbd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4df2a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10045604
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
push edi
push 0xc8
mov ebx, ecx
call fcn.004f89e0
add esp, 4
mov dword [ebp - 0x14], eax
xor esi, esi
cmp eax, esi
mov dword [ebp - 4], esi
je 0x4df2e2
mov ecx, eax
call fcn.00501b20
mov esi, eax
lea eax, [ebp - 0x30]
or edi, 0xffffffff
push eax
mov dword [ebp - 4], edi
call fcn.004f6740
mov ecx, eax
call fcn.004f6608
push eax
lea ecx, [esi + 0x68]
mov dword [ebp - 4], 1
call dword [0x1004b190]
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], edi
call dword [0x1004b150]
mov edi, dword [ebp + 8]
lea ecx, [edi + 0x58]
push ecx
lea ecx, [esi + 0x30]
call dword [0x1004b190]
lea edx, [edi + 0x74]
push edx
lea ecx, [esi + 0x4c]
call dword [0x1004b190]
mov eax, dword [edi + 0x90]
mov dword [esi + 0x88], eax
mov ecx, dword [edi + 0x94]
mov dword [esi + 0x8c], ecx
mov edx, dword [edi + 0x9c]
mov dword [esi + 0x90], edx
mov eax, dword [edi + 0xa0]
mov dword [esi + 0x94], eax
movzx ax, byte [edi + 0xd3]
mov word [esi + 0x98], ax
mov cl, byte [edi + 0xd4]
neg cl
lea edx, [edi + 0xc0]
push edx
sbb ecx, ecx
and ecx, 2
add ecx, eax
mov word [esi + 0x98], cx
lea ecx, [esi + 0xac]
call fcn.004d979b
add edi, 0xb0
push edi
lea ecx, [esi + 0x9c]
call fcn.004d969e
mov eax, dword [ebp + 0xc]
mov edx, dword [esi]
xor ecx, ecx
test eax, eax
setne cl
mov dword [esi + 0xc0], eax
mov dword [esi + 0xbc], ecx
mov ecx, esi
call dword [edx + 0xc]
push eax
mov dword [ebp - 0x10], eax
call fcn.004f89e0
add esp, 4
lea ecx, [ebp - 0x10]
mov edi, eax
mov eax, dword [esi]
push ecx
push edi
mov ecx, esi
call dword [eax + 4]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebx]
push 5
push edx
push edi
call fcn.004ea070
push edi
call fcn.004f89f0
mov eax, dword [esi]
add esp, 4
push 1
mov ecx, esi
call dword [eax]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x4e5aa6
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x10045d5e
call fcn.005160d0
sub esp, 0x420
mov eax, dword [0x1005f74c]
push ebx
push esi
xor eax, ebp
mov esi, ecx
push edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x42c], esi
call fcn.004f7d1e
xor ebx, ebx
lea edi, [esi + 0x34]
mov dword [esi], 0x1004b980
mov dword [ebp - 4], ebx
mov dword [edi], ebx
mov eax, dword [ebp + 8]
push ebx
mov byte [ebp - 4], 1
mov dword [esi + 0x20], eax
call dword [0x1004b250]
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esp], 0x400
lea eax, [ebp - 0x410]
push eax
mov byte [esi + 0x14], bl
mov byte [esi + 0x24], bl
mov byte [esi + 0x25], bl
mov dword [esi + 0x18], ebx
mov byte [esi + 0x2c], bl
mov byte [esi + 0x2d], bl
mov dword [esi + 0x30], ebx
push dword [0x10060750]
call dword [0x1004b05c]
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.004f91c0
movzx eax, word [ebp - 0x414]
add esp, 0x14
push edi
mov dword [esi + 0x1c], eax
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
call fcn.004ed2c0
mov ecx, eax
call fcn.004ede30
mov ebx, 0x1004ba10
push ebx
call fcn.005160c2
mov dword [ebp - 0x424], ebx
mov ebx, 0x1004b9fc
push ebx
mov dword [ebp - 0x428], eax
call fcn.005160c2
mov edi, dword [edi]
mov edx, dword [edi]
pop ecx
pop ecx
lea ecx, [esi + 0x38]
push ecx
push ebx
push eax
push dword [ebp - 0x424]
push dword [ebp - 0x428]
push edi
call dword [edx + 0x10]
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00516059
leave
ret 4
Function at 0x4f8f40
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10046f13
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
mov eax, dword [0x1005f74c]
mov dword [ebp - 0x40], 0
xor eax, ebp
push esi
mov esi, dword [ebp + 0xc]
cmp dword [esi + 0x18], 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
push edi
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x20], 0x30
mov byte [ebp - 0x1f], 0x31
mov byte [ebp - 0x1e], 0x32
mov byte [ebp - 0x1d], 0x33
mov byte [ebp - 0x1c], 0x34
mov byte [ebp - 0x1b], 0x35
mov byte [ebp - 0x1a], 0x36
mov byte [ebp - 0x19], 0x37
mov byte [ebp - 0x18], 0x38
mov byte [ebp - 0x17], 0x39
mov byte [ebp - 0x16], 0x41
mov byte [ebp - 0x15], 0x42
mov byte [ebp - 0x14], 0x43
mov byte [ebp - 0x13], 0x44
mov byte [ebp - 0x12], 0x45
mov byte [ebp - 0x11], 0x46
jb 0x4f8fc2
mov edi, dword [esi + 4]
jmp 0x4f8fc5
lea edi, [esi + 4]
lea ecx, [ebp - 0x3c]
call dword [0x1004b194]
mov esi, dword [esi + 0x14]
lea ecx, [esi + esi]
push ecx
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 1
call dword [0x1004b144]
xor eax, eax
test esi, esi
jbe 0x4f9036
jmp 0x4f8ff0
cmp dword [ebp - 0x24], 0x10
mov ecx, dword [ebp - 0x38]
jae 0x4f8ffc
lea ecx, [ebp - 0x38]
movzx edx, byte [eax + edi]
shr edx, 4
mov dl, byte [ebp + edx - 0x20]
mov byte [ecx + eax*2], dl
cmp dword [ebp - 0x24], 0x10
mov ecx, dword [ebp - 0x38]
jae 0x4f9016
lea ecx, [ebp - 0x38]
movzx edx, byte [eax + edi]
and edx, 0x8000000f
jns 0x4f9027
dec edx
or edx, 0xfffffff0
inc edx
mov dl, byte [ebp + edx - 0x20]
mov byte [ecx + eax*2 + 1], dl
add eax, 1
cmp eax, esi
jb 0x4f8ff0
mov esi, dword [ebp - 0x44]
lea eax, [ebp - 0x3c]
push eax
mov ecx, esi
call dword [0x1004b184]
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x40], 1
mov byte [ebp - 4], 0
call dword [0x1004b150]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00516059
mov esp, ebp
pop ebp
ret

Function at 0x4fb6b3
Capabilities:
Hash data using sha1

Disassembly:
xor eax, eax
push 0x40
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x18], eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x10], 0xc3d2e1f0
push eax
add ecx, 0x1c
push ecx
call fcn.00516068
add esp, 0xc
ret
Function at 0x4fd2f9
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
push 0x40
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
push eax
add ecx, 0x18
push ecx
call fcn.00516068
add esp, 0xc
ret

Function at 0x4fdde5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push 4
pop edx
add eax, 4
push ebx
shl eax, 4
push esi
add eax, ecx
add ecx, 4
mov dword [ebp + 8], edx
push edi
xor esi, esi
mov edi, eax
mov bl, byte [edi]
xor byte [ecx + esi], bl
inc esi
add edi, edx
cmp esi, edx
jl 0x4fde03
inc eax
add ecx, edx
dec dword [ebp + 8]
jne 0x4fddff
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x4fe179
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x1005f74c]
push ebx
push esi
push edi
mov ebx, ecx
lea esi, [ebx + 4]
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebx + 8]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], 4
mov al, byte [esi + 4]
mov ecx, ebx
push eax
call fcn.004fdf44
mov byte [ebp - 0x15], al
mov al, byte [esi]
mov ecx, ebx
push eax
call fcn.004fdf92
mov cl, byte [ebp - 0x15]
xor cl, al
mov al, byte [esi - 8]
mov byte [ebp - 0x15], cl
mov ecx, ebx
push eax
call fcn.004fdfbc
mov cl, byte [ebp - 0x15]
xor cl, al
mov al, byte [esi - 4]
mov byte [ebp - 0x15], cl
mov ecx, ebx
push eax
call fcn.004fdf68
mov cl, byte [ebp - 0x15]
xor cl, al
mov eax, dword [ebp - 0x1c]
mov byte [eax - 4], cl
mov al, byte [esi + 4]
mov ecx, ebx
push eax
call fcn.004fdf92
mov byte [ebp - 0x15], al
mov al, byte [esi]
mov ecx, ebx
push eax
call fcn.004fdf68
mov cl, byte [ebp - 0x15]
xor cl, al
mov al, byte [esi - 8]
mov byte [ebp - 0x15], cl
mov ecx, ebx
push eax
call fcn.004fdf44
mov cl, byte [ebp - 0x15]
xor cl, al
mov al, byte [esi - 4]
mov byte [ebp - 0x15], cl
mov ecx, ebx
push eax
call fcn.004fdfbc
mov cl, byte [ebp - 0x15]
xor cl, al
mov eax, dword [ebp - 0x1c]
mov byte [eax], cl
mov al, byte [esi + 4]
mov ecx, ebx
push eax
call fcn.004fdf68
mov byte [ebp - 0x15], al
mov al, byte [esi]
mov ecx, ebx
push eax
call fcn.004fdfbc
mov cl, byte [ebp - 0x15]
xor cl, al
mov al, byte [esi - 8]
mov byte [ebp - 0x15], cl
mov ecx, ebx
push eax
call fcn.004fdf92
mov cl, byte [ebp - 0x15]
xor cl, al
mov al, byte [esi - 4]
mov byte [ebp - 0x15], cl
mov ecx, ebx
push eax
call fcn.004fdf44
mov cl, byte [ebp - 0x15]
xor cl, al
mov eax, dword [ebp - 0x1c]
mov byte [eax + 4], cl
mov al, byte [esi + 4]
mov ecx, ebx
push eax
call fcn.004fdfbc
mov byte [ebp - 0x15], al
mov al, byte [esi]
mov ecx, ebx
push eax
call fcn.004fdf44
mov cl, byte [ebp - 0x15]
xor cl, al
mov al, byte [esi - 8]
mov byte [ebp - 0x15], cl
mov ecx, ebx
push eax
call fcn.004fdf68
mov cl, byte [ebp - 0x15]
xor cl, al
mov al, byte [esi - 4]
mov byte [ebp - 0x15], cl
mov ecx, ebx
push eax
call fcn.004fdf92
mov cl, byte [ebp - 0x15]
xor cl, al
mov eax, dword [ebp - 0x1c]
inc dword [ebp - 0x1c]
inc esi
dec dword [ebp - 0x20]
mov byte [eax + 8], cl
jne 0x4fe1a8
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00516059
leave
ret
Function at 0x4ff030
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004720f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.004ffee6
lea ecx, [esi + 0x34]
mov dword [ebp - 4], 0
mov dword [esi], 0x1004ea6c
call dword [0x1004b194]
lea ecx, [esi + 0x50]
mov byte [ebp - 4], 1
call fcn.004fee70
push 0x1004ea48
lea ecx, [esi + 0x14]
mov byte [ebp - 4], 2
mov dword [esi + 0xc], 0x65
mov dword [esi + 0x10], 0x65
call dword [0x1004b1c8]
mov ecx, dword [ebp - 0xc]
mov word [esi + 0x30], 0x65
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x4ff110
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10047248
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.004ff030
push 0x1004ea98
lea ecx, [esi + 0x14]
mov dword [ebp - 4], 0
mov dword [esi], 0x1004ea84
mov dword [esi + 0xc], 0x67
mov dword [esi + 0x10], 0x67
call dword [0x1004b1c8]
mov ecx, dword [ebp - 0xc]
mov word [esi + 0x30], 0x67
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x500130
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100473dc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.004ffee6
lea ecx, [esi + 0x34]
mov dword [ebp - 4], 0
mov dword [esi], 0x1004ebbc
call dword [0x1004b194]
lea ecx, [esi + 0x50]
mov byte [ebp - 4], 1
call dword [0x1004b194]
lea ecx, [esi + 0x78]
mov byte [ebp - 4], 2
call dword [0x1004b194]
mov ebx, 6
push 0x1004eba0
lea ecx, [esi + 0x14]
mov byte [ebp - 4], 3
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
call dword [0x1004b1c8]
mov ecx, dword [ebp - 0xc]
mov word [esi + 4], bx
mov byte [esi + 0x30], bl
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x500f50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100475d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.004ffee6
lea ecx, [esi + 0x34]
mov dword [ebp - 4], 0
mov dword [esi], 0x1004ec6c
call dword [0x1004b194]
lea ecx, [esi + 0x50]
mov byte [ebp - 4], 1
call dword [0x1004b194]
push 0x1004ec44
lea ecx, [esi + 0x14]
mov byte [ebp - 4], 2
mov dword [esi + 0xc], 0x74
mov dword [esi + 0x10], 0x74
call dword [0x1004b1c8]
mov ecx, dword [ebp - 0xc]
mov word [esi + 0x30], 0x74
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret