joyce8/EMBER2024-capa huggingface dataset:
Function at 0xca658d6
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 8], 0
push 0xe
push 0
lea eax, [ebp - 0x18]
push eax
call fcn.0ca5a2aa
add esp, 0xc
xor esi, dword [esp]
xor esi, dword [esp]
sub eax, 0
test edx, ecx
jge 0xca6590e
mov esi, esi
jbe 0xca65907
mov esp, esp
jl 0xca6590e
mov edx, 0x45c66fc4
call 0xf9ec1f66
je 0xca658dd
mov byte [ebp - 0x18], 0x51
mov byte [ebp - 0x13], 0x74
mov byte [ebp - 0xe], 0x66
mov byte [ebp - 0x17], 0x73
inc ebp
mov byte [ebp - 0x17], 0x73
mov byte [ebp - 0x12], 0x74
mov byte [ebp - 0xd], 0x79
mov byte [ebp - 0x16], 0x70
mov byte [ebp - 0x11], 0x34
mov byte [ebp - 0xc], 0x75
mov byte [ebp - 0x15], 0x64
mov byte [ebp - 0x10], 0x33
mov byte [ebp - 0xb], 0
mov byte [ebp - 0x14], 0x66
mov byte [ebp - 0xf], 0x4f
mov cl, byte [ebp - 0x18]
sub cl, 1
mov byte [ebp - 0x18], cl
mov dl, byte [ebp - 0x13]
sub dl, 1
mov byte [ebp - 0x13], dl
mov al, byte [ebp - 0xe]
sub al, 1
mov byte [ebp - 0xe], al
mov cl, byte [ebp - 0x17]
sub cl, 1
mov byte [ebp - 0x17], cl
mov dl, byte [ebp - 0x12]
sub dl, 1
mov byte [ebp - 0x12], dl
mov al, byte [ebp - 0xd]
sub al, 1
mov byte [ebp - 0xd], al
mov cl, byte [ebp - 0x16]
sub cl, 1
mov byte [ebp - 0x16], cl
mov dl, byte [ebp - 0x11]
sub dl, 1
mov byte [ebp - 0x11], dl
mov al, byte [ebp - 0xc]
sub al, 1
mov byte [ebp - 0xc], al
mov cl, byte [ebp - 0x15]
sub cl, 1
mov byte [ebp - 0x15], cl
mov dl, byte [ebp - 0x10]
sub dl, 1
mov byte [ebp - 0x10], dl
mov al, byte [ebp - 0x14]
sub al, 1
mov byte [ebp - 0x14], al
mov cl, byte [ebp - 0xf]
sub cl, 1
mov byte [ebp - 0xf], cl
xchg esp, esp
and eax, eax
test dword [esp + 0xc], ecx
jg 0xca659c6
mov esp, esp
jle 0xca659c6
jmp 0xc8e3eb2
call fcn.0ca641af
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0xca659db
xor eax, eax
jmp 0xca65a66
jns 0xca659dd
je 0xca659df
jl 0xca659fa
pushf
rol esp, 0
xor edx, dword [esp + 4]
xor edx, dword [esp + 4]
popf
lea esp, [esp]
jp 0xca659f5
xchg edx, edx
jge 0xca659fa
mov eax, 0x52e8558d
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.0ca54a6a
mov dword [ebp - 4], eax
push 0xe
push 0
lea ecx, [ebp - 0x18]
push ecx
call fcn.0ca5a2aa
add esp, 0xc
cmp dword [ebp - 4], 0
jne 0xca65a24
xor eax, eax
jmp 0xca65a66
jp 0xca65a26
or edi, 0
js 0xca65a2b
jne 0xca65a36
mov ebx, ebx
jnp 0xca65a31
mov ebx, ebx
je 0xca65a36
xor eax, 0x52fc558b
mov edx, dword [ebp - 4]
push edx
call fcn.0ca63482
add esp, 4
ja 0xca65a44
jg 0xca65a5b
mov ebx, ebx
lea eax, [eax + 0x1afd]
lea eax, [eax - 0x1afd]
jae 0xca65a56
jle 0xca65a5b
mov esi, 0x458b90bf
or al, 0x50
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40de38
nop
mov ecx, 0x34794e03
nop
nop
nop
nop
test eax, eax
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x721161e9
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x1000170b
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
call fcn.100017bf
mov dword [ebp - 4], eax
push 1
push 8
push 1
push 6
call fcn.100018da
mov dword [ebp - 8], eax
push 1
push 2
push dword [ebp - 8]
call fcn.10001925
mov dword [ebp - 0xc], eax
push str..exe
push dword [ebp - 0xc]
mov ecx, 2
call fcn.1000114f
add esp, 8
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x1000176c
push ebx
call fcn.1000474a
add esp, 4
mov dword [ebp - 0x14], esp
push dword [ebp - 0x10]
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x1000179b
push 0x49
push 0x4010631
push 6
call fcn.10004774
add esp, 0xc
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x100017ab
push ebx
call fcn.1000474a
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x100017bb
push ebx
call fcn.1000474a
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x100020f2
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
cmp dword [ebp + 0x10], 0
jne 0x1000210c
mov dword [ebp + 0xc], 0x61a8
mov dword [ebp - 4], esp
push dword [ebp + 0xc]
push 0
push 0x11010
push 0x100d964e
mov ebx, dword [ebp + 8]
push dword [ebx]
push 0
xor eax, eax
call dword [sym.imp.USER32.dll_MessageBoxTimeoutA]
nop
nop
cmp dword [ebp - 4], esp
je 0x10002151
push 0x7a
push 0x4010abf
push 6
call fcn.10004774
add esp, 0xc
mov dword [ebp - 4], esp
push 0
push 0xffffffff
xor eax, eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
nop
cmp dword [ebp - 4], esp
je 0x10002184
push 0xad
push 0x4010abf
push 6
call fcn.10004774
add esp, 0xc
mov esp, ebp
pop ebp
ret 0xc

