joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46b78e
Capabilities:
Check for software breakpoints
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
push edi
mov dword [ebp - 0x2c], fcn.0046892e
mov esi, dword [ebp - 0x2c]
mov al, byte [esi]
cmp al, 0xcc
je 0x46b810
mov dword [ebp - 0x10], fcn.00468339
mov esi, dword [ebp - 0x10]
mov al, byte [esi]
cmp al, 0xcc
je 0x46b810
mov dword [ebp - 0x18], fcn.0046b6d4
mov esi, dword [ebp - 0x18]
mov al, byte [esi]
cmp al, 0xcc
je 0x46b810
mov dword [ebp - 0x24], 0x9e3779b9
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
mov dword [ebp - 0x28], eax
mov dword [ebp - 8], 0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 8]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x30], 0x20
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x30]
sub ecx, 1
mov dword [ebp - 0x30], ecx
test eax, eax
jle 0x46b876
mov edx, dword [ebp - 8]
sub edx, 0x61c88647
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x28]
shl eax, 4
add eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x28]
add ecx, dword [ebp - 8]
xor eax, ecx
mov edx, dword [ebp - 0x28]
shr edx, 5
add edx, dword [ebp - 0xc]
xor eax, edx
mov ecx, dword [ebp - 0x20]
add ecx, eax
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
shl edx, 4
add edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 8]
xor edx, eax
mov ecx, dword [ebp - 0x20]
shr ecx, 5
add ecx, dword [ebp - 0x1c]
xor edx, ecx
mov eax, dword [ebp - 0x28]
add eax, edx
mov dword [ebp - 0x28], eax
jmp 0x46b810
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
mov dword [ecx], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x28]
mov dword [eax + 4], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46b88e
Capabilities:
Check for software breakpoints
Decrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
push edi
mov dword [ebp - 0x2c], fcn.0046892e
mov esi, dword [ebp - 0x2c]
mov al, byte [esi]
cmp al, 0xcc
je 0x46b910
mov dword [ebp - 0x10], fcn.00468339
mov esi, dword [ebp - 0x10]
mov al, byte [esi]
cmp al, 0xcc
je 0x46b910
mov dword [ebp - 0x18], fcn.0046b6d4
mov esi, dword [ebp - 0x18]
mov al, byte [esi]
cmp al, 0xcc
je 0x46b910
mov dword [ebp - 0x24], 0x9e3779b9
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
mov dword [ebp - 0x28], eax
mov dword [ebp - 8], 0xc6ef3720
mov dword [ebp - 0x30], 0x20
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 8]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x30]
sub ecx, 1
mov dword [ebp - 0x30], ecx
test eax, eax
jle 0x46b975
mov edx, dword [ebp - 0x20]
shl edx, 4
add edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 8]
xor edx, eax
mov ecx, dword [ebp - 0x20]
shr ecx, 5
add ecx, dword [ebp - 0x1c]
xor edx, ecx
mov eax, dword [ebp - 0x28]
sub eax, edx
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
shl ecx, 4
add ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x28]
add edx, dword [ebp - 8]
xor ecx, edx
mov eax, dword [ebp - 0x28]
shr eax, 5
add eax, dword [ebp - 0xc]
xor ecx, eax
mov edx, dword [ebp - 0x20]
sub edx, ecx
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 8]
add eax, 0x61c88647
mov dword [ebp - 8], eax
jmp 0x46b910
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
mov dword [ecx], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x28]
mov dword [eax + 4], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x46c0b0
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push edi
mov edi, dword [esi]
xor edx, edx
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x10], edi
mov edi, dword [esi + 4]
mov dword [esp + 0x24], edi
mov edi, dword [esi + 8]
mov esi, dword [esi + 0xc]
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], esi
mov edi, 0x20
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x10]
mov esi, ecx
sub edx, 0x61c88647
shr esi, 5
add esi, ebx
mov ebx, ecx
shl ebx, 4
add ebx, ebp
mov ebp, dword [esp + 0x18]
xor esi, ebx
lea ebx, [edx + ecx]
xor esi, ebx
mov ebx, dword [esp + 0x14]
add eax, esi
mov esi, eax
shr esi, 5
add esi, ebx
mov ebx, eax
shl ebx, 4
add ebx, ebp
xor esi, ebx
lea ebx, [edx + eax]
xor esi, ebx
add ecx, esi
dec edi
jne 0x46c0e6
mov edx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword [edx], eax
mov dword [edx + 4], ecx
pop ebx
add esp, 0xc
ret 8
Function at 0x46ca10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
mov edi, dword [esp + 0x10]
push ebx
push edi
push 0x4a2de0
call fcn.0046e530
add esp, 0xc
xor esi, esi
test ebx, ebx
jle 0x46ca69
cmp byte [0x4a2ec8], 0x20
jne 0x46ca3e
call fcn.0046c950
mov eax, dword [0x4a2ec8]
and eax, 0xff
mov cl, byte [eax + 0x4a2cd8]
mov al, byte [esi + edi]
xor al, cl
mov byte [esi + edi], al
mov dl, byte [0x4a2ec8]
inc dl
inc esi
cmp esi, ebx
mov byte [0x4a2ec8], dl
jl 0x46ca30
pop edi
pop esi
pop ebx
ret

