joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403130
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x41a200
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
mov esi, ecx
push str.Filter.ini
lea ecx, [esp + 0x10]
call fcn.0041214a
push str.UrlFilter
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0
call fcn.0041214a
push 0x421504
lea ecx, [esp + 8]
mov byte [esp + 0x28], 1
call fcn.0041214a
lea eax, [esp + 4]
lea ecx, [esp + 8]
push eax
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, esi
mov byte [esp + 0x30], 2
call fcn.00403490
lea ecx, [esp + 4]
mov byte [esp + 0x24], 1
call fcn.004120dc
lea ecx, [esp + 8]
mov byte [esp + 0x24], 0
call fcn.004120dc
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.004120dc
mov ecx, esi
call fcn.00403280
mov ecx, esi
call fcn.00403330
mov ecx, esi
call fcn.004033e0
mov ecx, esi
call fcn.00402fb0
push str.FilterFly.ini
lea ecx, [esp + 0x1c]
call fcn.0041214a
push str.FlyUnFilter
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 3
call fcn.0041214a
push 0x421504
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 4
call fcn.0041214a
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, esi
mov byte [esp + 0x30], 5
call fcn.00403490
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 4
call fcn.004120dc
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 3
call fcn.004120dc
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], 0xffffffff
call fcn.004120dc
mov ecx, dword [esp + 0x1c]
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x4035a0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x41a310
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
push 0x424d3c
lea ecx, [esp + 8]
call fcn.0041214a
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x24], 0
test esi, esi
je 0x4035fe
lea eax, [esp + 0x2c]
push eax
call fcn.00403c00
add esp, 4
push eax
lea ecx, [esp + 8]
mov byte [esp + 0x28], 1
call fcn.004121c9
mov byte [esp + 0x24], 0
lea ecx, [esp + 0x2c]
jmp 0x403646
lea ecx, [esp + 8]
push ecx
call fcn.00403c30
add esp, 4
push str.Resource_version.ini
lea edx, [esp + 0x30]
push eax
push edx
mov byte [esp + 0x30], 2
call fcn.00412325
push eax
lea ecx, [esp + 8]
mov byte [esp + 0x28], 3
call fcn.004121c9
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24], 2
call fcn.004120dc
mov byte [esp + 0x24], 0
lea ecx, [esp + 8]
call fcn.004120dc
mov eax, dword [esp + 4]
push eax
push 0
push str.combineFilter
push str.Version
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
jle 0x40374d
push 0x424d3c
lea ecx, [esp + 0x30]
call fcn.0041214a
test esi, esi
mov byte [esp + 0x24], 4
je 0x403691
push 0x424d70
lea ecx, [esp + 0x30]
call fcn.004121c9
jmp 0x4036de
lea ecx, [esp + 0xc]
push ecx
call fcn.00403c30
add esp, 4
push str.Resource_
lea edx, [esp + 0xc]
push eax
push edx
mov byte [esp + 0x30], 5
call fcn.00412325
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 6
call fcn.004121c9
lea ecx, [esp + 8]
mov byte [esp + 0x24], 5
call fcn.004120dc
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 4
call fcn.004120dc
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x10]
push eax
push 0x424d80
call fcn.00402f30
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 7
call fcn.00403130
test esi, esi
je 0x403731
lea ecx, [esp + 0xc]
push ecx
call fcn.00403c00
mov eax, dword [eax]
add esp, 4
push eax
push 0x421570
push str.combineFilter
push str.Version
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [esp + 0xc]
call fcn.004120dc
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 4
call fcn.00402ed0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24], 0
call fcn.004120dc
lea ecx, [esp + 4]
mov dword [esp + 0x24], 0xffffffff
call fcn.004120dc
mov ecx, dword [esp + 0x1c]
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret

Function at 0x403930
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x41a375
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10c
push esi
lea eax, [esp + 4]
push edi
push eax
mov dword [esp + 0x10], 0
call fcn.00403c00
add esp, 4
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x11]
mov byte [esp + 0x10], 0
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 8]
lea edx, [esp + 0x10]
push ecx
push 0x104
stosw word es:[edi], ax
push edx
push 0
push str.update
push str.Version
mov dword [esp + 0x134], 1
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esi, dword [esp + 0x124]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.0041214a
mov dword [esp + 0xc], 1
lea ecx, [esp + 8]
mov byte [esp + 0x11c], 0
call fcn.004120dc
mov ecx, dword [esp + 0x114]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x118
ret
Function at 0x403b30
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x41a3c7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x4215e8]
push esi
mov dword [esp + 0xc], 0
mov dword [esp + 4], eax
lea ecx, [esp + 8]
mov dword [esp + 0x18], 1
push ecx
call fcn.004039f0
add esp, 4
mov eax, dword [eax]
lea ecx, [esp + 4]
push eax
push 0x100
push 0x100
mov byte [esp + 0x24], 2
call fcn.004124c0
push eax
push str.English.ini
push str.LngFile
push str.Settings
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 8]
mov byte [esp + 0x18], 1
call fcn.004120dc
push 0xffffffffffffffff
lea ecx, [esp + 8]
call fcn.0041250f
mov esi, dword [esp + 0x20]
lea edx, [esp + 4]
push edx
mov ecx, esi
call fcn.00411e51
mov dword [esp + 0xc], 1
lea ecx, [esp + 4]
mov byte [esp + 0x18], 0
call fcn.004120dc
mov ecx, dword [esp + 0x10]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret

Function at 0x403c60
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x41a3eb
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x82c
push eax
call fcn.004022e0
add esp, 4
test eax, eax
je 0x403d6c
push ebx
push ebp
push esi
push edi
mov ecx, 0x208
xor eax, eax
lea edi, [esp + 0x19]
mov byte [esp + 0x18], 0
rep stosd dword es:[edi], eax
mov ebp, dword [esp + 0x850]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [esp + 0x854]
mov esi, 1
mov dword [esp + 0x14], esi
mov ecx, dword [0x4215e8]
mov dword [esp + 0x10], ecx
mov edx, dword [edi]
push esi
push edx
lea eax, [esp + 0x18]
push str._s_d
push eax
mov dword [esp + 0x854], 0
call fcn.00411184
mov ecx, dword [esp + 0x85c]
add esp, 0x10
lea edx, [esp + 0x18]
mov eax, dword [ecx]
mov ecx, dword [ebp]
push eax
mov eax, dword [esp + 0x14]
push 0x824
push edx
push 0x424d3c
push eax
push ecx
call ebx
test eax, eax
jne 0x403d1f
mov dword [esp + 0x14], eax
jmp 0x403d47
lea ecx, [esp + 0x18]
push 0
push ecx
mov ecx, dword [esp + 0x860]
call fcn.00411717
test eax, eax
jne 0x403d47
mov ecx, dword [esp + 0x858]
lea edx, [esp + 0x18]
push edx
call fcn.00411669
lea ecx, [esp + 0x10]
inc esi
mov dword [esp + 0x844], 0xffffffff
call fcn.004120dc
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x403cc6
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x82c]
mov dword fs:[0], ecx
add esp, 0x838
ret
Function at 0x4179f0
Capabilities:
Create http request

Disassembly:
mov eax, 0x41a4b4
call fcn.00405c54
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0xc]
and dword [ebp - 4], 0
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x417a28
call fcn.0041918f
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [esi + 8], eax
jne 0x417a4d
push eax
push dword [esi + 4]
call fcn.00418777
jmp 0x417a59
push esi
push eax
mov ecx, 0x424e38
call fcn.00417a6a
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0x18

Function at 0x417bca
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x41a4ef
call fcn.00405c54
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.004153ff
mov eax, dword [0x4215e8]
lea ebx, [esi + 0x24]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebx], eax
mov eax, dword [ebp + 0x10]
mov dword [esi], vtable.CInternetFile.0
mov ecx, 0x424e38
mov byte [ebp - 4], 1
push dword [eax + 0xc]
push dword [ebp + 8]
call fcn.00417a6a
push dword [ebp + 0xc]
lea ecx, [esi + 0xc]
call fcn.00412219
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 8]
mov dword [esi + 0x1c], eax
lea eax, [ebp + 0x10]
push eax
call fcn.00403f2b
push eax
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.004121c9
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 1
call fcn.004120dc
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x18], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x40], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10
Function at 0x40324c
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404ac4
test esi, esi
jne 0x403282
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00404bb4
jmp 0x4032a0
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00403150
mov edi, eax
test esi, esi
je 0x4032a0
cmp dword [ebx], 0
je 0x4032a0
dec esi
jmp 0x403289
add esp, 0x108
pop edi
pop esi
pop ebx
ret

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

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x465008], 0x8088405
inc edx
mov dword [ebx + 0x465008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x403a10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x465024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403aa8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403a88
xor eax, eax
push ebp
push 0x403a81
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403ac4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403a88
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x465024]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x465024], ax
mov esp, ebp
pop ebp
ret

Function at 0x404944
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x468044], 0
je 0x4049a5
cmp word [0x468218], 0xd7b2
jne 0x40496d
cmp dword [0x468220], 0
jbe 0x40496d
mov eax, 0x468214
call dword [0x468230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x4049cc
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x465030], 0
jne 0x4049c1
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x40865c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x4086ae
test eax, edx
je 0x4086b1
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x408671
movzx eax, byte [eax]
sub eax, ecx
ret
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x408697
add ecx, 4
js 0x408687
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x408694
movzx eax, byte [ecx + eax]
movzx edx, byte [ecx + edx]
sub eax, edx
pop ebx
pop ebx
ret
xor eax, eax
ret
test eax, eax
je 0x4086bd
test edx, edx
jne 0x408664
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x408f44
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, esi
call fcn.00404f54
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x408f62
test al, 0x10
sete al
pop esi
pop ebx
ret
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 2
je 0x408f83
cmp ebx, 3
je 0x408f83
cmp ebx, 0x7b
je 0x408f83
mov eax, esi
call fcn.00408f04
test al, al
jne 0x408f87
xor eax, eax
jmp 0x408f89
mov al, 1
pop esi
pop ebx
ret

Function at 0x40ba38
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40ba71
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404bb4
jmp 0x40ba7a
mov eax, ebx
mov edx, esi
call fcn.00404b18
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40ba84
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40baa6
movzx eax, byte [esp]
jmp 0x40baa8
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40c138
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40bfb0
mov eax, dword [0x467254]
cmp byte [eax], 0
je 0x40c1b4
mov eax, dword [0x467034]
call fcn.0040339c
call fcn.00402fbc
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00409178
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40c1fc
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c1ea
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x466fc8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x46a7f0]
call fcn.00405c68
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40ca74
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40cb4a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00404b5c
lea eax, [ebp - 4]
call fcn.00404fac
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00404f54
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40cb34
mov eax, ebx
call fcn.00402e60
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40cb2d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00404f54
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40cb17
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40cb5c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40cb17
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cb34
mov eax, dword [ebp - 0x10]
call fcn.00402e7c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cb51
lea eax, [ebp - 4]
call fcn.00404ac4
ret

Function at 0x41ba20
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x46c9e8
cmp dword [edi], 0
jne 0x41ba9c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x46c9e4]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x465b54
mov ecx, 2
call fcn.00403050
mov edx, 0x41b9f8
lea eax, [esi + 5]
call fcn.0041ba18
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041ba18
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x41ba71
mov dword [0x46c9e4], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x41be78
Capabilities:
Encrypt data using des

Disassembly:
push ebx
mov ecx, edx
and cl, 0x20
mov ebx, edx
and bl, 0x1e
movzx ebx, bl
shr ebx, 1
or cl, bl
and dl, 1
shl edx, 4
or cl, dl
mov edx, ecx
movzx edx, dl
movzx eax, al
add eax, eax
add eax, eax
add eax, eax
lea eax, [eax*8 + 0x465ce0]
movzx eax, byte [eax + edx]
and al, 0xf
pop ebx
ret
Function at 0x41beb0
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
test ebx, ebx
js 0x41bec8
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x41bec1
mov eax, esp
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, 7
call fcn.0040354c
xor edx, edx
mov eax, 0x465ee0
movzx ebx, byte [eax]
mov ecx, ebx
and cl, 7
movzx ecx, cl
push ecx
mov ecx, 7
pop esi
sub ecx, esi
mov esi, 1
shl esi, cl
movzx ecx, bl
shr ecx, 3
mov ebx, dword [ebp - 4]
movzx ecx, byte [ebx + ecx]
and esi, ecx
je 0x41bf2f
mov ecx, edx
and ecx, 7
push ecx
mov ecx, 7
pop ebx
sub ecx, ebx
mov bl, 1
shl bl, cl
mov ecx, edx
shr ecx, 3
mov esi, dword [ebp - 8]
or byte [esi + ecx], bl
inc edx
inc eax
cmp edx, 0x38
jne 0x41bee6
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4

