joyce8/EMBER2024-capa huggingface dataset:
Function at 0x443fa4
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44414f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28], 0
jne 0x444130
mov dl, 1
mov eax, dword [0x40d4d4]
call fcn.00402e38
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.00403b64
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44411f
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00432928
test al, al
je 0x444112
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x444160
lea eax, [ebp - 0x254]
call fcn.0040923c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x444112
xor eax, eax
push ebp
push 0x44410b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x444198
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4440f4
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403d94
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax]
call dword [ebx + 0x38]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x30]
jne 0x4440f4
mov eax, dword [ebp - 4]
add eax, 0x2c
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403d94
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x444112
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x444015
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov byte [eax + 0x19], 0
mov dl, 1
call fcn.00410158
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x28]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x444156
lea eax, [ebp - 0x260]
call fcn.00403b64
ret

Function at 0x44499c
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x4667d0]
cmp byte [eax + 0x95], 0
jne 0x444a0d
cmp dword [0x4667ec], 0
jne 0x4449ce
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x444958
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4667ec], eax
cmp dword [0x4667e8], 0
jne 0x4449e9
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4667e8], eax
cmp dword [0x4667f0], 0
jne 0x444a0d
push esp
push 0
push 0
push 0x4448fc
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4667f0], eax
pop edx
ret
Function at 0x444b04
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x444b1b
add esp, 0xfffffff0
call fcn.00403168
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004130c4
mov byte [ebx + 0x28], 0
mov dl, 1
mov eax, dword [0x40d1d4]
call fcn.00402e38
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x40d1d4]
call fcn.00402e38
mov dword [ebx + 0x98], eax
xor eax, eax
mov dword [ebx + 0x50], eax
xor eax, eax
mov dword [ebx + 0x74], eax
mov dword [ebx + 0x4c], 0x80000018
mov dword [ebx + 0x68], 0x1f4
mov byte [ebx + 0x6c], 1
xor eax, eax
mov dword [ebx + 0x70], eax
mov dword [ebx + 0x64], 0x9c4
mov byte [ebx + 0x78], 0
mov byte [ebx + 0x8d], 1
mov dl, 1
mov eax, dword [0x414f1c]
call fcn.0041c4b4
mov esi, eax
mov dword [ebx + 0x88], esi
push 0x444c90
mov eax, dword [0x46594c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0041c884
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4464d0
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x46594c]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_2
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040ac90
test eax, eax
je 0x444c0e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408bc0
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040acb8
test eax, eax
je 0x444c22
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x7c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00403d94
mov eax, dword [0x46582c]
cmp byte [eax], 0
jne 0x444c53
mov eax, ebx
call fcn.00444d7c
mov byte [ebx + 0x49], 1
mov byte [ebx + 0x4a], 1
mov byte [ebx + 0x4b], 1
mov byte [ebx + 0x8e], 1
xor eax, eax
mov dword [ebx + 0x90], eax
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x444c85
call fcn.004031c0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x444fec
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4667d0]
cmp dword [eax + 0x24], 0
je 0x44508f
cmp dword [ebx + 0x84], 0
jne 0x445089
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x444f7c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x80]
cmp dword [eax + 8], 0
je 0x445089
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x445052
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x80]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x445089
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x80]
call fcn.0040e898
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x445061
inc dword [ebx + 0x84]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x445a9c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x94], 0
je 0x445ad1
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403c4c
jmp 0x445adb
mov eax, esi
mov edx, dword [ebx + 0x7c]
call fcn.00403bb8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x446844
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x74]
test esi, esi
je 0x44687c
mov eax, esi
call fcn.0042e6e0
test al, al
je 0x44687c
mov eax, dword [ebx + 0x74]
call fcn.0042e3e4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44687c
push 0
mov eax, dword [ebx + 0x74]
call fcn.0042e3e4
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x448858
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00403b64
test esi, esi
je 0x448898
mov eax, ebx
mov ecx, 0x4488a4
mov edx, esi
call fcn.00403e30
mov eax, dword [ebx]
call fcn.00403fa8
mov dl, 0x7c
call fcn.0040acb8
test eax, eax
je 0x448898
jmp loc.0047c138
pop esi
pop ebx
ret

