joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4030f4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x409014]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x40318c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x40316c
xor eax, eax
push ebp
push 0x403165
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x4031a8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40316c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x409014]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x409014], ax
mov esp, ebp
pop ebp
ret

Function at 0x403a38
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x40a044], 0
je 0x403a99
cmp word [0x40a218], 0xd7b2
jne 0x403a61
cmp dword [0x40a220], 0
jbe 0x403a61
mov eax, 0x40a214
call dword [0x40a230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x409060
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x403ac0
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x409020], 0
jne 0x403ab5
push 0
push 0x409058
push 0x409060
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x404820
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x404886
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00403dfc
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402b8c
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x404870
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40488d
lea eax, [ebp - 0x10]
call fcn.00403bb4
ret

Function at 0x406644
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40667d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403ca4
jmp 0x406686
mov eax, ebx
mov edx, esi
call fcn.00403c08
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x406690
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x4066b1
mov al, byte [esp]
jmp 0x4066b3
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x406d38
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x406bb0
mov eax, dword [0x4093b0]
cmp byte [eax], 0
je 0x406db4
mov eax, dword [0x409304]
call fcn.004029cc
call fcn.0040262c
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00405b38
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x406dfc
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x406dea
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4092e4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x40a660]
call fcn.00404270
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x4077a8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40780c
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00403dfc
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00405a0c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407813
lea eax, [ebp - 0xc]
call fcn.00403bb4
ret
Function at 0x1d6a058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.01d6a1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1d6a07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1d6a06a
add dl, dl
jne 0x1d6a089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1d6a0dc
xor eax, eax
add dl, dl
jne 0x1d6a096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1d6a17d
add dl, dl
jne 0x1d6a0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1d6a0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1d6a0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1d6a0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x1d6a0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1d6a075
mov eax, 1
add dl, dl
jne 0x1d6a0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1d6a0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1d6a0e1
sub eax, ebx
mov ebx, 1
jne 0x1d6a128
mov ecx, 1
add dl, dl
jne 0x1d6a10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1d6a119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1d6a105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1d6a075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1d6a13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1d6a14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1d6a136
cmp eax, 0x7d00
jae 0x1d6a16d
cmp eax, 0x500
jb 0x1d6a168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1d6a075
cmp eax, 0x7f
ja 0x1d6a170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1d6a075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1d6a19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x1d6a075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCR71.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x4031f4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x403203
pop dword [ebp - 0x44]
mov eax, 0xeec130ae
add eax, 0x117f0155
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0xc3f9b141
add dword [ebp - 0x54], 0x8a58940a
mov dword [ebp - 0x50], 0xefd7b1d
add dword [ebp - 0x50], 0x2335d128
mov dword [ebp - 0x4c], 0x8ec9208a
add dword [ebp - 0x4c], 0xbd8323a4
mov dword [ebp - 0x48], 0xc5988f62
sub dword [ebp - 0x48], 0xc5988f62
lea eax, [ebp - 0x54]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0xb9dded06
sub dword [ebp - 0x54], 0x456b83b0
mov dword [ebp - 0x50], 0xe841a771
add dword [ebp - 0x50], 0x592aba04
mov dword [ebp - 0x4c], 0xc62849a
sub dword [ebp - 0x4c], 0xa8f3182e
mov dword [ebp - 0x48], 0x844adaa
sub dword [ebp - 0x48], 0x844adaa
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x36999
push 0
call eax
mov ecx, 0x4806
xor ebx, ebx
add ebx, eax
mov esi, 0x10c267f1
sub esi, 0x108157f1
add esi, dword [ebp - 0x44]
mov edi, 0xe26a04d2
sub dword [ebp - 0x3c], edi
mov edx, dword [esi]
xor dword [ebp - 0x14], ebx
add edx, edi
sub dword [ebp - 0x18], 0xfd781807
mov dword [ebx], edx
xor dword [ebp - 0xc], 0x2c1250ce
add ebx, 0xf9a0b6b6
add ebx, 0x65f494e
add esi, 0xce05062b
sub esi, 0xce050627
loop 0x403311
add eax, 0x112eb
mov ebx, eax
add eax, 5
mov ecx, 0x91b3eb6e
sub ecx, 0x9173eb6e
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x8627a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x2e6000]
push edi
or ebp, 0xffffffff
jmp 0x8627c2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x8627c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8627b8
mov eax, 1
add ebx, ebx
jne 0x8627db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x8627ec
jne 0x86280b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x86280b
dec eax
add ebx, ebx
jne 0x8627f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x8627d0
add ebx, ebx
jne 0x862807
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x86285d
xor ecx, ecx
sub eax, 3
jb 0x862823
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x862892
sar eax, 1
mov ebp, eax
jmp 0x86282e
add ebx, ebx
jne 0x86282e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8627fc
inc ecx
add ebx, ebx
jne 0x86283c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8627fc
add ebx, ebx
jne 0x862849
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x86283e
jne 0x86285a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x86283e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x86287c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x86286e
jmp 0x8627be
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x86287c
add edi, ecx
jmp 0x8627be
pop esi
mov edi, esi
mov ecx, 0x1154b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x86289a
cmp byte [edi], 0x7a
jne 0x86289a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x86289f
lea edi, [esi + 0x45d000]
mov eax, dword [edi]
or eax, eax
je 0x86290e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x46b50c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x46b674]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x8628cc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x46b678]
or eax, eax
je 0x862908
mov dword [ebx], eax
add ebx, 4
jmp 0x8628e9
call dword [esi + 0x46b688]
mov ebp, dword [esi + 0x46b67c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x862942
sub esp, 0xffffff80
jmp 0x666f14

Function at 0x401000
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x8b9000
lea edi, [esi - 0x4b8000]
push edi
or ebp, 0xffffffff
jmp 0x40104c
pop eax
popal
nop
jmp fcn.00b38f02
Function at 0x1000f735
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1000f7d2
push ebx
push esi
call fcn.1000f6fe
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1000f647
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1000f77f
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000f7d1
push edi
push eax
call fcn.1000be70
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1000f79f
call fcn.1000be36
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000f7d0
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1000f647
add esp, 0x20
test eax, eax
jne 0x1000f7be
push edi
call fcn.1000be36
jmp 0x1000f7c6
push ebx
call fcn.1000be36
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1000fa3d
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100450f8
push 0x100450f0
push str.FlsAlloc
push 0x1e
call fcn.1000f95b
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000fa71
push dword [ebp + 8]
mov ecx, esi
call dword [0x10019108]
call esi
jmp 0x1000fa77
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1000fabb
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10045108
push 0x10045100
push str.FlsGetValue
push 0x20
call fcn.1000f95b
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000faf2
push dword [ebp + 8]
mov ecx, esi
call dword [0x10019108]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x10017b60
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10017b8d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10017b8d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x10001220
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x1005f040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0xb
mov ebx, ecx
lea edi, [ebp - 0x34]
pop ecx
mov esi, str._pipediscord_ipc_0
rep movsd dword es:[edi], dword [esi]
push 0x30
pop eax
movsw word es:[edi], word [esi]
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
xor edi, edi
mov word [ebp - 0xa], ax
jmp 0x1000128c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x10001272
mov ax, word [ebp - 0xa]
cmp ax, 0x39
jae 0x100012b9
inc ax
mov word [ebp - 0xa], ax
jmp 0x1000128c
cmp eax, 0xe7
jne 0x100012b9
push 0x2710
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
je 0x100012b9
push edi
push edi
push 3
push edi
push edi
push 0xc0000000
lea eax, [ebp - 0x34]
push eax
call esi
mov dword [ebx + 4], eax
cmp eax, 0xffffffff
je 0x10001255
mov byte [ebx], 1
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1004cb26
leave
ret
xor al, al
jmp 0x100012aa

Function at 0x10001415
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
mov esi, ecx
mov dword [ebp - 4], edi
mov eax, esi
test edx, edx
je 0x1000144a
cmp word [edx], di
je 0x1000144a
push edi
lea eax, [ebp - 4]
push eax
push edi
push 0xf003f
push edi
push edi
push edi
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x10001473
mov eax, dword [ebp - 4]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 1
push edi
push dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 4]
mov edi, eax
test ecx, ecx
je 0x10001471
cmp ecx, esi
je 0x10001471
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
leave
ret

