joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10008070
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [0x1013c270]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, edx
mov dword [ebp - 0xac], ecx
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0x94], 0xf
mov dword [ebp - 0x98], 0
mov eax, dword [edi + 0x10]
add eax, dword [esi + 0x10]
push eax
mov byte [ebp - 0xa8], 0
call fcn.10001f70
push 0xffffffffffffffff
push 0
push esi
lea ecx, [ebp - 0xa8]
call fcn.100024a0
push 0xffffffffffffffff
push 0
push edi
lea ecx, [ebp - 0xa8]
call fcn.100024a0
push 0xffffffffffffffff
push 0
push ebx
lea ecx, [ebp - 0xa8]
call fcn.100024a0
push eax
lea ecx, [ebp - 0x1c]
call fcn.10002420
lea ecx, [ebp - 0xa8]
call fcn.100026f0
cmp dword [ebp - 8], 0x10
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x94], 0xf
cmovae edx, dword [ebp - 0x1c]
mov dword [ebp - 0x98], 0
mov byte [ebp - 0xa8], 0
cmp byte [edx], 0
jne 0x10008134
xor eax, eax
jmp 0x10008149
mov eax, edx
lea esi, [eax + 1]
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10008140
sub eax, esi
push eax
push edx
lea ecx, [ebp - 0xa8]
call fcn.10002cf0
cmp dword [ebp - 0x94], 0x10
lea eax, [ebp - 0xa8]
push dword [ebp - 0x98]
cmovae eax, dword [ebp - 0xa8]
lea ecx, [ebp - 0x90]
push eax
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x90], 0x67452301
mov dword [ebp - 0x8c], 0xefcdab89
mov dword [ebp - 0x88], 0x98badcfe
mov dword [ebp - 0x84], 0x10325476
call fcn.1000c1c0
lea ecx, [ebp - 0xa8]
call fcn.100026f0
cmp byte [ebp - 0x28], 0
jne 0x100081d6
lea ecx, [ebp - 0x90]
mov byte [ebp - 0x28], 1
call fcn.1000c270
mov ebx, dword [ebp - 0xac]
lea eax, [ebp - 0x38]
push ecx
push eax
push ebx
call fcn.1000ca70
cmp dword [ebx + 0x14], 0x10
jb 0x100081f1
mov eax, dword [ebx]
jmp 0x100081f3
mov eax, ebx
push eax
call dword [sym.imp.USER32.dll_CharUpperA]
lea ecx, [ebp - 0x1c]
call fcn.100026f0
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10054c42
mov esp, ebp
pop ebp
ret
Function at 0x100086a0
Capabilities:
Get common file path
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x1013c270]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0x208
xor edi, edi
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.1006cd80
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push edi
push edi
push 0x25
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns 0x100086f2
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10054c42
mov esp, ebp
pop ebp
ret
push ebx
push 0x100abae4
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
test ebx, ebx
je 0x10008778
push esi
push ebx
call fcn.10055475
add esp, 4
mov dword [ebp - 0x210], edi
mov esi, eax
mov dword [ebp - 0x214], edi
lea eax, [ebp - 0x20c]
push esi
push ebx
push 0
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x1000876e
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x214]
push eax
push 0x100abd40
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x1000876e
mov eax, dword [ebp - 0x214]
mov edi, dword [eax + 8]
push esi
call fcn.10054c86
add esp, 4
pop esi
mov ecx, dword [ebp - 4]
mov eax, edi
pop ebx
xor ecx, ebp
pop edi
call fcn.10054c42
mov esp, ebp
pop ebp
ret

