joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45cfe0
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 0x45d00a
cmp dword [ebx + 0x64], 0
jne 0x45d00a
cmp dword [ebx + 0x6c], 0
jne 0x45d00a
mov esi, edi
jmp 0x45d098
cmp esi, 0xffffffff
jne 0x45d015
dec esi
jmp 0x45d098
mov eax, dword [ebx + 0x64]
lea edx, [edi + edi]
sub edx, 0x106
cmp eax, edx
jb 0x45d098
mov eax, dword [ebx + 0x30]
lea edx, [eax + edi]
mov ebp, edi
mov ecx, ebp
call fcn.0045c648
sub dword [ebx + 0x68], edi
sub dword [ebx + 0x64], edi
sub dword [ebx + 0x54], ebp
mov eax, dword [ebx + 0x44]
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 0x45d060
mov cx, word [esp]
sub cx, di
mov word [edx], cx
jmp 0x45d065
mov word [edx], 0
dec eax
test eax, eax
jne 0x45d046
mov eax, edi
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 0x45d08c
mov cx, word [esp]
sub cx, di
mov word [edx], cx
jmp 0x45d091
mov word [edx], 0
dec eax
test eax, eax
jne 0x45d072
add esi, edi
mov eax, dword [ebx]
cmp dword [eax + 4], 0
je 0x45d0f6
mov edx, dword [ebx + 0x64]
add edx, dword [ebx + 0x6c]
mov ecx, dword [ebx + 0x30]
lea edx, [ecx + edx]
mov ecx, esi
call fcn.0045cd68
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x45d0e1
mov eax, dword [ebx + 0x64]
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]
mov ecx, dword [ebx + 0x30]
movzx edx, byte [ecx + edx + 1]
xor eax, edx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x6c], 0x106
jae 0x45d0f6
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x45cfea
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4677d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
test dl, dl
je 0x4677e5
add esp, 0xfffffff0
call fcn.00403ba8
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404a84
xor eax, eax
push ebp
push 0x4678a8
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0046394c
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.00412ef0
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x24], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.00412ef0
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x38], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x3c], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.00412ef0
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x34], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.00412ef0
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x2c], eax
push 0
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.00412f18
push esi
lea edi, [esi + 0x40]
lea esi, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov dword [esi + 0xc], 0xffffffff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4678af
lea eax, [ebp - 4]
call fcn.004045d4
ret
Function at 0x46be90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x46bf8c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 4]
push eax
mov ecx, 0x46bfa4
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi]
mov edx, dword [ebp - 4]
lea eax, [ebx + 8]
call fcn.00404628
push 0xffffffffffffffff
mov ecx, 0x46bfb4
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov dword [ebx + 0x30], eax
mov ecx, 0x46bfd0
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.00458544
mov byte [ebx + 0xc], al
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x46bfec
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.00458430
push esi
lea esi, [ebp - 0x14]
lea edi, [ebx + 0xd]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x46c000
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.00458430
push esi
lea esi, [ebp - 0x14]
lea edi, [ebx + 0x1d]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x46c018
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.00458430
push esi
lea esi, [ebp - 0x14]
lea edi, [ebx + 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov ecx, 0x46c034
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.00458544
mov byte [ebx + 0x44], al
mov ecx, 0x46c048
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.00463628
mov byte [ebx + 0x45], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46bf93
lea eax, [ebp - 4]
call fcn.004045d4
ret
Function at 0x474dcc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47502c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x474e2f
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.0047491c
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040c774
cmp al, 1
jne 0x474e2f
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.00474be4
test al, al
je 0x474fbb
cmp dword [ebp - 8], 0
jge 0x474e4d
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.0047491c
mov eax, dword [ebp - 0x210]
call fcn.00404894
cmp ebx, eax
jge 0x474e97
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.0047491c
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x4b00f4]
and eax, 0xff
bt dword [edx], eax
jae 0x474e97
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x474eab
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00474da8
cmp ebx, dword [ebp - 8]
je 0x474fad
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x474ed7
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403a80
and eax, 0x7f
movzx eax, word [eax*2 + 0x4afc94]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x474f9a
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403a80
and eax, 0x7f
movzx eax, word [eax*2 + 0x4afc94]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.0043d24c
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403a80
and eax, 0x7f
movzx eax, word [eax*2 + 0x4afc94]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.0043d24c
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x474fa1
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x47500e
cmp dword [ebp - 8], 0
jge 0x474fc6
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.0047491c
mov eax, dword [ebp - 0x218]
call fcn.00404894
cmp eax, dword [ebp - 8]
jg 0x475000
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.0047491c
mov eax, dword [ebp - 0x21c]
call fcn.00404894
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00474da8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x475033
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.004045f8
ret
Function at 0x476f28
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x476f60]
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x476f3e
or bl, 1
push 0x11
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x476f4d
or bl, 4
push 0x12
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x476f5c
or bl, 2
mov eax, ebx
pop ebx
ret