Function at 0x10001684
Capabilities:
Encode data using xor

Disassembly:
push ebx
xor ebx, ebx
mov dword [0x100d5a70], 0xea60
push esi
mov eax, 0x1f4
mov dword [0x100d5a6c], ebx
push edi
push ebx
mov dword [0x100d5a68], eax
mov dword [0x100d5a74], ebx
mov dword [0x100d5a78], eax
mov dword [0x100d5a7c], ebx
mov dword [0x100d5a80], ebx
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov esi, eax
mov dword [0x100d5a94], edx
mov eax, 0x55555555
mov dword [0x100d5a90], esi
xor edi, edi
mov dword [0x100d6e10], eax
pop ecx
mov dword [0x100d6e14], eax
inc edi
push 0x5851f42d
mov ecx, edx
xor eax, eax
push 0x4c957f2d
shr ecx, 0x1e
xor eax, edx
xor ecx, esi
push eax
push ecx
call fcn.100508a0
mov esi, eax
mov eax, 0x138
add esi, edi
mov dword [edi*8 + 0x100d5a90], esi
adc edx, ebx
mov dword [edi*8 + 0x100d5a94], edx
inc edi
cmp edi, eax
jb 0x100016e2
movaps xmm0, xmmword [0x1005a390]
pop edi
pop esi
mov dword [0x100d5a88], eax
mov eax, 0x100d5a68
movups xmmword [0x100d6e18], xmm0
pop ebx
ret 0x10
Function at 0x100019f9
Capabilities:
Create thread

Disassembly:
push 0xc
mov eax, 0x10050db9
call fcn.100505ab
mov esi, dword [0x100f7e9c]
xor edi, edi
mov al, 1
xchg byte [esi], al
push 4
call fcn.1004cb34
mov dword [ebp - 0x10], eax
mov dword [eax], esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], edi
push ecx
push edi
push eax
push 0x10002dff
push edi
push edi
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov ecx, eax
add esp, 0x1c
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x10001a59
cmp dword [esi + 0x60], edi
je 0x10001a4a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call fcn.10050588
ret
push 6
mov dword [ebp - 0x14], edi
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x100021e2
Capabilities:
Encode data using xor

Disassembly:
mov edx, ecx
cmp byte [edx + 6], 0
je 0x10002200
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx + 0x52]
xor byte [ecx], al
inc ebx
cmp ebx, 5
jb 0x100021ed
pop ebx
mov byte [edx + 6], 0
mov eax, edx
ret

Function at 0x10002203
Capabilities:
Encode data using xor

Disassembly:
mov edx, ecx
cmp byte [edx + 5], 0
je 0x10002221
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx + 0x52]
xor byte [ecx], al
inc ebx
cmp ebx, 4
jb 0x1000220e
pop ebx
mov byte [edx + 5], 0
mov eax, edx
ret

Function at 0x10002224
Capabilities:
Encode data using xor

Disassembly:
mov edx, ecx
cmp byte [edx + 8], 0
je 0x10002242
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx + 0x52]
xor byte [ecx], al
inc ebx
cmp ebx, 7
jb 0x1000222f
pop ebx
mov byte [edx + 8], 0
mov eax, edx
ret

Function at 0x10002245
Capabilities:
Encode data using xor

Disassembly:
mov edx, ecx
cmp byte [edx + 0xe], 0
je 0x10002263
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx + 0x52]
xor byte [ecx], al
inc ebx
cmp ebx, 0xd
jb 0x10002250
pop ebx
mov byte [edx + 0xe], 0
mov eax, edx
ret

Function at 0x10002266
Capabilities:
Encode data using xor

Disassembly:
mov edx, ecx
cmp byte [edx + 7], 0
je 0x10002284
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx + 0x52]
xor byte [ecx], al
inc ebx
cmp ebx, 6
jb 0x10002271
pop ebx
mov byte [edx + 7], 0
mov eax, edx
ret

Function at 0x10002287
Capabilities:
Encode data using xor

Disassembly:
mov edx, ecx
cmp byte [edx + 0x12], 0
je 0x100022a5
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx + 0x52]
xor byte [ecx], al
inc ebx
cmp ebx, 0x11
jb 0x10002292
pop ebx
mov byte [edx + 0x12], 0
mov eax, edx
ret

Function at 0x100022a8
Capabilities:
Encode data using xor

Disassembly:
mov edx, ecx
cmp byte [edx + 0x16], 0
je 0x100022c6
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx + 0x52]
xor byte [ecx], al
inc ebx
cmp ebx, 0x15
jb 0x100022b3
pop ebx
mov byte [edx + 0x16], 0
mov eax, edx
ret

Function at 0x100022c9
Capabilities:
Encode data using xor

Disassembly:
mov edx, ecx
cmp byte [edx + 3], 0
je 0x100022e7
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx + 0x52]
xor byte [ecx], al
inc ebx
cmp ebx, 2
jb 0x100022d4
pop ebx
mov byte [edx + 3], 0
mov eax, edx
ret

Function at 0x100022ea
Capabilities:
Encode data using xor

Disassembly:
mov edx, ecx
cmp byte [edx + 9], 0
je 0x10002308
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx + 0x52]
xor byte [ecx], al
inc ebx
cmp ebx, 8
jb 0x100022f5
pop ebx
mov byte [edx + 9], 0
mov eax, edx
ret
Function at 0x1000250d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x1005f040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ecx, 0x101081f8
push edi
call fcn.100027a7
xor ebx, ebx
inc ebx
cmp dword [0x10108428], 0
jbe 0x10002547
mov al, bl
mov ecx, 0x100d5a66
xchg byte [ecx], al
call fcn.10002321
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x34203236
mov byte [ebp - 0x18], 0
mov byte [ebp - 0x17], bl
call fcn.10002203
mov edx, eax
mov ecx, esi
call fcn.100017f9
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], 0x27312027
mov esi, eax
mov byte [ebp - 0x20], 0
mov byte [ebp - 0x1f], bl
call fcn.10002203
mov edx, eax
mov ecx, esi
call fcn.100017f9
mov esi, eax
mov word [ebp - 0x30], 0x373b
push 0
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], esi
mov byte [ebp - 0x2e], 0
mov byte [ebp - 0x2d], bl
call fcn.100022c9
mov edx, eax
mov ecx, esi
call fcn.10001868
pop ecx
push 0
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x10], 0x27312027
mov dword [ebp - 0xc], 0x3c353638
mov byte [ebp - 8], 0
mov byte [ebp - 7], bl
call fcn.100022ea
mov edx, eax
mov ecx, esi
call fcn.10001868
pop ecx
push 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0x21352533
mov edi, eax
mov word [ebp - 0x28], 0x2537
mov byte [ebp - 0x26], 0
mov byte [ebp - 0x25], bl
call fcn.10002266
mov edx, eax
mov ecx, esi
call fcn.10001868
pop ecx
mov ecx, dword [ebp - 0x34]
mov esi, eax
mov dword [ebp - 0x38], esi
test ecx, ecx
je 0x100026f8
test edi, edi
je 0x100026f8
cmp byte [ecx], 0
mov edx, 0x10107ff8
je 0x1000263f
mov esi, ebx
sub esi, ecx
lea eax, [esi + ecx]
cmp eax, 0x20
jae 0x1000263c
mov al, byte [ecx]
mov byte [edx], al
inc edx
inc ecx
cmp byte [ecx], 0
jne 0x10002629
mov esi, dword [ebp - 0x38]
mov byte [edx], 0
mov ecx, 0x10108018
cmp byte [edi], 0
je 0x10002665
mov edx, ebx
sub edx, edi
lea eax, [edi + edx]
cmp eax, 0x158
jae 0x10002665
mov al, byte [edi]
mov byte [ecx], al
inc ecx
inc edi
cmp byte [edi], 0
jne 0x10002650
mov byte [ecx], 0
lea ecx, [ebp - 0x14]
push 0
mov dword [ebp - 0x14], 0x36273a36
mov dword [ebp - 0x10], 0x30353e24
mov dword [ebp - 0xc], 0x32283a34
mov word [ebp - 8], 0x2c
mov byte [ebp - 6], bl
call fcn.10002245
mov ecx, dword [ebp - 0x1c]
mov edx, eax
call fcn.10001868
pop ecx
mov ecx, eax
test ecx, ecx
je 0x100026c5
cmp byte [ecx], 0
mov edx, 0x10108170
je 0x100026c2
mov edi, ebx
sub edi, ecx
lea eax, [edi + ecx]
cmp eax, 8
jae 0x100026c2
mov al, byte [ecx]
mov byte [edx], al
inc edx
inc ecx
cmp byte [ecx], 0
jne 0x100026af
mov byte [edx], 0
test esi, esi
je 0x100026f1
cmp byte [esi], 0
mov ecx, 0x10108178
je 0x100026ec
mov edx, ebx
sub edx, esi
lea eax, [edx + esi]
cmp eax, 0x80
jae 0x100026ec
mov al, byte [esi]
mov byte [ecx], al
inc ecx
inc esi
cmp byte [esi], 0
jne 0x100026d7
mov byte [ecx], 0
jmp 0x100026f8
mov byte [0x10108178], 0
mov eax, 0x100d7e65
xchg byte [eax], bl
mov ecx, dword [0x100d5a6c]
mov eax, dword [0x100d5a68]
and dword [0x100d5a80], 0
mov dword [0x100d5a7c], ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov dword [0x100d5a78], eax
pop ebx
call fcn.1004cb26
leave
ret 4