joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401540
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
jmp 0x401552
mov eax, dword [0x51609f]
shl eax, 2
mov dword [0x5160a3], eax
push edx
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov edx, eax
call fcn.005084c0
pop edx
call fcn.005080c0
call fcn.005089e4
push 0
call fcn.00509d08
pop ecx
push 0x516048
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov dword [0x5160a7], eax
push 0
jmp fcn.00511a44

Function at 0x4032a8
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov eax, 0x516ba4
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
call fcn.00509108
push 0
push 0
mov word [ebp - 0x1c], 0xc
xor edx, edx
lea edi, [ebx + 4]
mov dword [ebp - 4], edx
lea edx, [ebx + 8]
inc dword [ebp - 0x10]
mov eax, edi
lea ecx, [ebp - 4]
call fcn.00514a04
lea eax, [ebp - 4]
call fcn.00514bcc
push eax
lea eax, [ebx + 0xc]
call fcn.00514bcc
push eax
push 0
call fcn.00515848
mov esi, eax
dec dword [ebp - 0x10]
lea eax, [ebp - 4]
mov edx, 2
call fcn.005149c8
test esi, esi
je 0x403320
mov eax, 1
mov edx, dword [ebp - 0x2c]
mov dword fs:[0], edx
jmp 0x403383
mov word [ebp - 0x1c], 0x18
xor ecx, ecx
mov dword [ebp - 8], ecx
lea ecx, [ebp - 8]
inc dword [ebp - 0x10]
lea edx, [ebx + 8]
mov eax, edi
call fcn.00514a04
lea eax, [ebp - 8]
mov eax, dword [eax]
call fcn.00449938
xor edx, edx
mov dl, al
lea eax, [ebp - 8]
cmp edx, 1
mov edx, 2
sbb ecx, ecx
neg ecx
push ecx
dec dword [ebp - 0x10]
call fcn.005149c8
pop ecx
test cl, cl
je 0x403377
mov eax, 1
mov edx, dword [ebp - 0x2c]
mov dword fs:[0], edx
jmp 0x403383
xor eax, eax
mov edx, dword [ebp - 0x2c]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x408ed8
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov eax, 0x51746c
call fcn.00509108
push 0
push 0
mov word [ebp - 0x1c], 0xc
xor edx, edx
lea ecx, [ebp - 4]
mov dword [ebp - 4], edx
inc dword [ebp - 0x10]
mov eax, dword [ebx + 0x30]
mov edx, dword [eax + esi*4]
lea eax, [ebx + 4]
add edx, 0x14
call fcn.00514a04
lea eax, [ebp - 4]
call fcn.00514bcc
push eax
mov edx, dword [ebx + 0x30]
mov eax, dword [edx + esi*4]
add eax, 0x10
call fcn.00514bcc
push eax
push 0
call fcn.00515848
mov edi, eax
dec dword [ebp - 0x10]
lea eax, [ebp - 4]
mov edx, 2
call fcn.005149c8
test edi, edi
je 0x408f5d
mov eax, 1
mov edx, dword [ebp - 0x2c]
mov dword fs:[0], edx
jmp 0x408fc7
mov word [ebp - 0x1c], 0x18
xor ecx, ecx
mov dword [ebp - 8], ecx
lea ecx, [ebp - 8]
inc dword [ebp - 0x10]
mov eax, dword [ebx + 0x30]
mov edx, dword [eax + esi*4]
lea eax, [ebx + 4]
add edx, 0x14
call fcn.00514a04
lea eax, [ebp - 8]
mov eax, dword [eax]
call fcn.00449938
xor edx, edx
mov dl, al
lea eax, [ebp - 8]
cmp edx, 1
mov edx, 2
sbb ecx, ecx
neg ecx
push ecx
dec dword [ebp - 0x10]
call fcn.005149c8
pop ecx
test cl, cl
je 0x408fbb
mov eax, 1
mov edx, dword [ebp - 0x2c]
mov dword fs:[0], edx
jmp 0x408fc7
xor eax, eax
mov edx, dword [ebp - 0x2c]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x416ee0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
mov esi, 0x5267a4
push 0xa
push 0x416f74
mov eax, dword [0x52672c]
push eax
call sub.KERNEL32.DLL_FindResourceW
mov ebx, eax
test ebx, ebx
jne 0x416f04
call fcn.0044fd20
push ebx
mov eax, dword [0x52672c]
push eax
call sub.KERNEL32.DLL_LoadResource
mov ebx, eax
test ebx, ebx
jne 0x416f1b
call fcn.0044fd20
push ebx
call sub.KERNEL32.DLL_LockResource
mov dword [esi], eax
cmp dword [esi], 0
jne 0x416f2d
call fcn.0044fd20
mov eax, dword [esi]
mov edx, dword [esi]
mov ecx, edx
add ecx, dword [eax]
mov dword [0x5267a8], ecx
mov ecx, edx
add ecx, dword [eax + 4]
mov dword [0x5267ac], ecx
mov ecx, edx
add ecx, dword [eax + 8]
mov dword [0x5267b0], ecx
mov ecx, edx
add ecx, dword [eax + 0xc]
mov dword [0x5267b4], ecx
mov ecx, edx
add ecx, dword [eax + 0x10]
mov dword [0x5267b8], ecx
add edx, dword [eax + 0x14]
mov dword [0x5267bc], edx
pop esi
pop ebx
ret