Function at 0x100022d4
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
cmp dword [ebp + 8], 0
jne 0x10002326
mov dword [ebp - 0xc], esp
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x1000231e
push 0x4f
push 0x4010aae
push 6
call fcn.10004774
add esp, 0xc
mov dword [ebp - 4], eax
jmp 0x1000232c
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10002340
mov eax, 0
jmp 0x1000237c
mov dword [ebp - 0xc], esp
push 0
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x10002371
push 0x101
push 0x4010aae
push 6
call fcn.10004774
add esp, 0xc
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
jmp 0x1000237c
mov esp, ebp
pop ebp
ret 8

Function at 0x10002704
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], esp
push 5
push 0x100d964e
push 0x100d964e
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push str.open
mov eax, dword [ebp + 8]
and eax, 0xff
push eax
xor eax, eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
nop
nop
cmp dword [ebp - 4], esp
je 0x10002758
push 0
push 0x4010082
push 6
call fcn.10004774
add esp, 0xc
mov esp, ebp
pop ebp
ret 8

Function at 0x10005470
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
push edi
push 0
push 0x20
push 3
push 0
push 3
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x100054d9
push ebx
lea ecx, [esp + 0x10]
push esi
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
lea edx, [ebx + 8]
push edx
call fcn.10004a00
add esp, 4
mov esi, eax
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esi + 8]
push ebx
push ecx
push edi
mov dword [esi], 1
mov dword [esi + 4], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop ebx
pop edi
ret
Function at 0x10005540
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x140
push ebx
mov ebx, dword [esp + 0x154]
push ebp
push esi
mov esi, dword [ebx]
push edi
mov edi, dword [esp + 0x154]
xor ebp, ebp
test edi, edi
je 0x100055c0
push edi
call dword [0x100da234]
add esp, 4
test eax, eax
jbe 0x100055c0
test esi, esi
je 0x1000557e
cmp esi, 0xffffffff
je 0x1000557e
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
mov dword [ebx], esi
je 0x10005602
mov eax, dword [esp + 0x15c]
test eax, eax
je 0x100055ac
mov ecx, dword [esp + 0x10]
and ecx, 0x10
cmp cl, 0x10
je 0x100055c0
jmp 0x100055bb
mov edx, dword [esp + 0x158]
mov eax, dword [esp + 0x10]
test edx, eax
je 0x100055c0
mov ebp, 1
test esi, esi
je 0x10005602
cmp esi, 0xffffffff
je 0x10005602
test ebp, ebp
jne 0x10005639
mov eax, dword [esp + 0x15c]
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
lea eax, [esp + 0x10]
push eax
push esi
je 0x1000560f
call edi
test eax, eax
je 0x10005602
mov ecx, dword [esp + 0x10]
and ecx, 0x10
cmp cl, 0x10
jne 0x10005639
lea edx, [esp + 0x10]
push edx
push esi
call edi
test eax, eax
jne 0x100055ea
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x140
ret
call edi
test eax, eax
je 0x10005602
mov ebx, dword [esp + 0x158]
test dword [esp + 0x10], ebx
jne 0x10005639
lea ecx, [esp + 0x10]
push ecx
push esi
call edi
test eax, eax
jne 0x1000561c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
lea edx, [esp + 0x3c]
push edx
call dword [0x100da234]
inc eax
push eax
call fcn.10004a00
mov edx, eax
lea edi, [esp + 0x44]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
Function at 0x10005fa0
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push edi
push 0
push 0x20
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x10006032
mov eax, dword [esp + 0x10]
push ebx
mov ebx, 1
push ebp
cmp eax, ebx
push esi
mov dword [esp + 0x10], ebx
jle 0x10006024
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
lea esi, [esp + 0x2c]
mov eax, dword [esi]
lea edx, [esp + 0x14]
push 0
push edx
lea ecx, [eax + 8]
mov eax, dword [eax + 4]
push eax
push ecx
push edi
call ebp
test eax, eax
je 0x1000601c
mov eax, dword [esp + 0x1c]
inc ebx
add esi, 0xc
cmp ebx, eax
jl 0x10005fe5
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
mov dword [esp + 0x10], 0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret

Function at 0x10006fd0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 8
xor ecx, ecx
xor eax, eax
push ebp
mov ebp, dword [esp + 0x18]
mov byte [eax + ebp], al
inc eax
cmp eax, 0x100
jl 0x10006fdc
mov eax, dword [esp + 0x14]
mov byte [ebp + 0x100], cl
cmp eax, ecx
mov byte [ebp + 0x101], cl
jle 0x1000706f
push ebx
push esi
push edi
mov byte [esp + 0x24], cl
xor esi, esi
mov ebx, ebp
mov dword [esp + 0x10], 0x100
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
and edi, 0xff
xor eax, eax
xor edx, edx
mov al, byte [edi + ecx]
mov dl, byte [ebx]
add esi, eax
add edx, esi
and edx, 0x800000ff
jns 0x10007039
dec edx
or edx, 0xffffff00
inc edx
mov byte [esp + 0x14], dl
mov esi, dword [esp + 0x14]
and esi, 0xff
lea eax, [esi + ebp]
push eax
push ebx
call fcn.10007080
lea eax, [edi + 1]
add esp, 8
cdq
idiv dword [esp + 0x20]
mov eax, dword [esp + 0x10]
inc ebx
dec eax
mov dword [esp + 0x10], eax
mov byte [esp + 0x24], dl
jne 0x1000700e
pop edi
pop esi
pop ebx
pop ebp
add esp, 8
ret
Function at 0x100070a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0xc
mov edx, dword [esp + 0x14]
push ebx
push esi
mov esi, dword [esp + 0x20]
xor ebx, ebx
mov al, byte [esi + 0x100]
mov cl, byte [esi + 0x101]
test edx, edx
mov byte [esp + 0x20], al
mov byte [esp + 8], cl
jle 0x1000719d
push ebp
mov ebp, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x28]
and edi, 0xff
and ebp, 0xff
lea eax, [edi + 1]
and eax, 0x800000ff
jns 0x100070f2
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x28], al
xor ecx, ecx
mov edi, dword [esp + 0x28]
and edi, 0xff
mov cl, byte [edi + esi]
lea eax, [edi + esi]
add ecx, ebp
mov dword [esp + 0x18], eax
and ecx, 0x800000ff
jns 0x1000711e
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ebp, dword [esp + 0x10]
and ebp, 0xff
lea ecx, [esi + ebp]
push ecx
push eax
mov dword [esp + 0x1c], ecx
call fcn.10007080
mov eax, dword [esp + 0x1c]
xor edx, edx
xor ecx, ecx
add esp, 8
mov dl, byte [eax]
mov eax, dword [esp + 0x18]
mov cl, byte [eax]
add edx, ecx
and edx, 0x800000ff
jns 0x1000715f
dec edx
or edx, 0xffffff00
inc edx
mov eax, dword [esp + 0x20]
and edx, 0xff
mov cl, byte [edx + esi]
mov dl, byte [ebx + eax]
xor dl, cl
mov byte [ebx + eax], dl
mov eax, dword [esp + 0x24]
inc ebx
cmp ebx, eax
jl 0x100070e1
mov dl, byte [esp + 0x28]
mov al, byte [esp + 0x10]
pop edi
mov byte [esi + 0x100], dl
mov byte [esi + 0x101], al
pop ebp
pop esi
pop ebx
add esp, 0xc
ret
mov byte [esi + 0x100], al
mov byte [esi + 0x101], cl
pop esi
pop ebx
add esp, 0xc
ret
Function at 0x10008820
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x100da3ac]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x10008833
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x10008874
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x100da454]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x100088a6
mov bl, byte [esp + ecx + 0x4c]
jmp 0x100088aa
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x1000889b
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x100088c8
mov bl, byte [esp + ecx + 0x4c]
jmp 0x100088cc
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x100088bd
xor ecx, ecx
mov eax, 0x100da3bc
xor ebx, ebx
mov bl, byte [ecx + 0x100da464]
cmp byte [esp + ebx + 0x14], 0
je 0x100088f7
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x100da47c]
cmp byte [esp + ebx + 0x14], 0
je 0x1000890e
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x100088de
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x10008867
lea edx, [esp + 0x84]
push edx
call fcn.10008950
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x10002b60
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c473b
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x100ebb10]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edi, edi
mov ebx, ecx
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x220], edi
push 0x2001f
push eax
mov eax, dword [ebx]
push eax
lea ecx, [ebp - 0x220]
mov dword [ebp - 4], edi
call fcn.10002b20
mov esi, eax
cmp esi, edi
jne 0x10002c63
lea ecx, [ebp - 0x230]
push ecx
mov ecx, dword [ebp - 0x220]
push edi
push edi
push edi
lea edx, [ebp - 0x224]
push edx
lea eax, [ebp - 0x21c]
push eax
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push ecx
mov dword [ebp - 0x224], 0x105
call edi
test eax, eax
jne 0x10002c48
jmp 0x10002c00
lea edx, [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x220]
call fcn.10002b60
mov esi, eax
test esi, esi
jne 0x10002c63
lea eax, [ebp - 0x230]
push eax
mov eax, dword [ebp - 0x220]
push esi
push esi
push esi
lea ecx, [ebp - 0x224]
push ecx
lea edx, [ebp - 0x21c]
push edx
push esi
push eax
mov dword [ebp - 0x224], 0x105
call edi
test eax, eax
je 0x10002c00
lea ecx, [ebp - 0x220]
call fcn.10002760
mov ecx, dword [ebp - 0x228]
push ecx
mov ecx, ebx
call fcn.10002780
mov esi, eax
lea ecx, [ebp - 0x220]
call fcn.10002760
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 - 0x10]
xor ecx, ebp
call fcn.1002c64e
mov esp, ebp
pop ebp
ret 4

