joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404674
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffdf4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00406cf0
test esi, esi
jne 0x4046aa
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00406e68
jmp 0x4046c8
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00404558
mov edi, eax
test esi, esi
je 0x4046c8
cmp dword [ebx], 0
je 0x4046c8
dec esi
jmp 0x4046b1
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0x405c50
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov edi, edx
mov esi, eax
mov ebp, dword [esi + 0x10]
mov eax, esi
call fcn.00405eec
mov byte [esp], al
cmp byte [esp], 0
jne 0x405dda
test edi, edi
je 0x405dda
mov byte [esp + 1], 0
test ebp, ebp
jle 0x405d1a
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 0xc], eax
test ebp, ebp
jle 0x405cf5
cmp edi, 0xffffffff
je 0x405cb5
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x405cb5
mov byte [esp], 0
jmp 0x405dda
mov ebx, dword [esi]
cmp ebx, 1
jg 0x405cf5
test ebx, ebx
jne 0x405ce7
xor eax, eax
mov edx, 1
lock cmpxchg dword [esi], edx
test eax, eax
jne 0x405ce7
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x405dda
lea eax, [esp + 0xc]
call fcn.004059e4
dec ebp
test ebp, ebp
jg 0x405c9a
cmp edi, 0xffffffff
je 0x405d1a
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x405d18
mov byte [esp], 0
jmp 0x405dda
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x405c5e
lea edx, [ebx + 2]
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x405d1a
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.00405e48
mov edx, eax
mov ebx, dword [0x4588fc]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x405d7e
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x405d7c
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x405d7e
xor edi, edi
cmp byte [esp], 0
je 0x405da4
mov ebx, dword [esi]
test bl, 1
jne 0x405dba
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x405d84
mov byte [esp + 1], 1
jmp 0x405dba
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x405da4
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x405d31
cmp byte [esp], 0
je 0x405dda
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
movzx eax, byte [esp]
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x406a1c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x45805c], 0
je 0x406a83
cmp word [0x458348], 0xd7b2
jne 0x406a45
cmp dword [0x458350], 0
jbe 0x406a45
mov eax, 0x458344
call dword [0x458360]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
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
mov eax, 0x406ab0
call fcn.00407550
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x45502e], 0
jne 0x406a9f
push 0
push 0x4559ba
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x409010
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x409175
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00406cf0
cmp si, word [0x4559f8]
jb 0x4090a8
cmp si, word [0x455bf8]
ja 0x4090a8
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x4090a8
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x4559f8]
jae 0x409082
mov edi, ebx
dec edi
jmp 0x4090a3
cmp si, word [ebx*8 + 0x4559f8]
jbe 0x409092
inc ebx
mov dword [ebp - 8], ebx
jmp 0x4090a3
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x4559fc]
call fcn.00408f30
jmp 0x4090a8
cmp edi, dword [ebp - 8]
jae 0x40906c
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x409157
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x409157
push 0x55
lea eax, [ebp - 0xb2]
push eax
push 0x59
movzx ebx, si
push ebx
call sub.kernel32.dll_GetLocaleInfoW
push 0x55
lea eax, [ebp - 0x15c]
push eax
push 0x5a
push ebx
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x160]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.00407970
push dword [ebp - 0x160]
push 0x409190
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.00407970
push dword [ebp - 0x164]
push 0x4091a0
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.00407970
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.00407ba8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40917c
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.00406d50
ret
Function at 0x409328
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40942c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x45ab8c
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x45aba4]
jne 0x409374
mov eax, esi
mov edx, 0x45aba6
mov ecx, 0x55
call fcn.00407970
push 0x45ab8c
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x409416
push 0x45ab8c
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.00406cf0
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x4093e3
cmp byte [0x45ab88], 0
je 0x4093a8
mov edx, esi
mov eax, ebx
call fcn.0040920c
jmp 0x4093e3
mov edx, esi
mov eax, ebx
call fcn.00409010
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x4093e3
cmp dword [esi], 0
je 0x4093cc
mov eax, esi
mov edx, 0x409444
call fcn.00407ac8
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.00409010
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00407ac8
push 0x45ab8c
call sub.kernel32.dll_EnterCriticalSection
mov word [0x45aba4], bx
mov eax, dword [esi]
call fcn.004078cc
mov ecx, eax
mov eax, 0x45aba6
mov edx, 0xaa
call fcn.00408e90
push 0x45ab8c
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409433
lea eax, [ebp - 4]
call fcn.00406cf0
ret
Function at 0x40965c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406dd4
xor eax, eax
push ebp
push 0x409881
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x40969c
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x4096b6
mov eax, dword [ebp - 4]
call fcn.004078cc
mov ecx, eax
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.00408e90
cmp word [ebp - 0x21a], 0
je 0x40986b
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409890
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x409785
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409890
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x409785
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x4098cc
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x409785
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x4098cc
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x409785
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409900
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x409785
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409934
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x40986b
xor eax, eax
push ebp
push 0x409864
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.0040946c
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x21a]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x4097f4
mov eax, dword [ebp - 0x10]
call fcn.004042b4
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
lea eax, [ebp - 0x21a]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00407934
jmp 0x40983f
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x409974
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40983f
mov eax, dword [ebp - 0x10]
call fcn.004042b4
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x409974
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00407934
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40986b
cmp dword [ebp - 8], 0
je 0x40985a
mov eax, dword [ebp - 8]
call fcn.004042d0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409888
lea eax, [ebp - 4]
call fcn.00406cf0
ret
Function at 0x409b70
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406dd4
xor eax, eax
push ebp
push 0x409c30
push dword fs:[eax]
mov dword fs:[eax], esp
push 4
lea eax, [ebp - 0xc]
push eax
push 3
call sub.kernel32.dll_GetUserDefaultUILanguage
movzx eax, ax
push eax
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.00407970
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00407b20
mov eax, dword [ebx]
call fcn.00409a38
test al, al
jne 0x409c0d
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.00407970
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00407b20
mov eax, dword [ebx]
call fcn.00409a38
test al, al
jne 0x409c0d
mov eax, ebx
call fcn.00406cf0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409c37
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00406d50
lea eax, [ebp - 4]
call fcn.00406cf0
ret

