joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44fe25
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x44fec0
call fcn.004311f8
sub esp, 4
xor eax, eax
mov dword [ebp - 4], eax
push esi
mov dword [ebp - 0x10], ecx
mov dword [ecx], vtable.CNoTrackObject.0
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov esi, ecx
push 0xa
lea ecx, [esi + 0x30]
call fcn.004419ff
lea ecx, [esi + 0x4c]
push 0xa
mov byte [ebp - 4], 1
call fcn.004419ff
lea ecx, [esi + 0x68]
push 0xa
mov byte [ebp - 4], 2
call fcn.004411e5
mov byte [ebp - 4], 3
mov eax, esi
mov dword [esi], vtable.AFX_MODULE_THREAD_STATE.0
mov dword [esi + 0xc], 0x54
mov dword [esi + 0x28], 0x442676
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x451369
Capabilities:
Allocate thread local storage

Disassembly:
push esi
xor eax, eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 4], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x18], 4
mov dword [ecx + 8], 1
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x45139a
call fcn.004400c4
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, esi
pop esi
ret

Function at 0x451513
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov eax, 0x4515b8
call fcn.004311f8
sub esp, 4
push ebx
push esi
push edi
mov edi, ecx
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
je 0x45154d
mov edx, dword [ebp + 8]
cmp dword [ebx + 8], edx
jg 0x451612
cmp dword [ebp + 0xc], 0
je 0x451612
test ebx, ebx
jne 0x45159e
push 0x10
call fcn.00451339
mov dword [ebp - 0x10], eax
mov esi, eax
mov dword [ebp - 4], 0
test esi, esi
je 0x451584
mov ebx, esi
mov dword [esi], vtable.CNoTrackObject.0
mov byte [ebp - 4], 1
mov byte [ebp - 4], 0
mov dword [esi], vtable.CThreadData.0
jmp 0x451586
xor ebx, ebx
xor eax, eax
push ebx
mov dword [ebp - 4], 0xffffffff
lea ecx, [edi + 0x14]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
call fcn.004512d9
mov eax, dword [ebx + 0xc]
lea esi, [edi + 0xc]
test eax, eax
jne 0x4515cb
mov eax, dword [esi]
shl eax, 2
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x4515da
push 2
mov ecx, dword [esi]
shl ecx, 2
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov dword [ebx + 0xc], eax
cmp dword [ebx + 0xc], 0
jne 0x4515e8
call fcn.004400c4
mov eax, dword [ebx + 8]
mov ecx, dword [esi]
sub ecx, eax
shl ecx, 2
shl eax, 2
push ecx
push 0
add eax, dword [ebx + 0xc]
push eax
call fcn.004314e0
add esp, 0xc
mov ecx, dword [esi]
mov dword [ebx + 8], ecx
push ebx
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [ecx + edx*4], eax
mov eax, dword [ebp - 0xc]
mov dword fs:[0], eax
mov esp, ebp
pop ebp
ret 8
Function at 0x45167f
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 1
mov dword [ebp - 8], 1
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
mov edi, ecx
cmp dword [esi + 8], 1
jle 0x451700
mov dword [ebp - 0xc], 8
mov ebx, 4
cmp dword [ebp + 0xc], 0
je 0x4516d4
mov eax, dword [ebp - 0xc]
mov edx, dword [edi + 0x10]
mov ecx, dword [ebp + 0xc]
cmp dword [edx + eax + 4], ecx
je 0x4516d4
mov eax, dword [esi + 0xc]
cmp dword [eax + ebx], 0
je 0x4516ee
mov dword [ebp - 4], 0
jmp 0x4516ee
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + ebx]
test ecx, ecx
je 0x4516e4
push 1
mov eax, dword [ecx]
call dword [eax]
mov eax, dword [esi + 0xc]
mov dword [eax + ebx], 0
add ebx, 4
inc dword [ebp - 8]
add dword [ebp - 0xc], 8
mov eax, dword [ebp - 8]
cmp dword [esi + 8], eax
jg 0x4516ad
cmp dword [ebp - 4], 0
je 0x45172e
push esi
lea ecx, [edi + 0x14]
call fcn.004512ec
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_LocalFree]
test esi, esi
je 0x451724
push 1
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
push 0
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x451790
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
cmp dword [ecx], 0
mov esi, ecx
jne 0x4517ce
cmp dword [0x46f228], 0
jne 0x4517c1
mov ecx, 0x46f230
test ecx, ecx
je 0x4517b7
call fcn.00451369
mov dword [0x46f228], eax
jmp 0x4517c1
mov dword [0x46f228], 0
mov ecx, dword [0x46f228]
call fcn.004513a8
mov dword [esi], eax
mov edi, dword [esi]
mov eax, dword [0x46f228]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4517ee
cmp dword [eax + 8], edi
jle 0x4517ee
mov eax, dword [eax + 0xc]
mov edi, dword [eax + edi*4]
jmp 0x4517f0
xor edi, edi
test edi, edi
jne 0x451808
call dword [esp + 0xc]
push eax
mov edi, eax
push dword [esi]
mov ecx, dword [0x46f228]
call fcn.00451513
mov eax, edi
pop edi
pop esi
ret 4
Function at 0x4532b4
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov eax, 0x4533f1
call fcn.004311f8
sub esp, 0x114
lea ecx, [ebp - 0x10]
push ebx
push esi
push edi
xor esi, esi
call fcn.00441eff
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], esi
call fcn.00441eff
mov byte [ebp - 4], 1
mov eax, SysReAllocStringLen
mov dword [ebp - 0x18], esi
cmp dword [ebp + 0x18], eax
jne 0x4532fd
lea ecx, [ebp - 0x18]
push ecx
push str.CLSID
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov dword [ebp - 0x1c], 1
mov esi, SysReAllocStringLen
mov eax, dword [ebp + 8]
mov ebx, dword [eax]
test ebx, ebx
je 0x4533af
add dword [ebp + 8], 4
cmp dword [ebp + 0x18], esi
jne 0x453324
cmp byte [ebx], 0
je 0x453309
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
lea edi, [ebx + eax + 1]
lea eax, [ebp - 0x10]
push eax
call fcn.0044b75e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
lea eax, [ebp - 0x14]
push eax
call fcn.0044b75e
cmp dword [ebp + 0x18], esi
jne 0x45335d
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], 0
je 0x453309
cmp dword [ebp + 0x14], 0
jne 0x453385
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x20], 0x100
push eax
push ecx
push dword [ebp - 0x10]
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
je 0x453309
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push dword [ebp - 0x14]
push 1
push dword [ebp - 0x10]
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
test eax, eax
je 0x453309
mov dword [ebp - 0x1c], 0
cmp dword [ebp - 0x18], 0
je 0x4533be
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 0
call fcn.004533e9
mov dword [ebp - 4], 0xffffffff
call fcn.004533fb
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x54c0b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xf7000]
push edi
jmp 0x54c0ca
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x54c0d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x54c0c0
mov eax, 1
add ebx, ebx
jne 0x54c0e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x54c0f4
jne 0x54c113
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x54c113
dec eax
add ebx, ebx
jne 0x54c100
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x54c0d8
add ebx, ebx
jne 0x54c10f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x54c165
xor ecx, ecx
sub eax, 3
jb 0x54c12b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x54c19a
sar eax, 1
mov ebp, eax
jmp 0x54c136
add ebx, ebx
jne 0x54c136
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x54c104
inc ecx
add ebx, ebx
jne 0x54c144
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x54c104
add ebx, ebx
jne 0x54c151
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x54c146
jne 0x54c162
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x54c146
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x54c184
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x54c176
jmp 0x54c0c6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x54c184
add edi, ecx
jmp 0x54c0c6
pop esi
mov edi, esi
mov ecx, 0x3eef
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x54c1a2
cmp byte [edi], 0x11
jne 0x54c1a2
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 0x54c1a7
lea edi, [esi + 0x145000]
mov eax, dword [edi]
or eax, eax
je 0x54c21f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1c0a54]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1c0bd0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x54c1d4
mov ecx, edi
jns 0x54c203
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1c0bd4]
or eax, eax
je 0x54c219
mov dword [ebx], eax
add ebx, 4
jmp 0x54c1f1
call dword [esi + 0x1c0be4]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x54c250
cmp al, 0xef
ja 0x54c243
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x54c225
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x54c232
mov ebp, dword [esi + 0x1c0bd8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x54c284
sub esp, 0xffffff80
jmp 0x426bf7
Function at 0x4021a5
Capabilities:
Packed with generic packer

Disassembly:
test dword [eax], 0x67d42583
dec esp
add byte [eax], al
push ebp
mov ebp, esp
sub esp, 0x14
mov ecx, dword [ebp + 8]
mov eax, dword [0x4c6810]
push ebx
push esi
push edi
mov eax, dword [eax + ecx*4]
mov ecx, 0x4c67b0
push dword [ebp + 0x10]
mov ebx, dword [eax]
mov dword [ebp - 4], ebx
call fcn.004025db
push 0xf
mov esi, eax
mov byte [ebp + 0xb], 0
call dword [0x48f528]
cmp dword [ebx + 0x4c], 0xffffffff
mov edi, eax
je 0x4021e4
mov edi, dword [ebx + 0x4c]
cmp esi, 0xffffffff
je 0x43c155
mov eax, dword [0x4c6824]
mov eax, dword [eax + esi*4]
mov ebx, dword [eax]
mov ecx, dword [ebx + 0x48]
test ecx, ecx
jns 0x402267
movzx eax, byte [ebx + 0x90]
cmp eax, 0x1b
ja case.0x402211.4
movzx eax, byte [eax + 0x4022a5]
jmp dword [eax*4 + 0x402289]
mov byte [ebp + 0xb], 1
cmp byte [ebx + 0x93], 0xff
jne 0x43c091
cmp dword [ebx + 0x4c], 0xffffffff
jne 0x402284
push dword [ebp + 0x55]
push 8
call dword [0x48f528]
push eax
push dword [ebp + 0xc]
jne 0x402247
call dword [0x48f120]
cmp byte [ebp + 0xb], 0
je 0x43c155
or bl, byte [edi + 0x16a0003]
push 1
push dword [ebp + 0xc]
call dword [0x48f138]
push 5
call dword [0x48f114]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp byte [ebx + 0x90], 0x1b
je 0x4021fe
mov edi, ecx
jmp case.0x402211.8
push 5
jmp 0x43c06d
cmp ecx, 0xfffffffe
sete byte [ebp + 0xb]
jmp case.0x402211.8
push dword [ebx + 0x4c]
jmp 0x402238
mov eax, dword [edi + esi*4]
cmp dword [eax], 0
jne 0x43bff6
inc esi
cmp esi, ecx
jl 0x43bfe9
mov dword [0x4c681c], esi
jmp 0x402171
inc dword [ebx + 0x4c62b03d]
add bh, bh
jne 0x402284
invalid
jmp [edx + 0xf]
push 0xf
call dword [0x48f528]
mov edi, eax
jmp 0x40222c
test byte [eax], 0xa9
inc ebp
or byte [eax], al
or byte [edi], cl
test ch, ah
popal
cld
invalid
dec dword [edi]
test ebp, ebx
pushal
cld
inc esi
inc ebp
or eax, dword [ecx]
jmp 0x402239
Function at 0xb261b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00b26140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00b26140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00b26140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00b26140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0xb26bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0xb26c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0xb3887c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0xb26c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0xb26c52
xor eax, eax
pop esi
leave
ret 4

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

Disassembly:
pushal
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x431072
nop
mov ebx, 0x40915c
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x1f0f53e1
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x431060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4310d2
nop
nop
nop
mov ebx, 0x42f3f8
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x44576af7
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4310c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x4904a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4925b0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x5a7f20]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push 0x8f
lea eax, [ebp - 0x18]
push str.HtykH
xor ebx, ebx
push eax
xor esi, esi
mov dword [ebp - 4], ebx
call fcn.0046e370
mov ecx, dword [ebp - 0x18]
add esp, 0xc
cmp dword [ecx - 0xc], ebx
je 0x49057b
mov edi, dword [ebp + 8]
cmp ebx, 2
jge 0x49057b
lea edx, [ebp - 0x1c]
push edx
lea edx, [ebp - 0x14]
push edx
push 0
xor eax, eax
push 2
test ebx, ebx
push 0
setne al
push 0
push 0
push ecx
mov dword [ebp - 0x14], 0
add eax, 0x80000001
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x490572
mov esi, dword [ebp - 0x14]
mov ecx, esi
mov dword [ebp - 0x28], ecx
test edi, edi
jne 0x49053e
lea eax, [edi + 0xd]
jmp 0x49055e
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push edi
push 1
push 0
push 0x404118
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 0x28]
xor edx, edx
test eax, eax
sete dl
mov esi, edx
test ecx, ecx
je 0x490572
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x18]
inc ebx
jmp 0x4904f7
lea eax, [ecx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4905bb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100e1040
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x100e122d
pushal
mov esi, section.UPX1
lea edi, [esi - 0xc1000]
push edi
jmp 0x100e106a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x100e1071
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x100e1060
mov eax, 1
add ebx, ebx
jne 0x100e1083
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x100e1094
jne 0x100e10b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x100e10b3
dec eax
add ebx, ebx
jne 0x100e10a0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x100e1078
add ebx, ebx
jne 0x100e10af
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x100e1105
xor ecx, ecx
sub eax, 3
jb 0x100e10cb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x100e113a
sar eax, 1
mov ebp, eax
jmp 0x100e10d6
add ebx, ebx
jne 0x100e10d6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x100e10a4
inc ecx
add ebx, ebx
jne 0x100e10e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x100e10a4
add ebx, ebx
jne 0x100e10f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x100e10e6
jne 0x100e1102
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x100e10e6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x100e1124
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x100e1116
jmp 0x100e1066
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x100e1124
add edi, ecx
jmp 0x100e1066
pop esi
mov edi, esi
mov ecx, 0x49c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x100e1142
cmp byte [edi], 0xc
jne 0x100e1142
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 0x100e1147
lea edi, [esi + 0xde000]
mov eax, dword [edi]
or eax, eax
je 0x100e11bf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xe1000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xe108c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x100e1174
mov ecx, edi
jns 0x100e11a3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xe1090]
or eax, eax
je 0x100e11b9
mov dword [ebx], eax
add ebx, 4
jmp 0x100e1191
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x100e11f0
cmp al, 0xef
ja 0x100e11e3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x100e11c5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x100e11d2
mov ebp, dword [esi + 0xe1094]
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 0x100e1224
sub esp, 0xffffff80
jmp 0x10002fa0
Function at 0x1002073
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x464
mov eax, dword [0x1006260]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push esi
mov dword [ebp - 0x41c], ebx
call fcn.01001cdd
test eax, eax
je 0x10020a6
xor eax, eax
jmp 0x1002288
push esi
lea eax, [ebp - 0x464]
push eax
call dword [sym.imp.ntdll.dll_RtlInitUnicodeString]
push 0x60
lea eax, [ebp - 0x464]
mov dword [ebp - 0x44c], eax
push 3
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x454]
push eax
push 0x100080
lea eax, [ebp - 0x430]
push eax
mov dword [ebp - 0x454], 0x18
mov dword [ebp - 0x450], ebx
mov dword [ebp - 0x448], 0x40
mov dword [ebp - 0x444], ebx
mov dword [ebp - 0x440], ebx
call dword [sym.imp.ntdll.dll_NtOpenFile]
test eax, eax
jl 0x100215d
push 4
push 8
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x45c]
push eax
push dword [ebp - 0x430]
call dword [sym.imp.ntdll.dll_NtQueryVolumeInformationFile]
test eax, eax
jl 0x100214c
cmp dword [ebp - 0x43c], 0x28
je 0x1002142
cmp dword [ebp - 0x43c], 0x1b
jne 0x100214c
mov dword [ebp - 0x41c], 1
push dword [ebp - 0x430]
call dword [sym.imp.ntdll.dll_NtClose]
jmp 0x1002282
push 0x5c
add esi, 4
push esi
call dword [sym.imp.msvcrt.dll_wcschr]
pop ecx
pop ecx
cmp eax, ebx
je 0x1002282
inc eax
inc eax
mov dword [ebp - 0x434], eax
cmp dword [0x100628c], ebx
jne 0x1002263
lea eax, [ebp - 0x418]
push eax
push 0x20019
push ebx
push 0x100135c
push 0x80000002
call dword [sym.imp.KERNEL32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100225b
push edi
mov edi, dword [sym.imp.KERNEL32.dll_RegEnumValueW]
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x42c]
push eax
push ebx
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x414]
push eax
mov esi, 0x104
mov dword [ebp - 0x428], ebx
push ebx
jmp 0x1002236
inc dword [ebp - 0x428]
cmp dword [ebp - 0x42c], 1
jne 0x100220c
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
push 0x100628c
call fcn.01001f77
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x42c]
push eax
push ebx
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x414]
push eax
push dword [ebp - 0x428]
push dword [ebp - 0x418]
mov dword [ebp - 0x420], esi
mov dword [ebp - 0x424], esi
call edi
test eax, eax
je 0x10021e5
push dword [ebp - 0x418]
call dword [sym.imp.KERNEL32.dll_RegCloseKey]
pop edi
cmp dword [0x100628c], ebx
je 0x1002282
push dword [ebp - 0x434]
push dword [0x100628c]
call fcn.01001c96
test eax, eax
je 0x1002282
mov dword [ebp - 0x41c], 1
mov eax, dword [ebp - 0x41c]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.010043f6
leave
ret 4
Function at 0x1002400
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 0xc], 0
push ebx
mov eax, 0x800
push esi
mov esi, dword [sym.imp.msvcrt.dll_malloc]
push eax
mov ebx, eax
call esi
pop ecx
mov dword [ebp - 4], eax
test eax, eax
jne 0x1002433
push 0x64
call fcn.01002ca3
pop ecx
jmp 0x1002574
push 0x2002
call esi
pop ecx
mov dword [ebp - 8], eax
test eax, eax
jne 0x1002455
push 0x64
call fcn.01002ca3
push dword [ebp - 4]
call dword [sym.imp.msvcrt.dll_free]
pop ecx
jmp 0x100242d
push edi
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [sym.imp.msvcrt.dll_free]
mov eax, ebx
shr eax, 1
push eax
push dword [ebp - 4]
push 0
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x1002483
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x10024c0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1002558
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push dword [ebp - 4]
call edi
add ebx, ebx
push ebx
call esi
pop ecx
pop ecx
mov dword [ebp - 4], eax
test eax, eax
jne 0x1002464
push 0x64
call fcn.01002ca3
push dword [ebp - 8]
call edi
pop ecx
pop ecx
jmp 0x1002573
mov ebx, dword [ebp - 4]
cmp word [ebx], 0
mov esi, ebx
je 0x1002548
push 0x1000
push dword [ebp - 8]
push esi
call fcn.01001f00
test eax, eax
je 0x10024e9
push eax
push 0x66
call fcn.01002ca3
pop ecx
pop ecx
jmp 0x1002502
push dword [ebp - 8]
call fcn.01002073
test eax, eax
je 0x1002502
push esi
push dword [ebp - 8]
lea eax, [ebp - 0xc]
push eax
call fcn.01001f77
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x1002507
sub eax, edx
sar eax, 1
lea esi, [esi + eax*2 + 2]
cmp word [esi], cx
jne 0x10024cb
mov esi, dword [ebp - 0xc]
test esi, esi
je 0x1002548
push dword [esi]
push dword [esi + 4]
push 0x1001398
call fcn.01002da5
mov eax, esi
mov esi, dword [esi + 8]
add esp, 0xc
push eax
call fcn.01001c5e
test esi, esi
jne 0x1002525
jmp 0x1002550
push 0x6a
call fcn.01002ca3
pop ecx
push ebx
call edi
jmp 0x10024b4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x66
call fcn.01002ca3
push dword [ebp - 4]
call edi
push dword [ebp - 8]
call edi
add esp, 0x10
pop edi
pop esi
pop ebx
leave
ret