joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40462c
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.00406400
test esi, esi
jne 0x404662
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.00406578
jmp 0x404680
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00404510
mov edi, eax
test esi, esi
je 0x404680
cmp dword [ebx], 0
je 0x404680
dec esi
jmp 0x404669
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0x405360
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.004055fc
mov byte [esp], al
cmp byte [esp], 0
jne 0x4054ea
test edi, edi
je 0x4054ea
mov byte [esp + 1], 0
test ebp, ebp
jle 0x40542a
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 0xc], eax
test ebp, ebp
jle 0x405405
cmp edi, 0xffffffff
je 0x4053c5
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x4053c5
mov byte [esp], 0
jmp 0x4054ea
mov ebx, dword [esi]
cmp ebx, 1
jg 0x405405
test ebx, ebx
jne 0x4053f7
xor eax, eax
mov edx, 1
lock cmpxchg dword [esi], edx
test eax, eax
jne 0x4053f7
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x4054ea
lea eax, [esp + 0xc]
call fcn.004050f4
dec ebp
test ebp, ebp
jg 0x4053aa
cmp edi, 0xffffffff
je 0x40542a
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x405428
mov byte [esp], 0
jmp 0x4054ea
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x40536e
lea edx, [ebx + 2]
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x40542a
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.00405558
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 0x40548e
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x40548c
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x40548e
xor edi, edi
cmp byte [esp], 0
je 0x4054b4
mov ebx, dword [esi]
test bl, 1
jne 0x4054ca
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x405494
mov byte [esp + 1], 1
jmp 0x4054ca
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x4054b4
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x405441
cmp byte [esp], 0
je 0x4054ea
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 0x40612c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x45805c], 0
je 0x406193
cmp word [0x458348], 0xd7b2
jne 0x406155
cmp dword [0x458350], 0
jbe 0x406155
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, 0x4061c0
call fcn.00406c60
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x45502e], 0
jne 0x4061af
push 0
push 0x4559ba
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x408720
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 0x408885
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00406400
cmp si, word [0x4559f8]
jb 0x4087b8
cmp si, word [0x455bf8]
ja 0x4087b8
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x4087b8
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x4559f8]
jae 0x408792
mov edi, ebx
dec edi
jmp 0x4087b3
cmp si, word [ebx*8 + 0x4559f8]
jbe 0x4087a2
inc ebx
mov dword [ebp - 8], ebx
jmp 0x4087b3
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x4559fc]
call fcn.00408640
jmp 0x4087b8
cmp edi, dword [ebp - 8]
jae 0x40877c
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x408867
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x408867
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.00407080
push dword [ebp - 0x160]
push 0x4088a0
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.00407080
push dword [ebp - 0x164]
push 0x4088b0
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.00407080
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.004072b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40888c
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.00406460
ret
Function at 0x408a38
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 0x408b3c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x45ab8c
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x45aba4]
jne 0x408a84
mov eax, esi
mov edx, 0x45aba6
mov ecx, 0x55
call fcn.00407080
push 0x45ab8c
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x408b26
push 0x45ab8c
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.00406400
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x408af3
cmp byte [0x45ab88], 0
je 0x408ab8
mov edx, esi
mov eax, ebx
call fcn.0040891c
jmp 0x408af3
mov edx, esi
mov eax, ebx
call fcn.00408720
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x408af3
cmp dword [esi], 0
je 0x408adc
mov eax, esi
mov edx, 0x408b54
call fcn.004071d8
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.00408720
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.004071d8
push 0x45ab8c
call sub.kernel32.dll_EnterCriticalSection
mov word [0x45aba4], bx
mov eax, dword [esi]
call fcn.00406fdc
mov ecx, eax
mov eax, 0x45aba6
mov edx, 0xaa
call fcn.004085a0
push 0x45ab8c
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408b43
lea eax, [ebp - 4]
call fcn.00406400
ret
Function at 0x408d6c
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.004064e4
xor eax, eax
push ebp
push 0x408f91
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x408dac
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x408dc6
mov eax, dword [ebp - 4]
call fcn.00406fdc
mov ecx, eax
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.004085a0
cmp word [ebp - 0x21a], 0
je 0x408f7b
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x408fa0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x408e95
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x408fa0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x408e95
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x408fdc
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x408e95
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x408fdc
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x408e95
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409010
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x408e95
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409044
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x408f7b
xor eax, eax
push ebp
push 0x408f74
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.00408b7c
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 0x408f04
mov eax, dword [ebp - 0x10]
call fcn.0040426c
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.00407044
jmp 0x408f4f
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x409084
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x408f4f
mov eax, dword [ebp - 0x10]
call fcn.0040426c
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x409084
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00407044
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408f7b
cmp dword [ebp - 8], 0
je 0x408f6a
mov eax, dword [ebp - 8]
call fcn.00404288
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 0x408f98
lea eax, [ebp - 4]
call fcn.00406400
ret
Function at 0x409280
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.004064e4
xor eax, eax
push ebp
push 0x409340
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.00407080
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00407230
mov eax, dword [ebx]
call fcn.00409148
test al, al
jne 0x40931d
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.00407080
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00407230
mov eax, dword [ebx]
call fcn.00409148
test al, al
jne 0x40931d
mov eax, ebx
call fcn.00406400
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409347
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00406460
lea eax, [ebp - 4]
call fcn.00406400
ret

Function at 0x409bfc
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 0x414394
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x4143ed
test eax, edx
je 0x4143f0
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x4143ab
movzx eax, word [eax]
sub eax, ecx
jmp 0x4143d2
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 0x4143d3
add ecx, 4
js 0x4143c3
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x4143d0
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x4143d2
xor eax, eax
ret
test eax, eax
je 0x4143fc
test edx, edx
jne 0x41439c
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x4151c4
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
test eax, eax
jne 0x4151f1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4

