joyce8/EMBER2024-capa huggingface dataset:
Function at 0x610780
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov byte [ebp - 1], 0
mov ebx, 0x14
mov dword [ebp - 0x1c], 0x14
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 3
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x3c], 3
mov dword [ebp - 0x34], 2
mov eax, edi
call fcn.00407f40
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], 3
mov eax, 0x610870
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 1
mov eax, esi
call fcn.00407f40
push eax
call sub.wininet.dll_InternetOpenW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x610862
xor eax, eax
push ebp
push 0x61085b
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
lea eax, [ebp - 0x1c]
push eax
push 0x4b
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetSetOptionW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
cmp byte [ebp - 1], 0
je 0x61083b
push 0
push 0
push 0x25
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetSetOptionW
test eax, eax
jne 0x61083f
xor eax, eax
jmp 0x610841
mov al, 1
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x610862
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
movzx eax, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x614cc8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x614d5d
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
cmp byte [esi + 0xa4], 1
jne 0x614d47
push 1
push 0
push 0
mov eax, edi
call fcn.00407f40
push eax
push 0x614d6c
mov eax, dword [0x74eea4]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
push eax
call sub.shell32.dll_ShellExecuteW
mov edi, eax
cmp edi, 0x20
setg bl
test bl, bl
jne 0x614d47
cmp word [esi + 0x11a], 0
je 0x614d47
lea edx, [ebp - 4]
mov eax, dword [0x74ec34]
call fcn.0040b6e8
mov ecx, dword [ebp - 4]
mov edx, edi
mov eax, dword [esi + 0x11c]
call dword [esi + 0x118]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x614d64
lea eax, [ebp - 4]
call fcn.00407ea4
ret
Function at 0x615900
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x615aa3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
push 0xbf
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push eax
push 0
lea eax, [ebp - 0x14]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
mov ebx, eax
mov eax, ebx
sub eax, 0xffffffff
je 0x61596a
sub eax, 2
je 0x615a2c
sub eax, 0x101
je 0x6159a2
jmp 0x615a81
cmp word [esi + 0x11a], 0
je 0x615a81
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 0x34]
call fcn.0041c6f4
mov eax, dword [ebp - 0x34]
push eax
call sub.kernel32.dll_GetLastError_1
mov edx, eax
pop ecx
mov eax, dword [esi + 0x11c]
call dword [esi + 0x118]
jmp 0x615a81
cmp word [esi + 0x11a], 0
je 0x615a81
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 0x38]
call fcn.0041c6f4
mov eax, dword [ebp - 0x38]
push eax
call sub.kernel32.dll_GetLastError_1
mov edx, eax
pop ecx
mov eax, dword [esi + 0x11c]
call dword [esi + 0x118]
jmp 0x615a81
lea eax, [ebp - 0x30]
push eax
call sub.user32.dll_TranslateMessage
lea eax, [ebp - 0x30]
push eax
call sub.user32.dll_DispatchMessageW
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 0x10]
sub eax, dword [edx]
mov edx, dword [ebp + 8]
cmp eax, dword [edx]
jle 0x615a2c
cmp word [esi + 0x11a], 0
je 0x615a2c
lea edx, [ebp - 0x3c]
mov eax, dword [0x74e500]
call fcn.0040b6e8
mov eax, dword [ebp - 0x3c]
push eax
call sub.kernel32.dll_GetLastError_1
mov edx, eax
pop ecx
mov eax, dword [esi + 0x11c]
call dword [esi + 0x118]
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x30]
push eax
call sub.user32.dll_PeekMessageW
test eax, eax
jne 0x6159da
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 0x10]
sub eax, dword [edx]
mov edx, dword [ebp + 8]
cmp eax, dword [edx]
jle 0x615a81
cmp word [esi + 0x11a], 0
je 0x615a81
lea edx, [ebp - 0x40]
mov eax, dword [0x74e500]
call fcn.0040b6e8
mov eax, dword [ebp - 0x40]
push eax
call sub.kernel32.dll_GetLastError_1
mov edx, eax
pop ecx
mov eax, dword [esi + 0x11c]
call dword [esi + 0x118]
test ebx, ebx
sete al
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x615aaa
lea eax, [ebp - 0x40]
mov edx, 4
call fcn.00407eac
ret
Function at 0x623c34
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdd0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x228], ecx
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x21c], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x623daa
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x623d85
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [ebp - 0x216], 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x105
lea eax, [ebp - 0x216]
push eax
lea eax, [ebp - 0x21c]
mov edx, esi
call fcn.00408030
lea eax, [ebp - 0x21c]
mov edx, 0x623dc4
call fcn.004082d8
mov eax, dword [ebp - 0x21c]
call fcn.00407f40
push eax
call sub.kernel32.dll_GetVolumeInformationW
test eax, eax
je 0x623cf4
lea eax, [ebp - 0x216]
call fcn.004169f8
mov ecx, eax
lea edx, [ebp - 0x216]
mov eax, ebx
call fcn.00407ff0
jmp 0x623cfd
mov eax, ebx
xor edx, edx
call fcn.00407eb4
cmp si, 0x61
jae 0x623d1f
lea edx, [ebp - 0x220]
mov eax, dword [ebx]
call fcn.0041edb8
mov edx, dword [ebp - 0x220]
mov eax, ebx
call fcn.00407eb4
jmp 0x623d39
lea edx, [ebp - 0x224]
mov eax, dword [ebx]
call fcn.0041eda4
mov edx, dword [ebp - 0x224]
mov eax, ebx
call fcn.00407eb4
lea eax, [ebp - 0x228]
push eax
mov eax, dword [ebx]
mov dword [ebp - 0x230], eax
mov byte [ebp - 0x22c], 0x11
lea edx, [ebp - 0x230]
xor ecx, ecx
mov eax, 0x623dd8
call fcn.00417058
mov edx, dword [ebp - 0x228]
mov eax, ebx
call fcn.00407eb4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x623d8c
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
Function at 0x62fe9c
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov edi, eax
mov esi, dword [ebp + 8]
add esi, 0xfffffffc
mov eax, dword [esi]
mov ebx, dword [eax + 0x34]
test ebx, ebx
je 0x62ffb6
mov eax, ebx
call fcn.004fdf90
test al, al
je 0x62ffb6
mov eax, dword [esi]
mov eax, dword [eax + 0x34]
cmp byte [eax + 0x59], 0
je 0x62ffb6
push 0
call sub.user32.dll_GetDC
mov ebx, eax
mov eax, dword [esi]
mov eax, dword [eax + 0x34]
mov edx, dword [eax + 0x4c]
push edx
mov eax, dword [eax + 0x48]
push eax
push ebx
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 4], eax
push ebx
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x62ffaf
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [esi]
mov eax, dword [eax + 0x34]
mov ecx, dword [ebp - 0x10]
mov edx, 0xf
call fcn.004f6154
mov byte [ebp - 0xa], 0xff
mov byte [ebp - 9], 0
mov byte [ebp - 0xc], 0
mov byte [ebp - 0xb], 0
push 0xcc0020
mov eax, dword [esi]
mov eax, dword [eax + 0x44]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x40]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x4c]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x48]
push eax
push 0
push 0
mov eax, edi
call fcn.0046d1bc
call fcn.00467584
push eax
call sub.gdi32.dll_BitBlt
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x62ffb6
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x631464
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov edi, eax
mov esi, dword [ebp + 8]
add esi, 0xfffffffc
mov eax, dword [esi]
mov ebx, dword [eax + 0x34]
test ebx, ebx
je 0x63156f
mov eax, ebx
call fcn.004fdf90
test al, al
je 0x63156f
push 0
call sub.user32.dll_GetDC
mov ebx, eax
mov eax, dword [esi]
mov eax, dword [eax + 0x34]
mov edx, dword [eax + 0x4c]
push edx
mov eax, dword [eax + 0x48]
push eax
push ebx
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 4], eax
push ebx
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x631568
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [esi]
mov eax, dword [eax + 0x34]
mov ecx, dword [ebp - 0x10]
mov edx, 0xf
call fcn.004f6154
mov byte [ebp - 0xa], 0xff
mov byte [ebp - 9], 0
mov byte [ebp - 0xc], 0
mov byte [ebp - 0xb], 0
push 0xcc0020
mov eax, dword [esi]
mov eax, dword [eax + 0x44]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x40]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x4c]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x48]
push eax
push 0
push 0
mov eax, edi
call fcn.0046d1bc
call fcn.00467584
push eax
call sub.gdi32.dll_BitBlt
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x63156f
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x6ba72c
Capabilities:
Log keystrokes via polling

