joyce8/EMBER2024-capa huggingface dataset:
Function at 0xa09080
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x87f015
lea edi, [esi - 0x47e015]
push edi
or ebp, 0xffffffff
jmp 0xa090a2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xa090a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xa09098
mov eax, 1
add ebx, ebx
jne 0xa090bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xa090cc
jne 0xa090eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xa090eb
dec eax
add ebx, ebx
jne 0xa090d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xa090b0
add ebx, ebx
jne 0xa090e7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xa0913d
xor ecx, ecx
sub eax, 3
jb 0xa09103
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xa09172
sar eax, 1
mov ebp, eax
jmp 0xa0910e
add ebx, ebx
jne 0xa0910e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xa090dc
inc ecx
add ebx, ebx
jne 0xa0911c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xa090dc
add ebx, ebx
jne 0xa09129
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xa0911e
jne 0xa0913a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xa0911e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xa0915c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xa0914e
jmp 0xa0909e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xa0915c
add edi, ecx
jmp 0xa0909e
pop esi
mov edi, esi
mov ecx, 0x7f50
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xa0917a
mov eax, dword [edi]
mov bl, byte [edi + 4]
xchg ah, al
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0xa0917f
lea edi, [esi + 0x607000]
mov eax, dword [edi]
or eax, eax
je 0xa091e7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x609000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x609078]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xa091a5
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x60907c]
or eax, eax
je 0xa091e1
mov dword [ebx], eax
add ebx, 4
jmp 0xa091c2
call dword [esi + 0x60908c]
mov ebp, dword [esi + 0x609080]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0xa0921b
sub esp, 0xffffff80
jmp 0x424a70
Function at 0x4024b4
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
jmp 0x4024c6
mov eax, dword [0x6a209f]
shl eax, 2
mov dword [0x6a20a3], eax
push edx
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov edx, eax
call fcn.00692ec4
pop edx
call fcn.00692dec
call fcn.00693020
push 0
call fcn.00694d3c
pop ecx
push 0x6a2048
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov dword [0x6a20a7], eax
push 0
jmp fcn.0069e1f4

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push dword [ebp + 8]
call sub.KERNEL32.DLL_GetFileAttributesA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
sete al
and eax, 1
pop ecx
pop ebp
ret

Function at 0x4035dc
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed0
xor eax, eax
mov dword [ebp - 4], eax
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 0x130], 0x128
push 0
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x130]
push ecx
push dword [ebp - 8]
call sub.KERNEL32.DLL_Process32First
test eax, eax
je 0x403641
push dword [ebp + 8]
lea eax, [ebp - 0x10c]
push eax
call fcn.00693ce8
add esp, 8
test eax, eax
je 0x403641
lea edx, [ebp - 0x130]
push edx
push dword [ebp - 8]
call sub.KERNEL32.DLL_Process32Next
test eax, eax
jne 0x403618
cmp dword [ebp - 8], 0xffffffff
je 0x40364f
push dword [ebp - 8]
call sub.KERNEL32.DLL_CloseHandle
mov ecx, dword [ebp - 0x128]
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x403660
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdb0
push esi
push edi
mov eax, 0x6a2c98
call fcn.00694150
mov esi, 0x6a2360
lea edi, [ebp - 0x250]
mov ecx, 0x89
rep movsd dword es:[edi], dword [esi]
push dword [ebp + 0xc]
push 8
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x4036a8
xor eax, eax
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x403726
mov dword [ebp - 0x250], 0x224
lea ecx, [ebp - 0x250]
push ecx
push dword [ebp - 0x28]
call sub.KERNEL32.DLL_Module32First
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x403712
push dword [ebp + 8]
lea eax, [ebp - 0x230]
push eax
call fcn.00693ce8
add esp, 8
test eax, eax
jne 0x4036fa
push dword [ebp - 0x28]
call sub.KERNEL32.DLL_CloseHandle
mov eax, dword [ebp - 0x23c]
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x403726
lea ecx, [ebp - 0x250]
push ecx
push dword [ebp - 0x28]
call sub.KERNEL32.DLL_Module32Next
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x4036ca
push dword [ebp - 0x28]
call sub.KERNEL32.DLL_CloseHandle
xor eax, eax
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x404574
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdd0
push esi
push edi
mov eax, 0x6a2f54
call fcn.00694150
mov esi, 0x6a2584
lea edi, [ebp - 0x130]
mov ecx, 0x3f
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov esi, 0x6a2684
lea edi, [ebp - 0x230]
mov ecx, 0x3f
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x28], 0x6a2b0c
push 0xff
lea edx, [ebp - 0x230]
push edx
lea ecx, [ebp - 0x2c]
push ecx
lea eax, [ebp - 0x2c]
push eax
lea edx, [ebp - 0x30]
push edx
push 0xff
lea ecx, [ebp - 0x130]
push ecx
push dword [ebp - 0x28]
call sub.KERNEL32.DLL_GetVolumeInformationA
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x414e38
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, 0x6a6240
test edx, edx
jne 0x414e57
xor eax, eax
jmp 0x414f75
mov dword [ebp - 4], 1
cmp byte [ebp - 4], 0
je 0x414e74
push esi
push edx
push eax
call fcn.00414f7c
add esp, 0xc
jmp 0x414f75
push esi
push edx
push eax
call fcn.0041523c
add esp, 0xc
jmp 0x414f75
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x43b920
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x43b9be
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xc]
je 0x43b982
cmp byte [ebx + 0x10], 0
jne 0x43b982
cmp byte [ebx + 0x3c], 0
jne 0x43b982
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 0x43b9a3
lea edx, [ebp - 4]
mov eax, dword [0x6b5050]
call fcn.00487170
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x427fdc]
call fcn.00468124
call fcn.00482fbc
jmp 0x43b9a3
lea edx, [ebp - 8]
mov eax, dword [0x6b5050]
call fcn.00487170
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x427fdc]
call fcn.00468124
call fcn.00482fbc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43b9c5
lea eax, [ebp - 8]
mov edx, 2
call fcn.00483814
ret