Function at 0x418fcc
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 0x419005
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00406578
jmp 0x41900e
mov eax, ebx
mov edx, esi
call fcn.004067d0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x419018
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 0x41903c
movzx eax, word [ebp - 4]
jmp 0x41903e
mov eax, edi
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x419fb8
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 0x41a0dd
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00419dc0
mov esi, eax
mov eax, dword [0x457854]
cmp byte [eax], 0
je 0x41a085
mov eax, dword [0x4576b4]
call fcn.00404764
call fcn.004043c0
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 [0x419f88]
call fcn.0040817c
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 0x41a0f8
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x41a0c1
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x457670]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x45ac54]
call fcn.00408240
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 0x41a0e4
lea eax, [ebp - 4]
mov edx, dword [0x419f88]
call fcn.00408188
ret

Function at 0x41b6f8
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 0x41b724
cmp bl, 0
je 0x41b720
cmp bl, 0x41
jl 0x41b71b
cmp bl, 0x5a
jg 0x41b71b
or bl, 0x20
xor al, bl
inc esi
jmp 0x41b6ff
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp fcn.0041b654

Function at 0x426aa4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x426af6
test eax, edx
je 0x426af9
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x426ab9
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 0x426adf
add ecx, 4
js 0x426acf
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x426adc
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 0x426b05
test edx, edx
jne 0x426aac
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret
Function at 0x43cd44
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 0x43cdc0
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.00404410
mov edx, 0x43cd1c
lea eax, [esi + 5]
call fcn.0043cd3c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0043cd3c
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 0x43cd95
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 0x445b50
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.00404410
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 0x445b7e
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.004459fc
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.004459fc
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 0x445bee
dec edi
or edi, 0xfffffff0
inc edi
dec dword [esp]
jne 0x445b9e
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x445c7c
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 0x445e4e
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
jne 0x445cbd
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x445e5c
mov eax, ebx
call fcn.00445bfc
call fcn.00445b50
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
jmp 0x445dde
mov edx, esi
mov ecx, 0x10
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [0x4577dc]
mov eax, dword [eax + 0xac]
sub dword [esi + 8], eax
mov eax, dword [0x4577dc]
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.004459fc
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 4]
add eax, eax
inc eax
imul dword [esi + 4]
mov edx, 5
call fcn.004459fc
mov dword [ebp - 0x20], eax
mov eax, ebx
add eax, eax
mov edx, dword [0x4577dc]
push dword [edx + eax*4 + 4]
mov eax, dword [esi + 8]
pop edx
sub eax, edx
mov edx, dword [ebp - 0x20]
call fcn.00445a1c
xor eax, dword [ebp - 0x24]
mov dword [esi + 8], eax
mov eax, ebx
add eax, eax
mov edx, dword [0x4577dc]
push dword [edx + eax*4]
mov eax, dword [esi]
pop edx
sub eax, edx
mov edx, dword [ebp - 0x24]
call fcn.00445a1c
xor eax, dword [ebp - 0x20]
mov dword [esi], eax
dec ebx
test ebx, ebx
jne 0x445d0b
mov eax, dword [0x4577dc]
mov eax, dword [eax + 4]
sub dword [esi + 0xc], eax
mov eax, dword [0x4577dc]
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 0x445dfa
cmp eax, 0x10
jae 0x445cdc
jmp 0x445e00
jge 0x445cdc
call fcn.00445c34
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.00436e50
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 0x445e5c
movzx eax, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x448da8
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 0x448e44
push 0
mov eax, ebx
call fcn.00406fdc
push eax
mov eax, dword [ebp + 8]
push eax
call sub.advapi32.dll_RegCreateKeyExW
mov ebx, eax
test ebx, ebx
jne 0x448e1f
mov ebx, esi
test ebx, ebx
je 0x448df1
sub ebx, 4
mov ebx, dword [ebx]
inc ebx
mov eax, ebx
add eax, eax
push eax
mov eax, esi
call fcn.00406fdc
push eax
push 1
push 0
mov eax, edi
call fcn.00406fdc
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 0x448e3a
mov ecx, dword [0x4576cc]
mov dl, 1
mov eax, dword [0x447140]
call fcn.0041a1c8
call fcn.00405b98
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4

Function at 0x44a944
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffde8
mov esi, edx
mov ebx, eax
mov eax, esi
call fcn.00406400
test ebx, ebx
jg 0x44a981
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.00406578
jmp 0x44a9e1
call sub.kernel32.dll_GetCommandLineW_1
mov dword [esp], eax
mov eax, esp
xor ecx, ecx
xor edx, edx
call fcn.0044a8ac
dec ebx
test ebx, ebx
je 0x44a9aa
mov eax, esp
xor ecx, ecx
xor edx, edx
call fcn.0044a8ac
test al, al
je 0x44a9e1
jmp 0x44a994
mov eax, dword [esp]
mov dword [esp + 4], eax
lea ecx, [esp + 8]
lea eax, [esp + 4]
xor edx, edx
call fcn.0044a8ac
test al, al
je 0x44a9e1
mov eax, esi
mov edx, dword [esp + 8]
call fcn.00407158
mov eax, dword [esi]
call fcn.00406fdc
mov edx, eax
mov eax, esp
xor ecx, ecx
call fcn.0044a8ac
add esp, 0x218
pop esi
pop ebx
ret

Function at 0x44e67c
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 0x44e6c4
push 1
push 0
push 0
push 0
lea eax, [esp + 0x10]
push eax
call sub.user32.dll_PeekMessageW
test eax, eax
je 0x44e6b6
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 0x44e694
add esp, 0x1c
pop edi
pop esi
pop ebx
ret