Function at 0x44d08c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x44d1fd
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 0x44d1d8
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x111], 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x105
lea eax, [ebp - 0x111]
push eax
lea eax, [ebp - 0x118]
mov edx, ebx
call fcn.00403d0c
lea eax, [ebp - 0x118]
mov edx, 0x44d214
call fcn.00403dec
mov eax, dword [ebp - 0x118]
call fcn.00403fa8
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x44d14a
lea eax, [ebp - 0x111]
call fcn.00408b58
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.00403c4c
jmp 0x44d151
mov eax, esi
call fcn.00403b64
cmp bl, 0x61
jae 0x44d172
lea edx, [ebp - 0x11c]
mov eax, dword [esi]
call fcn.0040ab64
mov edx, dword [ebp - 0x11c]
mov eax, esi
call fcn.00403bb8
jmp 0x44d18c
lea edx, [ebp - 0x120]
mov eax, dword [esi]
call fcn.0040aad8
mov edx, dword [ebp - 0x120]
mov eax, esi
call fcn.00403bb8
lea eax, [ebp - 0x124]
push eax
mov eax, dword [esi]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0x128], 0xb
lea edx, [ebp - 0x12c]
xor ecx, ecx
mov eax, 0x44d220
call fcn.004092a4
mov edx, dword [ebp - 0x124]
mov eax, esi
call fcn.00403bb8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44d1df
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
Function at 0x4504ec
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00403fa8
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x450505
test al, 0x10
jne 0x450509
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x452c70
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403f98
xor eax, eax
push ebp
push 0x452cd4
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 0xe
lea eax, [ebp - 0x1a]
push eax
lea eax, [ebp - 4]
call fcn.00452dac
push eax
call sub.kernel32.dll_GetVolumeInformationA
mov edx, ebx
lea eax, [ebp - 0x1a]
call fcn.00408d5c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x452cdb
lea eax, [ebp - 4]
call fcn.00403b64
ret

Function at 0x452ce0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403f98
xor eax, eax
push ebp
push 0x452d44
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x104]
push eax
push 0
push 0x452d50
lea eax, [ebp - 4]
call fcn.00452dac
push eax
call sub.kernel32.dll_GetTempFileNameA
mov edx, ebx
lea eax, [ebp - 0x104]
call fcn.00452b44
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x452d4b
lea eax, [ebp - 4]
call fcn.00403b64
ret

Function at 0x453630
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.00403f98
xor eax, eax
push ebp
push 0x453720
push dword fs:[eax]
mov dword fs:[eax], esp
mov ax, word [esi + 4]
mov word [ebx + 4], ax
mov ax, word [esi + 6]
mov word [ebx + 6], ax
mov ax, word [esi + 8]
mov word [ebx + 8], ax
mov ax, word [esi + 0xa]
mov word [ebx + 0xa], ax
mov eax, dword [esi + 0xc]
call fcn.00452664
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
mov ax, word [esi + 0x1c]
mov word [ebx + 0x1c], ax
mov ax, word [esi + 0x1e]
mov word [ebx + 0x1e], ax
mov ax, word [esi + 0x20]
mov word [ebx + 0x22], ax
mov ax, word [esi + 0x22]
mov word [ebx + 0x24], ax
mov ax, 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
xor eax, eax
mov dword [ebx + 0x30], eax
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004088ac
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.00453eb4
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00408788
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.00453f28
xor eax, eax
mov dword [ebx + 0x3c], eax
mov byte [ebx + 0x40], 0
mov byte [ebx + 0x42], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x453727
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00403b88
ret
Function at 0x453730
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.00403f98
xor eax, eax
push ebp
push 0x453830
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [ebx + 4], 0
mov ax, word [esi + 4]
mov word [ebx + 6], ax
mov ax, word [esi + 6]
mov word [ebx + 8], ax
mov ax, word [esi + 8]
mov word [ebx + 0xa], ax
mov eax, dword [esi + 0xa]
call fcn.00452664
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
mov ax, word [esi + 0x1a]
mov word [ebx + 0x1c], ax
mov ax, 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
xor eax, eax
mov dword [ebx + 0x30], eax
cmp dword [ebp - 4], 0
je 0x4537f6
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004088ac
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.00453eb4
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00408788
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.00453f28
jmp 0x453808
xor edx, edx
mov eax, ebx
call fcn.00453eb4
xor edx, edx
mov eax, ebx
call fcn.00453f28
xor eax, eax
mov dword [ebx + 0x3c], eax
mov byte [ebx + 0x40], 0
mov byte [ebx + 0x42], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x453837
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00403b88
ret

Function at 0x459c78
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 + 0x164]
mov edx, ebx
mov eax, edi
call fcn.00459e9c
mov esi, eax
mov dword [edi + 0x164], esi
and esi, 0xff
add dword [edi + 0x168], esi
imul esi, dword [edi + 0x168], 0x8088405
inc esi
mov dword [edi + 0x168], esi
mov edx, esi
shr edx, 0x18
mov ecx, dword [edi + 0x16c]
mov eax, edi
call fcn.00459e9c
mov dword [edi + 0x16c], eax
pop edi
pop esi
pop ebx
ret

