joyce8/EMBER2024-capa huggingface dataset:
Function at 0x428a4c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x428af3
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.00405024
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jbe 0x428add
lea eax, [ebp - 0x10]
mov edx, edi
call fcn.004051b0
mov eax, dword [ebp - 0x10]
push eax
push edi
mov eax, dword [ebp - 0xc]
push eax
mov eax, esi
call fcn.00405024
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x428add
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x428b04
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x428add
cmp dword [ebp - 8], 0x34
jne 0x428add
mov bl, 1
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov esi, eax
mov edi, edx
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x428afa
lea eax, [ebp - 0x10]
call fcn.00404b64
ret

Function at 0x428b08
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
test dl, dl
je 0x428b1d
add esp, 0xfffffff0
call fcn.0040413c
mov edi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
lea eax, [ebp - 8]
push eax
mov eax, edi
call fcn.00405024
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
jne 0x428b52
mov ecx, dword [0x488920]
mov dl, 1
mov eax, dword [0x42827c]
call fcn.004247cc
call fcn.004045a4
lea eax, [ebx + 4]
mov edx, esi
call fcn.004051b0
mov eax, dword [ebx + 4]
call fcn.00405024
push eax
push esi
mov eax, dword [ebp - 8]
push eax
mov eax, edi
call fcn.00405024
push eax
call sub.version.dll_GetFileVersionInfoA
call fcn.0040e51c
mov eax, ebx
call fcn.00429170
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x428b9a
call fcn.00404194
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x429564
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
mov ebx, dword [ebp + 8]
xor eax, eax
push ebp
push 0x429653
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
mov edx, dword [ebp + 0xc]
call fcn.00404bb8
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
mov eax, edi
call fcn.00429530
push eax
push esi
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x42963d
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 0x14]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.00405024
mov esi, eax
push esi
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x429634
mov eax, dword [ebp - 0x14]
dec eax
sub eax, 2
jae 0x429634
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0xc]
call fcn.004051b0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push esi
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x429634
mov eax, dword [ebp - 0x10]
call fcn.00405024
call fcn.00409bb4
mov edx, eax
lea eax, [ebp - 0x10]
call fcn.004051b0
mov eax, ebx
mov edx, dword [ebp - 0x10]
call fcn.00404bb8
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42965a
lea eax, [ebp - 0x10]
call fcn.00404b64
ret

Function at 0x429664
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
mov edi, eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push 2
push 0
mov eax, ebx
call fcn.00429530
push eax
push edi
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4296d9
mov eax, esi
call fcn.00404e2c
inc eax
test eax, eax
jns 0x4296a2
call fcn.00403d28
push eax
mov eax, esi
call fcn.00405024
push eax
push 1
push 0
mov eax, dword [ebp - 4]
call fcn.00405024
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegSetValueExA
mov esi, eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
test esi, esi
je 0x4296e0
mov eax, ebx
call fcn.00429504
jmp 0x4296e0
mov eax, ebx
call fcn.00429504
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4
Function at 0x429e74
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x429fdd
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x24
call fcn.004032e0
lea eax, [ebp - 0x28]
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [ebp - 0x14]
mov dword [0x486ae8], eax
mov eax, dword [ebp - 0xc]
mov dword [0x486aec], eax
mov eax, dword [ebp - 0x24]
mov dword [0x486af0], eax
mov eax, dword [0x488ad4]
cmp dword [eax], 2
sete byte [0x486a58]
push 0x429fe8
call sub.kernel32.dll_GetModuleHandleA_2
lea edx, [ebp - 4]
call fcn.00428a0c
cmp byte [0x486a58], 0
jne 0x429f00
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.00428a4c
test al, al
je 0x429f00
mov eax, dword [ebp - 0x4c]
mov dword [0x48a134], eax
jmp 0x429f07
xor eax, eax
mov dword [0x48a134], eax
call fcn.00429d10
and eax, 0x7f
cmp eax, 0xb
ja case.0x429f18.0
jmp dword [eax*4 + 0x429f1f]
mov byte [0x486a44], 1
jmp case.0x429f18.0
mov byte [0x486a48], 1
jmp case.0x429f18.0
mov byte [0x486a4c], 1
jmp case.0x429f18.0
mov byte [0x486a50], 1
jmp case.0x429f18.0
mov byte [0x486a54], 1
jmp case.0x429f18.0
mov byte [0x486a5c], 1
mov byte [0x486a60], 1
jmp case.0x429f18.0
mov byte [0x486a5c], 1
mov byte [0x486a64], 1
jmp case.0x429f18.0
mov byte [0x486a5c], 1
mov byte [0x486a68], 1
jmp case.0x429f18.0
mov byte [0x486a6c], 1
jmp case.0x429f18.0
mov byte [0x486a70], 1
jmp case.0x429f18.0
mov byte [0x486a74], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x429fe4
lea eax, [ebp - 4]
call fcn.00404b64
ret

Function at 0x42a134
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x42a1ce
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
mov eax, dword [esi]
call fcn.00405024
push eax
call sub.kernel32.dll_ExpandEnvironmentStringsA
mov ebx, eax
test ebx, ebx
jns 0x42a169
call fcn.00403d28
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004051b0
test ebx, ebx
jns 0x42a17c
call fcn.00403d28
push ebx
mov eax, dword [ebp - 4]
call fcn.00405024
push eax
mov eax, dword [esi]
call fcn.00405024
push eax
call sub.kernel32.dll_ExpandEnvironmentStringsA
test eax, eax
setne al
mov ebx, eax
test bl, bl
je 0x42a1b3
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004089e0
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.00404bb8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42a1d5
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404b88
ret
Function at 0x431940
Capabilities:
Identify system language via api

Disassembly:
add esp, 0xffffffe4
push 0
call sub.user32.dll_SetActiveWindow
push 0xfffffffffffffff6
call sub.kernel32.dll_GetStdHandle_1
mov dword [0x48a164], eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle_1
mov dword [0x48a168], eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
mov dword [0x48a16c], eax
lea eax, [esp + 4]
push eax
mov eax, dword [0x48a168]
push eax
call sub.kernel32.dll_GetConsoleScreenBufferInfo
test eax, eax
je 0x4319e5
mov ax, word [esp + 0xc]
mov word [0x48a17c], ax
mov word [0x48a18c], ax
mov word [0x48a17e], ax
mov ax, word [esp + 0xe]
inc eax
mov word [esp], ax
mov ax, word [esp + 0x10]
inc eax
mov word [esp + 2], ax
mov eax, dword [esp]
mov dword [0x48a170], eax
mov eax, dword [esp + 4]
mov dword [0x48a178], eax
mov ax, word [esp + 0x12]
inc eax
mov word [esp], ax
mov ax, word [esp + 0x14]
inc eax
mov word [esp + 2], ax
mov eax, dword [esp]
mov dword [0x48a174], eax
mov byte [0x48a194], 0
jmp 0x4319ec
mov byte [0x48a194], 1
mov dword [0x48a180], 0x3e8
mov dword [0x48a184], 0xffffffff
call sub.kernel32.dll_GetConsoleOutputCP
mov dword [0x48a190], eax
push 0x4e4
call sub.kernel32.dll_SetConsoleOutputCP
call sub.kernel32.dll_GetUserDefaultLangID
and ax, 0x3ff
cmp ax, 7
sete byte [0x48a195]
add esp, 0x1c
ret

Function at 0x43d480
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00405014
xor eax, eax
push ebp
push 0x43d508
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebx + 0xc]
mov edx, dword [ebp - 4]
call fcn.00404bb8
xor eax, eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x20], 1
mov dword [ebx + 0x1c], 1
mov eax, dword [ebx + 0xc]
call fcn.00404e2c
mov esi, eax
mov dword [ebx + 0x28], esi
mov eax, esi
mov ecx, 0x64
cdq
idiv ecx
mov edx, eax
mov eax, 1
call fcn.00425154
mov edi, eax
mov dword [ebx + 0x2c], edi
mov dword [ebx + 0x30], edi
mov eax, ebx
call fcn.0043cebc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43d50f
lea eax, [ebp - 4]
call fcn.00404b64
ret
Function at 0x4445d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ebp + 8]
mov edx, dword [eax]
inc edx
xor eax, eax
mov al, byte [edx]
and eax, 0xff
test eax, eax
jne 0x4445fb
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0x486f8b
jmp 0x444766
cmp eax, 0x30
jl 0x444766
cmp eax, 0x7a
jg 0x444766
movsx ebx, word [eax*2 + 0x486b24]
mov dword [ebp - 4], ebx
test ebx, ebx
je 0x444624
mov eax, dword [ebp - 4]
jmp 0x444766
mov ebx, eax
sub ebx, 0x30
je 0x444699
dec ebx
sub ebx, 9
jb 0x444648
sub ebx, 0x29
je 0x444729
sub ebx, 0x15
je 0x4446e1
jmp 0x444755
cmp dword [ebp + 0x18], 0
jne 0x444688
mov esi, edx
sub eax, 0x30
jmp 0x444664
inc edx
add eax, eax
xor ebx, ebx
mov bl, byte [edx]
lea eax, [eax + eax*4]
add eax, ebx
add eax, 0xffffffd0
xor ebx, ebx
mov bl, byte [edx + 1]
mov edi, dword [ecx + 0xc]
test byte [edi + ebx], 4
jne 0x444655
cmp eax, 0xa
jl 0x44467c
cmp eax, dword [ebp + 0x10]
jg 0x444686
add eax, 0xc
neg eax
jmp 0x444766
mov edx, esi
xor eax, eax
mov al, byte [edx]
cmp eax, 0x38
jl 0x444699
dec edx
xor eax, eax
jmp 0x444766
sub eax, 0x30
jmp 0x4446ab
inc edx
shl eax, 3
xor ebx, ebx
mov bl, byte [edx]
add eax, ebx
add eax, 0xffffffd0
mov ebx, dword [ebp - 4]
inc dword [ebp - 4]
cmp ebx, 2
jge 0x444766
xor ebx, ebx
mov bl, byte [edx + 1]
mov esi, dword [ecx + 0xc]
test byte [esi + ebx], 4
je 0x444766
cmp byte [edx + 1], 0x38
je 0x444766
cmp byte [edx + 1], 0x39
jne 0x44469e
jmp 0x444766
xor eax, eax
jmp 0x44470e
inc edx
mov esi, 0x30
xor ebx, ebx
mov bl, byte [edx]
mov edi, dword [ecx + 0xc]
test byte [edi + ebx], 4
jne 0x4446fb
add esi, 0x27
xor ebx, ebx
mov edi, dword [ecx]
mov bl, byte [edx]
shl eax, 4
movzx ebx, byte [edi + ebx]
add ebx, eax
sub ebx, esi
mov eax, ebx
mov ebx, dword [ebp - 4]
inc dword [ebp - 4]
cmp ebx, 2
jge 0x444766
xor ebx, ebx
mov bl, byte [edx + 1]
mov esi, dword [ecx + 0xc]
test byte [esi + ebx], 8
jne 0x4446e5
jmp 0x444766
inc edx
xor eax, eax
mov al, byte [edx]
test eax, eax
jne 0x44473f
mov edx, dword [ebp + 0xc]
xor eax, eax
mov dword [edx], 0x486f9f
jmp 0x44476b
cmp eax, 0x61
jl 0x444750
cmp eax, 0x7a
jg 0x444750
mov ecx, dword [ecx + 4]
movzx eax, byte [ecx + eax]
xor eax, 0x40
jmp 0x444766
test byte [ebp + 0x14], 0x40
je 0x444766
mov ecx, eax
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0x486fb4
mov ecx, dword [ebp + 8]
mov dword [ecx], edx
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44c3f8
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 - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44c561
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00404bfc
mov eax, dword [ebp - 0x10]
call fcn.0044c048
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x44c44a
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.004050c4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0044cb50
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x44c51f
xor eax, eax
push ebp
push 0x44c518
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.0044c1f4
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.0044c590
test al, al
je 0x44c4f6
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00404c54
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x44c4f6
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00405024
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x44c4f0
mov eax, dword [ebp - 0x14]
call fcn.00405024
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00404d64
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.0044c3f8
dec ebx
cmp ebx, 0xffffffff
jne 0x44c4a9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44c51f
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0044c1f4
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.00405024
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.0044c1e0
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44c568
lea eax, [ebp - 0x3c]
call fcn.00404b64
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00404b88
ret

Function at 0x44c590
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.004032e0
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete al
mov edx, dword [0x488adc]
cmp byte [edx + 0xc], 0
je 0x44c5f4
mov edx, dword [0x488ad4]
cmp dword [edx], 2
jne 0x44c5f4
mov edx, dword [ebx + 4]
add dword [ebx + 4], edx
mov edx, dword [ebx + 0xc]
add dword [ebx + 0xc], edx
pop esi
pop ebx
ret
Function at 0x44c5f8
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 - 0xc], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x44c6b0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.0044c590
test al, al
je 0x44c692
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.00404c54
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x44c692
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00405024
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumKeyExA
mov eax, dword [ebp - 0xc]
call fcn.00405024
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.00404d64
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x44c64b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44c6b7
lea eax, [ebp - 0x2c]
call fcn.00404b64
lea eax, [ebp - 0xc]
call fcn.00404b64
ret

Function at 0x44c6c0
Capabilities:
Query or enumerate registry value

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 - 0xc], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x44c778
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.0044c590
test al, al
je 0x44c75a
mov ecx, dword [ebp - 0x1c]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.00404c54
mov ebx, dword [ebp - 0x20]
dec ebx
test ebx, ebx
jl 0x44c75a
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00405024
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumValueA
mov eax, dword [ebp - 0xc]
call fcn.00405024
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.00404d64
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x44c713
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44c77f
lea eax, [ebp - 0x2c]
call fcn.00404b64
lea eax, [ebp - 0xc]
call fcn.00404b64
ret
Function at 0x44ca64
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
mov al, byte [ebp + 8]
call fcn.0044c05c
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.00405024
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x44cac2
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x48895c]
mov dl, 1
mov eax, dword [0x44be30]
call fcn.0040cdec
call fcn.004045a4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x44cacc
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.00405024
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x44cb24
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x488ae8]
mov dl, 1
mov eax, dword [0x44be30]
call fcn.0040cdec
call fcn.004045a4
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0044c08c
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 0x44f528
Capabilities:
Parse pe header

Disassembly:
push ebx
push esi
mov ebx, eax
xor esi, esi
push 0x40
push ebx
call sub.kernel32.dll_IsBadReadPtr
test eax, eax
jne 0x44f567
mov eax, ebx
cmp word [eax], 0x5a4d
jne 0x44f567
cmp dword [eax + 0x3c], 0
je 0x44f567
mov esi, dword [eax + 0x3c]
add esi, ebx
push 0xf8
push esi
call sub.kernel32.dll_IsBadReadPtr
test eax, eax
jne 0x44f565
cmp dword [esi], 0x4550
je 0x44f567
xor esi, esi
mov eax, esi
pop esi
pop ebx
ret
Function at 0x45ddd8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebx, eax
mov edi, dword [ebx + 0x24]
mov esi, dword [ebx + 0x34]
sub esi, dword [ebx + 0x6c]
sub esi, dword [ebx + 0x64]
test esi, esi
jne 0x45de02
cmp dword [ebx + 0x64], 0
jne 0x45de02
cmp dword [ebx + 0x6c], 0
jne 0x45de02
mov esi, edi
jmp 0x45deba
cmp esi, 0xffffffff
jne 0x45de0d
dec esi
jmp 0x45deba
mov eax, dword [ebx + 0x64]
mov edx, edi
sub edx, 0x106
add edx, edi
cmp eax, edx
jb 0x45deba
cmp edi, 0x7ffffffe
jbe 0x45de2f
call fcn.00403d28
mov eax, dword [ebx + 0x30]
lea edx, [eax + edi]
mov ebp, edi
mov ecx, ebp
call fcn.0045b9cc
sub dword [ebx + 0x68], edi
sub dword [ebx + 0x64], edi
sub dword [ebx + 0x54], ebp
mov eax, dword [ebx + 0x44]
cmp eax, 0x3ffffffe
jbe 0x45de56
call fcn.00403d28
mov edx, dword [ebx + 0x3c]
lea edx, [edx + eax*2]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp edi, dword [esp]
ja 0x45de76
mov cx, word [esp]
sub cx, di
mov word [edx], cx
jmp 0x45de7b
mov word [edx], 0
dec eax
test eax, eax
jne 0x45de5c
mov eax, edi
cmp eax, 0x3ffffffe
jbe 0x45de8e
call fcn.00403d28
mov edx, dword [ebx + 0x38]
lea edx, [edx + eax*2]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp edi, dword [esp]
ja 0x45deae
mov cx, word [esp]
sub cx, di
mov word [edx], cx
jmp 0x45deb3
mov word [edx], 0
dec eax
test eax, eax
jne 0x45de94
add esi, edi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x45df4b
mov eax, dword [ebx + 0x64]
add eax, dword [ebx + 0x6c]
cmp eax, 0x7ffffffe
jbe 0x45ded8
call fcn.00403d28
mov edx, dword [ebx + 0x30]
add edx, eax
mov eax, ebp
mov ecx, esi
call fcn.0045dadc
test eax, eax
jns 0x45deef
call fcn.00403d28
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x45df36
mov eax, dword [ebx + 0x64]
cmp eax, 0x7ffffffe
jbe 0x45df07
call fcn.00403d28
mov edx, dword [ebx + 0x30]
movzx eax, byte [edx + eax]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x64]
inc edx
cmp edx, 0x7ffffffe
jbe 0x45df27
call fcn.00403d28
mov ecx, dword [ebx + 0x30]
movzx edx, byte [ecx + edx]
xor eax, edx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x6c], 0x106
jae 0x45df4b
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x45dde2
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x45e458
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
mov esi, 0x48800c
test edx, edx
jne 0x45e468
xor eax, eax
pop esi
pop ebx
ret
xor eax, 0xffffffff
cmp ecx, 8
jb 0x45e5a0
xor ebx, ebx
mov bl, byte [edx]
xor ebx, eax
and ebx, 0xff
cmp ebx, 0xff
jbe 0x45e48d
call fcn.00403d28
mov ebx, dword [esi + ebx*4]
shr eax, 8
xor ebx, eax
mov eax, ebx
inc edx
xor ebx, ebx
mov bl, byte [edx]
xor ebx, eax
and ebx, 0xff
cmp ebx, 0xff
jbe 0x45e4b1
call fcn.00403d28
mov ebx, dword [esi + ebx*4]
shr eax, 8
xor ebx, eax
mov eax, ebx
inc edx
xor ebx, ebx
mov bl, byte [edx]
xor ebx, eax
and ebx, 0xff
cmp ebx, 0xff
jbe 0x45e4d5
call fcn.00403d28
mov ebx, dword [esi + ebx*4]
shr eax, 8
xor ebx, eax
mov eax, ebx
inc edx
xor ebx, ebx
mov bl, byte [edx]
xor ebx, eax
and ebx, 0xff
cmp ebx, 0xff
jbe 0x45e4f9
call fcn.00403d28
mov ebx, dword [esi + ebx*4]
shr eax, 8
xor ebx, eax
mov eax, ebx
inc edx
xor ebx, ebx
mov bl, byte [edx]
xor ebx, eax
and ebx, 0xff
cmp ebx, 0xff
jbe 0x45e51d
call fcn.00403d28
mov ebx, dword [esi + ebx*4]
shr eax, 8
xor ebx, eax
mov eax, ebx
inc edx
xor ebx, ebx
mov bl, byte [edx]
xor ebx, eax
and ebx, 0xff
cmp ebx, 0xff
jbe 0x45e541
call fcn.00403d28
mov ebx, dword [esi + ebx*4]
shr eax, 8
xor ebx, eax
mov eax, ebx
inc edx
xor ebx, ebx
mov bl, byte [edx]
xor ebx, eax
and ebx, 0xff
cmp ebx, 0xff
jbe 0x45e565
call fcn.00403d28
mov ebx, dword [esi + ebx*4]
shr eax, 8
xor ebx, eax
mov eax, ebx
inc edx
xor ebx, ebx
mov bl, byte [edx]
xor ebx, eax
and ebx, 0xff
cmp ebx, 0xff
jbe 0x45e589
call fcn.00403d28
mov ebx, dword [esi + ebx*4]
shr eax, 8
xor ebx, eax
mov eax, ebx
inc edx
sub ecx, 8
cmp ecx, 8
jae 0x45e474
test ecx, ecx
je 0x45e5cd
xor ebx, ebx
mov bl, byte [edx]
xor ebx, eax
and ebx, 0xff
cmp ebx, 0xff
jbe 0x45e5bd
call fcn.00403d28
mov ebx, dword [esi + ebx*4]
shr eax, 8
xor ebx, eax
mov eax, ebx
inc edx
dec ecx
test ecx, ecx
jne 0x45e5a4
xor eax, 0xffffffff
pop esi
pop ebx
ret