Function at 0x40a520
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
push esp
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [esp + 0x14]
add esp, 0x24
ret

Function at 0x414cb8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x414d11
test eax, edx
je 0x414d14
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x414ccf
movzx eax, word [eax]
sub eax, ecx
jmp 0x414cf6
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]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x414cf7
add ecx, 4
js 0x414ce7
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x414cf4
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x414cf6
xor eax, eax
ret
test eax, eax
je 0x414d20
test edx, edx
jne 0x414cc0
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x415ae8
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [esi]
add eax, edi
push eax
push ebx
call sub.kernel32.dll_ReadFile_1
test eax, eax
jne 0x415b15
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4

Function at 0x4198f0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x419929
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00406e68
jmp 0x419932
mov eax, ebx
mov edx, esi
call fcn.004070c0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x41993c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [ebp - 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x419960
movzx eax, word [ebp - 4]
jmp 0x419962
mov eax, edi
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x41a8dc
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x41aa01
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.0041a6e4
mov esi, eax
mov eax, dword [0x457858]
cmp byte [eax], 0
je 0x41a9a9
mov eax, dword [0x4576b8]
call fcn.00404b60
call fcn.00404408
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x41a8ac]
call fcn.00408a6c
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x41aa1c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x41a9e5
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x457674]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x45ac54]
call fcn.00408b30
push eax
call sub.user32.dll_LoadStringW_1
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.user32.dll_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41aa08
lea eax, [ebp - 4]
mov edx, dword [0x41a8ac]
call fcn.00408a78
ret

Function at 0x41c01c
Capabilities:
Encode data using xor