Function at 0x46cb40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push esi
xor esi, esi
push edi
mov edi, dword [esp + 0x10]
test ebx, ebx
jle 0x46cb8a
cmp byte [0x4a2ec8], 0x20
jne 0x46cb5f
call fcn.0046c950
mov eax, dword [0x4a2ec8]
and eax, 0xff
mov cl, byte [eax + 0x4a2cd8]
mov al, byte [esi + edi]
xor al, cl
mov byte [esi + edi], al
mov dl, byte [0x4a2ec8]
inc dl
inc esi
cmp esi, ebx
mov byte [0x4a2ec8], dl
jl 0x46cb51
push ebx
push edi
push 0x4a2de0
call fcn.0046e530
add esp, 0xc
pop edi
pop esi
pop ebx
ret
Function at 0x46d960
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x114
push ebx
mov ebx, dword [esp + 0x11c]
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push esi
push edi
xor edi, edi
mov dword [esp + 0x14], 0x104
mov dword [esp + 0x10], edi
lea eax, [esp + 0x18]
lea ecx, [esp + 0x14]
push eax
push 0
push 0
push 0
lea edx, [esp + 0x30]
push ecx
push edx
push edi
push ebx
call ebp
mov esi, eax
test esi, esi
jne 0x46d9da
lea eax, [esp + 0x24]
push 0x15
push eax
push 0x450fd8
mov dword [esp + 0x20], 0xc8
call sub.MSVCRT.dll__strnicmp
add esp, 0xc
test eax, eax
jne 0x46d9da
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x12c]
cmp ecx, eax
je 0x46d9ec
mov eax, ecx
inc eax
mov dword [esp + 0x10], eax
inc edi
test esi, esi
je 0x46d985
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x114
ret
mov edx, dword [esp + 0x130]
mov ecx, dword [0x450fd0]
mov eax, edx
lea edi, [esp + 0x24]
mov dword [eax], ecx
mov cl, byte [0x450fd4]
mov byte [eax + 4], cl
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
mov eax, 1
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x114
ret
Function at 0x47bc30
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x104
call fcn.0049e150
push ebx
push esi
push edi
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
test eax, eax
je 0x47bc7f
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x47bc7f
mov edx, dword [sym.imp.MSVCRT.dll__iob]
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
add edx, 0x40
push eax
push ecx
push edx
call dword [sym.imp.MSVCRT.dll_vfprintf]
add esp, 0xc
lea esp, [ebp - 0x110]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
push ecx
lea edx, [ebp - 0x104]
push 0xff
push edx
call dword [sym.imp.MSVCRT.dll__vsnprintf]
add esp, 0x10
mov byte [ebp - 5], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x47bd83
call dword [sym.imp.USER32.dll_GetDesktopWindow]
call dword [sym.imp.USER32.dll_GetProcessWindowStation]
mov ebx, eax
test ebx, ebx
je 0x47bd3e
lea eax, [ebp - 4]
push eax
push 0
push 0
push 2
push ebx
call dword [sym.imp.USER32.dll_GetUserObjectInformationW]
test eax, eax
jne 0x47bd3e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x47bd3e
mov eax, dword [ebp - 4]
cmp eax, 0x200
ja 0x47bd3e
lea esi, [eax + 1]
and esi, 0xfffffffe
mov dword [ebp - 4], esi
lea eax, [esi + 2]
add eax, 3
and al, 0xfc
call fcn.0049e150
lea ecx, [ebp - 4]
mov edi, esp
push ecx
push esi
push edi
push 2
push ebx
call dword [sym.imp.USER32.dll_GetUserObjectInformationW]
test eax, eax
je 0x47bd3e
mov edx, dword [ebp - 4]
push 0x45b6c8
push edi
lea eax, [edx + 1]
and al, 0xfe
mov dword [ebp - 4], eax
shr eax, 1
mov word [edi + eax*2], 0
call dword [sym.imp.MSVCRT.dll_wcsstr]
add esp, 8
test eax, eax
je 0x47bd83
push 0x45b6f0
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
lea ecx, [ebp - 4]
push 0
push ecx
push 0
push 1
push 0
push 0
mov esi, eax
push 0
lea eax, [ebp - 0x104]
push 1
push esi
mov dword [ebp - 4], eax
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
lea esp, [ebp - 0x110]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x10
lea edx, [ebp - 0x104]
push 0x45b6e0
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea esp, [ebp - 0x110]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49dc90
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.0049dd13
jae 0x49dc9e
xor ecx, ecx
call fcn.0049dd13
jae 0x49dccd
xor eax, eax
call fcn.0049dd13
jae 0x49dcdd
mov bl, 2
inc ecx
mov al, 0x10
call fcn.0049dd13
adc al, al
jae 0x49dcbf
jne 0x49dd09
stosb byte es:[edi], al
jmp 0x49dca1
call fcn.0049dd1f
sub ecx, ebx
jne 0x49dce6
call fcn.0049dd1d
jmp 0x49dd05
lodsb al, byte [esi]
shr eax, 1
je 0x49dd2f
adc ecx, ecx
jmp 0x49dd02
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.0049dd1d
cmp eax, 0x7d00
jae 0x49dd02
cmp ah, 5
jae 0x49dd03
cmp eax, 0x7f
ja 0x49dd04
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x49dca1
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret
Function at 0x49e020
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edi, 0x45a604
sub eax, eax
test esi, esi
je 0x49e100
sub eax, 1
test ecx, ecx
je 0x49e0fe
test esi, 3
je 0x49e05e
xor al, byte [esi]
inc esi
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x49e043
mov edx, ecx
and edx, 7
shr ecx, 3
je 0x49e0e5
xor eax, dword [esi]
add esi, 4
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
xor eax, dword [esi]
add esi, 4
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x49e06c
mov ecx, edx
test ecx, ecx
je 0x49e0fe
xor al, byte [esi]
inc esi
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x49e0eb
not eax
mov dword [esp + 0x1c], eax
popal
ret

