joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41544d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x100
or dword [ebp + 0xc], 0x100
shl dword [ebp + 0x10], 1
mov edx, dword [ebp + 0x10]
and edx, dword [ebp - 8]
add edx, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
shr ecx, 8
add edx, ecx
mov eax, dword [ebp + 8]
movzx edx, word [eax + edx*2]
mov ecx, dword [ebp + 0xc]
shr ecx, 7
and ecx, 1
neg ecx
and ecx, 0x7ff
xor edx, ecx
sar edx, 4
mov eax, dword [ebp + 0x14]
mov edx, dword [eax + edx*4]
add dword [ebp - 4], edx
shl dword [ebp + 0xc], 1
mov ecx, dword [ebp + 0x10]
xor ecx, dword [ebp + 0xc]
not ecx
and dword [ebp - 8], ecx
cmp dword [ebp + 0xc], 0x10000
jb 0x415466
mov eax, dword [ebp - 4]
pop ecx
pop ecx
pop ebp
ret

Function at 0x41556b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor eax, eax
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov edx, 1
shl edx, cl
or dword [ebp + 0x10], edx
cmp dword [ebp + 0x10], 1
je 0x4155b9
mov eax, dword [ebp + 0x10]
shr eax, 1
mov edx, dword [ebp + 8]
movzx ecx, word [edx + eax*2]
mov ebx, dword [ebp + 0x10]
and ebx, 1
neg ebx
and ebx, 0x7ff
xor ecx, ebx
sar ecx, 4
mov eax, dword [ebp + 0x14]
mov edx, dword [eax + ecx*4]
add dword [ebp - 4], edx
shr dword [ebp + 0x10], 1
cmp dword [ebp + 0x10], 1
jne 0x415588
mov eax, dword [ebp - 4]
pop ebx
pop ecx
pop ebp
ret

Function at 0x4155c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], 1
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0
je 0x415622
mov ecx, dword [ebp + 0x10]
and ecx, 1
mov dword [ebp - 0x10], ecx
shr dword [ebp + 0x10], 1
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 8]
movzx ecx, word [eax + edx*2]
mov ebx, dword [ebp - 0x10]
neg ebx
and ebx, 0x7ff
xor ecx, ebx
sar ecx, 4
mov eax, dword [ebp + 0x14]
mov edx, dword [eax + ecx*4]
add dword [ebp - 4], edx
mov ecx, dword [ebp - 8]
add ecx, ecx
or ecx, dword [ebp - 0x10]
mov dword [ebp - 8], ecx
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
jne 0x4155df
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x415763
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
mov eax, dword [ebp + 8]
movzx edx, word [eax]
sar edx, 4
mov ecx, dword [ebp + 0x18]
mov eax, dword [ecx + edx*4]
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
movzx ecx, word [edx]
xor ecx, 0x7ff
sar ecx, 4
mov ebx, dword [ebp + 0x18]
mov eax, dword [ebx + ecx*4]
mov dword [ebp - 8], eax
mov edx, dword [ebp + 8]
movzx ecx, word [edx + 2]
sar ecx, 4
mov ebx, dword [ebp + 0x18]
mov eax, dword [ebx + ecx*4]
add eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp + 8]
movzx ecx, word [edx + 2]
xor ecx, 0x7ff
sar ecx, 4
mov ebx, dword [ebp + 0x18]
mov eax, dword [ebx + ecx*4]
add eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
xor edx, edx
mov dword [ebp - 0x14], edx
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0x10]
jae 0x415898
push dword [ebp + 0x18]
push dword [ebp - 0x14]
push 3
mov edx, dword [ebp + 0xc]
shl edx, 3
add edx, edx
add edx, dword [ebp + 8]
add edx, 4
push edx
call fcn.0041556b
add esp, 0x10
add eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x14]
mov dword [ecx + edx*4], eax
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 8
jb 0x4157d0
cmp dword [ebp - 0x14], 0x10
jae 0x415858
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0x10]
jae 0x415898
push dword [ebp + 0x18]
mov ecx, dword [ebp - 0x14]
sub ecx, 8
push ecx
push 3
mov eax, dword [ebp + 0xc]
shl eax, 3
add eax, eax
add eax, dword [ebp + 8]
add eax, 0x104
push eax
call fcn.0041556b
add esp, 0x10
add eax, dword [ebp - 0xc]
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x14]
mov dword [edx + ecx*4], eax
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0x10
jb 0x415816
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0x10]
jae 0x415898
push dword [ebp + 0x18]
mov edx, dword [ebp - 0x14]
sub edx, 8
sub edx, 8
push edx
push 8
mov ecx, dword [ebp + 8]
add ecx, 0x204
push ecx
call fcn.0041556b
add esp, 0x10
add eax, dword [ebp - 0x10]
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x14]
mov dword [edx + ecx*4], eax
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0x10]
jb 0x415860
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41ae64
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
mov esi, 0x53d814
push 0xa
push 0x41aef8
mov eax, dword [0x53d75c]
push eax
call sub.KERNEL32.DLL_FindResourceW
mov ebx, eax
test ebx, ebx
jne 0x41ae88
call fcn.00457190
push ebx
mov eax, dword [0x53d75c]
push eax
call sub.KERNEL32.DLL_LoadResource
mov ebx, eax
test ebx, ebx
jne 0x41ae9f
call fcn.00457190
push ebx
call sub.KERNEL32.DLL_LockResource
mov dword [esi], eax
cmp dword [esi], 0
jne 0x41aeb1
call fcn.00457190
mov eax, dword [esi]
mov edx, dword [esi]
mov ecx, edx
add ecx, dword [eax]
mov dword [0x53d818], ecx
mov ecx, edx
add ecx, dword [eax + 4]
mov dword [0x53d81c], ecx
mov ecx, edx
add ecx, dword [eax + 8]
mov dword [0x53d820], ecx
mov ecx, edx
add ecx, dword [eax + 0xc]
mov dword [0x53d824], ecx
mov ecx, edx
add ecx, dword [eax + 0x10]
mov dword [0x53d828], ecx
add edx, dword [eax + 0x14]
mov dword [0x53d82c], edx
pop esi
pop ebx
ret