Function at 0x4183ac
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 0x4183db
mov eax, dword [ebx + 0x2c]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x6c]
ja 0x41845a
push esi
mov eax, dword [ebx + 0x38]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.0041d09c
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 0x418428
mov cx, word [esp]
sub cx, si
jmp 0x41842a
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x418411
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 0x418450
mov cx, word [esp]
sub cx, si
jmp 0x418452
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x418439
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x4184b7
mov edx, dword [ebx + 0x38]
mov ecx, edi
add edx, dword [ebx + 0x6c]
mov eax, ebp
add edx, dword [ebx + 0x74]
call fcn.00418080
add dword [ebx + 0x74], eax
cmp dword [ebx + 0x74], 3
jb 0x4184a2
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 0x4184b7
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x4183b6
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x439ad0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x439b6e
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xc]
je 0x439b32
cmp byte [ebx + 0x10], 0
jne 0x439b32
cmp byte [ebx + 0x3c], 0
jne 0x439b32
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 0x439b53
lea edx, [ebp - 4]
mov eax, dword [0x526118]
call fcn.00465a30
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x42a7f0]
call fcn.0044da08
call fcn.004615d4
jmp 0x439b53
lea edx, [ebp - 8]
mov eax, dword [0x526118]
call fcn.00465a30
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x42a7f0]
call fcn.0044da08
call fcn.004615d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x439b75
lea eax, [ebp - 8]
mov edx, 2
call fcn.004626e0
ret

Function at 0x43a3ec
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 0x43a43a
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.00439a54
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x43a453
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x43a45c
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.00439a54
dec esi
jne 0x43a47e
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x43bc98
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x5269e4
cmp dword [edi], 0
jne 0x43bd14
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x5269e0]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x51de44
mov ecx, 2
call fcn.004600ac
mov edx, 0x43bc70
lea eax, [esi + 5]
call fcn.0043bc90
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0043bc90
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 0x43bce9
mov dword [0x5269e0], 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 0x43f3dc
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 0x43f557
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0046273c
mov eax, dword [ebp - 4]
call fcn.0043ec74
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x43f42e
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.00462f98
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.00440088
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x43f50d
xor eax, eax
push ebp
push 0x43f506
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.0043efdc
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.0043f58c
test al, al
je 0x43f4e4
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.00462824
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x43f4e4
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.00462774
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.0043ef3c
test al, al
je 0x43f4de
mov eax, dword [ebp - 8]
call fcn.00462774
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00462894
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.0043f3dc
dec ebx
cmp ebx, 0xffffffff
jne 0x43f48d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43f50d
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.0043efdc
mov eax, dword [ebp - 0x1c]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov eax, dword [ebp - 4]
call fcn.00462774
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.0043efc8
push eax
call sub.ADVAPI32.DLL_RegDeleteKeyW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.0043ef3c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43f55e
lea eax, [ebp - 0x3c]
call fcn.004626d8
lea eax, [ebp - 8]
mov edx, 2
call fcn.004626e0
ret
Function at 0x43f5f8
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x43f6b0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.0043f58c
test al, al
je 0x43f692
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00462824
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x43f692
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x24]
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.00462774
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.ADVAPI32.DLL_RegEnumKeyExW
mov eax, dword [ebp - 4]
call fcn.00462774
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.00462894
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x43f64b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43f6b7
lea eax, [ebp - 0x2c]
call fcn.004626d8
lea eax, [ebp - 4]
call fcn.004626d8
ret

