joyce8/EMBER2024-capa huggingface dataset:
Function at 0x483630
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
push ebx
push esi
push edi
push str._noassert
call fcn.00476e00
add esp, 4
test al, al
jne 0x48381b
push str._nocrashdialog
call fcn.00476e00
add esp, 4
test al, al
jne 0x48381b
call fcn.00482520
test al, al
jne 0x48367b
call fcn.00477f60
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str._debugbreak
call fcn.00476e00
add esp, 4
test al, al
je 0x483695
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [0x62851c], 0
je 0x48381b
mov esi, dword [0x6a8bd8]
mov dword [ebp - 4], 0x6a8bd8
test esi, esi
je 0x483749
jmp 0x4836c0
mov edi, dword [esi + 0x20c]
lea ebx, [esi + 0x20c]
push esi
push dword [ebp + 8]
call fcn.0057dc06
add esp, 8
test eax, eax
jne 0x48373c
mov ecx, dword [esi + 0x200]
mov al, 1
cmp ecx, 0xffffffff
jne 0x4836f7
xor edx, edx
movzx eax, al
cmp dword [esi + 0x204], ecx
cmove eax, edx
mov edx, dword [ebp + 0xc]
cmp edx, ecx
jl 0x483706
cmp edx, dword [esi + 0x204]
jle 0x48370a
test al, al
jne 0x48373c
mov eax, dword [esi + 0x208]
test eax, eax
jle 0x48381b
add eax, 0xffffffff
mov dword [esi + 0x208], eax
jne 0x48381b
mov eax, dword [ebp - 4]
push 0x210
push esi
mov dword [eax], edi
call fcn.0056bb35
add esp, 8
jmp 0x48373f
mov dword [ebp - 4], ebx
mov esi, edi
test edi, edi
jne 0x4836c0
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [0x6a8bdc], ebx
mov dword [0x6a8be0], esi
mov dword [0x6a8be4], edi
mov byte [0x6a8bd2], 0
mov dword [0x6a8be8], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x4835f0
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [0x6a8be8]
test eax, eax
jne 0x4837f9
push edi
push esi
push ebx
push str.File:__s_nLine:__d_n_Ts_n_nClick_Abort_to_break_in_the_debugger__Retry_to_continue_or_Ignore_to_disable_assert_dialogs_for_this_process.
lea eax, [ebp - 0x804]
push 0x800
push eax
call fcn.004643a0
add esp, 0x18
mov byte [ebp - 5], 0
lea eax, [ebp - 0x804]
push 0x12002
push str.Assert_Dialog
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 3
jne 0x4837e1
pop edi
pop esi
mov byte [0x6a8bd2], 1
mov al, byte [0x6a8bd2]
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 5
jne 0x48380f
mov al, byte [0x6a8bd2]
pop edi
pop esi
mov byte [0x62851c], 0
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0x483260
push eax
push 0x65
push dword [0x6a8bd4]
call dword [sym.imp.USER32.dll_DialogBoxParamA]
mov al, byte [0x6a8bd2]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x484d20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
call fcn.004848f0
test al, al
je 0x484ebc
push ebx
push esi
push edi
call fcn.004848d0
mov esi, eax
mov dword [ebp - 4], ebp
mov dword [ebp - 8], esp
push 0x108
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.0056d4f0
mov eax, dword [ebp - 4]
add esp, 0xc
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x118], esi
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x10c], 3
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xec], 3
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xdc], 3
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push 0x6a8ecc
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [ebp + 8]
xor edi, edi
cmp dword [ebp + 0xc], edi
jle 0x484e4a
mov ebx, dword [ebp + 0x10]
lea ebx, [ebx]
push 0
push dword [0x6a8f04]
lea eax, [ebp - 0x118]
push dword [0x6a8f00]
push 0
push 0
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push 0x14c
call dword [0x6a8ee8]
test eax, eax
je 0x484e4a
mov eax, dword [ebp - 0xf8]
or eax, dword [ebp - 0xf4]
je 0x484e4a
cmp edi, ebx
jle 0x484e44
mov edx, dword [esi + 0xa0]
cmp edx, 0x14
jge 0x484e44
mov eax, dword [ebp - 0x118]
mov ecx, dword [ebp - 0x114]
mov dword [esi + edx*8], eax
mov dword [esi + edx*8 + 4], ecx
inc dword [esi + 0xa0]
inc edi
cmp edi, dword [ebp + 0xc]
jl 0x484de0
push 0x6a8ecc
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, dword [esi + 0xa0]
xor edi, edi
mov dword [esi + 0xa8], 0
mov dword [esi + 0xac], 0
test ebx, ebx
jle 0x484eb9
jmp 0x484e80
mov edx, dword [esi + 0xa8]
mov ecx, dword [esi + 0xac]
shld ecx, edx, 2
shl edx, 2
mov dword [esi + 0xa8], edx
mov dword [esi + 0xac], ecx
xor edx, dword [esi + edi*8]
mov eax, dword [esi + edi*8 + 4]
inc edi
xor eax, ecx
mov dword [esi + 0xa8], edx
mov dword [esi + 0xac], eax
cmp edi, ebx
jl 0x484e80
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4852f0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x591f63
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword fs:[0x2c]
mov edx, dword [0x6abc20]
push esi
push edi
mov edx, dword [eax + edx*4]
mov edi, ecx
mov eax, dword [0x6a8f34]
cmp eax, dword [edx + 4]
jg 0x485454
mov dword [ebp - 0x10], 0x6a8f14
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, eax
mov esi, 0x6a8f14
cmp edx, dword [0x6a8f14]
je 0x485363
mov ecx, edx
xor eax, eax
lock cmpxchg dword [esi], ecx
test eax, eax
je 0x485363
pause
push edx
mov ecx, esi
call fcn.00481b90
jmp 0x48536a
lock inc dword [0x6a8f18]
push ebx
mov dword [ebp - 4], 2
mov ebx, dword [ebp + 8]
cmp ebx, dword [edi + 0x20]
je 0x485423
movzx eax, bl
xor eax, 0x811c9dc5
mov dword [edi + 0x20], ebx
imul ecx, eax, 0x1000193
mov eax, ebx
shr eax, 8
movzx eax, al
mov dword [ebp + 8], ebx
xor ecx, eax
mov eax, ebx
imul ecx, ecx, 0x1000193
shr eax, 0x10
movzx eax, al
xor ecx, eax
mov eax, ebx
imul ecx, ecx, 0x1000193
shr eax, 0x18
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0047a0b0
mov eax, dword [eax + 4]
test eax, eax
je 0x4853e3
cmp eax, dword [edi + 4]
je 0x4853e3
mov eax, dword [eax + 0xc]
mov dword [edi + 0x24], eax
jmp 0x485426
mov esi, ebx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x4853e8
sub esi, ecx
inc esi
push esi
call fcn.0057aa89
push esi
push ebx
push eax
mov dword [edi + 0x24], eax
call fcn.0056d810
mov eax, dword [edi + 0x24]
add esp, 0x10
mov dword [ebp - 0x14], eax
mov ecx, edi
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00484ef0
mov esi, 0x6a8f14
mov eax, dword [edi + 0x24]
mov dword [ebp - 4], 0xffffffff
lock dec dword [0x6a8f18]
cmp dword [0x6a8f18], 0
pop ebx
jne 0x485442
xor ecx, ecx
xchg dword [esi], ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
push 0x6a8f34
call fcn.0056bf5d
add esp, 4
cmp dword [0x6a8f34], 0xffffffff
jne 0x48532f
mov dword [ebp - 4], 0
mov ecx, 0x6a8f1c
mov dword [0x6a8f14], 0
mov dword [0x6a8f18], 0
call fcn.00481770
mov byte [ebp - 4], 0
push 0x5927d0
call fcn.0056be15
mov dword [ebp - 4], 0xffffffff
push 0x6a8f34
call fcn.0056bf13
add esp, 8
jmp 0x48532f
Function at 0x4854c0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x591f7d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
mov ebx, ecx
mov eax, 0x1fffffff
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 0x14], ebx
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
ja 0x48564f
lea eax, [ecx - 1]
mov esi, dword [ebx + 4]
or eax, edi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.0047f830
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 0
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx]
mov edx, ecx
cmp ecx, esi
je 0x48560c
mov edi, edi
movzx eax, byte [ecx + 8]
xor eax, 0x811c9dc5
mov edx, dword [edx]
imul edi, eax, 0x1000193
movzx eax, byte [ecx + 9]
xor edi, eax
movzx eax, byte [ecx + 0xa]
imul edi, edi, 0x1000193
xor edi, eax
movzx eax, byte [ecx + 0xb]
imul edi, edi, 0x1000193
xor edi, eax
imul eax, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, eax
mov eax, dword [ebx + 0xc]
mov ebx, dword [eax + edi*8]
lea eax, [eax + edi*8]
mov dword [ebp + 8], eax
cmp ebx, esi
jne 0x485591
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x4855ff
mov eax, dword [eax + 4]
mov edi, dword [ecx + 8]
cmp edi, dword [eax + 8]
jne 0x4855c8
mov eax, dword [eax]
cmp eax, ecx
je 0x4855c0
mov ebx, dword [ecx + 4]
mov dword [ebp - 0x10], ebx
mov dword [ebx], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov eax, dword [ebp - 0x10]
mov dword [edx + 4], eax
mov dword [ecx + 4], edi
mov eax, dword [ebp + 8]
mov dword [eax + 4], ecx
jmp 0x4855ff
cmp ebx, eax
je 0x4855dc
lea esp, [esp]
mov eax, dword [eax + 4]
cmp edi, dword [eax + 8]
je 0x48562d
cmp ebx, eax
jne 0x4855d0
mov ebx, dword [ecx + 4]
mov dword [ebp - 0x10], ebx
mov dword [ebx], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov eax, dword [ebp - 0x10]
mov dword [edx + 4], eax
mov eax, dword [ebp + 8]
mov dword [ecx + 4], edi
mov dword [eax], ecx
mov ebx, dword [ebp - 0x14]
mov ecx, edx
cmp edx, esi
jne 0x485540
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ebp + 8], ebx
mov dword [ebx], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov dword [ecx + 4], edi
jmp 0x4855ff
push str.invalid_hash_bucket_count
call fcn.0056ba68
int3
Function at 0x485660
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x591c5d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
mov dword [ebp - 0x10], ebx
cmp edx, esi
je 0x48580d
mov ecx, dword [ebx + 4]
lea eax, [ebx + 4]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [edx + 4]
push edi
mov edi, edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], edi
mov dword [ebp - 4], 0
mov eax, dword [edx + 4]
mov dword [ebp - 0x24], eax
movzx eax, byte [edx + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 9]
xor ecx, eax
movzx eax, byte [edx + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [ebx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov dword [ebp + 0xc], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x20], eax
lea ebx, [ebx]
cmp edi, eax
mov eax, edi
mov edi, dword [edi]
push 0x10
push eax
sete bl
mov dword [ebp - 0x2c], edi
call fcn.0056bb35
mov edx, dword [ebp - 0x10]
add esp, 8
dec dword [edx + 8]
test bl, bl
jne 0x48574e
mov eax, dword [ebp - 0x20]
cmp edi, esi
jne 0x485710
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 8]
jne 0x4857fd
mov ecx, dword [ebp + 0xc]
mov dword [ecx], edi
jmp 0x4857fd
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0xc]
cmp eax, dword [ebp + 8]
jne 0x485760
mov eax, dword [ebp - 0x1c]
mov dword [ecx], eax
jmp 0x485763
mov eax, dword [ebp - 0x24]
mov dword [ecx + 4], eax
cmp edi, esi
je 0x4857fd
mov edi, edi
movzx eax, byte [edi + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edi + 9]
xor ecx, eax
movzx eax, byte [edi + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [edx + 0x18]
and ecx, eax
mov eax, dword [ebp - 0x18]
lea eax, [eax + ecx*8]
mov dword [ebp + 8], eax
mov eax, dword [eax + 4]
mov dword [ebp + 0xc], eax
cmp edi, eax
mov eax, edi
mov edi, dword [edi]
push 0x10
push eax
sete bl
mov dword [ebp - 0x2c], edi
call fcn.0056bb35
mov eax, dword [ebp - 0x10]
add esp, 8
dec dword [eax + 8]
test bl, bl
jne 0x4857e1
cmp edi, esi
je 0x4857f8
mov eax, dword [ebp + 0xc]
jmp 0x4857b7
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x1c]
mov dword [eax], edx
mov dword [eax + 4], edx
cmp edi, esi
je 0x4857fd
mov edx, dword [ebp - 0x10]
jmp 0x485770
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x28]
mov dword [eax], edi
mov dword [edi + 4], eax
pop edi
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x4875d0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [ebp - 0x18], 0x20
jb 0x4875ec
xor al, al
mov esp, ebp
pop ebp
ret
push str.GenuineIntel
call fcn.004876a0
add esp, 4
test eax, eax
jne 0x487616
push str.AuthenticAMD
call fcn.004876a0
add esp, 4
test eax, eax
jne 0x487616
xor cl, cl
mov al, cl
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessAffinityMask]
test eax, eax
setne cl
test eax, eax
je 0x487696
mov eax, dword [ebp - 4]
push edi
cmp dword [ebp - 8], eax
je 0x487661
mov edi, dword [sym.imp.KERNEL32.dll_SetProcessAffinityMask]
push eax
push esi
call edi
test eax, eax
setne cl
test eax, eax
je 0x48765e
push dword [ebp - 8]
push esi
call edi
test eax, eax
setne cl
mov eax, dword [ebp - 4]
test cl, cl
je 0x487695
cmp eax, 1
jbe 0x487695
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push dword [ebp - 8]
mov edi, dword [sym.imp.KERNEL32.dll_SetThreadAffinityMask]
mov esi, eax
push esi
call edi
test eax, eax
je 0x487693
push eax
push esi
call edi
test eax, eax
pop edi
setne cl
pop esi
mov al, cl
mov esp, ebp
pop ebp
ret
xor cl, cl
pop edi
pop esi
mov al, cl
mov esp, ebp
pop ebp
ret
Function at 0x487f50
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov al, byte [ebp + 8]
push ebx
push esi
mov esi, ecx
mov cl, byte [ebp + 0xc]
mov byte [esi], al
mov byte [esi + 1], cl
cmp cl, al
jbe 0x487f6b
mov byte [esi + 1], al
mov cl, al
xor edx, edx
movzx eax, al
movzx ecx, cl
div ecx
mov dl, 8
mov cl, 0x80
dec al
jmp 0x487f80
test al, cl
jne 0x487f8a
dec dl
shr cl, 1
jne 0x487f80
mov bl, byte [esi + 1]
mov cl, 8
mov byte [esi + 2], dl
dec bl
mov al, 0x80
test bl, al
jne 0x487fa0
dec cl
shr al, 1
jne 0x487f96
mov al, 8
mov byte [esi + 4], cl
sub al, cl
or bl, 0xff
sub al, dl
movzx ecx, cl
mov byte [esi + 6], al
movzx eax, dl
or dl, 0xff
add ecx, eax
shl dl, cl
mov ecx, eax
shl bl, cl
mov al, bl
mov byte [esi + 7], dl
not bl
xor al, dl
mov byte [esi + 3], bl
mov byte [esi + 5], al
pop esi
pop ebx
pop ebp
ret 8