Function at 0x41c330
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x2c]
mov edi, dword [ebx + 0x3c]
sub edi, dword [ebx + 0x74]
sub edi, dword [ebx + 0x6c]
jmp 0x41c35f
mov eax, dword [ebx + 0x2c]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x6c]
ja 0x41c3de
push esi
mov eax, dword [ebx + 0x38]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.00421020
add esp, 0xc
sub dword [ebx + 0x70], esi
sub dword [ebx + 0x6c], esi
sub dword [ebx + 0x5c], ebp
mov eax, dword [ebx + 0x4c]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x44]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x41c3ac
mov cx, word [esp]
sub cx, si
jmp 0x41c3ae
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x41c395
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x40]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x41c3d4
mov cx, word [esp]
sub cx, si
jmp 0x41c3d6
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x41c3bd
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x41c43b
mov edx, dword [ebx + 0x38]
mov ecx, edi
add edx, dword [ebx + 0x6c]
mov eax, ebp
add edx, dword [ebx + 0x74]
call fcn.0041c004
add dword [ebx + 0x74], eax
cmp dword [ebx + 0x74], 3
jb 0x41c426
mov eax, dword [ebx + 0x38]
mov edx, dword [ebx + 0x6c]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x48], eax
mov ecx, dword [ebx + 0x58]
shl eax, cl
mov edx, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x6c]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x54]
mov dword [ebx + 0x48], eax
cmp dword [ebx + 0x74], 0x106
jae 0x41c43b
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x41c33a
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x43ddcc
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x43de6a
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xc]
je 0x43de2e
cmp byte [ebx + 0x10], 0
jne 0x43de2e
cmp byte [ebx + 0x3c], 0
jne 0x43de2e
mov byte [ebx + 0xe], 0
mov byte [ebx + 0xc], 0
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_ResumeThread
cmp eax, 1
je 0x43de4f
lea edx, [ebp - 4]
mov eax, dword [0x53d1a4]
call fcn.0046cc50
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x42e98c]
call fcn.00454ae0
call fcn.00468a38
jmp 0x43de4f
lea edx, [ebp - 8]
mov eax, dword [0x53d1a4]
call fcn.0046cc50
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x42e98c]
call fcn.00454ae0
call fcn.00468a38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43de71
lea eax, [ebp - 8]
mov edx, 2
call fcn.00469940
ret

Function at 0x43e6e8
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xe]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x43e736
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xe], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.KERNEL32.DLL_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.0043dd50
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x43e74f
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x43e758
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.0043dd50
dec esi
jne 0x43e77a
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x43ff94
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x53da54
cmp dword [edi], 0
jne 0x440010
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x53da50]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x532fa8
mov ecx, 2
call fcn.00467510
mov edx, 0x43ff6c
lea eax, [esi + 5]
call fcn.0043ff8c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0043ff8c
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 0x43ffe5
mov dword [0x53da50], 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 0x4436d8
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x443853
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0046999c
mov eax, dword [ebp - 4]
call fcn.00442f70
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x44372a
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.0046a1f8
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.00444384
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x443809
xor eax, eax
push ebp
push 0x443802
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.004432d8
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.00443888
test al, al
je 0x4437e0
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.00469a84
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x4437e0
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.004699d4
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.ADVAPI32.DLL_RegEnumKeyExW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.00443238
test al, al
je 0x4437da
mov eax, dword [ebp - 8]
call fcn.004699d4
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00469af4
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.004436d8
dec ebx
cmp ebx, 0xffffffff
jne 0x443789
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x443809
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.004432d8
mov eax, dword [ebp - 0x1c]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov eax, dword [ebp - 4]
call fcn.004699d4
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.004432c4
push eax
call sub.ADVAPI32.DLL_RegDeleteKeyW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.00443238
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44385a
lea eax, [ebp - 0x3c]
call fcn.00469938
lea eax, [ebp - 8]
mov edx, 2
call fcn.00469940
ret