Function at 0x43ff64
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.0043ece8
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.00462774
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ADVAPI32.DLL_RegSetValueExW
mov edx, eax
mov eax, ebx
call fcn.0043ef3c
test al, al
jne 0x43ffcc
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x5260ec]
mov dl, 1
mov eax, dword [0x43da98]
call fcn.0044dc0c
call fcn.004615d4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x43ffd8
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.00462774
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExW
mov edx, eax
mov eax, ebx
call fcn.0043ef3c
test al, al
jne 0x440039
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x5260e8]
mov dl, 1
mov eax, dword [0x43da98]
call fcn.0044dc0c
call fcn.004615d4
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0043ed18
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 0x440638
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 0x440760
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.0043efdc
xor eax, eax
push ebp
push 0x44073b
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.0043f58c
test al, al
je 0x44071f
mov eax, dword [ebp + 8]
push eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.00440518
pop ecx
mov ecx, dword [ebp - 0x20]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00462824
mov ebx, dword [ebp - 0x24]
dec ebx
test ebx, ebx
jl 0x44071f
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.00462774
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.0043ef3c
test al, al
je 0x44071b
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00462774
mov edx, eax
lea eax, [ebp - 0x30]
call fcn.00462894
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.00440518
pop ecx
inc edi
dec ebx
jne 0x4406c3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x440742
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x10]
call fcn.0043efdc
ret
Function at 0x440770
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 0x4409be
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.0043efdc
xor eax, eax
push ebp
push 0x440994
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.0043f58c
test al, al
je 0x440978
mov ecx, dword [ebp - 0x40]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00462824
mov eax, dword [ebp - 0x44]
dec eax
test eax, eax
jl 0x440978
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.00462774
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.0043ef3c
test al, al
je 0x44096c
mov eax, dword [ebp - 4]
call fcn.00462774
mov edx, eax
lea eax, [ebp - 0x48]
call fcn.00462894
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00440088
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x44096c
xor eax, eax
push ebp
push 0x440965
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.0043efdc
xor eax, eax
push ebp
push 0x440947
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00462774
mov edx, eax
lea eax, [ebp - 0x4c]
call fcn.00462894
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0043efe0
mov eax, dword [ebp - 4]
call fcn.00462774
mov edx, eax
lea eax, [ebp - 0x50]
call fcn.00462894
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00440088
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x440924
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.00440638
pop ecx
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.00440770
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44092b
mov eax, dword [ebp - 0x24]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
inc dword [ebp - 0x14]
dec dword [ebp - 0x28]
jne 0x4407fb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44099b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x18]
call fcn.0043efdc
ret
Function at 0x4485e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x448689
test eax, edx
je 0x44868c
push 0
push 0
cmp word [eax - 0xa], 2
je 0x448609
push edx
mov edx, eax
mov eax, esp
call fcn.00462904
pop edx
mov eax, dword [esp]
cmp word [edx - 0xa], 2
je 0x44861f
push eax
lea eax, [esp + 8]
call fcn.00462904
pop eax
mov edx, dword [esp + 4]
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x44862e
movzx eax, word [eax]
sub eax, ecx
jmp 0x448655
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 0x44866f
add ecx, 4
js 0x448646
pop eax
pop ebx
mov ecx, esp
mov edx, dword [ecx]
or edx, dword [ecx + 4]
je 0x44866c
push eax
mov eax, ecx
mov edx, 2
call fcn.00461d14
pop eax
pop edx
pop edx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x448653
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x448655
xor eax, eax
ret
test eax, eax
je 0x44869c
test edx, edx
jne 0x4485f0
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

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

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, esi
call fcn.00462774
push eax
call sub.KERNEL32.DLL_GetFileAttributesW
cmp eax, 0xffffffff
je 0x449956
test al, 0x10
sete al
pop esi
pop ebx
ret
call sub.KERNEL32.DLL_GetLastError
mov ebx, eax
cmp ebx, 2
je 0x449977
cmp ebx, 3
je 0x449977
cmp ebx, 0x7b
je 0x449977
mov eax, esi
call fcn.004498f8
test al, al
jne 0x44997b
xor eax, eax
jmp 0x44997d
mov al, 1
pop esi
pop ebx
ret

Function at 0x449980
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor ebx, ebx
push edi
mov eax, esi
call fcn.00462774
push eax
call sub.KERNEL32.DLL_SetFileAttributesW
test eax, eax
jne 0x4499a2
call sub.KERNEL32.DLL_GetLastError
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x44d0c4
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 0x44d0fd
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00462824
jmp 0x44d106
mov eax, ebx
mov edx, esi
call fcn.004626e8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x44d110
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 0x44d132
movzx eax, word [esp]
jmp 0x44d134
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret