joyce8/EMBER2024-capa huggingface dataset:
Function at 0x11006
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
lea eax, [ebp - 4]
push eax
xor ebx, ebx
push ebx
push eax
push 0xb
mov dword [ebp - 0xc], ebx
call edi
push dword [ebp - 4]
push 1
call dword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov esi, eax
cmp esi, ebx
jne 0x1103b
xor eax, eax
jmp 0x110aa
push ebx
push dword [ebp - 4]
push esi
push 0xb
call edi
test eax, eax
jl 0x11037
cmp dword [ebp + 0xc], 1
jne 0x11053
mov eax, dword [esi + 0xc]
jmp 0x1109b
xor edi, edi
cmp dword [esi], ebx
jbe 0x1109e
lea eax, [esi + 0x1e]
mov dword [ebp + 0xc], ebx
mov dword [ebp - 8], eax
mov ebx, 0x11c
mov eax, dword [ebp - 8]
movzx eax, word [eax]
add eax, dword [ebp + 0xc]
push dword [ebp + 8]
lea eax, [eax + esi + 0x20]
push eax
call dword [sym.imp.ntoskrnl.exe__stricmp]
pop ecx
pop ecx
test eax, eax
je 0x11091
add dword [ebp + 0xc], ebx
add dword [ebp - 8], ebx
inc edi
cmp edi, dword [esi]
jb 0x11067
jmp 0x1109e
imul edi, edi, 0x11c
mov eax, dword [edi + esi + 0xc]
mov dword [ebp - 0xc], eax
push 0
push esi
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x1403e
Capabilities:
Create device object

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
call fcn.00014005
pop ebp
jmp fcn.00011346
Function at 0x4035df
Capabilities:
Terminate process

Disassembly:
jmp 0x45e664
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x45e675
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.004058c1
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x403706
Capabilities:
Query environment variable

Disassembly:
jmp 0x4a70f1
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x4a7102
pop esi
ret
push ebx
push edi
push esi
call fcn.004a6fd8
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00403fa8
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4a712a
push ebx
push esi
push edi
call fcn.004056af
add esp, 0xc
push 0
call fcn.004061e0
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x405772
Capabilities:
Parse pe header

Disassembly:
jmp 0x44d865
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x44d8a4
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x44d8a4
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x44d8a4
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x44d8a4
cmp dword [ecx + 0x74], 0xe
jbe 0x44d8a4
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x44b53e
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
call fcn.0040376a
mov eax, dword [eax + 0x14]
test eax, eax
je 0x44b581
and dword [ebp - 4], 0
lea ecx, [ebp - 4]
push 2
push ecx
push 0x22
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx eax, word [ebp - 4]
sub eax, 0x30
je 0x44b581
sub eax, 1
je 0x44b57c
sub eax, 1
je 0x44b578
xor eax, eax
leave
ret
push 3
jmp 0x44b583
xor eax, eax
inc eax
leave
ret
push 2
pop eax
leave
ret

Function at 0x491eca
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x491f09
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x491f09
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x491f09
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x491f09
cmp dword [ecx + 0x74], 0xe
jbe 0x491f09
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x4a0f83
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00401d7f
mov eax, dword [0x4d7040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.00405e0c
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x4a0fc5
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x4a1121
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00405f56
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x4da978]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.00403274
mov ecx, dword [esi*4 + 0x4da978]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x4a111a
cmp eax, dword [ecx + edi + 0x24]
jne 0x4a111a
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4a111a
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00403274
add esp, 0x14
test edx, edx
jl 0x4a111a
jg 0x4a1090
test eax, eax
jb 0x4a111a
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x4a111a
jl 0x4a10aa
cmp dword [ebp - 0x1008], eax
ja 0x4a111a
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x4a10c8
test ebx, ebx
je 0x4a1101
cmp ecx, edi
jae 0x4a1101
mov al, byte [ecx]
cmp al, 0xd
jne 0x4a10e2
lea eax, [edi - 1]
cmp ecx, eax
jae 0x4a10ee
cmp byte [ecx + 1], 0xa
jne 0x4a10ee
inc ecx
jmp 0x4a10ee
movzx eax, al
movsx eax, byte [eax + 0x4d7398]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x4a10c8
cmp edx, ebx
jne 0x4a10c8
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x4a111f
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00403058
leave
ret
Function at 0x4a1860
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x4da978]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4a18a0
cmp byte [ebx], 0xa
jne 0x4a18a0
or byte [edi + eax + 0x28], 4
jmp 0x4a18a5
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x4a19a4
mov dl, byte [eax]
cmp dl, 0x1a
je 0x4a1987
inc eax
cmp dl, 0xd
je 0x4a18d1
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x4a18f7
cmp eax, ecx
jae 0x4a1905
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x4a18b9
jmp 0x4a19a4
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4a1982
cmp dword [ebp - 0x10], 0
je 0x4a1982
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x4da978]
test byte [eax + edi + 0x28], 0x48
je 0x4a195c
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x4a1947
mov byte [esi], dl
jmp 0x4a1958
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x4da978]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x4a19a4
cmp byte [ebp - 1], 0xa
jne 0x4a196b
cmp esi, ebx
jne 0x4a196b
mov byte [esi], 0xa
jmp 0x4a19a3
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00401915
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x4a19a4
mov byte [esi], 0xd
jmp 0x4a19a3
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x4da978]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4a19a1
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4a19a4
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4a1a00
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x4da978]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4a1a46
cmp word [ebx], dx
jne 0x4a1a46
or byte [eax + edi + 0x28], 4
jmp 0x4a1a4b
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x4a1bae
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x4a1b8e
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x4a1a8c
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x4a1ac2
cmp eax, edx
jae 0x4a1ad0
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x4a1a67
jmp 0x4a1bae
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4a1b89
cmp dword [ebp - 0x18], 0
je 0x4a1b89
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x4da978]
test byte [eax + edi + 0x28], 0x48
je 0x4a1b5f
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x4a1b23
mov word [esi], cx
jmp 0x4a1b5a
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x4da978]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x4da978]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x4da978]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x4a1bae
pop eax
cmp word [ebp - 4], ax
jne 0x4a1b6f
cmp esi, ebx
jne 0x4a1b6f
mov word [esi], ax
jmp 0x4a1bab
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00401915
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x4a1bae
push 0xd
pop eax
jmp 0x4a1b6a
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x4da978]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x4a1ba8
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x4a1bae
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4a56a7
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x4d7040]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x4a56f2
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.004a5b5f
test al, al
jne 0x4a56ec
sub edx, 2
cmp edx, edi
jne 0x4a56d2
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x4a5714
lea eax, [edi + 2]
cmp edx, eax
je 0x4a5714
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.004a52a0
add esp, 0x10
jmp 0x4a580e
push esi
lea ecx, [ebp - 0x255]
call fcn.004a5b5f
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4a5757
push dword [ebp - 0x25c]
jmp 0x4a5704
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x4a5794
cmp word [ebp - 0x226], 0
je 0x4a57b5
cmp word [ebp - 0x226], ax
jne 0x4a5794
cmp word [ebp - 0x224], 0
je 0x4a57b5
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.004a52a0
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x4a5801
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x4a576e
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x4a57e9
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x4a580e
push 0x4a4c88
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00405515
add esp, 0x10
jmp 0x4a57de
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403058
leave
ret

Function at 0x4ab170
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.004042c8
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4ab1df
cmp esi, dword [ebp - 4]
je 0x4ab1da
cmp dword [ebp + 0xc], 0
je 0x4ab1da
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4ab1b7
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.004aab98
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x4ab1e1
xor eax, eax
inc eax
jmp 0x4ab1e1
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x414130
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x41002e
lea edi, [esi - 0xf02e]
push edi
or ebp, 0xffffffff
jmp 0x414152
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x414159
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x414148
mov eax, 1
add ebx, ebx
jne 0x41416b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x414160
jne 0x41417c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x414160
xor ecx, ecx
sub eax, 3
jb 0x414190
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x414202
mov ebp, eax
add ebx, ebx
jne 0x41419b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4141a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4141cc
inc ecx
add ebx, ebx
jne 0x4141b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4141ad
jne 0x4141c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4141ad
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4141ec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4141dd
jmp 0x41414e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4141ec
add edi, ecx
jmp 0x41414e
pop esi
mov edi, esi
mov ecx, 0x30e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41420a
cmp byte [edi], 0
jne 0x41420a
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 eax, ebx
loop 0x41420f
lea edi, [esi + 0x12000]
mov eax, dword [edi]
or eax, eax
je 0x41427e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x150a4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1511c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41423c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x15120]
or eax, eax
je 0x414278
mov dword [ebx], eax
add ebx, 4
jmp 0x414259
call dword [esi + 0x15124]
popal
jmp section.UPX0
Function at 0x10022bd
Capabilities:
Persist via run registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x348
mov eax, dword [0x100c2c4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
cmp byte [0x100c600], bl
je 0x10023da
lea eax, [ebp - 0x344]
push eax
push 0x2001f
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
push 0x80000002
call dword [fcn.01001024]
test eax, eax
jne 0x10023da
push esi
lea eax, [ebp - 0x348]
push eax
lea eax, [ebp - 0x340]
push eax
push ebx
push ebx
mov esi, 0x100c600
push esi
push dword [ebp - 0x344]
mov dword [ebp - 0x348], 0x238
call dword [fcn.01001028]
test eax, eax
jne 0x10023cd
push 0x103
lea eax, [ebp - 0x107]
push ebx
push eax
mov byte [ebp - 0x108], bl
call fcn.01006b66
add esp, 0xc
push 0x104
lea eax, [ebp - 0x108]
push eax
call dword [fcn.01001080]
test eax, eax
je 0x1002382
push 0x10012f1
push 0x104
lea eax, [ebp - 0x108]
push eax
call fcn.01007610
push 0x100d2a4
lea eax, [ebp - 0x108]
push eax
push str.rundll32.exe__sadvpack.dll_DelNodeRunDLL32___s_
lea eax, [ebp - 0x340]
push 0x238
push eax
call fcn.01001f71
add esp, 0x14
lea eax, [ebp - 0x340]
push eax
call dword [fcn.0100105c]
inc eax
push eax
lea eax, [ebp - 0x340]
push eax
push 1
push ebx
push esi
push dword [ebp - 0x344]
call dword [fcn.01001030]
push dword [ebp - 0x344]
call dword [fcn.0100101c]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.01006b51
leave
ret

Function at 0x53c28f
Capabilities:
Encode data using xor

Disassembly:
mov byte [esp], 0x56
mov word [esp], bp
lea esp, [esp + 0x10]
jne fcn.00540b81
movzx cx, dl
neg ecx
bsr cx, di
mov ecx, edi
bts si, cx
xor esi, ebx
inc esi
test ebx, ecx
sub ecx, ebx
clc
mov esi, esp
stc
push esi
sub edi, 4
push 0x846ae9a4
bt esp, 3
bt ax, dx
push dword [edi]
pop dword [esp + 4]
test ah, 4
clc
bt di, 4
cmp edi, ebx
call fcn.00679153
add ebp, ebx
and edi, dword [esi]
xor eax, 0x65fc01da
xor esp, dword [ebx - 0x4113e301]
mov ah, 0x8b
inc ecx
stc
call [esp + ebp*8]
mov esi, 0xf9418bb4
dec ebp
jno 0x53c35a
sar dword [ebx], 1
xchg esp, eax
pop esp
arpl word [ecx], sp
and ebx, edi
out 0x77, al
aaa
sub eax, 0xd1b1e91d
in eax, dx
cdq
cmp ebx, dword [ecx + eax*2 + 0x55697591]
jne 0x53c2ee
fyl2xp1
stc
pop ecx
bound ecx, qword [esi]
xor ebp, dword [ecx]
sub eax, 0x8090a230
daa
imul edi, dword [ebx - 0x24], 0xffffffc1
jno 0x53c314
shr byte [eax + edx*4 + 0x3b185a77], 1
lodsd eax, dword [esi]
wait
or ebp, eax
sbb byte [ebx], bl
xlatb
imul byte [eax - 0x49a0267]
dec esi
pop ecx
pop ss
sbb esp, dword [eax - 0x34]
xor ecx, dword [esi]
aam 0xc4
jp 0x53c3b8
inc esp
push es
mov dh, 0x99
imul ecx, dword [ebp - 0x3f], 0xffffff81
inc edx
xchg esi, eax
or dword [esi + 0x6090544e], 0xffffffbc
sbb eax, 0xd3053be1
movsd dword es:[edi], dword [esi]
jns 0x53c34e
rol dword [ecx - 0x717c69be], 0x4e
push esp
nop
pushal
mov esp, 0x53be11d
shl dword [ebp + 0x760bed79], cl
cli
loope 0x53c397
add eax, 0xed79a5d3
or esi, dword [esi - 6]
test al, 0xf4
invalid
push 0x58
xor bl, dh
ljmp 0x7416
int 0xad
mov cl, 0x24
sub bl, al
std
bound esp, qword cs:[esi + 0x10]
les ebx, [esp + eax]
invalid
Function at 0x50002da0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ebx, dword [eax + 0xc]
lea esi, [eax + 0xc]

Function at 0x50003bf0
Capabilities:
Read file via mapping

Disassembly:
push ebx
push esi
call fcn.50003bbc
push str.LocalFastMM_PID_________
push 0
push 4
call sub.kernel32.dll_OpenFileMappingA
mov ebx, eax
test ebx, ebx
jne 0x50003c0f
xor esi, esi
jmp 0x50003c2b
push 0
push 0
push 0
push 4
push ebx
call sub.kernel32.dll_MapViewOfFile
mov esi, dword [eax]
push eax
call sub.kernel32.dll_UnmapViewOfFile
push ebx
call sub.kernel32.dll_CloseHandle
mov eax, esi
pop esi
pop ebx
ret

Function at 0x50003c94
Capabilities:
Read file via mapping

Disassembly:
call sym.rtl120.bpl__System_IsMemoryManagerSet_qqrv
test al, al
jne 0x50003cee
cmp dword [0x500a6af8], 0
jne 0x50003cee
call fcn.50003bf0
test eax, eax
jne 0x50003ceb
push str.LocalFastMM_PID_________
push 4
push 0
push 4
push 0
push 0xffffffffffffffff
call sub.kernel32.dll_CreateFileMappingA
mov dword [0x500a6af8], eax
push 0
push 0
push 0
push 2
mov eax, dword [0x500a6af8]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [eax], sym.rtl120.bpl__System_SysGetMem_qqri
push eax
call sub.kernel32.dll_UnmapViewOfFile
mov al, 1
jmp 0x50003cf0
xor eax, eax
ret
xor eax, eax
ret

Function at 0x500042f0
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebx
push esi
add esp, 0xfffffdf0
mov esi, edx
mov ebx, eax
test bl, bl
je 0x5000432c
movzx eax, bl
add eax, 0x41
dec eax
mov byte [esp], al
mov byte [esp + 1], 0x3a
mov byte [esp + 2], 0
lea eax, [esp + 0x109]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
push esp
call sub.kernel32.dll_SetCurrentDirectoryA
lea eax, [esp + 4]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
test bl, bl
je 0x5000434c
lea eax, [esp + 0x109]
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
mov eax, esi
lea edx, [esp + 4]
mov ecx, 0x105
push 0
call sym.rtl120.bpl__System__LStrFromArray_qqrr27System__AnsiStringT_us_i0__pcius
add esp, 0x210
pop esi
pop ebx
ret

Function at 0x50004368
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebx
push esi
add esp, 0xfffffbe4
mov esi, edx
mov ebx, eax
test bl, bl
je 0x500043a9
movzx eax, bl
add eax, 0x41
dec eax
mov word [esp], ax
mov word [esp + 2], 0x3a
mov word [esp + 4], 0
lea eax, [esp + 0x212]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryW
push esp
call sub.kernel32.dll_SetCurrentDirectoryW
lea eax, [esp + 8]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryW
test bl, bl
je 0x500043c9
lea eax, [esp + 0x212]
push eax
call sub.kernel32.dll_SetCurrentDirectoryW
mov eax, esi
lea edx, [esp + 8]
mov ecx, 0x105
call sym.rtl120.bpl__System__WStrFromWArray_qqrr17System_WideStringpbi
add esp, 0x41c
pop esi
pop ebx
ret