Disassembly:
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x41c048
cmp bl, 0
je 0x41c044
cmp bl, 0x41
jl 0x41c03f
cmp bl, 0x5a
jg 0x41c03f
or bl, 0x20
xor al, bl
inc esi
jmp 0x41c023
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp fcn.0041bf78

Function at 0x4273c8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x42741a
test eax, edx
je 0x42741d
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x4273dd
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 0x427403
add ecx, 4
js 0x4273f3
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x427400
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 0x427429
test edx, edx
jne 0x4273d0
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret
Function at 0x43d668
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x45cfb8
cmp dword [edi], 0
jne 0x43d6e4
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x45cfb4]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4574b8
mov ecx, 2
call fcn.00404458
mov edx, 0x43d640
lea eax, [esi + 5]
call fcn.0043d660
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0043d660
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 0x43d6b9
mov dword [0x45cfb4], 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 0x446474
Capabilities:
Encrypt data using rc6

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
lea edx, [esp + 4]
mov eax, dword [0x45d074]
mov ecx, 0x40
call fcn.00404458
mov dword [0x45cfc0], 0xb7e15163
mov ebx, 0x2b
mov eax, 0x45cfc0
mov edx, dword [eax]
add edx, 0x9e3779b9
mov dword [eax + 4], edx
add eax, 4
dec ebx
jne 0x4464a2
xor ebx, ebx
xor edi, edi
xor esi, esi
xor ebp, ebp
mov dword [esp], 0x84
mov eax, dword [ebx*4 + 0x45cfc0]
add eax, esi
add eax, ebp
mov edx, 3
call fcn.00446320
mov esi, eax
mov dword [ebx*4 + 0x45cfc0], esi
lea edx, [ebp + esi]
mov eax, dword [esp + edi*4 + 4]
add eax, esi
add eax, ebp
call fcn.00446320
mov ebp, eax
mov dword [esp + edi*4 + 4], ebp
lea eax, [ebx + 1]
mov ecx, 0x2c
cdq
idiv ecx
mov ebx, edx
inc edi
and edi, 0x8000000f
jns 0x446512
dec edi
or edi, 0xfffffff0
inc edi
dec dword [esp]
jne 0x4464c2
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4465a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 4], eax
lea esi, [ebp - 0x38]
mov byte [ebp - 5], 1
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
xor eax, eax
push ebp
push 0x446772
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
jne 0x4465e1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x446780
mov eax, ebx
call fcn.00446520
call fcn.00446474
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
jmp 0x446702
mov edx, esi
mov ecx, 0x10
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [0x4577e0]
mov eax, dword [eax + 0xac]
sub dword [esi + 8], eax
mov eax, dword [0x4577e0]
mov eax, dword [eax + 0xa8]
sub dword [esi], eax
mov ebx, 0x14
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 8]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 4]
mov dword [esi + 8], eax
mov eax, dword [esi]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x28]
mov dword [esi], eax
mov eax, dword [esi + 0xc]
add eax, eax
inc eax
imul dword [esi + 0xc]
mov edx, 5
call fcn.00446320
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 4]
add eax, eax
inc eax
imul dword [esi + 4]
mov edx, 5
call fcn.00446320
mov dword [ebp - 0x20], eax
mov eax, ebx
add eax, eax
mov edx, dword [0x4577e0]
push dword [edx + eax*4 + 4]
mov eax, dword [esi + 8]
pop edx
sub eax, edx
mov edx, dword [ebp - 0x20]
call fcn.00446340
xor eax, dword [ebp - 0x24]
mov dword [esi + 8], eax
mov eax, ebx
add eax, eax
mov edx, dword [0x4577e0]
push dword [edx + eax*4]
mov eax, dword [esi]
pop edx
sub eax, edx
mov edx, dword [ebp - 0x24]
call fcn.00446340
xor eax, dword [ebp - 0x20]
mov dword [esi], eax
dec ebx
test ebx, ebx
jne 0x44662f
mov eax, dword [0x4577e0]
mov eax, dword [eax + 4]
sub dword [esi + 0xc], eax
mov eax, dword [0x4577e0]
mov eax, dword [eax]
sub dword [esi + 4], eax
mov byte [ebp - 0x1a], 1
mov cx, 1
mov edx, 0xfffffff0
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x1c]
mov edx, esi
mov ecx, 0x10
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x10]
add dword [ebp - 0x10], 0x10
adc dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
sub eax, dword [ebp - 0x10]
sbb edx, dword [ebp - 0xc]
cmp edx, 0
jne 0x44671e
cmp eax, 0x10
jae 0x446600
jmp 0x446724
jge 0x446600
call fcn.00446558
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx]
sub eax, 1
sbb edx, 0
push edx
push eax
mov eax, dword [ebp - 4]
call fcn.00437774
lea edx, [ebp - 0x19]
mov ecx, 1
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx]
mov edx, eax
movzx eax, byte [ebp - 0x19]
sub edx, eax
dec edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 4]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x446780
movzx eax, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4496cc
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x2001f
push 0
push 0x449768
push 0
mov eax, ebx
call fcn.004078cc
push eax
mov eax, dword [ebp + 8]
push eax
call sub.advapi32.dll_RegCreateKeyExW
mov ebx, eax
test ebx, ebx
jne 0x449743
mov ebx, esi
test ebx, ebx
je 0x449715
sub ebx, 4
mov ebx, dword [ebx]
inc ebx
mov eax, ebx
add eax, eax
push eax
mov eax, esi
call fcn.004078cc
push eax
push 1
push 0
mov eax, edi
call fcn.004078cc
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueExW
mov ebx, eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
test ebx, ebx
je 0x44975e
mov ecx, dword [0x4576d0]
mov dl, 1
mov eax, dword [0x447a64]
call fcn.0041aaec
call fcn.00406488
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4