Function at 0x477868
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 4]
mov edx, dword [0x432844]
call fcn.00403a10
test al, al
je 0x4778aa
mov eax, dword [0x4aff74]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
test eax, eax
je 0x4778aa
mov edx, dword [0x4aff74]
xor edx, edx
call fcn.0044f9d8
push 0
mov eax, dword [0x4aff74]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret

Function at 0x481b1c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x481c6c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x338]
test eax, eax
je 0x481c44
cmp dword [eax + 0x3e0], 0
je 0x481c44
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x2d8]
cmp eax, 0xc8
jbe 0x481c44
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x2d8], eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.00436a64
mov eax, dword [ebp - 0xc]
call fcn.00404894
dec eax
jne 0x481bc4
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.00436a64
mov eax, dword [ebp - 0x10]
call fcn.00404a94
push eax
mov eax, ebx
call fcn.00482610
push eax
push 0x18f
mov eax, dword [ebx + 0x338]
mov eax, dword [eax + 0x3e0]
call fcn.0043d24c
push eax
call sub.user32.dll_SendMessageA
mov esi, eax
jmp 0x481bf7
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.00436a64
mov eax, dword [ebp - 0x14]
call fcn.00404a94
push eax
push 0xffffffffffffffff
push 0x18f
mov eax, dword [ebx + 0x338]
mov eax, dword [eax + 0x3e0]
call fcn.0043d24c
push eax
call sub.user32.dll_SendMessageA
mov esi, eax
test esi, esi
jl 0x481c44
lea edx, [ebp - 4]
mov eax, ebx
call fcn.00436a64
mov edx, esi
mov eax, ebx
call fcn.0048261c
lea edx, [ebp - 8]
mov eax, ebx
call fcn.00436a64
mov eax, dword [ebp - 4]
call fcn.00404894
mov edx, eax
mov eax, ebx
call fcn.00481dfc
mov eax, dword [ebp - 8]
call fcn.00404894
push eax
mov eax, dword [ebp - 4]
call fcn.00404894
pop edx
sub edx, eax
mov eax, ebx
call fcn.00481e18
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x481c73
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004045f8
lea eax, [ebp - 8]
mov edx, 2
call fcn.004045f8
ret
Function at 0x481c7c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404a84
xor eax, eax
push ebp
push 0x481d99
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x338]
test eax, eax
je 0x481d83
cmp dword [eax + 0x3e0], 0
je 0x481d83
cmp byte [ebx + 0x2e0], 0
je 0x481d04
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x2d8]
cmp eax, 0x1f4
jb 0x481cdd
lea eax, [ebx + 0x2dc]
call fcn.004045d4
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x2d8], eax
lea eax, [ebx + 0x2dc]
mov edx, dword [ebp - 4]
call fcn.0040489c
lea eax, [ebp - 4]
mov edx, dword [ebx + 0x2dc]
call fcn.0040466c
mov eax, dword [ebp - 4]
call fcn.00404894
test eax, eax
jle 0x481d73
mov eax, dword [ebp - 4]
call fcn.00404894
dec eax
jne 0x481d4a
mov eax, dword [ebp - 4]
call fcn.00404a94
push eax
mov eax, ebx
call fcn.00482610
push eax
push 0x18f
mov eax, dword [ebx + 0x338]
mov eax, dword [eax + 0x3e0]
call fcn.0043d24c
push eax
call sub.user32.dll_SendMessageA
jmp 0x481d76
mov eax, dword [ebp - 4]
call fcn.00404a94
push eax
push 0xffffffffffffffff
push 0x18f
mov eax, dword [ebx + 0x338]
mov eax, dword [eax + 0x3e0]
call fcn.0043d24c
push eax
call sub.user32.dll_SendMessageA
jmp 0x481d76
or eax, 0xffffffff
test eax, eax
jl 0x481d83
mov edx, eax
mov eax, ebx
call fcn.0048261c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x481da0
lea eax, [ebp - 4]
call fcn.004045d4
ret
Function at 0x76ef75bf
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0xc]
push ebx
push edi
mov edi, dword [sym.imp._CADVAPI.DLL_RegQueryValueExW]
xor ebx, ebx
lea ecx, [ebp - 4]
push ecx
push ebx
lea ecx, [ebp - 8]
push ecx
lea eax, [eax + eax*2]
mov eax, dword [eax*4 + 0x76f11860]
push ebx
push eax
push dword [ebp + 8]
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp + 0xc], eax
call edi
cmp eax, ebx
jne 0x76ef76e1
mov eax, dword [ebp - 8]
cmp dword [ebp + 0x14], eax
jne 0x76efcfca
cmp eax, ebx
push esi
jbe 0x76efcfe2
cmp eax, 3
ja 0x76efcfd4
push 4
pop eax
cmp dword [ebp - 4], eax
ja 0x76ef762b
mov dword [ebp - 4], eax
push dword [ebp - 4]
call fcn.76ef3674
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0xc], esi
je 0x76efcff2
mov dword [esi], ebx
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call edi
cmp eax, ebx
mov dword [ebp + 8], eax
jne 0x76ef82b6
cmp dword [ebp - 8], ebx
jbe 0x76ef76ca
cmp dword [ebp - 8], 2
ja 0x76efcff6
test byte [ebp + 0x10], 0x10
mov eax, dword [ebp - 4]
jne 0x76ef82a3
cmp eax, ebx
je 0x76efd005
shr eax, 1
dec eax
js 0x76ef768c
mov word [esi + eax*2], bx
test byte [ebp + 0x10], 1
je 0x76ef76ca
mov eax, dword [ebp - 4]
add eax, eax
push eax
call fcn.76ef3674
mov edi, eax
cmp edi, ebx
je 0x76efd00c
mov edx, dword [ebp - 4]
lea eax, [edx + edx]
push eax
push edi
shr edx, 1
mov ecx, esi
call fcn.76ef2815
test eax, eax
je 0x76efd018
push dword [ebp - 0xc]
call fcn.76ef264e
mov esi, edi
cmp dword [ebp - 8], 4
je 0x76ef76d5
mov eax, dword [ebp + 0x18]
mov dword [eax], esi
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
mov eax, dword [ebp + 8]
pop esi
pop edi
pop ebx
leave
ret 0x18
cmp eax, ebx
je 0x76ef82af
cmp dword [esi], ebx
jne 0x76ef767b
mov dword [ebp + 8], 0xd
mov eax, dword [ebp + 0x18]
push dword [ebp - 0xc]
mov dword [eax], ebx
mov eax, dword [ebp + 0x1c]
mov dword [eax], ebx
call fcn.76ef264e
jmp 0x76ef76dd
mov eax, 0x3f2
jmp 0x76ef76e1
cmp eax, 4
je 0x76efcfea
cmp eax, 7
je 0x76ef7620
push 0x57
pop eax
jmp 0x76ef76e0
mov esi, dword [ebp + 0x18]
jmp 0x76ef7642
push 0xe
jmp 0x76efcfe4
cmp dword [ebp - 8], 7
je 0x76ef766e
jmp 0x76ef76ca
mov dword [esi], ebx
jmp 0x76ef768c
mov dword [ebp + 8], 0xe
jmp 0x76ef82b6
push edi
call fcn.76ef264e
jmp 0x76ef82af
Function at 0x76ef8a75
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x76f11248]
and dword [ebp - 0x128], 0
push ebx
mov ebx, dword [ebp + 8]
mov edx, dword [ebx + 4]
mov dword [ebp - 4], eax
mov eax, dword [ebx]
test eax, eax
jne 0x76efbaab
test edx, edx
push esi
push edi
je 0x76ef8ad0
push 6
mov edi, edx
mov esi, 0x76ef8b74
pop ecx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x76ef8ad0
push 0xa
mov edi, edx
mov esi, 0x76ef8b68
pop ecx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x76ef8b32
mov dword [ebp - 0x128], 1
push 0x104
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp._CKERNEL.DLL_GetSystemDirectoryA]
lea edi, [ebp - 0x124]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x76ef8ae9
cmp dword [ebp - 0x128], 0
mov esi, 0x76ef8b54
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
je 0x76ef8b1c
lea edi, [ebp - 0x124]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x76ef8b0d
mov esi, 0x76ef8b4c
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x124]
push 0x76ef8b48
push eax
call dword [sym.imp._Cmvrt.DLL_fopen]
pop ecx
pop ecx
mov dword [ebx], eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor eax, eax
cmp dword [ebx], eax
pop ebx
setne al
call fcn.76ef2630
leave
ret 4
push eax
call dword [sym.imp._Cmvrt.DLL_rewind]
pop ecx
jmp 0x76ef8b34