Function at 0x49e192
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x466d20
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
and dword [ebp - 4], 0
push 1
call dword [sym.imp.MSVCRT.dll___set_app_type]
pop ecx
or dword [0x4a4de0], 0xffffffff
or dword [0x4a4de4], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x4a4d84]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov ecx, dword [0x4a4d80]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x4a4de8], eax
call fcn.0049e5ef
cmp dword [0x45aa10], 0
jne 0x49e215
push 0x49e5ec
call dword [sym.imp.MSVCRT.dll___setusermatherr]
pop ecx
call fcn.0049e5da
push 0x401204
push 0x401200
call sub.MSVCRT.dll__initterm
mov eax, dword [0x4a4d7c]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x4a4d78]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.MSVCRT.dll___getmainargs]
push 0x4011fc
push 0x4011f8
call sub.MSVCRT.dll__initterm
call dword [sym.imp.MSVCRT.dll___p___initenv]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
push dword [ebp - 0x20]
push dword [ebp - 0x2c]
push dword [ebp - 0x1c]
call fcn.00467af8
add esp, 0x30
mov dword [ebp - 0x24], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x30], ecx
push eax
push ecx
call sub.MSVCRT.dll__XcptFilter
pop ecx
pop ecx
ret
Function at 0x401b4b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x401b5a
pop dword [ebp - 0x14]
mov eax, 0x401b5a
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0xfbf324a3
add dword [ebp - 0x24], 0x525f20a8
mov dword [ebp - 0x20], 0x21f0bb21
add dword [ebp - 0x20], 0x10429124
mov dword [ebp - 0x1c], 0x86886de7
add dword [ebp - 0x1c], 0xc5c3d647
mov dword [ebp - 0x18], 0x1ca899e4
add dword [ebp - 0x18], 0xe357661c
lea eax, [ebp - 0x24]
push eax
mov eax, 0x2ab7513
add eax, 0xfd955b41
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0xf8eb1f11
add dword [ebp - 0x24], 0x7b874a45
mov dword [ebp - 0x20], 0xce109fd4
sub dword [ebp - 0x20], 0x8ca43e5f
mov dword [ebp - 0x1c], 0xc55b12dd
sub dword [ebp - 0x1c], 0x61eba671
mov dword [ebp - 0x18], 0x3cc8e7a6
add dword [ebp - 0x18], 0xc337185a
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, 0x9a451bf2
sub eax, 0x9a044ba6
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x39b69
push 0
call eax
mov ecx, 0x4e15fa4f
sub ecx, 0x4e15b243
mov edx, eax
mov ebx, 0x41b000
add ebx, dword [ebp - 0x14]
mov esi, 0x11976535
add esi, 0x1e5c0b09
xor dword [ebp - 0x10], 0xccacef3a
mov edi, dword [ebx]
add edi, esi
sub dword [ebp - 4], 0x29eaa95b
mov dword [edx], edi
add dword [ebp - 4], 0x307e0d98
add edx, 4
add ebx, 0x1720c5
sub ebx, 0x1720c1
loop 0x401c71
add eax, 0x3a8b72a8
sub eax, 0x3a8a5fa5
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x17dc5637
add ecx, 0xe863a9c9
add ecx, dword [ebp - 0x14]
call ebx
leave
ret

Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53
Function at 0x41111e
Capabilities:
Capture webcam image