Disassembly:
push 2
call sub.user32.dll_GetAsyncKeyState
movsx eax, ax
test ah, 0x80
jne 0x6ba74d
push 1
call sub.user32.dll_GetAsyncKeyState
movsx eax, ax
test ah, 0x80
jne 0x6ba74d
xor eax, eax
ret
mov al, 1
ret

Function at 0x6bf490
Capabilities:
Enumerate gui resources

Disassembly:
add esp, 0xfffffff8
mov dword [esp], eax
xor eax, eax
mov dword [esp + 4], eax
mov eax, esp
push eax
push 0x6bf3d0
call sub.user32.dll_EnumWindows
mov eax, dword [esp + 4]
pop ecx
pop edx
ret

Function at 0x6c5db4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x6c5e84
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebx + 0x14]
push 0x6c5ea0
push dword [ebx + 8]
lea eax, [ebp - 4]
mov edx, 3
call fcn.0040847c
mov eax, dword [ebp - 4]
call fcn.00415d7c
test al, al
jne 0x6c5e33
push 0x10
push 0
push 0x6c5eb0
push dword [ebx + 0x14]
push 0x6c5ea0
push dword [ebx + 8]
push 0x6c5ec4
lea eax, [ebp - 8]
mov edx, 5
call fcn.0040847c
mov eax, dword [ebp - 8]
call fcn.00407f40
push eax
mov eax, esi
call fcn.004fdbe4
push eax
call sub.user32.dll_MessageBoxW
jmp 0x6c5e69
push 1
push 0
push 0
push dword [ebx + 0x14]
push 0x6c5ea0
push dword [ebx + 8]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040847c
mov eax, dword [ebp - 0xc]
call fcn.00407f40
push eax
push 0
mov eax, esi
call fcn.004fdbe4
push eax
call sub.shell32.dll_ShellExecuteW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6c5e8b
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00407eac
ret

