joyce8/EMBER2024-capa huggingface dataset:
Function at 0x498af9
Capabilities:
Encode data using xor

Disassembly:
jg 0x498a87
or al, 0x9f
cmc
cmp dl, byte [ebx + 0x20db60d2]
invalid

Function at 0x49ff98
Capabilities:
Encode data using xor

Disassembly:
dec eax
jl 0x4a0003
push 0x2c201cf0
inc ecx
lodsb al, byte [esi]
inc ebp
aam 0x65
call 0xeee5d852
sub edx, dword [esi]
mov ecx, 0x68de411c
sbb al, 0xd4
popal
fmulp st(3)
sbb dword [edi + 9], edi
mov bl, byte [eax - 0x17]
push ebp
pop ecx
mov dh, 0xf2
dec ebx
jg 0x4a0017
and byte [edi - 0x35], dl
cwde
shr cl, 1
mov edi, 0x3c3e37be
cmpsb byte [esi], byte es:[edi]
mov ebp, 0x73f3110b
popal
mov dword [eax - 0x30], ebx
in al, dx
push 0x36
inc ecx
enter 0x2cab, 0x4b
retf
mov dh, 0x70
xor byte [ebx - 0x235dc339], 0xc8
mov bl, 0xc7
cmp al, 0xa2
fmul st(0), st(0)
lodsd eax, dword [esi]
inc edx
push esi
wait
clc
les ecx, [eax + 8]
jl 0x4a0000
push cs
sbb dword [edx - 0x11], esp
out dx, eax
pause
imul dword [edx]
insb byte es:[edi], dx
invalid
Function at 0x4ab7d4
Capabilities:
Encode data using xor

Disassembly:
stc
fst qword [eax + 0x725db676]
movsd dword es:[edi], dword [esi]
xchg ebx, eax
pop esi
cmp esp, edx
cmp ch, byte [ecx - 0x55949666]
mov eax, 0xf906874f
daa
mov ebx, 0xea35be1b
popfd
lodsd eax, dword [esi]
mov ebx, 0x4ca2d6a8
test al, 0xd6
mov byte [0x9e96de4c], al
xchg ebx, eax
and dword [edi], ecx
stc
rcr dword [ecx - 0x59a39e64], cl
loopne 0x4ab843
popfd
mov dword [edx], esp
sub ecx, 0x9df3196b
adc dword [0x5caf0bee], ebx
mov esi, dword [ebp + edi*8 + 0x41]
invalid
lodsd eax, dword [esi]
frstor dword [esp + edi*2]
retf 0xa9eb
jl 0x4ab81e
push 0x97dda848
invalid

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
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 + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130
Function at 0x4027b0
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov esi, edx
mov ebx, eax
test ebx, ebx
jne 0x4027df
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403374
jmp 0x4027fd
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, esi
mov eax, edi
call fcn.004026e0
mov edi, eax
test ebx, ebx
je 0x4027fd
cmp dword [esi], 0
je 0x4027fd
dec ebx
jmp 0x4027e6
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x402898
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
imul edx, dword [0x40c02c], 0x8088405
inc edx
mov dword [0x40c02c], edx
mul edx
mov eax, edx
ret

Function at 0x403f50
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, edx
mov edx, dword [ebx + 4]
sub edx, 0xd7b1
cmp edx, 2
ja 0x403fac
push ecx
push 0
mov eax, esp
push 0
push eax
mov eax, dword [ebx + 8]
mul ecx
push eax
push esi
push dword [ebx]
call sub.kernel32.dll_ReadFile
dec eax
pop eax
pop ecx
jne 0x403f9e
xor edx, edx
div dword [ebx + 8]
mov edx, dword [esp + 0xc]
test edx, edx
je 0x403f93
mov dword [edx], eax
pop esi
pop ebx
ret 4
cmp eax, ecx
je 0x403f8e
mov eax, 0x64
jmp 0x403fa3
call sub.kernel32.dll_GetLastError
call fcn.00402684
xor eax, eax
jmp 0x403f8e
mov eax, 0x67
jmp 0x403fa3

Function at 0x404024
Capabilities:
Delete file

Disassembly:
mov edx, dword [eax + 4]
sub edx, 0xd7b0
cmp edx, 3
ja 0x40404b
lea eax, [eax + 0x48]
push eax
call sub.kernel32.dll_DeleteFileA
dec eax
jne 0x40403f
ret
call sub.kernel32.dll_GetLastError
call fcn.00402684
jmp 0x40403e
mov eax, 0x66
jmp 0x404044

Function at 0x404054
Capabilities:
Get file size

Disassembly:
push ebx
mov ebx, eax
mov edx, dword [ebx + 4]
sub edx, 0xd7b1
cmp edx, 2
ja 0x404084
push 0
push dword [ebx]
call sub.kernel32.dll_GetFileSize
cmp eax, 0xffffffff
je 0x40407a
xor edx, edx
div dword [ebx + 8]
pop ebx
ret
call fcn.00402694
or eax, 0xffffffff
jmp 0x404078
mov eax, 0x67
call fcn.00402684
or eax, 0xffffffff
jmp 0x404078

Function at 0x405afc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push 0x100
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x405b35
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403374
jmp 0x405b3e
mov eax, ebx
mov edx, esi
call fcn.00403328
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x405b48
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x405b69
mov al, byte [esp]
jmp 0x405b6b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x406f10
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x406f95
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x406f78
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.00407060
mov eax, dword [ebp - 0xc]
call fcn.004035cc
push eax
call sub.kernel32.dll_GetFileAttributesA
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406f7f
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x407170
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov edx, ebx
mov eax, esp
call fcn.00405684
add esp, 0x104
pop ebx
ret

Function at 0x4072c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
xor ebx, ebx
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 8]
push eax
push 0
push edi
push esi
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
jne 0x40733f
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0xc]
je 0x4072f9
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 8]
jne 0x40733f
cmp dword [ebp - 0xc], 2
jge 0x40730b
mov eax, dword [ebp - 4]
call fcn.00403294
mov bl, 1
jmp 0x40733f
mov edx, dword [ebp - 0xc]
dec edx
mov eax, dword [ebp - 4]
call fcn.004036f0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004035d8
push eax
push 0
push 0
push edi
push esi
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
jne 0x407337
mov bl, 1
jmp 0x40733f
mov eax, dword [ebp - 4]
call fcn.00403294
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x407358
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov esi, edx
mov edi, eax
push 0
push 0
push 0
push 0
push esi
push edi
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
sete bl
test bl, bl
je 0x4073c0
test esi, esi
je 0x407383
cmp byte [esi], 0
jne 0x4073c0
xor ebx, ebx
xor esi, esi
mov dword [esp + 4], 2
push 0
push 0
push 0
push 0
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x14]
push eax
push esi
push edi
call sub.advapi32.dll_RegEnumValueA
test eax, eax
je 0x4073b3
cmp eax, 0xea
jne 0x4073c0
cmp byte [esp], 0
jne 0x4073bd
mov bl, 1
jmp 0x4073c0
inc esi
jmp 0x407387
mov eax, ebx
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4090f0
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffea8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x154], ebx
mov dword [ebp - 0x158], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x409258
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 0x14
mov byte [ebp - 0xd], 0
mov eax, dword [ebp - 4]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x4091ec
inc esi
xor ebx, ebx
lea eax, [ebp - 0x154]
push eax
lea ecx, [ebp - 0x158]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00408a58
mov eax, dword [ebp - 0x158]
push eax
mov eax, edi
call fcn.00403408
mov ecx, eax
inc ecx
mov edx, 1
pop eax
call fcn.0040360c
mov eax, dword [ebp - 0x154]
push eax
mov edx, edi
lea eax, [ebp - 0x158]
call fcn.00403328
lea eax, [ebp - 0x158]
mov edx, 0x409270
call fcn.00403410
mov edx, dword [ebp - 0x158]
pop eax
call fcn.00403518
jne 0x4091e4
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0x154]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00408a58
mov eax, dword [ebp - 0x154]
call fcn.004035cc
push eax
call sub.kernel32.dll_FindFirstFileA
cmp eax, 0xffffffff
je 0x4091e4
push eax
call sub.kernel32.dll_FindClose
test byte [ebp - 0x150], 0x10
je 0x4091e4
mov byte [ebp - 0xd], 1
jmp 0x4091ec
inc ebx
dec esi
jne 0x40913d
cmp byte [ebp - 0xd], 0
je 0x409205
push 0xfa
call sub.kernel32.dll_Sleep
dec dword [ebp - 0xc]
jne 0x409127
mov eax, edi
call fcn.004035cc
push eax
call sub.kernel32.dll_RemoveDirectoryA
mov ebx, eax
neg ebx
sbb ebx, ebx
neg ebx
test bl, bl
je 0x40922a
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.004089c0
jmp 0x40923a
cmp dword [ebp - 8], 0
je 0x40923a
mov edx, edi
mov eax, dword [ebp - 8]
call fcn.004089c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40925f
lea eax, [ebp - 0x158]
mov edx, 2
call fcn.004032b4
ret

Function at 0x4093cc
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
mov byte [ebp - 0x100], 0
cmp byte [edx], 0
je 0x4093fa
push edx
push 0x100
lea edx, [ebp - 0x100]
push edx
push 0
push 0
push eax
call sub.kernel32.dll_GetPrivateProfileStringA
jmp 0x409410
push 0x100
lea edx, [ebp - 0x100]
push edx
push 0
push 0
push eax
call sub.kernel32.dll_GetProfileStringA
cmp byte [ebp - 0x100], 0
sete al
mov esp, ebp
pop ebp
ret
Function at 0x1a14058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1a141a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1a1407e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1a1406a
add dl, dl
jne 0x1a14089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1a140dc
xor eax, eax
add dl, dl
jne 0x1a14096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1a1417d
add dl, dl
jne 0x1a140a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1a140b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1a140bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1a140c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x1a140d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1a14075
mov eax, 1
add dl, dl
jne 0x1a140ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1a140f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1a140e1
sub eax, ebx
mov ebx, 1
jne 0x1a14128
mov ecx, 1
add dl, dl
jne 0x1a1410e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1a14119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1a14105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1a14075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1a1413f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1a1414a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1a14136
cmp eax, 0x7d00
jae 0x1a1416d
cmp eax, 0x500
jb 0x1a14168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1a14075
cmp eax, 0x7f
ja 0x1a14170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1a14075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1a1419e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x1a14075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x409e21
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x585820
cmp edx, dword [eax]
je 0x409e43
add eax, 8
inc ecx
cmp eax, 0x5858b0
jl 0x409e34
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x585820]
jne 0x409f71
mov eax, dword [0x586284]
cmp eax, 1
je 0x409f4b
test eax, eax
jne 0x409e74
cmp dword [0x5852a8], 1
je 0x409f4b
cmp edx, 0xfc
je 0x409f71
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x409eab
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0040b630
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00408d10
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x409eee
lea eax, [ebp - 0x1a4]
push eax
call fcn.00408d10
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40e624
push edi
call fcn.004079b0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0040b630
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0040b640
lea eax, [ebp - 0xa0]
push 0x40e604
push eax
call fcn.0040b640
push dword [esi + 0x585824]
lea eax, [ebp - 0xa0]
push eax
call fcn.0040b640
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040c700
add esp, 0x2c
pop edi
jmp 0x409f71
lea eax, [ebp + 8]
lea esi, [esi + 0x585824]
push 0
push eax
push dword [esi]
call fcn.00408d10
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x710c98
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x7109ec
sub edx, 0xafb6a0f4
call fcn.00710cca
and eax, eax
mov eax, edx
inc eax
xor dword [esi], edi
inc edx
add esi, 1
and edx, eax
add eax, 0x361ead6
inc edx
cmp esi, ebx
jne fcn.00710c98
dec eax
inc edx
and edx, eax
ret

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

Disassembly:
pushal
call 0x43000c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
nop
nop
mov ebx, dword [eax]
nop
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
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x416aba
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push 0x228
mov eax, 0x546239
call fcn.005284dc
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x224], edi
mov dword [ebp - 0x234], edi
call fcn.00416a43
mov dword [ebp - 0x22c], eax
test eax, eax
je 0x416b0e
lea eax, [ebp - 0x22c]
mov ecx, esi
push eax
call fcn.00416a52
test eax, eax
je 0x416b06
mov edx, dword [eax]
mov ecx, eax
push edi
push edi
push 0xfffffffffffffffc
push edi
call dword [edx + 0xc]
cmp dword [ebp - 0x22c], edi
jne 0x416ae8
cmp dword [esi + 0x58], edi
je 0x416c29
xor eax, eax
cmp dword [esi + 0x6c], edi
setne al
test eax, eax
jne 0x416b28
call fcn.0040adb0
push str.Software_
lea ecx, [ebp - 0x220]
call fcn.00402650
push dword [esi + 0x58]
lea ecx, [ebp - 0x220]
mov dword [ebp - 4], edi
call fcn.0040a6d1
push 0x585538
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.0041675a
push dword [esi + 0x6c]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x228]
push eax
call fcn.0041675a
add esp, 0x18
mov ecx, dword [ebp - 0x230]
mov byte [ebp - 4], 3
lea ecx, [ecx - 0x10]
call fcn.004029b0
push edi
lea eax, [ebp - 0x228]
mov esi, SysReAllocString
push eax
push esi
call fcn.0041681d
lea eax, [ebp - 0x224]
push eax
push 8
push edi
push dword [ebp - 0x220]
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x416bf2
push 0x104
lea eax, [ebp - 0x21c]
push eax
push edi
push dword [ebp - 0x224]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
cmp eax, 0x103
jne 0x416be6
push edi
lea eax, [ebp - 0x220]
push eax
push esi
call fcn.0041681d
push dword [ebp - 0x224]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x228]
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov ecx, dword [ebp - 0x228]
add ecx, 0xfffffff0
call fcn.004029b0
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
call fcn.004029b0
xor eax, eax
inc eax
call fcn.00528486
ret
Function at 0x423668
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x438
mov eax, 0x546af1
call fcn.005284dc
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x42c], ebx
call fcn.00412ce5
push ebx
mov ecx, dword [eax + 4]
call fcn.00414a55
mov esi, eax
mov dword [ebp - 0x440], ebx
mov dword [ebp - 0x444], esi
mov dword [ebp - 0x43c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x438], ebx
mov dword [ebp - 0x434], ebx
mov dword [ebp - 0x430], ebx
mov eax, dword [edi]
lea ecx, [ebp - 0x424]
push ecx
mov ecx, edi
mov byte [ebp - 4], 1
call dword [eax + 0x20]
push 0x2001f
lea ecx, [ebp - 0x438]
push dword [eax]
push esi
call fcn.004232af
mov ecx, dword [ebp - 0x424]
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [ecx - 0x10]
call fcn.004029b0
add bl, 1
je 0x42380a
xor ebx, ebx
lea eax, [ebp - 0x218]
push 0x208
push ebx
push eax
mov esi, ebx
call fcn.0052b0c0
add esp, 0xc
mov dword [ebp - 0x424], 0x104
lea eax, [ebp - 0x424]
push ebx
push ebx
push ebx
push ebx
push eax
lea eax, [ebp - 0x218]
push eax
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
jmp 0x4237c6
push 0x208
lea eax, [ebp - 0x420]
mov dword [ebp - 0x424], 0x104
push 0
push eax
inc esi
call fcn.0052b0c0
add esp, 0xc
mov dword [ebp - 0x428], 0x104
lea eax, [ebp - 0x428]
lea ecx, [ebp - 0x438]
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004235f5
test eax, eax
jne 0x4237b1
lea eax, [ebp - 0x218]
push eax
lea ecx, [edi + 4]
call fcn.004223ef
lea ecx, [ebp - 0x420]
push ecx
mov ecx, eax
call fcn.00402610
mov dword [ebp - 0x42c], 1
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x218]
push eax
push esi
push dword [ebp - 0x438]
call ebx
test eax, eax
je 0x42373b
lea ecx, [ebp - 0x438]
call fcn.00414a3b
mov eax, dword [edi]
lea ecx, [ebp - 0x428]
push ecx
mov ecx, edi
call dword [eax + 0x20]
lea ecx, [ebp - 0x444]
push dword [eax]
call fcn.00422b12
mov ecx, dword [ebp - 0x428]
add ecx, 0xfffffff0
call fcn.004029b0
lea ecx, [ebp - 0x438]
call fcn.00414a3b
lea ecx, [ebp - 0x444]
call fcn.00414a3b
mov eax, dword [ebp - 0x42c]
call fcn.00528486
ret
Function at 0x428267
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xddc
mov eax, dword [0x5a5ff4]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
test edx, edx
je 0x42848c
test esi, esi
je 0x42848c
mov eax, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 0x874], ebx
mov dword [ebp - 0x870], ebx
mov dword [ebp - 0x86c], ebx
mov dword [ebp - 0x868], ebx
mov dword [ebp - 0x864], ebx
mov dword [ebp - 0x860], ebx
mov dword [ebp - 0x644], ebx
mov dword [ebp - 0x640], ebx
mov dword [ebp - 0x63c], ebx
mov dword [ebp - 0x638], ebx
mov dword [ebp - 0x634], ebx
mov dword [ebp - 0x630], ebx
sub eax, ebx
je 0x42845d
sub eax, 1
je 0x4282ff
sub eax, 1
je 0x4283c5
sub eax, 1
jne 0x428477
mov edi, dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea eax, [ebp - 0x20c]
push eax
push dword [edx + 4]
call edi
test eax, eax
je 0x428458
push ebx
lea eax, [ebp - 0x874]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00424fc3
test eax, eax
je 0x428458
lea eax, [ebp - 0x414]
push eax
push dword [esi + 4]
call edi
test eax, eax
je 0x4283bd
push ebx
lea eax, [ebp - 0x644]
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.00424fc3
test eax, eax
je 0x4283bd
cmp dword [ebp + 0x10], 1
jne 0x42841d
test byte [ebp - 0x854], 0x10
jne 0x428458
test byte [ebp - 0x624], 0x10
jne 0x4283bd
mov ecx, dword [ebp - 0x628]
mov eax, dword [ebp - 0x62c]
cmp dword [ebp - 0x858], ecx
ja 0x4283bd
jb 0x428458
cmp dword [ebp - 0x85c], eax
jb 0x428458
cmp dword [ebp - 0x858], ecx
jb 0x428477
ja 0x4283bd
cmp dword [ebp - 0x85c], eax
jbe 0x428477
xor ebx, ebx
inc ebx
jmp 0x428477
mov edi, dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
lea eax, [ebp - 0xddc]
push 0x408
push 0x2b4
push eax
push ebx
push dword [edx + 4]
call edi
test eax, eax
je 0x428477
push 0x408
push 0x2b4
lea eax, [ebp - 0xb28]
push eax
push ebx
push dword [esi + 4]
call edi
test eax, eax
je 0x428477
lea eax, [ebp - 0x914]
push eax
lea eax, [ebp - 0xbc8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov ebx, eax
jmp 0x428477
push dword [ebp - 0x638]
lea ecx, [ebp - 0x86c]
push dword [ebp - 0x63c]
call fcn.00427977
test al, al
jne 0x428458
push dword [ebp - 0x638]
lea ecx, [ebp - 0x86c]
push dword [ebp - 0x63c]
call fcn.00427996
xor ebx, ebx
test al, al
setne bl
jmp 0x428477
or ebx, 0xffffffff
jmp 0x428477
push dword [esi + 8]
mov eax, dword [edx]
push dword [edx + 8]
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
test eax, eax
jns 0x428474
xor eax, eax
jmp 0x428479
movsx ebx, ax
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00527f88
mov esp, ebp
pop ebp
ret 0xc
call fcn.0040adb0
int3