Disassembly:
push 0
push dword [esp + 8]
push 0x419
push dword [ecx + 0x20]
call dword [fcn.00401e48]
ret 4

Function at 0x4192e1
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x44a947
call fcn.00444524
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [esi], 0x4040a0
mov dword [ebp - 0x10], esi
mov dword [esi + 0x18], eax
mov dword [ebp - 4], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0xc], eax
mov dword [esi + 8], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x70], eax
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], eax
mov dword [esi + 0xc4], eax
mov dword [esi + 0x8f4], eax
mov dword [esi + 0x8f8], eax
mov dword [esi + 0xda4], eax
mov dword [esi + 0xda8], eax
mov dword [esi + 0xdac], eax
mov dword [esi + 0xdb0], 0x7d0
call fcn.00418e16
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x420ef3
Capabilities:
Set registry value

Disassembly:
push esi
push dword [esp + 8]
mov esi, ecx
call dword [fcn.004011b4]
lea eax, [eax + eax + 2]
push eax
push dword [esp + 0xc]
push 1
push 0
push dword [esp + 0x1c]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop esi
ret 8

Function at 0x422cdb
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [0x456778]
mov ebx, dword [edi + 0x94c]
push 0x402ff4
mov dword [ebp - 8], 0x80004005
call sub.MFC42u.DLL_CWinApp::GetSectionKey
mov esi, eax
test esi, esi
je 0x422d4f
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0
push 0x402efc
push esi
mov dword [ebp - 4], esi
mov dword [ebp - 8], ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x40a220
add edi, 0x950
push edi
lea ecx, [ebp - 4]
call fcn.00420ef3
and dword [ebp - 4], 0
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp - 8], 0
lea ecx, [ebp - 4]
call fcn.00413ca6
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x422d57
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov esi, ecx
mov ecx, dword [0x456778]
push 0x402ec0
call sub.MFC42u.DLL_CWinApp::GetSectionKey
mov edi, eax
test edi, edi
je 0x422da1
push 0xc
add esi, 0x93c
push esi
push 3
push 0
push 0x402ed0
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
and dword [ebp - 4], 0
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 4]
call fcn.00413ca6
pop edi
xor eax, eax
pop esi
leave
ret
Function at 0x42ba9d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push esi
xor esi, esi
cmp dword [0x4569f0], esi
jne 0x42bb5c
cmp word [0x4569ec], si
mov dword [0x4569f0], 1
jne 0x42bb6d
push 0x407758
call dword [0x401d78]
cmp eax, esi
mov dword [0x4569e8], eax
jne 0x42bb64
mov word [0x4569ec], 1
lea eax, [ebp - 4]
push eax
push 1
push esi
push 0x40772c
push 0x80000001
mov dword [0x4569e4], 3
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42bb5c
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push 0x407708
push dword [ebp - 4]
mov dword [ebp - 8], 0x100
call dword [entry0]
test eax, eax
jne 0x42bb53
push 0xa
lea eax, [ebp - 0x10c]
push esi
push eax
call dword [sym.imp.msvcrt.dll_wcstoul]
add esp, 0xc
mov dword [0x4569e4], eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x4569e4]
pop esi
leave
ret
mov word [0x4569ec], 2
cmp word [0x4569ec], 2
jne 0x42baed
push 0x4076e4
push 0x4076d4
call dword [0x401d74]
cmp eax, esi
je 0x42baed
mov ecx, dword [0x4569e8]
cmp ecx, esi
je 0x42baed
push esi
push esi
push ecx
push eax
call dword [fcn.00401e48]
mov dword [0x4569e4], eax
jmp 0x42bb61
Function at 0x436b79
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [ecx + 0x68]
push esi
push dword [eax + 8]
mov esi, dword [eax + 0xc]
add esi, ecx
mov ecx, dword [eax + 4]
push esi
push dword [ecx*4 + 0x402100]
push 0
push dword [eax]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb eax, eax
and eax, 0x80004005
pop esi
ret 4

Function at 0x436bac
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 8]
and dword [ebp + 8], 0
push edi
lea ebx, [esi + esi*2]
lea ebx, [ebx*8 + 0x454f28]
mov eax, dword [ebx + 8]
mov edi, dword [ebx + 0xc]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
add edi, ecx
push edi
lea eax, [ebp - 0xc]
push eax
push 0
push dword [ebx]
mov dword [ebp - 8], ecx
mov ecx, dword [ecx + 0x68]
push ecx
call dword [entry0]
test eax, eax
je 0x436c1b
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x436c0b
mov ecx, dword [ebx + 8]
mov esi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x436c14
mov ecx, dword [ebp - 8]
push esi
call fcn.00436a88
mov dword [ebp + 8], 1
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4378cc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
cmp dword [ebp + 0xc], 0x104
push ebx
push esi
jb 0x437934
mov ebx, dword [ebp + 8]
xor esi, esi
cmp ebx, esi
je 0x437934
push edi
xor eax, eax
mov word [ebp - 0x208], si
mov ecx, 0x81
lea edi, [ebp - 0x206]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x208]
push eax
push esi
push esi
push 5
push esi
mov word [ebx], si
call dword [0x401c80]
mov edi, eax
cmp edi, esi
jl 0x43792f
lea eax, [ebp - 0x208]
push eax
push 0x104
push ebx
call fcn.0040feeb
mov eax, edi
pop edi
jmp 0x437939
mov eax, 0x80070057
pop esi
pop ebx
leave
ret 8
Function at 0x439faa
Capabilities:
Set registry value

Disassembly:
mov eax, 0x44bfe0
call fcn.00444524
sub esp, 0xc
push ebx
push esi
xor esi, esi
push edi
mov ebx, ecx
mov edi, 0x80004005
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], esi
mov ecx, dword [0x456778]
push 0x402fe8
mov byte [ebp - 4], 1
call sub.MFC42u.DLL_CWinApp::GetSectionKey
cmp eax, esi
mov dword [ebp - 0x14], eax
je 0x43a08b
mov ecx, dword [ebx + 0x1b70]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x18]
push ecx
push 4
push esi
push 0x402fa0
push eax
call edi
cmp dword [ebp + 8], esi
push esi
push esi
push 0xf003f
push esi
lea ecx, [ebp - 0x10]
push esi
jne 0x43a047
push 0x402fd8
push dword [ebp - 0x14]
call fcn.00413cbd
cmp dword [ebp - 0x10], esi
je 0x43a07d
mov eax, dword [ebx + 0x1b74]
push 4
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push 4
push esi
push 0x402f80
jmp 0x43a070
push 0x402fc4
push dword [ebp - 0x14]
call fcn.00413cbd
cmp dword [ebp - 0x10], esi
je 0x43a07d
mov eax, dword [ebx + 0x1b78]
push 4
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push 4
push esi
push 0x402f5c
push dword [ebp - 0x10]
call edi
lea ecx, [ebp - 0x10]
call fcn.00413ca6
push dword [ebp - 0x14]
mov dword [ebp - 0x18], esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
lea ecx, [ebp - 0x10]
call fcn.00413ca6
lea ecx, [ebp - 0x18]
call fcn.00413ca6
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4