Function at 0x100089c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x1013c270]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
push 0x64
mov dword [ebp - 0x74], eax
mov edi, edx
lea eax, [ebp - 0x68]
push 0
push eax
call fcn.1006cd80
add esp, 0xc
mov dword [ebp - 0x70], 0x64
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x6c], 0
push eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x10008a26
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x68]
push eax
push 0
push 0
push dword [ebp - 0x74]
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x10008a34
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], 0
mov byte [ebx], 0
cmp byte [ebp - 0x68], 0
jne 0x10008a4f
xor ecx, ecx
jmp 0x10008a5e
lea ecx, [ebp - 0x68]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10008a55
sub ecx, edx
push ecx
lea eax, [ebp - 0x68]
mov ecx, ebx
push eax
call fcn.10002cf0
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10054c42
mov esp, ebp
pop ebp
ret
Function at 0x10008b40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov eax, dword [0x1013c270]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x64
lea eax, [ebp - 0x70]
mov edi, edx
push 0
push eax
mov esi, ecx
call fcn.1006cd80
add esp, 0xc
mov dword [ebp - 0x78], 0x64
lea eax, [ebp - 0x74]
mov dword [ebp - 0x74], 0
push eax
push str.SoftwarexiaoyuInstall
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x10008b9c
mov eax, dword [ebp - 0x74]
test eax, eax
je 0x10008be0
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10008be0
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x70]
push eax
push 0
push 0
push edi
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
mov eax, dword [ebp - 0x74]
je 0x10008bc6
test eax, eax
je 0x10008be0
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10008be0
test eax, eax
je 0x10008bd1
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x78]
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x79]
call fcn.1000d800
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp byte [ebp - 0x70], 0
jne 0x10008bfb
xor ecx, ecx
jmp 0x10008c0a
lea ecx, [ebp - 0x70]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10008c01
sub ecx, edx
push ecx
lea eax, [ebp - 0x70]
mov ecx, esi
push eax
call fcn.10002cf0
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.10054c42
mov esp, ebp
pop ebp
ret