Function at 0x41c170
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
mov ebx, dword [ebp + 0x10]
test ebx, ebx
js 0x41c189
shr ebx, 2
mov esi, dword [ecx + ebx*4]
dec ebx
push esi
jns 0x41c182
mov ecx, esp
mov ebx, edx
test ebx, ebx
js 0x41c19b
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x41c194
mov eax, esp
mov dword [ebp - 4], ecx
push 5
lea ecx, [ebp - 0xa]
call fcn.0041bd68
mov ebx, 6
mov eax, dword [ebp - 4]
lea edx, [ebp - 0xa]
movzx ecx, byte [eax]
xor byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x41c1b5
movzx eax, byte [ebp - 0xa]
movzx edx, al
shr edx, 2
mov byte [ebp - 0x12], dl
and al, 3
shl eax, 4
movzx edx, byte [ebp - 9]
movzx ecx, dl
shr ecx, 4
or al, cl
mov byte [ebp - 0x11], al
and dl, 0xf
add edx, edx
add edx, edx
movzx eax, byte [ebp - 8]
movzx ecx, al
shr ecx, 6
or dl, cl
mov byte [ebp - 0x10], dl
and al, 0x3f
mov byte [ebp - 0xf], al
movzx eax, byte [ebp - 7]
movzx edx, al
shr edx, 2
mov byte [ebp - 0xe], dl
and al, 3
shl eax, 4
movzx edx, byte [ebp - 6]
shr edx, 4
or al, dl
mov byte [ebp - 0xd], al
movzx eax, byte [ebp - 6]
and al, 0xf
add eax, eax
add eax, eax
movzx edx, byte [ebp - 5]
shr edx, 6
or al, dl
mov byte [ebp - 0xc], al
movzx eax, byte [ebp - 5]
and al, 0x3f
mov byte [ebp - 0xb], al
xor ebx, ebx
lea esi, [ebp - 0x12]
mov eax, ebx
movzx edx, byte [esi]
call fcn.0041be78
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 8
jne 0x41c23d
mov ebx, 4
lea eax, [ebp - 0x12]
lea edx, [ebp - 0xa]
movzx ecx, byte [eax]
shl ecx, 4
or cl, byte [eax + 1]
mov byte [edx], cl
inc edx
add eax, 2
dec ebx
jne 0x41c25b
lea eax, [ebp - 0xa]
mov edx, 5
call fcn.0041bdf8
mov ebx, 4
lea eax, [ebp - 0xa]
mov edx, dword [ebp + 0xc]
movzx ecx, byte [eax]
mov byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x41c285
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41c29c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov ebx, ecx
test ebx, ebx
js 0x41c2b5
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x41c2ae
mov edx, esp
mov dword [ebp - 4], edx
mov ebx, eax
mov dword [ebp - 8], 8
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
movzx edx, byte [eax]
mov byte [ecx], dl
inc ecx
inc eax
dec dword [ebp - 8]
jne 0x41c2c9
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0041bc68
test bl, bl
jne 0x41c3a3
mov dword [ebp - 8], 0x10
mov dword [ebp - 0x14], 0x46c9ec
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
movzx ecx, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x41c301
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
movzx ecx, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x41c316
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0041c170
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
movzx ebx, byte [edx]
xor bl, byte [esi]
mov byte [ecx], bl
inc ecx
inc esi
inc edx
dec eax
jne 0x41c349
add dword [ebp - 0x14], 6
dec dword [ebp - 8]
jne 0x41c2f6
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ecx, [ebp - 0xc]
movzx ebx, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x41c36d
mov eax, 4
mov edx, dword [ebp + 0xc]
movzx ecx, byte [edx]
mov byte [edx + 4], cl
inc edx
dec eax
jne 0x41c37f
mov eax, 4
lea edx, [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
movzx ebx, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x41c394
jmp 0x41c464
cmp bl, 1
jne 0x41c464
mov dword [ebp - 8], 0xfffffff0
mov ebx, 0x46ca46
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
movzx ecx, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x41c3c3
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
movzx ecx, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x41c3d8
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov ecx, ebx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0041c170
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp - 0x18], ecx
movzx ecx, byte [edx]
xor cl, byte [esi]
mov edi, dword [ebp - 0x18]
mov byte [edi], cl
inc dword [ebp - 0x18]
inc esi
inc edx
dec eax
jne 0x41c40b
sub ebx, 6
inc dword [ebp - 8]
jne 0x41c3b8
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ebx, [ebp - 0xc]
movzx ecx, byte [edx]
mov byte [ebx], cl
inc ebx
inc edx
dec eax
jne 0x41c433
mov eax, 4
mov ebx, dword [ebp + 0xc]
movzx edx, byte [ebx]
mov byte [ebx + 4], dl
inc ebx
dec eax
jne 0x41c445
mov eax, 4
lea ebx, [ebp - 0xc]
mov edx, dword [ebp + 0xc]
movzx ecx, byte [ebx]
mov byte [edx], cl
inc edx
inc ebx
dec eax
jne 0x41c45a
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0041bce8
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret 8
Function at 0x41cffc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00404f54
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x41d054
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x467390]
mov dl, 1
mov eax, dword [0x41cb08]
call fcn.0040c2f8
call fcn.00404484
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0041cc10
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x41e1e4
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x41e1ea
ret