Function at 0x10002e20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
xor eax, eax
mov edi, ecx
mov ecx, dword [esi]
xor edx, edx
mov dword [esi + 4], eax
mov word [ecx], dx
lea ecx, [ebp + 0xc]
push ecx
push eax
lea edx, [ebp - 4]
push edx
push eax
mov dword [ebp - 4], eax
mov dword [ebp + 0xc], eax
mov eax, dword [edi]
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x10002e60
cmp eax, 0xea
jne 0x10002ea3
mov eax, dword [ebp + 0xc]
cmp eax, dword [esi + 8]
jl 0x10002e70
push eax
mov ecx, esi
call fcn.100011c0
mov eax, dword [esi]
lea ecx, [ebp + 0xc]
push ecx
push eax
push ebx
mov ecx, edi
call fcn.10002920
mov edi, dword [esi]
xor ecx, ecx
cmp word [edi], cx
je 0x10002e9a
mov edx, edi
lea ebx, [ebx]
add edx, 2
inc ecx
cmp word [edx], 0
jne 0x10002e90
xor edx, edx
mov word [edi + ecx*2], dx
mov dword [esi + 4], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10002eb0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov edx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push ebx
push 0
lea eax, [ebp - 4]
push eax
push 0
mov dword [ebx], 0
mov eax, dword [ecx]
push edx
push eax
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x10002eeb
cmp eax, 0xea
jne 0x10002f4d
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebx]
cmp edi, dword [esi + 4]
je 0x10002f3a
test edi, edi
je 0x10002f23
push edi
call fcn.10024940
mov ebx, eax
mov eax, dword [esi + 4]
add esp, 4
test eax, eax
je 0x10002f25
cmp eax, edi
jb 0x10002f13
mov eax, edi
mov ecx, dword [esi + 8]
push eax
push ecx
push ebx
call fcn.1002be70
add esp, 0xc
jmp 0x10002f25
xor ebx, ebx
mov edx, dword [esi + 8]
push edx
call fcn.10024970
mov dword [esi + 8], ebx
mov ebx, dword [ebp + 0x10]
add esp, 4
mov dword [esi + 4], edi
mov esi, dword [esi + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
push ebx
push esi
push eax
call fcn.10002950
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10003e00
Capabilities:
Get common file path

Disassembly:
cmp dword [0x100faf78], 0
jne 0x10003e84
mov dword [0x100faf78], 1
call fcn.10062f40
push 0x104
push 0x100fad70
test eax, eax
je 0x10003e7e
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
mov eax, 0x100fad70
je 0x10003e89
add eax, 0xfffffffe
jmp 0x10003e40
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x10003e40
mov ecx, dword [str.SysWow64]
mov edx, dword [0x100cc55c]
mov dword [eax], ecx
mov ecx, dword [0x100cc560]
mov dword [eax + 4], edx
mov edx, dword [0x100cc564]
mov dword [eax + 8], ecx
mov ecx, dword [0x100cc568]
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ecx
mov eax, 0x100fad70
ret
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov eax, 0x100fad70
ret

Function at 0x10004150
Capabilities:
Get common file path

Disassembly:
cmp dword [0x100fbde8], 0
jne 0x100041d4
mov dword [0x100fbde8], 1
call fcn.10062f40
push 0x104
push 0x100fbbe0
test eax, eax
je 0x100041ce
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
mov eax, 0x100fbbe0
je 0x100041d9
add eax, 0xfffffffe
jmp 0x10004190
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x10004190
mov ecx, dword [str.SysWow64]
mov edx, dword [0x100cc55c]
mov dword [eax], ecx
mov ecx, dword [0x100cc560]
mov dword [eax + 4], edx
mov edx, dword [0x100cc564]
mov dword [eax + 8], ecx
mov ecx, dword [0x100cc568]
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ecx
mov eax, 0x100fbbe0
ret
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov eax, 0x100fbbe0
ret