Function at 0x1000ae20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x48
mov edi, ecx
call fcn.10054c53
push 0x48
mov esi, eax
push 0
push esi
call fcn.1006cd80
add esp, 0x10
mov ecx, esi
call fcn.1000ab30
mov edx, dword [ebp + 8]
mov ebx, eax
mov dword [edi + 0x68], ebx
cmp byte [edx], 0
jne 0x1000ae56
xor ecx, ecx
jmp 0x1000ae69
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000ae60
sub ecx, esi
push ecx
push edx
lea ecx, [ebx + 8]
call fcn.10002cf0
mov eax, dword [edi + 0x68]
push 9
push str.GET_test1
mov dword [eax + 4], 1
mov ecx, dword [edi + 0x68]
add ecx, 0x2c
call fcn.10002cf0
lea eax, [edi + 0x10]
push eax
push 0
push edi
push 0x1000aed0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x14], eax
pop edi
pop esi
pop ebx
test eax, eax
je 0x1000aebd
cmp eax, 0xffffffff
je 0x1000aebd
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop ebp
ret 4
Function at 0x1000b760
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, edx
mov ebx, ecx
mov dword [ebp - 8], esi
test esi, esi
je 0x1000b8bf
lea ecx, [esi*8]
mov eax, 0x2aaaaaab
imul ecx
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea edx, [esi*8]
lea eax, [ecx + ecx*2]
add eax, eax
sub edx, eax
sub edx, 2
je 0x1000b7a9
sub edx, 2
jne 0x1000b7ac
add ecx, 2
jmp 0x1000b7ac
add ecx, 3
mov eax, dword [ebp + 0xc]
inc ecx
cmp dword [eax], ecx
jge 0x1000b7c1
pop esi
mov dword [eax], ecx
mov eax, 0xfffffff0
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0x55555556
imul esi
push edi
mov edi, dword [ebp + 8]
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
xor eax, eax
test ecx, ecx
jle 0x1000b856
dec ecx
mov eax, 0xaaaaaaab
mul ecx
mov eax, edx
shr eax, 1
inc eax
mov dword [ebp - 4], eax
lea eax, [eax + eax*2]
mov dword [ebp - 0xc], eax
movzx ecx, byte [ebx]
movzx edx, byte [ebx + 1]
mov eax, ecx
movzx esi, byte [ebx + 2]
add ebx, 3
shr eax, 2
shl ecx, 4
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_0123456789abcdef]
mov byte [edi], al
mov eax, edx
shr eax, 4
add eax, ecx
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_0123456789abcdef]
mov byte [edi + 1], al
mov eax, esi
shr eax, 6
and esi, 0x3f
lea eax, [eax + edx*4]
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_0123456789abcdef]
mov byte [edi + 2], al
movzx eax, byte [esi + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_0123456789abcdef]
mov byte [edi + 3], al
add edi, 4
sub dword [ebp - 4], 1
jne 0x1000b7f2
mov esi, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
cmp eax, esi
jge 0x1000b8b1
movzx edx, byte [ebx]
inc eax
mov dword [ebp - 0xc], eax
cmp eax, esi
jge 0x1000b86b
movzx ecx, byte [ebx + 1]
jmp 0x1000b86d
xor ecx, ecx
mov eax, edx
shl edx, 4
shr eax, 2
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_0123456789abcdef]
mov byte [edi], al
mov eax, ecx
shr eax, 4
add eax, edx
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_0123456789abcdef]
mov byte [edi + 1], al
cmp dword [ebp - 0xc], esi
jge 0x1000b8a6
and ecx, 0xf
mov al, byte [ecx*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_0123456789abcdef]
mov byte [edi + 2], al
jmp 0x1000b8aa
mov byte [edi + 2], 0x3d
mov byte [edi + 3], 0x3d
add edi, 4
mov ecx, dword [ebp + 0xc]
mov eax, edi
sub eax, dword [ebp + 8]
mov byte [edi], 0
pop edi
mov dword [ecx], eax
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000cbd0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x1013c270]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x38], 0
je 0x1000cd22
cmp byte [edi + 0x3d], 0
je 0x1000cd22
mov eax, dword [edi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x1000cc1d
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.10054c42
mov esp, ebp
pop ebp
ret
mov ecx, 0xf
mov byte [esp + 0x14], 0
xorps xmm0, xmm0
mov dword [esp + 0x28], ecx
cmp ecx, 0x10
movq qword [esp + 0x14], xmm0
lea eax, [esp + 0x14]
mov dword [esp + 0x24], 8
cmovae eax, dword [esp + 0x14]
mov byte [eax + 8], 0
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
mov eax, dword [edi + 0x38]
lea ebx, [esp + 0x14]
cmp ecx, 0x10
lea esi, [esp + 0x14]
cmovae ebx, edx
cmovae esi, edx
mov eax, dword [eax]
mov dword [esp + 0xc], eax
cmp eax, vtable.std::codecvt_char__char__struct__Mbstatet_.0
jne 0x1000cd36
mov dword [esp + 0x10], esi
xor eax, eax
sub eax, 0
je 0x1000ccad
sub eax, 1
je 0x1000ccb1
sub eax, 2
je 0x1000cd03
lea ecx, [esp + 0x14]
xor bl, bl
call fcn.100026f0
mov al, bl
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.10054c42
mov esp, ebp
pop ebp
ret
mov byte [edi + 0x3d], 0
cmp ecx, 0x10
lea eax, [esp + 0x14]
cmovae eax, edx
sub esi, eax
je 0x1000cce4
push dword [edi + 0x4c]
cmp ecx, 0x10
lea eax, [esp + 0x18]
push esi
cmovae eax, edx
push 1
push eax
call fcn.100791c0
add esp, 0x10
cmp esi, eax
jne 0x1000cc8e
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
cmp byte [edi + 0x3d], 0
je 0x1000cd03
test esi, esi
jne 0x1000cc54
push esi
push 8
lea ecx, [esp + 0x1c]
call fcn.10006320
jmp 0x1000cc4c
lea ecx, [esp + 0x14]
mov bl, 1
call fcn.100026f0
mov al, bl
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.10054c42
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x2c]
mov al, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10054c42
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi + 0x38]
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x28]
add eax, ebx
push eax
push esi
lea eax, [edi + 0x40]
push eax
mov eax, dword [esp + 0x1c]
call dword [eax + 0x20]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
jmp 0x1000cc7f
Function at 0x1000d4b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x28
mov eax, dword [0x1013c270]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x10]
lea edx, [esp + 4]
mov ecx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x14]
push edx
push dword [ebp + 0x1c]
mov dword [esp + 0x30], 0xf
push 0
push eax
push ecx
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
mov dword [esp + 0x20], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000d569
mov ecx, dword [ebp + 0x18]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
cmp ecx, eax
ja 0x1000d52c
cmp dword [esp + 0x28], 0x10
lea eax, [esp + 0x14]
mov dword [esp + 0x24], ecx
cmovae eax, dword [esp + 0x14]
mov byte [eax + ecx], 0
jmp 0x1000d53a
sub ecx, eax
push 0
push ecx
lea ecx, [esp + 0x1c]
call fcn.10006320
cmp dword [esp + 0x28], 0x10
lea ecx, [ebp + 0x18]
push ecx
lea eax, [esp + 0x18]
cmovae eax, dword [esp + 0x18]
push eax
lea eax, [esp + 0x18]
push eax
push 0
push edi
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x28], 0x10
lea edx, [esp + 0x14]
mov dword [esi + 0x14], 0xf
cmovae edx, dword [esp + 0x14]
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp byte [edx], 0
jne 0x1000d591
xor ecx, ecx
jmp 0x1000d59f
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000d596
sub ecx, edi
push ecx
push edx
mov ecx, esi
call fcn.10002cf0
lea ecx, [esp + 0x14]
call fcn.100026f0
mov ecx, dword [esp + 0x2c]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.10054c42
mov esp, ebp
pop ebp
ret
Function at 0x1000d800
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x164
mov eax, dword [0x1013c270]
xor eax, esp
mov dword [esp + 0x160], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push edi
mov dword [esp + 0x20], eax
lea eax, [esp + 0x144]
push 0x100abe4c
push eax
mov dword [esp + 0x24], edi
movups xmmword [esp + 0x14c], xmm0
mov byte [esp + 0x16c], 0
movups xmmword [esp + 0x15c], xmm0
call fcn.1000d660
add esp, 0xc
mov dword [esp + 0x34], 0xf
cmp byte [esp + 0x140], 0
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
jne 0x1000d87f
xor eax, eax
jmp 0x1000d899
lea eax, [esp + 0x140]
lea edx, [eax + 1]
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000d890
sub eax, edx
push eax
lea eax, [esp + 0x144]
push eax
lea ecx, [esp + 0x28]
call fcn.10002cf0
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x28]
mov dword [esp + 0x15c], 0xf
push eax
lea ecx, [esp + 0x14c]
mov dword [esp + 0x15c], 0
mov byte [esp + 0x14c], 0
call fcn.10002820
mov eax, dword [esp + 0x150]
lea ecx, [esp + 0x38]
cmp dword [esp + 0x154], 0x10
mov edx, 0x100
mov dword [esp + 0x14], eax
lea eax, [esp + 0x140]
cmovae eax, dword [esp + 0x140]
mov dword [esp + 0x10], eax
xor eax, eax
nop
mov byte [ecx], al
lea ecx, [ecx + 1]
inc eax
cmp ax, dx
jl 0x1000d910
xor dl, dl
mov word [esp + 0x138], 0
xor ebx, ebx
lea esi, [esp + 0x38]
mov edi, 0x100
mov eax, dword [esp + 0x10]
lea esi, [esi + 1]
mov cl, byte [esi - 1]
movzx edx, dl
mov al, byte [edx + eax]
add al, bl
add al, cl
movzx ebx, al
movzx eax, byte [esp + ebx + 0x38]
mov byte [esi - 1], al
lea eax, [edx + 1]
cdq
idiv dword [esp + 0x14]
mov byte [esp + ebx + 0x38], cl
sub edi, 1
jne 0x1000d932
mov edi, dword [esp + 0x18]
xor esi, esi
test edi, edi
jle 0x1000d9b7
movzx edx, byte [esp + 0x138]
movzx ebx, byte [esp + 0x139]
nop dword [eax]
inc dl
movzx edx, dl
mov cl, byte [esp + edx + 0x38]
lea eax, [ebx + ecx]
movzx ebx, al
movzx eax, byte [esp + ebx + 0x38]
mov byte [esp + edx + 0x38], al
mov byte [esp + ebx + 0x38], cl
movzx eax, byte [esp + edx + 0x38]
add al, cl
mov ecx, dword [esp + 0x1c]
movzx eax, al
movzx eax, byte [esp + eax + 0x38]
xor byte [esi + ecx], al
inc esi
cmp esi, edi
jl 0x1000d980
lea ecx, [esp + 0x140]
call fcn.100026f0
lea ecx, [esp + 0x20]
call fcn.100026f0
mov ecx, dword [esp + 0x16c]
mov al, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10054c42
mov esp, ebp
pop ebp
ret 8
Function at 0x1000f2d0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
mov eax, dword [0x1013c270]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
push edi
push 0x1c
call fcn.10054c53
mov ecx, dword [ebp + 8]
mov edi, eax
mov eax, dword [ebp + 0x1c]
add esp, 4
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov dword [edi], ecx
mov ecx, dword [ebp + 0x10]
mov dword [edi + 8], ecx
mov ecx, dword [ebp + 0x14]
mov dword [edi + 0xc], ecx
mov ecx, dword [ebp + 0x18]
mov dword [edi + 0x14], eax
mov eax, dword [ebp + 0x20]
mov dword [edi + 4], esi
mov dword [edi + 0x10], ecx
mov dword [edi + 0x18], eax
cmp byte [esi], 0
mov byte [esp + 0x18], 0
jne 0x1000f33c
xor ecx, ecx
jmp 0x1000f34a
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000f341
sub ecx, edx
push ecx
push esi
lea ecx, [esp + 0x20]
call fcn.10002cf0
push dword [esp + 0x10]
lea eax, [esp + 0x1c]
mov dword [esp + 0x34], edi
push eax
push ecx
lea eax, [esp + 0x1c]
mov ecx, ebx
push eax
call fcn.1000fee0
lea ecx, [esp + 0x18]
call fcn.100026f0
cmp byte [esp + 0x14], 0
jne 0x1000f3ab
cmp byte [esi], 0
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
jne 0x1000f39d
xor ecx, ecx
jmp 0x1000f3c1
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000f3a2
jmp 0x1000f3bf
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10054c42
mov esp, ebp
pop ebp
ret 0x1c
sub ecx, edx
push ecx
push esi
lea ecx, [esp + 0x20]
call fcn.10002cf0
push 0x2e
push str.more_than_one_flags_defined_with_the_same_name
lea ecx, [esp + 0x3c]
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], 0
mov byte [esp + 0x3c], 0
call fcn.10002cf0
lea edx, [esp + 0x18]
lea ecx, [esp + 0x34]
call fcn.1000f1b0
lea ecx, [esp + 0x34]
call fcn.100026f0
lea ecx, [esp + 0x18]
call fcn.100026f0
push 0
call fcn.1007ac79
int3
Function at 0x10010460
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x1013c270]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
call fcn.10010690
test al, al
je 0x10010533
cmp dword [edi + 0x14], 0x10
jb 0x10010496
mov eax, dword [edi]
jmp 0x10010498
mov eax, edi
lea ecx, [esp + 0x10]
push ecx
push 0
lea ecx, [esp + 0x1c]
push ecx
push 0
push eax
push dword [ebx + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10010533
mov eax, dword [esp + 0x14]
cmp eax, 1
je 0x100104c7
cmp eax, 2
je 0x100104c7
cmp eax, 6
jne 0x10010533
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10010533
inc eax
push eax
call fcn.10055475
inc dword [esp + 0x14]
add esp, 4
cmp dword [edi + 0x14], 0x10
mov dword [esp + 0x18], eax
jb 0x100104e9
mov edi, dword [edi]
lea ecx, [esp + 0x10]
push ecx
push eax
push 0
push 0
push edi
push dword [ebx + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
mov edi, dword [esp + 0x18]
push edi
mov byte [edi + eax], 0
call fcn.10002df0
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call fcn.10002420
lea ecx, [esp + 0x1c]
call fcn.100026f0
push edi
call fcn.10054c86
add esp, 4
jmp 0x10010544
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
mov ecx, dword [esp + 0x34]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10054c42
mov esp, ebp
pop ebp
ret 8

Function at 0x10010560
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
call fcn.10010690
test al, al
jne 0x10010574
pop esi
pop ebp
ret 8
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [ebp + 8]
sub ecx, edx
cmp dword [eax + 0x14], 0x10
jb 0x10010589
mov eax, dword [eax]
push ecx
push edx
push 3
push 0
push eax
push dword [esi + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
pop esi
sete al
pop ebp
ret 8

Function at 0x10010870
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
test edi, edi
je 0x100108dc
mov edx, dword [esi + 0x1c]
lea eax, [edx + 1]
mov dword [esi + 0x1c], eax
cmp edx, 0x186a0
jl 0x100108b1
mov eax, dword [esi]
test eax, eax
je 0x100108a2
push 0
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov dword [esi + 0x1c], 0
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100108b6
mov eax, dword [esi]
sub ecx, edx
cmp eax, 0xffffffff
je 0x100108dc
push 0
lea edx, [ebp + 8]
mov dword [ebp + 8], 0
push edx
push ecx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
pop esi
pop ebp
ret 4
Function at 0x100134b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10091df6
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x1013c270]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x428], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x424], eax
mov dword [ebp - 0x430], 0
push 0x404
xorps xmm0, xmm0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x420]
movq qword [ebp - 0x1c], xmm0
push 0
push eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], 0
call fcn.1006cd80
add esp, 0xc
mov dword [ebp - 0x420], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 0x60
push 0
push esi
mov byte [ebp - 4], 1
call ebx
mov edi, eax
mov dword [ebp - 0x42c], edi
test edi, edi
jne 0x10013574
push 2
push eax
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x42c], eax
test edi, edi
jne 0x10013574
call fcn.10011cd0
mov esi, eax
jmp 0x10013661
push dword [ebp - 0x424]
push dword [ebp - 0x428]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x10013597
call fcn.10011cd0
jmp 0x10013654
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x428], ebx
test ebx, ebx
jne 0x100135b5
call fcn.10011cd0
jmp 0x10013654
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x424], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x100135d6
mov esi, 0x8007000e
jmp 0x10013656
push eax
lea ecx, [ebp - 0x420]
mov byte [ebp - 4], 2
call fcn.10011850
jmp 0x10013600
cmp dword [ebp - 0x420], 0
mov dword [ebp - 4], 1
jne 0x10013617
mov esi, 0x8007000e
jmp 0x10013656
push esi
push dword [ebp - 0x420]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x10013637
call fcn.10011cd0
jmp 0x10013654
mov eax, dword [ebp - 0x420]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x420]
call fcn.10013350
mov esi, eax
test edi, edi
je 0x10013661
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x41c]
cmp dword [ebp - 0x420], eax
je 0x10013680
lea ecx, [ebp - 0x420]
call fcn.100129b0
nop word [eax + eax]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10054c42
mov esp, ebp
pop ebp
ret 0x10