Function at 0x76ef9245
Capabilities:
Check for software breakpoints

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
xor edx, edx
mov eax, 0x76f11e78
xor ecx, ecx
push esi
mov esi, dword [eax]
cmp esi, dword [ebp + 8]
je 0x76ef926e
add ecx, 0xc
add eax, 0xc
cmp ecx, 0xcc
jb 0x76ef9254
jmp 0x76efb8ed
cmp dword [ebp + 0x10], edx
je 0x76ef9281
cmp dword [ebp + 0xc], edx
je 0x76ef9286
cmp byte [eax + 8], dl
je 0x76efb8ed
pop esi
pop ebp
ret 0xc
cmp byte [eax + 9], dl
je 0x76ef9281
jmp 0x76efb8ed
push 0x57
call dword [sym.imp._CKERNEL.DLL_SetLastError]
xor eax, eax
jmp 0x76ef9281
Function at 0x76efa047
Capabilities:
Query or enumerate registry key
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x76f11248]
push esi
push edi
xor edi, edi
push 0x76efa0ec
mov esi, 0x76ef90a0
push esi
mov dword [ebp - 4], eax
mov dword [ebp - 0x10c], edi
mov dword [ebp - 0x114], 0x103
mov dword [ebp - 0x118], edi
call fcn.76ef90b2
push 0x76ef909f
push esi
call fcn.76ef90b2
mov esi, dword [sym.imp._CADVAPI.DLL_RegCloseKey]
add esp, 0x10
mov dword [ebp - 0x110], edi
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x110]
mov dword [ebp - 0x114], 0x103
push dword [0x76f11f48]
call dword [sym.imp._CADVAPI.DLL_RegEnumKeyExA]
cmp eax, edi
je 0x76efb1de
cmp dword [ebp - 0x10c], edi
jne 0x76efb244
mov ecx, dword [ebp - 4]
pop edi
pop esi
call fcn.76ef2630
leave
ret
lea eax, [ebp - 0x10c]
push eax
push 0xf003f
push edi
lea eax, [ebp - 0x108]
push eax
push dword [0x76f11f48]
call dword [sym.imp._CADVAPI.DLL_RegOpenKeyExA]
test eax, eax
jne 0x76efa0d4
push 4
lea eax, [ebp - 0x118]
push eax
push 4
push edi
push 0x76efe7ec
push dword [ebp - 0x10c]
call dword [sym.imp._CADVAPI.DLL_RegSetValueExA]
test eax, eax
jne 0x76efa0d4
push dword [ebp - 0x10c]
call esi
inc dword [ebp - 0x110]
mov dword [ebp - 0x10c], edi
jmp 0x76efa09e
push dword [ebp - 0x10c]
call esi
jmp 0x76efa0e0