Function at 0x459cec
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov edi, eax
mov esi, ecx
dec esi
test esi, esi
jl 0x459d11
inc esi
mov eax, edi
call fcn.00459cd0
xor byte [ebx], al
mov dl, byte [ebx]
mov eax, edi
call fcn.00459c78
inc ebx
dec esi
jne 0x459cfb
pop edi
pop esi
pop ebx
ret
Function at 0x459da0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov esi, ecx
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.00403f98
xor eax, eax
push ebp
push 0x459e15
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, edi
call fcn.00459d18
mov dword [ebp - 8], 0xc
lea esi, [ebp - 0x14]
mov eax, edi
call fcn.00459cd0
mov ebx, eax
xor bl, byte [esi]
mov edx, ebx
mov eax, edi
call fcn.00459c78
mov byte [esi], bl
inc esi
dec dword [ebp - 8]
jne 0x459de0
mov bl, byte [ebp - 9]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x459e1c
lea eax, [ebp - 4]
call fcn.00403b64
ret
Function at 0x45a8cc
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45aa73
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 0xffffffff
jle 0x45aa2f
mov eax, dword [ebp - 4]
call fcn.0045bea0
cmp ebx, eax
jge 0x45aa2f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe8]
mov edx, ebx
call fcn.00451460
mov edx, dword [0x453140]
call fcn.00402ff8
mov esi, eax
mov eax, esi
call fcn.00453e20
test al, al
je 0x45aa25
mov edi, dword [esi + 0x3c]
test edi, edi
jne 0x45aa19
xor eax, eax
push ebp
push 0x45aa12
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0045ae38
mov edx, dword [esi + 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x100]
xor ecx, ecx
mov esi, dword [eax]
call dword [esi + 0xc]
lea edx, [ebp - 0x37]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x100]
mov ecx, 0x2e
mov esi, dword [eax]
call dword [esi + 4]
movzx edx, word [ebp - 0x1b]
movzx eax, word [ebp - 0x19]
add edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x100]
mov cx, 1
mov esi, dword [eax]
call dword [esi + 0xc]
movzx esi, word [ebp - 0x17]
mov eax, dword [ebp - 8]
mov edx, esi
call fcn.00404118
mov eax, dword [ebp - 8]
call fcn.00403fb4
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x100]
mov ecx, esi
mov esi, dword [eax]
call dword [esi + 4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x154]
mov al, byte [eax + 0x24]
mov byte [ebp - 9], al
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0045abe0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x154]
mov dl, byte [ebp - 9]
mov byte [eax + 0x24], dl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45aa5d
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, al
jne 0x45aa11
mov eax, dword [ebp - 4]
call fcn.0045aebc
ret
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.00408d5c
jmp 0x45aa5d
mov eax, dword [ebp - 8]
call fcn.00403b64
jmp 0x45aa5d
mov dword [ebp - 0x40], ebx
mov byte [ebp - 0x3c], 0
lea eax, [ebp - 0x40]
push eax
push 0
lea edx, [ebp - 0x44]
mov eax, 0xb3
call fcn.004082e8
mov ecx, dword [ebp - 0x44]
mov dl, 1
mov eax, dword [0x40cfac]
call fcn.0040a04c
call fcn.004035c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45aa7a
lea eax, [ebp - 0x44]
call fcn.00403b64
ret
Function at 0x45d66c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0x40]
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x40]
mov eax, dword [ebp - 0x38]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x24], eax
xor eax, eax
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x40c]
mov word [edx + eax*2 + 0x75c], 0
inc eax
cmp eax, 0x10
jne 0x45d6a9
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x1a00]
mov edx, dword [ebp + 8]
mov eax, dword [edx + eax*4 - 0x19f8]
mov word [esi + eax*4 + 2], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x1a00]
inc eax
cmp eax, 0x23c
jg 0x45d79b
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
lea edx, [eax + edx*4 - 0x19f8]
mov ecx, dword [edx]
movzx eax, word [esi + ecx*4 + 2]
movzx eax, word [esi + eax*4 + 2]
inc eax
cmp eax, dword [ebp - 0x10]
jle 0x45d719
mov eax, dword [ebp - 0x10]
inc dword [ebp - 0x24]
mov word [esi + ecx*4 + 2], ax
cmp ecx, dword [ebp - 0xc]
jg 0x45d788
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx - 0x40c]
inc word [ebx + eax*2 + 0x75c]
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
cmp ecx, dword [ebp - 8]
jl 0x45d74c
mov ebx, ecx
sub ebx, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov ebx, dword [edi + ebx*4]
mov dword [ebp - 0x1c], ebx
mov bx, word [esi + ecx*4]
mov word [ebp - 0x1e], bx
movzx ebx, word [ebp - 0x1e]
add eax, dword [ebp - 0x1c]
imul ebx, eax
mov eax, dword [ebp + 8]
add dword [eax - 0xea8], ebx
cmp dword [ebp - 0x14], 0
je 0x45d788
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + ecx*4 + 2]
add eax, dword [ebp - 0x1c]
movzx ecx, word [ebp - 0x1e]
imul eax, ecx
mov ecx, dword [ebp + 8]
add dword [ecx - 0xeac], eax
inc dword [ebp - 0x18]
add edx, 4
cmp dword [ebp - 0x18], 0x23d
jne 0x45d701
jmp 0x47dbc8
Function at 0x45e5dc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
add esi, 0xfffffbf4
mov eax, dword [ebp + 8]
mov word [eax - 0x1a5c], 0
mov eax, dword [ebp + 8]
cmp dword [eax - 0x1a58], 0
jne 0x45e61c
mov eax, dword [ebp + 8]
mov word [eax - 0x1a5c], 1
mov eax, dword [ebp + 8]
mov dword [eax - 0x1a58], 0x10000
mov eax, 0x7fff
mov edx, dword [esi]
mov edx, dword [edx + 0xb74]
mov word [edx + eax*2], 0
mov eax, edx
xor ecx, ecx
mov edx, 0xfffe
call fcn.00406e6c
mov eax, dword [esi]
mov eax, dword [eax + 0x1a0]
mov ax, word [eax*8 + 0x465672]
mov edx, dword [ebp + 8]
mov word [edx - 0x1a62], ax
mov eax, dword [esi]
mov eax, dword [eax + 0x1a0]
mov ax, word [eax*8 + 0x465670]
mov edx, dword [ebp + 8]
mov word [edx - 0x1a64], ax
mov eax, dword [esi]
mov eax, dword [eax + 0x1a0]
movzx eax, word [eax*8 + 0x465674]
mov edx, dword [ebp + 8]
mov dword [edx - 0x1a68], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x1a0]
mov ax, word [eax*8 + 0x465676]
mov edx, dword [ebp + 8]
mov word [edx - 0x1a6a], ax
mov eax, dword [esi]
mov eax, dword [eax + 0x1a0]
cmp eax, 2
jg 0x45e6c0
mov eax, dword [esi]
mov eax, dword [eax + 0x24c]
or word [eax + 8], 4
jmp 0x45e6d2
cmp eax, 8
jl 0x45e6d2
mov eax, dword [esi]
mov eax, dword [eax + 0x24c]
or word [eax + 8], 2
mov eax, dword [ebp + 8]
mov word [eax - 0x10fe], 0
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax - 0x1104], edx
mov bx, 0x8000
mov eax, dword [ebp + 8]
lea edi, [eax - 0x420]
mov eax, dword [esi]
mov edx, dword [eax + 0xb6c]
mov ecx, ebx
mov eax, dword [edi + 4]
call dword [edi]
mov edx, dword [ebp + 8]
mov word [edx - 0x1a5a], ax
mov eax, dword [ebp + 8]
cmp word [eax - 0x1a5a], 0
je 0x45e72a
mov eax, dword [ebp + 8]
cmp word [eax - 0x1a5a], 0xffff
jne 0x45e742
mov eax, dword [ebp + 8]
mov byte [eax - 0x1a5f], 1
mov eax, dword [ebp + 8]
mov word [eax - 0x1a5a], 0
jmp 0x45e7a6
mov eax, dword [ebp + 8]
mov byte [eax - 0x1a5f], 0
mov eax, dword [ebp + 8]
cmp word [eax - 0x1a5a], 0x106
jae 0x45e764
mov eax, dword [ebp + 8]
push eax
call fcn.0045e404
pop ecx
mov eax, dword [ebp + 8]
mov word [eax - 0x1a6c], 0
xor ebx, ebx
movzx eax, bx
mov edx, dword [esi]
mov edx, dword [edx + 0xb6c]
movzx eax, byte [edx + eax]
mov edx, dword [ebp + 8]
mov dx, word [edx - 0x1a6c]
shl edx, 5
xor ax, dx
and ax, 0x7fff
mov edx, dword [ebp + 8]
mov word [edx - 0x1a6c], ax
inc ebx
cmp bx, 2
jne 0x45e772
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x45ee8c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffff57c
push ebx
push esi
push edi
mov dword [ebp - 0x40c], eax
lea edi, [ebp - 0x10fe]
xor eax, eax
mov dword [ebp - 0x1a58], eax
push ebp
call fcn.0045eac4
pop ecx
push ebp
call fcn.0045c9f8
pop ecx
push ebp
call fcn.0045d30c
pop ecx
push ebp
call fcn.0045e5dc
pop ecx
xor eax, eax
mov dword [ebp - 0x1a80], eax
mov bx, 2
xor esi, esi
mov eax, dword [ebp - 0x40c]
cmp dword [eax + 0x1a0], 3
jg 0x45eef8
push ebp
call fcn.0045eb90
pop ecx
jmp 0x45f1fb
cmp word [ebp - 0x1a5a], 0