Function at 0x44b268
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffde8
mov esi, edx
mov ebx, eax
mov eax, esi
call fcn.00406cf0
test ebx, ebx
jg 0x44b2a5
push 0x105
lea eax, [esp + 0x10]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW_1
mov dword [esp + 8], eax
lea edx, [esp + 0xc]
mov eax, esi
mov ecx, dword [esp + 8]
call fcn.00406e68
jmp 0x44b305
call sub.kernel32.dll_GetCommandLineW_1
mov dword [esp], eax
mov eax, esp
xor ecx, ecx
xor edx, edx
call fcn.0044b1d0
dec ebx
test ebx, ebx
je 0x44b2ce
mov eax, esp
xor ecx, ecx
xor edx, edx
call fcn.0044b1d0
test al, al
je 0x44b305
jmp 0x44b2b8
mov eax, dword [esp]
mov dword [esp + 4], eax
lea ecx, [esp + 8]
lea eax, [esp + 4]
xor edx, edx
call fcn.0044b1d0
test al, al
je 0x44b305
mov eax, esi
mov edx, dword [esp + 8]
call fcn.00407a48
mov eax, dword [esi]
call fcn.004078cc
mov edx, eax
mov eax, esp
xor ecx, ecx
call fcn.0044b1d0
add esp, 0x218
pop esi
pop ebx
ret

Function at 0x44efb4
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffe4
mov edi, eax
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
call sub.kernel32.dll_GetTickCount_1
mov esi, eax
jmp 0x44effc
push 1
push 0
push 0
push 0
lea eax, [esp + 0x10]
push eax
call sub.user32.dll_PeekMessageW
test eax, eax
je 0x44efee
push esp
call sub.user32.dll_TranslateMessage
push esp
call sub.user32.dll_DispatchMessageW
push 1
call sub.kernel32.dll_Sleep_1
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
sub ebx, esi
cmp edi, ebx
jg 0x44efcc
add esp, 0x1c
pop edi
pop esi
pop ebx
ret