Function at 0x6c5ed0
Capabilities:
Create process on windows

Disassembly:
push ebx
push esi
mov esi, edx
mov ebx, eax
push 1
push 0
mov eax, dword [esi + 0x14]
call fcn.00407f40
push eax
push 0x6c5efc
push 0
mov eax, ebx
call fcn.004fdbe4
push eax
call sub.shell32.dll_ShellExecuteW
pop esi
pop ebx
ret

Function at 0x6cf34c
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
lea eax, [ebp - 0x30]
push eax
call sub.kernel32.dll_GetSystemInfo_1
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
dec ecx
js 0x6cf39d
lea eax, [ebp - 0x30]
cmp word [eax + 0x20], 3
je 0x6cf384
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x6cf374
jmp 0x6cf39d
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x6cf385
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x6e7144
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00407e9c
xor eax, eax
push ebp
push 0x6e719d
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [ebp - 4]
call fcn.00407f40
mov esi, eax
push esi
call sub.kernel32.dll_GetDriveTypeW
cmp eax, 2
je 0x6e7185
push esi
call sub.kernel32.dll_GetDriveTypeW
cmp eax, 5
jne 0x6e7187
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6e71a4
lea eax, [ebp - 4]
call fcn.00407ea4
ret

Function at 0x6e71ac
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00407e9c
xor eax, eax
push ebp
push 0x6e7210
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x1c
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 4]
call fcn.00407f40
push eax
call sub.kernel32.dll_GetVolumeInformationW
mov edx, ebx
lea eax, [ebp - 0x28]
call fcn.00416e80
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6e7217
lea eax, [ebp - 4]
call fcn.00407ea4
ret