Function at 0x444260
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
movzx eax, byte [ebp + 8]
call fcn.00442fe4
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.004699d4
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ADVAPI32.DLL_RegSetValueExW
mov edx, eax
mov eax, ebx
call fcn.00443238
test al, al
jne 0x4442c8
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x53d534]
mov dl, 1
mov eax, dword [0x441d94]
call fcn.00454ce4
call fcn.00468a38
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4442d4
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.004699d4
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExW
mov edx, eax
mov eax, ebx
call fcn.00443238
test al, al
jne 0x444335
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x53d538]
mov dl, 1
mov eax, dword [0x441d94]
call fcn.00454ce4
call fcn.00468a38
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00443014
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 0x444934
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x444a5c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, esi
call fcn.004432d8
xor eax, eax
push ebp
push 0x444a37
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x2c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00443888
test al, al
je 0x444a1b
mov eax, dword [ebp + 8]
push eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.00444814
pop ecx
mov ecx, dword [ebp - 0x20]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00469a84
mov ebx, dword [ebp - 0x24]
dec ebx
test ebx, ebx
jl 0x444a1b
inc ebx
xor edi, edi
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004699d4
push eax
push edi
push esi
call sub.ADVAPI32.DLL_RegEnumValueW
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00443238
test al, al
je 0x444a17
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
call fcn.004699d4
mov edx, eax
lea eax, [ebp - 0x30]
call fcn.00469af4
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.00444814
pop ecx
inc edi
dec ebx
jne 0x4449bf
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x444a3e
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x10]
call fcn.004432d8
ret
Function at 0x444a6c
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
xor ecx, ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x444cba
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 8]
call fcn.004432d8
xor eax, eax
push ebp
push 0x444c90
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x44]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00443888
test al, al
je 0x444c74
mov ecx, dword [ebp - 0x40]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00469a84
mov eax, dword [ebp - 0x44]
dec eax
test eax, eax
jl 0x444c74
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
call fcn.004699d4
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegEnumKeyExW
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00443238
test al, al
je 0x444c68
mov eax, dword [ebp - 4]
call fcn.004699d4
mov edx, eax
lea eax, [ebp - 0x48]
call fcn.00469af4
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00444384
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x444c68
xor eax, eax
push ebp
push 0x444c61
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0xc]
call fcn.004432d8
xor eax, eax
push ebp
push 0x444c43
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004699d4
mov edx, eax
lea eax, [ebp - 0x4c]
call fcn.00469af4
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004432dc
mov eax, dword [ebp - 4]
call fcn.004699d4
mov edx, eax
lea eax, [ebp - 0x50]
call fcn.00469af4
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00444384
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x444c20
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.00444934
pop ecx
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.00444a6c
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x444c27
mov eax, dword [ebp - 0x24]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
inc dword [ebp - 0x14]
dec dword [ebp - 0x28]
jne 0x444af7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x444c97
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x18]
call fcn.004432d8
ret
Function at 0x44ee44
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x44eeed
test eax, edx
je 0x44eef0
push 0
push 0
cmp word [eax - 0xa], 2
je 0x44ee6d
push edx
mov edx, eax
mov eax, esp
call fcn.00469b64
pop edx
mov eax, dword [esp]
cmp word [edx - 0xa], 2
je 0x44ee83
push eax
lea eax, [esp + 8]
call fcn.00469b64
pop eax
mov edx, dword [esp + 4]
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x44ee92
movzx eax, word [eax]
sub eax, ecx
jmp 0x44eeb9
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 0x44eed3
add ecx, 4
js 0x44eeaa
pop eax
pop ebx
mov ecx, esp
mov edx, dword [ecx]
or edx, dword [ecx + 4]
je 0x44eed0
push eax
mov eax, ecx
mov edx, 2
call fcn.00469150
pop eax
pop edx
pop edx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x44eeb7
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x44eeb9
xor eax, eax
ret
test eax, eax
je 0x44ef00
test edx, edx
jne 0x44ee54
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

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

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, esi
call fcn.004699d4
push eax
call sub.KERNEL32.DLL_GetFileAttributesW
cmp eax, 0xffffffff
je 0x450246
test al, 0x10
sete al
pop esi
pop ebx
ret
call sub.KERNEL32.DLL_GetLastError
mov ebx, eax
cmp ebx, 2
je 0x450267
cmp ebx, 3
je 0x450267
cmp ebx, 0x7b
je 0x450267
mov eax, esi
call fcn.004501e8
test al, al
jne 0x45026b
xor eax, eax
jmp 0x45026d
mov al, 1
pop esi
pop ebx
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004699d4
push eax
call sub.KERNEL32.DLL_GetFileAttributesW
cmp eax, 0xffffffff
je 0x450289
test al, 0x10
jne 0x45028d
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x45419c
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 0x100
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.KERNEL32.DLL_GetLocaleInfoW
test eax, eax
jle 0x4541d5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00469a84
jmp 0x4541de
mov eax, ebx
mov edx, esi
call fcn.00469948
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4541e8
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.KERNEL32.DLL_GetLocaleInfoW
test eax, eax
jle 0x45420a
movzx eax, word [esp]
jmp 0x45420c
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret