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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x42a36c
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040ac70
lea eax, [ebp - 4]
call fcn.0040ae18
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040b698
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x42a356
mov eax, ebx
call fcn.004070a8
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x42a34f
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040b698
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x42a339
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x42a380
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x42a339
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x10]
shr eax, 0x10
movzx eax, ax
mov dword [esi], eax
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 0x10]
mov dword [edi], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
shr eax, 0x10
movzx eax, ax
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42a356
mov eax, dword [ebp - 0x10]
call fcn.004070c4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42a373
lea eax, [ebp - 4]
call fcn.0040a848
ret

Function at 0x42b3f4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.0040ad58
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.00410240
mov edi, eax
cmp edi, 0x104
jbe 0x42b39f
mov eax, edi
add eax, eax
call fcn.004070a8
mov esi, eax
jmp 0x42b3a1
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.00410240
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x42b3da
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x42b3c4
mov eax, esp
cmp esi, eax
je 0x42b3e7
mov eax, esi
call fcn.004070c4
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x42b420
cmp bl, 0
je 0x42b41c
cmp bl, 0x41
jl 0x42b417
cmp bl, 0x5a
jg 0x42b417
or bl, 0x20
xor al, bl
inc esi
jmp 0x42b3fb
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x42b360

Function at 0x42bd18
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xfffff800
mov ebx, ecx
mov word [esp], 0
push 0x400
lea ecx, [esp + 4]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW
mov eax, ebx
mov edx, esp
mov ecx, 0x400
call fcn.0040b750
add esp, 0x800
pop ebx
ret
Function at 0x4840dc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov dl, 0xb5
mov ebx, eax
xor eax, eax
mov ecx, eax
mov esi, ebx
shr esi, cl
mov ecx, esi
and cl, 0xff
xor dl, cl
inc eax
cmp eax, 4
jne 0x4840e4
mov eax, edx
pop esi
pop ebx
ret

Function at 0x4c1dc8
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 + 0xf]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x4c1e16
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xf], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.004c13bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c1e2f
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4c3db0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x7c6654
cmp dword [edi], 0
jne 0x4c3e2c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc
mov esi, eax
mov eax, dword [0x7c6650]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x79a0fc
mov ecx, 2
call fcn.004072dc
mov edx, 0x4c3d88
lea eax, [esi + 5]
call fcn.004c3da8
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004c3da8
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 0x4c3e01
mov dword [0x7c6650], 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 0x4f0a38
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffec
mov dword [esp], edx
mov ebx, eax
xor eax, eax
mov dword [esp + 4], eax
test ebx, ebx
je 0x4f0adc
mov eax, ebx
mov edx, dword [eax + 0x3c]
add edx, eax
mov eax, edx
mov esi, eax
mov edx, dword [esi + 0x78]
mov eax, ebx
call fcn.004f079c
mov esi, eax
mov ebp, dword [esi + 0x18]
dec ebp
test ebp, ebp
jb 0x4f0adc
inc ebp
xor edi, edi
mov edx, dword [esi + 0x20]
mov eax, ebx
call fcn.004f079c
mov eax, dword [eax + edi*4]
mov dword [esp + 8], eax
mov edx, dword [esp + 8]
mov eax, ebx
call fcn.004f079c
mov dword [esp + 0xc], eax
mov eax, dword [esp]
push eax
mov eax, dword [esp + 0x10]
push eax
call sub.kernel32.dll_lstrcmpA
test eax, eax
jne 0x4f0ad8
mov edx, dword [esi + 0x24]
mov eax, ebx
call fcn.004f079c
movzx eax, word [eax + edi*2]
mov word [esp + 0x10], ax
mov edx, dword [esi + 0x1c]
mov eax, ebx
call fcn.004f079c
movzx edx, word [esp + 0x10]
mov eax, dword [eax + edx*4]
mov edx, eax
mov eax, ebx
call fcn.004f079c
mov dword [esp + 4], eax
inc edi
dec ebp
jne 0x4f0a74
mov eax, dword [esp + 4]
add esp, 0x14
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4f2ad0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor esi, esi
mov edi, 0x12
mov eax, dword [ebp + 8]
lea ecx, [eax - 0x48]
lea eax, [esi + 1]
xor edx, edx
div dword [ebp - 8]
mov eax, dword [ebp - 4]
movzx ebx, byte [eax + edx]
shl ebx, 0x10
mov eax, dword [ebp - 4]
movzx eax, byte [eax + esi]
shl eax, 0x18
add ebx, eax
lea eax, [esi + 2]
xor edx, edx
div dword [ebp - 8]
mov eax, dword [ebp - 4]
movzx eax, byte [eax + edx]
shl eax, 8
add ebx, eax
lea eax, [esi + 3]
xor edx, edx
div dword [ebp - 8]
mov eax, dword [ebp - 4]
movzx eax, byte [eax + edx]
add ebx, eax
xor dword [ecx], ebx
lea eax, [esi + 4]
xor edx, edx
div dword [ebp - 8]
mov esi, edx
add ecx, 4
dec edi
jne 0x4f2aec
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x10], eax
xor edi, edi
mov eax, dword [ebp + 8]
push eax
push 1
mov eax, dword [ebp + 8]
lea ecx, [eax - 0x48]
lea edx, [ebp - 0x10]
lea eax, [ebp - 0xc]
call fcn.004f2710
pop ecx
mov eax, edi
add eax, eax
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [edx + eax*4 - 0x48], ecx
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov dword [edx + eax*4 - 0x44], ecx
inc edi
cmp edi, 9
jne 0x4f2b4d
mov edi, 4
mov eax, dword [ebp + 8]
lea ebx, [eax - 0x1048]
xor esi, esi
mov eax, dword [ebp + 8]
push eax
push 1
mov eax, dword [ebp + 8]
lea ecx, [eax - 0x48]
lea edx, [ebp - 0x10]
lea eax, [ebp - 0xc]
call fcn.004f2710
pop ecx
mov eax, esi
add eax, eax
mov edx, dword [ebp - 0xc]
mov dword [ebx + eax*4], edx
mov edx, dword [ebp - 0x10]
mov dword [ebx + eax*4 + 4], edx
inc esi
cmp esi, 0x80
jne 0x4f2b93
add ebx, 0x400
dec edi
jne 0x4f2b91
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4f2bd8
Capabilities:
Encrypt data using blowfish

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xffffff9c
push ebx
push esi
push edi
mov byte [ebp - 0x1051], cl
mov dword [ebp - 0x1050], edx
mov dword [ebp - 0x104c], eax
mov ebx, dword [ebp + 0x14]
lea esi, [ebp - 0x1060]
push esi
mov esi, 0x79a238
lea edi, [ebp - 0x48]
mov ecx, 0x12
rep movsd dword es:[edi], dword [esi]
pop esi
push esi
mov esi, 0x79a280
lea edi, [ebp - 0x1048]
mov ecx, 0x400
rep movsd dword es:[edi], dword [esi]
pop esi
mov edi, ebx
test edi, edi
je 0x4f2c33
sub edi, 4
mov edi, dword [edi]
push ebp
mov eax, ebx
call fcn.0040b284
mov edx, edi
call fcn.004f2ad0
pop ecx
mov ebx, dword [ebp - 0x104c]
cmp byte [ebp - 0x1051], 0
je 0x4f2c67
lea eax, [ebp - 0x48]
mov dword [ebp - 0x1058], eax
mov dword [ebp - 0x105c], 1
jmp 0x4f2c7a
lea eax, [ebp - 4]
mov dword [ebp - 0x1058], eax
mov dword [ebp - 0x105c], 0xffffffff
mov edi, dword [ebp - 0x1050]
shr edi, 3
dec edi
test edi, edi
jl 0x4f2d8f
inc edi
cmp dword [ebp + 0x10], 0
jne 0x4f2c97
cmp dword [ebp + 0xc], 0
je 0x4f2d16
mov dword [esi], 7
lea eax, [ebp + 0xc]
add eax, dword [esi]
movzx eax, byte [eax]
inc eax
and al, 0xff
lea edx, [ebp + 0xc]
add edx, dword [esi]
mov byte [edx], al
lea eax, [ebp + 0xc]
add eax, dword [esi]
cmp byte [eax], 0
jne 0x4f2cc2
dec dword [esi]
cmp dword [esi], 0xffffffff
jne 0x4f2c9f
mov eax, dword [ebp + 0xc]
call fcn.004f26e4
mov dword [esi], eax
lea eax, [ebp + 0xc]
add eax, 4
mov eax, dword [eax]
call fcn.004f26e4
mov dword [ebp - 0x1064], eax
push ebp
mov eax, dword [ebp - 0x105c]
push eax
lea edx, [ebp - 0x1064]
mov eax, esi
mov ecx, dword [ebp - 0x1058]
call fcn.004f2710
pop ecx
mov eax, dword [esi]
call fcn.004f26e4
xor dword [ebx], eax
mov eax, dword [ebp - 0x1064]
call fcn.004f26e4
lea edx, [ebx + 4]
xor dword [edx], eax
jmp 0x4f2d85
cmp byte [ebp + 8], 0
jne 0x4f2d6c
mov eax, dword [ebx]
call fcn.004f26e4
mov dword [esi], eax
lea eax, [ebx + 4]
mov eax, dword [eax]
call fcn.004f26e4
mov dword [ebp - 0x1064], eax
push ebp
mov eax, dword [ebp - 0x105c]
push eax
lea edx, [ebp - 0x1064]
mov eax, esi
mov ecx, dword [ebp - 0x1058]
call fcn.004f2710
pop ecx
mov eax, dword [esi]
call fcn.004f26e4
mov dword [ebx], eax
mov eax, dword [ebp - 0x1064]
call fcn.004f26e4
lea edx, [ebx + 4]
mov dword [edx], eax
jmp 0x4f2d85
push ebp
mov eax, dword [ebp - 0x105c]
push eax
mov edx, ebx
lea eax, [ebx + 4]
mov ecx, dword [ebp - 0x1058]
call fcn.004f2710
pop ecx
add ebx, 8
dec edi
jne 0x4f2c8d
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4f69f0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, edx
mov ebx, eax
mov eax, esi
call fcn.0040b698
mov edx, eax
mov eax, esi
test eax, eax
je 0x4f6a0a
sub eax, 4
mov eax, dword [eax]
xor ecx, ecx
test eax, eax
jle 0x4f6a1c
imul ecx, ecx, 0x2b
movzx esi, byte [edx]
xor ecx, esi
inc edx
dec eax
jne 0x4f6a10
mov eax, ecx
xor edx, edx
div dword [ebx + 0xc]
mov eax, edx
pop esi
pop ebx
ret
Function at 0x4f6a28
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebp, edx
mov esi, eax
mov eax, ebp
test eax, eax
je 0x4f6a3b
sub eax, 4
mov eax, dword [eax]
mov edi, eax
xor ebx, ebx
mov eax, ebp
call fcn.0040b698
mov edx, eax
mov eax, edi
test eax, eax
jle 0x4f6a60
mov ecx, ebx
shl ecx, 5
sub ecx, ebx
movzx ebx, byte [edx]
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x4f6a4e
mov eax, ebx
xor edx, edx
div dword [esi + 0xc]
mov eax, edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4f6a70
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebp, edx
mov esi, eax
mov eax, ebp
test eax, eax
je 0x4f6a83
sub eax, 4
mov eax, dword [eax]
mov edi, eax
xor ebx, ebx
mov eax, ebp
call fcn.0040b698
mov edx, eax
mov eax, edi
test eax, eax
jle 0x4f6aab
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
xor ecx, ebx
movzx ebx, byte [edx]
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x4f6a96
mov eax, ebx
xor edx, edx
div dword [esi + 0xc]
mov eax, edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4f8d58
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
xor edx, edx
mov dword [esp], edx
lea edx, [eax + 0x137c]
xor ecx, ecx
mov dword [edx], ecx
inc dword [esp]
add edx, 4
cmp dword [esp], 8
jb 0x4f8d68
xor edx, edx
mov dword [esp], edx
jmp 0x4f8e45
mov ecx, dword [esp]
mov edx, dword [eax + 0x136c]
shl ecx, 6
xor ebx, ebx
movzx esi, byte [edx + ecx]
xor edx, edx
jmp 0x4f8dd3
lea edi, [edx + ecx]
mov ebp, dword [eax + 0x136c]
inc edx
movzx edi, byte [ebp + edi]
xor edi, esi
mov ebp, dword [eax + 0x136c]
or ebx, edi
lea edi, [edx + ecx]
inc edx
movzx edi, byte [ebp + edi]
xor edi, esi
mov ebp, dword [eax + 0x136c]
or ebx, edi
lea edi, [edx + ecx]
inc edx
movzx edi, byte [ebp + edi]
xor edi, esi
mov ebp, dword [eax + 0x136c]
or ebx, edi
lea edi, [edx + ecx]
movzx edi, byte [ebp + edi]
xor edi, esi
or ebx, edi
inc edx
cmp edx, 0x40
jb 0x4f8dd3
test ebx, ebx
jne 0x4f8e42
mov ecx, dword [esp]
and ecx, 0x1f
mov edx, 1
shl edx, cl
mov ecx, dword [esp]
shr ecx, 5
or dword [eax + ecx*4 + 0x137c], edx
inc dword [esp]
mov edx, dword [esp]
cmp edx, dword [eax + 0xd0]
jb 0x4f8d82
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x505fe4
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 0x50619f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040ac70
mov eax, dword [ebp - 4]
call fcn.00505934
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x506036
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.0040bab8
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.00506c30
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x506115
xor eax, eax
push ebp
push 0x50610e
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.00505bd4
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.005061d4
test al, al
je 0x5060ec
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.0040a9d0
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x5060ec
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.0040b698
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.00505b34
test al, al
je 0x5060e6
mov eax, dword [ebp - 8]
call fcn.0040b698
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.0040b6fc
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.00505fe4
dec ebx
cmp ebx, 0xffffffff
jne 0x506095
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x506115
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.00505bd4
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey
ret
cmp byte [0x7c6b90], 0
je 0x506155
push 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
and eax, 0x300
push eax
mov eax, dword [ebp - 4]
call fcn.0040b698
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.00505bc0
push eax
call sub.advapi32.dll_RegDeleteKeyExW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.00505b34
mov ebx, eax
jmp 0x50617c
mov eax, dword [ebp - 4]
call fcn.0040b698
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.00505bc0
push eax
call sub.advapi32.dll_RegDeleteKeyW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.00505b34
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5061a6
lea eax, [ebp - 0x3c]
call fcn.0040a848
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040a8a8
ret
Function at 0x506b0c
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.0050594c
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.0040b698
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExW
mov edx, eax
mov eax, ebx
call fcn.00505b34
test al, al
jne 0x506b74
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x7bd674]
mov dl, 1
mov eax, dword [0x504718]
call fcn.0042933c
call fcn.00409f08
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x506b80
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.0040b698
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov edx, eax
mov eax, ebx
call fcn.00505b34
test al, al
jne 0x506be1
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x7bd880]
mov dl, 1
mov eax, dword [0x504718]
call fcn.0042933c
call fcn.00409f08
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0050597c
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 0x5071f0
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 0x507318
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.00505bd4
xor eax, eax
push ebp
push 0x5072f3
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.005061d4
test al, al
je 0x5072d7
mov eax, dword [ebp + 8]
push eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.005070d0
pop ecx
mov ecx, dword [ebp - 0x20]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.0040a9d0
mov ebx, dword [ebp - 0x24]
dec ebx
test ebx, ebx
jl 0x5072d7
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.0040b698
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.00505b34
test al, al
je 0x5072d3
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
call fcn.0040b698
mov edx, eax
lea eax, [ebp - 0x30]
call fcn.0040b6fc
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.005070d0
pop ecx
inc edi
dec ebx
jne 0x50727b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5072fa
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x10]
call fcn.00505bd4
ret
Function at 0x507328
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 0x507576
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.00505bd4
xor eax, eax
push ebp
push 0x50754c
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.005061d4
test al, al
je 0x507530
mov ecx, dword [ebp - 0x40]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.0040a9d0
mov eax, dword [ebp - 0x44]
dec eax
test eax, eax
jl 0x507530
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.0040b698
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.00505b34
test al, al
je 0x507524
mov eax, dword [ebp - 4]
call fcn.0040b698
mov edx, eax
lea eax, [ebp - 0x48]
call fcn.0040b6fc
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00506c30
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x507524
xor eax, eax
push ebp
push 0x50751d
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.00505bd4
xor eax, eax
push ebp
push 0x5074ff
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040b698
mov edx, eax
lea eax, [ebp - 0x4c]
call fcn.0040b6fc
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00505bd8
mov eax, dword [ebp - 4]
call fcn.0040b698
mov edx, eax
lea eax, [ebp - 0x50]
call fcn.0040b6fc
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00506c30
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x5074dc
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.005071f0
pop ecx
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.00507328
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5074e3
mov eax, dword [ebp - 0x24]
push eax
call sub.advapi32.dll_RegCloseKey
ret
inc dword [ebp - 0x14]
dec dword [ebp - 0x28]
jne 0x5073b3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x507553
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x18]
call fcn.00505bd4
ret