Function at 0x76f0036c
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push dword [ebp + 8]
mov dword [ebp - 8], 1
push dword [0x76f11f48]
call dword [sym.imp._CADVAPI.DLL_RegOpenKeyExA]
test eax, eax
jne 0x76f003bd
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0
push 0x76efe7ec
push dword [ebp - 4]
call dword [sym.imp._CADVAPI.DLL_RegSetValueExA]
push dword [ebp - 4]
call dword [sym.imp._CADVAPI.DLL_RegCloseKey]
leave
ret 4
Function at 0x76f00988
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 8], edi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x76f0099e
sub eax, ecx
lea esi, [eax + eax + 2]
push esi
call fcn.76ef3674
mov ebx, eax
cmp ebx, edi
je 0x76f00aa5
mov eax, dword [ebp + 0xc]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x76f009c1
sub eax, ecx
mov ecx, dword [ebp + 0xc]
push esi
push ebx
mov edx, eax
call fcn.76ef37b1
mov esi, dword [sym.imp._CADVAPI.DLL_RegQueryValueExW]
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp - 0xc]
push eax
push edi
push ebx
push dword [ebp + 8]
call esi
mov edi, eax
test edi, edi
je 0x76f009fc
push ebx
call fcn.76ef264e
mov eax, edi
jmp 0x76f00a1b
mov eax, dword [ebp + 0x10]
test eax, eax
jbe 0x76f00a12
cmp eax, 3
jbe 0x76f00a27
cmp eax, 4
je 0x76f00a22
cmp eax, 7
je 0x76f00a27
push ebx
call fcn.76ef264e
push 0x57
pop eax
pop edi
pop esi
pop ebx
leave
ret 0x10
mov edi, dword [ebp + 0x14]
jmp 0x76f00a45
cmp dword [ebp - 4], 0
jne 0x76f00a34
mov dword [ebp - 4], 2
push dword [ebp - 4]
call fcn.76ef3674
mov edi, eax
test edi, edi
mov dword [ebp - 8], edi
je 0x76f00aa5
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp - 0xc]
push eax
push 0
push ebx
push dword [ebp + 8]
call esi
push ebx
mov esi, eax
call fcn.76ef264e
xor ebx, ebx
cmp esi, ebx
je 0x76f00a7a
cmp dword [ebp - 8], ebx
je 0x76f00a71
push dword [ebp - 8]
call fcn.76ef264e
mov eax, dword [ebp + 0x14]
mov dword [eax], ebx
mov eax, esi
jmp 0x76f00a1b
cmp dword [ebp + 0x10], 2
jbe 0x76f00a8c
cmp dword [ebp + 0x10], 3
je 0x76f00aac
cmp dword [ebp + 0x10], 7
jne 0x76f00adf
cmp dword [ebp - 4], ebx
jne 0x76f00a94
mov word [edi], bx
mov eax, dword [ebp - 4]
add eax, eax
push eax
call fcn.76ef3674
mov esi, eax
cmp esi, ebx
jne 0x76f00abb
push 0xe
jmp 0x76f00a1a
cmp dword [ebp - 4], ebx
jne 0x76f00ab4
mov word [edi], bx
mov eax, dword [ebp + 0x14]
mov dword [eax], edi
jmp 0x76f00adf
mov edx, dword [ebp - 4]
lea eax, [edx + edx]
push eax
push esi
shr edx, 1
mov ecx, edi
call fcn.76ef2815
test eax, eax
push edi
je 0x76f00a13
call fcn.76ef264e
mov eax, dword [ebp + 0x14]
mov dword [eax], esi
xor eax, eax
jmp 0x76f00a1b
Function at 0x76f0193f
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x76f11248]
push ebx
push esi
push edi
xor ebx, ebx
push 0x76f01bbc
mov edi, 0x76ef90a0
push edi
mov dword [ebp - 4], eax
mov dword [ebp - 0x10c], ebx
mov dword [ebp - 0x114], 0x103
mov dword [ebp - 0x118], ebx
call fcn.76ef90b2
push 0x76ef909f
push edi
call fcn.76ef90b2
add esp, 0x10
mov dword [ebp - 0x110], ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x110]
mov dword [ebp - 0x114], 0x103
push dword [0x76f11f48]
call dword [sym.imp._CADVAPI.DLL_RegEnumKeyExA]
cmp eax, ebx
jne 0x76f01af9
lea eax, [ebp - 0x10c]
push eax
push 0xf003f
push ebx
lea eax, [ebp - 0x108]
push eax
push dword [0x76f11f48]
call dword [sym.imp._CADVAPI.DLL_RegOpenKeyExA]
test eax, eax
jne 0x76f01af9
lea eax, [ebp - 0x118]
push eax
push 4
push 0x76efe7ec
push dword [ebp - 0x10c]
call fcn.76f00988
push dword [ebp - 0x10c]
mov esi, eax
call dword [sym.imp._CADVAPI.DLL_RegCloseKey]
cmp esi, ebx
mov dword [ebp - 0x10c], ebx
jne 0x76f01b0d
cmp dword [ebp - 0x118], ebx
jne 0x76f01aee
lea eax, [ebp - 0x108]
push eax
call fcn.76f0152e
mov esi, eax
cmp esi, ebx
je 0x76f01aee
cmp dword [esi + 0x50], ebx
jne 0x76f01a7d
cmp dword [esi + 0x4c], ebx
jne 0x76f01a7d
cmp dword [esi + 0x58], ebx
jne 0x76f01a7d
lea eax, [ebp - 0x108]
push eax
push 0x76f01ba0
push edi
call fcn.76ef90b2
push 0x76f01b68
push edi
call fcn.76ef90b2
add esp, 0x14
push esi
call fcn.76f002e8
jmp 0x76f01aee
lea eax, [ebp - 0x108]
push eax
push 0x76f01ba0
push edi
call fcn.76ef90b2
push 0x76f01b40
push edi
call fcn.76ef90b2
push 0x76f01b1c
push edi
call fcn.76ef90b2
or dword [esi + 0x3c], 0x20
add esp, 0x1c
cmp dword [ebp + 8], ebx
mov dword [esi + 0x48], 1
mov dword [esi + 0x50], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x58], ebx
je 0x76f01ad0
mov dword [esi + 0x60], 2
call fcn.76ef369a
mov dword [esi + 0x64], eax
push esi
call fcn.76ef6787
dec dword [ebp - 0x110]
push esi
call fcn.76f0074c
push dword [0x76f110a8]
call dword [sym.imp._CKERNEL.DLL_PulseEvent]
inc dword [ebp - 0x110]
jmp 0x76f01991
cmp dword [ebp - 0x10c], ebx
je 0x76f01b0d
push dword [ebp - 0x10c]
call dword [sym.imp._CADVAPI.DLL_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.76ef2630
leave
ret 4