Function at 0x58618a
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00586000
Function at 0x401000
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp dword [ebp - 0xc], 0
je 0x40101b
cmp dword [ebp - 8], 0
jne 0x401025
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x401187
xor dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0xc], 8
jb 0x40114c
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
xor eax, dword [ebp - 4]
and eax, 0xff
mov eax, dword [eax*4 + 0x5bea58]
mov edx, dword [ebp - 4]
shr edx, 8
xor eax, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 1]
xor eax, dword [ebp - 4]
and eax, 0xff
mov eax, dword [eax*4 + 0x5bea58]
mov edx, dword [ebp - 4]
shr edx, 8
xor eax, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 2]
xor eax, dword [ebp - 4]
and eax, 0xff
mov eax, dword [eax*4 + 0x5bea58]
mov edx, dword [ebp - 4]
shr edx, 8
xor eax, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 3]
xor eax, dword [ebp - 4]
and eax, 0xff
mov eax, dword [eax*4 + 0x5bea58]
mov edx, dword [ebp - 4]
shr edx, 8
xor eax, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 4]
xor eax, dword [ebp - 4]
and eax, 0xff
mov eax, dword [eax*4 + 0x5bea58]
mov edx, dword [ebp - 4]
shr edx, 8
xor eax, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 5]
xor eax, dword [ebp - 4]
and eax, 0xff
mov eax, dword [eax*4 + 0x5bea58]
mov edx, dword [ebp - 4]
shr edx, 8
xor eax, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 6]
xor eax, dword [ebp - 4]
and eax, 0xff
mov eax, dword [eax*4 + 0x5bea58]
mov edx, dword [ebp - 4]
shr edx, 8
xor eax, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 7]
xor eax, dword [ebp - 4]
and eax, 0xff
mov eax, dword [eax*4 + 0x5bea58]
mov edx, dword [ebp - 4]
shr edx, 8
xor eax, edx
mov dword [ebp - 4], eax
add dword [ebp - 8], 8
sub dword [ebp - 0xc], 8
cmp dword [ebp - 0xc], 8
jae 0x401033
cmp dword [ebp - 0xc], 0
jbe 0x40117e
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
xor eax, dword [ebp - 4]
and eax, 0xff
mov eax, dword [eax*4 + 0x5bea58]
mov edx, dword [ebp - 4]
shr edx, 8
xor eax, edx
mov dword [ebp - 4], eax
inc dword [ebp - 8]
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
ja 0x401152
mov eax, dword [ebp - 4]
xor eax, 0xffffffff
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x407bb7
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov esi, dword [esi + 0x53ecc400]
push esi
push edi
mov dword [ebp], ecx
add dword [ebp - 8], edx
mov dword [ebp - 4], eax
jp 0x407bcb
cld
cmp dword [ebp - 0xc], 0
je 0x407cd6
mov eax, dword [ebp - 8]
xor eax, 0xca8b1000
sub cl, 0xa
je 0x407be3
add ecx, ecx
je 0x407c02
dec cl
jns 0x407beb
sub cl, 6
je 0x407c12
jmp 0x407c46
add byte [ecx], al
cld
mov edx, dword [ebp - 0xc]
call 0x3f7c1f
jmp 0x407e37
add byte [ecx], al
cld
mov edx, dword [ebp - 0xc]
call 0x3f7c31
jmp 0x407e37
movzx ecx, byte [eax - 0x29]
add al, cl
mov dword [ebp - 0x10], ecx
movzx eax, dl
add byte [ecx], al
add ebx, esi
cmp eax, 9
mov dh, 0
cmp edx, 0
cmp eax, 9
ja 0x407d48
movzx eax, byte [eax]
add ebp, edx
inc eax
add bh, bh
and al, 0x88
add ch, dl
inc eax
add byte [ecx], al
add al, byte [ebx]
add byte [eax], al
add dword [eax], eax
add byte [eax], al
add bh, byte [ebp + 0x6c]
add byte [eax], al
inc ecx
aad 0x40
add byte [ecx - 0x2b], bl
add byte [ecx], al
aad 0x40
add byte [eax - 0xb], dh
add byte [eax], al
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 6]
add byte [ecx], al
invalid
mov al, 0xd4
add byte [esp + ebx*4 + 0x4dffffff], bh
hlt
mov eax, ebx
xlatb
add byte [ebx - 0x75], bl
in eax, 0x5d
ret