Function at 0x6e9d5c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00407e9c
xor eax, eax
push ebp
push 0x6e9e58
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, word [esi + 4]
mov word [ebx + 4], ax
movzx eax, word [esi + 6]
mov word [ebx + 6], ax
movzx eax, word [esi + 8]
mov word [ebx + 8], ax
movzx eax, word [esi + 0xa]
mov word [ebx + 0x74], ax
mov eax, dword [esi + 0xc]
call fcn.006e7030
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x18]
mov dword [ebx + 0x18], eax
movzx eax, word [esi + 0x1c]
mov word [ebx + 0x1c], ax
movzx eax, word [esi + 0x1e]
mov word [ebx + 0x1e], ax
movzx eax, word [esi + 0x20]
mov word [ebx + 0x22], ax
movzx eax, word [esi + 0x22]
mov word [ebx + 0x24], ax
movzx eax, word [esi + 0x24]
mov word [ebx + 0x26], ax
mov eax, dword [esi + 0x26]
mov dword [ebx + 0x28], eax
mov eax, dword [esi + 0x2a]
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.006e368c
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.006eb6c0
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.006e3630
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.006eb73c
lea eax, [ebx + 0x54]
call fcn.00406dbc
mov byte [ebx + 0x58], 0
mov byte [ebx + 0x5a], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6e9e5f
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00407eac
ret
Function at 0x6e9e68
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00407e9c
xor eax, eax
push ebp
push 0x6e9f74
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [ebx + 4], 0
movzx eax, word [esi + 4]
mov word [ebx + 6], ax
movzx eax, word [esi + 6]
mov word [ebx + 8], ax
movzx eax, word [esi + 8]
mov word [ebx + 0x74], ax
mov eax, dword [esi + 0xa]
call fcn.006e7030
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0xe]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x12]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x16]
mov dword [ebx + 0x18], eax
movzx eax, word [esi + 0x1a]
mov word [ebx + 0x1c], ax
movzx eax, word [esi + 0x1c]
mov word [ebx + 0x20], ax
mov word [ebx + 0x22], 0
mov word [ebx + 0x24], 0
mov word [ebx + 0x26], 0
xor eax, eax
mov dword [ebx + 0x28], eax
xor eax, eax
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
cmp dword [ebp - 4], 0
je 0x6e9f37
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.006e368c
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.006eb6c0
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.006e3630
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.006eb73c
jmp 0x6e9f49
xor edx, edx
mov eax, ebx
call fcn.006eb6c0
xor edx, edx
mov eax, ebx
call fcn.006eb73c
lea eax, [ebx + 0x54]
call fcn.00406dbc
mov byte [ebx + 0x58], 0
mov byte [ebx + 0x5a], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6e9f7b
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00407eac
ret
Function at 0x6ec909
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0xefcdab89
mov edx, dword [ebp + 8]
mov dword [edx + 0x10], 0x98badcfe
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x14], 0x10325476
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], 0xc3d2e1f0
pop ebp
ret

Function at 0x6ee16e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x9c], 0xffffffff
je 0x6ee21c
mov edx, dword [ebp + 0x10]
cmp dword [edx + 0x9c], 0x40
jbe 0x6ee1ad
mov ecx, dword [ebp + 0x10]
add ecx, 0x40
push ecx
push dword [ebp + 0x10]
call fcn.006ec9e9
add esp, 8
mov eax, dword [ebp + 0x10]
mov dword [eax + 0x9c], 0x14
mov edx, 0x40
mov ecx, dword [ebp + 0x10]
sub edx, dword [ecx + 0x9c]
push edx
push 0
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x10]
add eax, dword [edx + 0x9c]
push eax
call fcn.006ec5e8
add esp, 0xc
xor ecx, ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0x10]
xor dword [edx + eax*4], 0x36363636
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x10
jb 0x6ee1d8
mov ecx, dword [ebp + 0x10]
add ecx, 0x40
push ecx
call fcn.006ec909
pop ecx
mov eax, dword [ebp + 0x10]
add eax, 0x40
push eax
push 0x40
push dword [ebp + 0x10]
call fcn.006ec94d
add esp, 0xc
mov edx, dword [ebp + 0x10]
mov dword [edx + 0x9c], 0xffffffff
cmp dword [ebp + 0xc], 0
je 0x6ee237
mov ecx, dword [ebp + 0x10]
add ecx, 0x40
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.006ec94d
add esp, 0xc
pop ecx
pop ebp
ret