Function at 0x43c2c0
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 0x43c30e
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.0043b864
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x43c327
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x43c330
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.0043b864
dec esi
jne 0x43c352
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x43e584
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x6b6224
cmp dword [edi], 0
jne 0x43e600
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x6b6220]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x6a8610
mov ecx, 2
call fcn.00481344
mov edx, 0x43e55c
lea eax, [esi + 5]
call fcn.0043e57c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0043e57c
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 0x43e5d5
mov dword [0x6b6220], 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 0x4440f0
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 0x4442ab
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00483bdc
mov eax, dword [ebp - 4]
call fcn.004439a8
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x444142
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.00484744
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.00444d2c
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x444221
xor eax, eax
push ebp
push 0x44421a
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.00443ce0
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.004442e0
test al, al
je 0x4441f8
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.0048393c
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x4441f8
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.00484338
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.00443c40
test al, al
je 0x4441f2
mov eax, dword [ebp - 8]
call fcn.00484338
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.004843a0
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.004440f0
dec ebx
cmp ebx, 0xffffffff
jne 0x4441a1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x444221
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.00443ce0
mov eax, dword [ebp - 0x1c]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
cmp byte [0x6b6230], 0
je 0x444261
push 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
and eax, 0x300
push eax
mov eax, dword [ebp - 4]
call fcn.00484338
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.00443ccc
push eax
call sub.ADVAPI32.DLL_RegDeleteKeyExW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.00443c40
mov ebx, eax
jmp 0x444288
mov eax, dword [ebp - 4]
call fcn.00484338
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.00443ccc
push eax
call sub.ADVAPI32.DLL_RegDeleteKeyW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.00443c40
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4442b2
lea eax, [ebp - 0x3c]
call fcn.004837b4
lea eax, [ebp - 8]
mov edx, 2
call fcn.00483814
ret
Function at 0x44434c
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 0x444404
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.004442e0
test al, al
je 0x4443e6
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.0048393c
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x4443e6
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.00484338
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.ADVAPI32.DLL_RegEnumKeyExW
mov eax, dword [ebp - 4]
call fcn.00484338
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.004843a0
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x44439f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44440b
lea eax, [ebp - 0x2c]
call fcn.004837b4
lea eax, [ebp - 4]
call fcn.004837b4
ret

Function at 0x444c08
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.004439c0
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.00484338
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ADVAPI32.DLL_RegSetValueExW
mov edx, eax
mov eax, ebx
call fcn.00443c40
test al, al
jne 0x444c70
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x6b53a4]
mov dl, 1
mov eax, dword [0x442794]
call fcn.00468328
call fcn.00482fbc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x444c7c
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.00484338
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExW
mov edx, eax
mov eax, ebx
call fcn.00443c40
test al, al
jne 0x444cdd
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x6b53a8]
mov dl, 1
mov eax, dword [0x442794]
call fcn.00468328
call fcn.00482fbc
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004439f0
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 0x4452dc
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 0x445404
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.00443ce0
xor eax, eax
push ebp
push 0x4453df
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.004442e0
test al, al
je 0x4453c3
mov eax, dword [ebp + 8]
push eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.004451bc
pop ecx
mov ecx, dword [ebp - 0x20]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.0048393c
mov ebx, dword [ebp - 0x24]
dec ebx
test ebx, ebx
jl 0x4453c3
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.00484338
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.00443c40
test al, al
je 0x4453bf
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00484338
mov edx, eax
lea eax, [ebp - 0x30]
call fcn.004843a0
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.004451bc
pop ecx
inc edi
dec ebx
jne 0x445367
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4453e6
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x10]
call fcn.00443ce0
ret
Function at 0x445414
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 0x445662
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.00443ce0
xor eax, eax
push ebp
push 0x445638
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.004442e0
test al, al
je 0x44561c
mov ecx, dword [ebp - 0x40]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.0048393c
mov eax, dword [ebp - 0x44]
dec eax
test eax, eax
jl 0x44561c
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.00484338
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.00443c40
test al, al
je 0x445610
mov eax, dword [ebp - 4]
call fcn.00484338
mov edx, eax
lea eax, [ebp - 0x48]
call fcn.004843a0
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00444d2c
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x445610
xor eax, eax
push ebp
push 0x445609
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.00443ce0
xor eax, eax
push ebp
push 0x4455eb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00484338
mov edx, eax
lea eax, [ebp - 0x4c]
call fcn.004843a0
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00443ce4
mov eax, dword [ebp - 4]
call fcn.00484338
mov edx, eax
lea eax, [ebp - 0x50]
call fcn.004843a0
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00444d2c
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x4455c8
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.004452dc
pop ecx
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.00445414
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4455cf
mov eax, dword [ebp - 0x24]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
inc dword [ebp - 0x14]
dec dword [ebp - 0x28]
jne 0x44549f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44563f
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x18]
call fcn.00443ce0
ret
Function at 0x461d28
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x461d81
test eax, edx
je 0x461d84
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x461d3f
movzx eax, word [eax]
sub eax, ecx
jmp 0x461d66
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 0x461d67
add ecx, 4
js 0x461d57
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x461d64
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x461d66
xor eax, eax
ret
test eax, eax
je 0x461d90
test edx, edx
jne 0x461d30
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, esi
call fcn.00484338
mov edi, eax
push edi
call sub.KERNEL32.DLL_GetFileAttributesW
cmp eax, 0xffffffff
je 0x46324a
test ah, 4
je 0x463243
test bl, bl
jne 0x463208
mov al, 1
jmp 0x463271
test al, 0x10
je 0x463210
xor eax, eax
jmp 0x463271
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
call sub.KERNEL32.DLL_CreateFileW
cmp eax, 0xffffffff
je 0x463234
push eax
call sub.KERNEL32.DLL_CloseHandle
mov al, 1
jmp 0x463271
call sub.KERNEL32.DLL_GetLastError
mov ebx, eax
cmp ebx, 0x20
sete al
jmp 0x463271
test al, 0x10
sete al
jmp 0x463271
call sub.KERNEL32.DLL_GetLastError
mov ebx, eax
cmp ebx, 2
je 0x46326b
cmp ebx, 3
je 0x46326b
cmp ebx, 0x7b
je 0x46326b
mov eax, esi
call fcn.004631a0
test al, al
jne 0x46326f
xor eax, eax
jmp 0x463271
mov al, 1
pop edi
pop esi
pop ebx
ret

Function at 0x467270
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 0x4672a9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.0048393c
jmp 0x4672b2
mov eax, ebx
mov edx, esi
call fcn.00483b94
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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