Function at 0x44ba10
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
mov eax, dword [0x66103c]
push ebx
push esi
mov esi, ecx
lea ecx, [eax*4]
mov eax, dword [0x661038]
or ecx, eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], ecx
push 0x664c3c
fild qword [esp + 0x14]
fstp qword [0x661058]
call fcn.006583b8
add esp, 4
test eax, eax
je 0x44ba59
pop esi
xor eax, eax
pop ebx
add esp, 0x10
ret
lea edx, [esp + 8]
mov ebx, 1
push edx
push ebx
push 0
push 0x661064
push 0x80000000
mov dword [esp + 0x1c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
mov dword [0xa5bf5c], eax
jne 0x44bad5
mov edx, dword [esp + 8]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x10]
lea ecx, [esp + 0xc]
push eax
push 0x664c3c
push ecx
push 0
push 0
push edx
mov dword [esp + 0x28], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
mov dword [0xa5bf5c], eax
jne 0x44babc
cmp dword [esp + 0xc], ebx
je 0x44babe
xor bl, bl
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x44bad5
pop esi
xor eax, eax
pop ebx
add esp, 0x10
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0xa5bf5c]
test ecx, ecx
jne 0x44baf8
test eax, eax
jle 0x44baf3
and eax, 0xffff
or eax, 0x80070000
mov dword [0xa5bf5c], eax
pop esi
mov eax, 0x80004006
pop ebx
add esp, 0x10
ret
Function at 0x452867
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov esi, dword [esi + 0x53ecc400]
push esi
push edi
mov dword [ebp], ecx
add dword [ebp - 8], edx
mov dword [ebp - 4], eax
jp 0x45287b
cld
cmp dword [ebp - 0xc], 0
je 0x452986
mov eax, dword [ebp - 8]
xor eax, 0xca8b1000
sub cl, 0xa
je 0x452893
add ecx, ecx
je 0x4528b2
dec cl
jns 0x45289b
sub cl, 6
je 0x4528c2
jmp 0x4528f6
add byte [ecx], al
cld
mov edx, dword [ebp - 0xc]
call fcn.004428cf
jmp 0x452ae7
add byte [ecx], al
cld
mov edx, dword [ebp - 0xc]
call fcn.004428e1
jmp 0x452ae7
movzx ecx, byte [eax - 0x29]
add al, cl
mov dword [ebp - 0x10], ecx
movzx eax, dl
add byte [ecx], al
add ebx, esi
cmp eax, 9
mov dh, 0
cmp edx, 0
cmp eax, 9
ja 0x4529f8
movzx eax, byte [eax]
add ebp, edx
inc eax
add bh, bh
and al, 0x88
add ch, dl
inc eax
add byte [ecx], al
add al, byte [ebx]
add byte [eax], al
add dword [eax], eax
add byte [eax], al
add bh, byte [ebp + 0x6c]
add byte [eax], al
inc ecx
aad 0x40
add byte [ecx - 0x2b], bl
add byte [ecx], al
aad 0x40
add byte [eax - 0xb], dh
add byte [eax], al
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 6]
add byte [ecx], al
invalid
mov al, 0xd4
add byte [esp + ebx*4 + 0x4dffffff], bh
hlt
mov eax, ebx
xlatb
add byte [ebx - 0x75], bl
in eax, 0x5d
ret

Function at 0x49d367
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov esi, dword [esi + 0x53ecc400]
push esi
push edi
mov dword [ebp], ecx
add dword [ebp - 8], edx
mov dword [ebp - 4], eax
jp 0x49d37b
cld
cmp dword [ebp - 0xc], 0
je 0x49d486
mov eax, dword [ebp - 8]
xor eax, 0xca8b1000
sub cl, 0xa
je 0x49d393
add ecx, ecx
je 0x49d3b2
dec cl
jns 0x49d39b
sub cl, 6
je 0x49d3c2
jmp 0x49d3f6
add byte [ecx], al
cld
mov edx, dword [ebp - 0xc]
call fcn.0048d3cf
jmp 0x49d5e7
add byte [ecx], al
cld
mov edx, dword [ebp - 0xc]
call fcn.0048d3e1
jmp 0x49d5e7
movzx ecx, byte [eax - 0x29]
add al, cl
mov dword [ebp - 0x10], ecx
movzx eax, dl
add byte [ecx], al
add ebx, esi
cmp eax, 9
mov dh, 0
cmp edx, 0
cmp eax, 9
ja 0x49d4f8
movzx eax, byte [eax]
add ebp, edx
inc eax
add bh, bh
and al, 0x88
add ch, dl
inc eax
add byte [ecx], al
add al, byte [ebx]
add byte [eax], al
add dword [eax], eax
add byte [eax], al
add bh, byte [ebp + 0x6c]
add byte [eax], al
inc ecx
aad 0x40
add byte [ecx - 0x2b], bl
add byte [ecx], al
aad 0x40
add byte [eax - 0xb], dh
add byte [eax], al
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 6]
add byte [ecx], al
invalid
mov al, 0xd4
add byte [esp + ebx*4 + 0x4dffffff], bh
hlt
mov eax, ebx
xlatb
add byte [ebx - 0x75], bl
in eax, 0x5d
ret