Function at 0x6ee23a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x9c], 0xffffffff
je 0x6ee25b
push dword [ebp + 0x10]
push 0
push 0
call fcn.006ee16e
add esp, 0xc
mov edx, dword [ebp + 0x10]
add edx, 0x40
push edx
lea ecx, [ebp - 0x18]
push ecx
call fcn.006ec9e9
add esp, 8
xor eax, eax
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
xor dword [ecx + edx*4], 0x6a6a6a6a
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x10
jb 0x6ee273
mov eax, dword [ebp + 0x10]
add eax, 0x40
push eax
call fcn.006ec909
pop ecx
mov edx, dword [ebp + 0x10]
add edx, 0x40
push edx
push 0x40
push dword [ebp + 0x10]
call fcn.006ec94d
add esp, 0xc
mov ecx, dword [ebp + 0x10]
add ecx, 0x40
push ecx
push 0x14
lea eax, [ebp - 0x18]
push eax
call fcn.006ec94d
add esp, 0xc
mov edx, dword [ebp + 0x10]
add edx, 0x40
push edx
lea ecx, [ebp - 0x18]
push ecx
call fcn.006ec9e9
add esp, 8
xor eax, eax
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
cmp edx, dword [ebp + 0xc]
jae 0x6ee2fa
mov ecx, dword [ebp - 4]
mov al, byte [ebp + ecx - 0x18]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov byte [edx + ecx], al
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0xc]
jb 0x6ee2df
mov esp, ebp
pop ebp
ret
Function at 0x6ef7a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde8
lea eax, [ebp - 0xd8]
push eax
call fcn.006ee0bc
pop ecx
lea edx, [ebp - 0xd8]
push edx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.006ee0d3
add esp, 0xc
push 0xa0
lea ecx, [ebp - 0xd8]
push ecx
lea eax, [ebp - 0x178]
push eax
call fcn.006ec5fc
add esp, 0xc
lea edx, [ebp - 0x178]
push edx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.006ee16e
add esp, 0xc
mov eax, dword [ebp + 0x20]
dec eax
mov ecx, 0x14
xor edx, edx
div ecx
inc eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jae 0x6ef934
push 0x14
push 0
lea ecx, [ebp - 0x38]
push ecx
call fcn.006ec5e8
add esp, 0xc
push 0xa0
lea eax, [ebp - 0x178]
push eax
lea edx, [ebp - 0x218]
push edx
call fcn.006ec5fc
add esp, 0xc
mov ecx, dword [ebp - 4]
inc ecx
shr ecx, 0x18
mov byte [ebp - 0x24], cl
mov eax, dword [ebp - 4]
inc eax
shr eax, 0x10
mov byte [ebp - 0x23], al
mov edx, dword [ebp - 4]
inc edx
shr edx, 8
mov byte [ebp - 0x22], dl
mov cl, byte [ebp - 4]
inc ecx
mov byte [ebp - 0x21], cl
xor eax, eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 4
mov edx, dword [ebp - 8]
cmp edx, dword [ebp + 0x18]
jae 0x6ef8ee
lea ecx, [ebp - 0x218]
push ecx
push dword [ebp - 0xc]
lea eax, [ebp - 0x24]
push eax
call fcn.006ee16e
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
push 0x14
lea ecx, [ebp - 0x24]
push ecx
call fcn.006ee23a
add esp, 0xc
xor eax, eax
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
mov cl, byte [ebp + edx - 0x24]
mov eax, dword [ebp - 0xc]
xor byte [ebp + eax - 0x38], cl
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0x14
jb 0x6ef8b1
push 0xa0
lea edx, [ebp - 0xd8]
push edx
lea ecx, [ebp - 0x218]
push ecx
call fcn.006ec5fc
add esp, 0xc
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0x18]
jb 0x6ef881
xor edx, edx
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 4]
shl ecx, 2
lea ecx, [ecx + ecx*4]
mov dword [ebp - 0xc], ecx
jmp 0x6ef917
mov eax, dword [ebp - 8]
mov dl, byte [ebp + eax - 0x38]
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ebp - 0xc]
mov byte [ecx + eax], dl
inc dword [ebp - 8]
inc dword [ebp - 0xc]
cmp dword [ebp - 8], 0x14
jae 0x6ef925
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp + 0x20]
jb 0x6ef901
inc dword [ebp - 4]
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jb 0x6ef81d
mov esp, ebp
pop ebp
ret

Function at 0x6f713c
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov edi, eax
mov ecx, dword [edi + 0x178]
mov edx, ebx
mov eax, edi
call fcn.006f7448
mov esi, eax
mov dword [edi + 0x178], esi
and esi, 0xff
add dword [edi + 0x17c], esi
imul esi, dword [edi + 0x17c], 0x8088405
inc esi
mov dword [edi + 0x17c], esi
mov edx, esi
shr edx, 0x18
mov ecx, dword [edi + 0x180]
mov eax, edi
call fcn.006f7448
mov dword [edi + 0x180], eax
pop edi
pop esi
pop ebx
ret