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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x499104]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x108], 0x740068
push ebx
push esi
mov word [ebp - 8], ax
lea esi, [ebp - 0x108]
mov eax, 0x49f2e8
mov dword [ebp - 0x104], 0x700074
push edi
mov dword [ebp - 0x100], 0x2f003a
mov edx, 0x81
mov dword [ebp - 0xfc], 0x73002f
sub esi, eax
mov dword [ebp - 0xf8], 0x6c002e
mov dword [ebp - 0xf4], 0x780075
mov dword [ebp - 0xf0], 0x610069
mov dword [ebp - 0xec], 0x63006f
mov dword [ebp - 0xe8], 0x650068
mov dword [ebp - 0xe4], 0x63002e
mov dword [ebp - 0xe0], 0x6d006f
mov dword [ebp - 0xdc], 0x75002f
mov dword [ebp - 0xd8], 0x73006e
mov dword [ebp - 0xd4], 0x3f0074
mov dword [ebp - 0xd0], 0x700061
mov dword [ebp - 0xcc], 0x3d0070
mov dword [ebp - 0xc8], 0x6e0075
mov dword [ebp - 0xc4], 0x740073
mov dword [ebp - 0xc0], 0x700026
mov dword [ebp - 0xbc], 0x640069
mov dword [ebp - 0xb8], 0x7b003d
mov dword [ebp - 0xb4], 0x690070
mov dword [ebp - 0xb0], 0x7d0064
mov dword [ebp - 0xac], 0x6d0026
mov dword [ebp - 0xa8], 0x640069
mov dword [ebp - 0xa4], 0x7b003d
mov dword [ebp - 0xa0], 0x69006d
mov dword [ebp - 0x9c], 0x7d0064
mov dword [ebp - 0x98], 0x6d0026
mov dword [ebp - 0x94], 0x640069
mov dword [ebp - 0x90], 0x3d0032
mov dword [ebp - 0x8c], 0x6d007b
mov dword [ebp - 0x88], 0x640069
mov dword [ebp - 0x84], 0x7d0032
mov dword [ebp - 0x80], 0x610026
mov dword [ebp - 0x7c], 0x700070
mov dword [ebp - 0x78], 0x650076
mov dword [ebp - 0x74], 0x3d0072
mov dword [ebp - 0x70], 0x61007b
mov dword [ebp - 0x6c], 0x700070
mov dword [ebp - 0x68], 0x650076
mov dword [ebp - 0x64], 0x7d0072
mov dword [ebp - 0x60], 0x6d0026
mov dword [ebp - 0x5c], 0x64006f
mov dword [ebp - 0x58], 0x650076
mov dword [ebp - 0x54], 0x3d0072
mov dword [ebp - 0x50], 0x6d007b
mov dword [ebp - 0x4c], 0x64006f
mov dword [ebp - 0x48], 0x650076
mov dword [ebp - 0x44], 0x7d0072
mov dword [ebp - 0x40], 0x740026
mov dword [ebp - 0x3c], 0x700079
mov dword [ebp - 0x38], 0x3d0065
mov dword [ebp - 0x34], 0x74007b
mov dword [ebp - 0x30], 0x700079
mov dword [ebp - 0x2c], 0x7d0065
mov dword [ebp - 0x28], 0x610026
mov dword [ebp - 0x24], 0x740063
mov dword [ebp - 0x20], 0x6f0069
mov dword [ebp - 0x1c], 0x3d006e
mov dword [ebp - 0x18], 0x61007b
mov dword [ebp - 0x14], 0x740063
mov dword [ebp - 0x10], 0x6f0069
mov dword [ebp - 0xc], 0x7d006e
lea ecx, [edx + 0x7fffff7d]
test ecx, ecx
je 0x415f82
movzx ecx, word [esi + eax]
test cx, cx
je 0x415f82
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x415f64
test edx, edx
lea ecx, [eax - 2]
pop edi
cmovne ecx, eax
xor eax, eax
pop esi
pop ebx
mov word [ecx], ax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042e446
mov esp, ebp
pop ebp
ret
Function at 0x415fa0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x499104]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x108], 0x740068
push ebx
push esi
mov word [ebp - 8], ax
lea esi, [ebp - 0x108]
mov eax, 0x49f4d8
mov dword [ebp - 0x104], 0x700074
push edi
mov dword [ebp - 0x100], 0x2f003a
mov edx, 0x81
mov dword [ebp - 0xfc], 0x73002f
sub esi, eax
mov dword [ebp - 0xf8], 0x6c002e
mov dword [ebp - 0xf4], 0x780075
mov dword [ebp - 0xf0], 0x610069
mov dword [ebp - 0xec], 0x63006f
mov dword [ebp - 0xe8], 0x650068
mov dword [ebp - 0xe4], 0x63002e
mov dword [ebp - 0xe0], 0x6d006f
mov dword [ebp - 0xdc], 0x75002f
mov dword [ebp - 0xd8], 0x73006e
mov dword [ebp - 0xd4], 0x3f0074
mov dword [ebp - 0xd0], 0x700061
mov dword [ebp - 0xcc], 0x3d0070
mov dword [ebp - 0xc8], 0x6e0075
mov dword [ebp - 0xc4], 0x740073
mov dword [ebp - 0xc0], 0x700026
mov dword [ebp - 0xbc], 0x640069
mov dword [ebp - 0xb8], 0x7b003d
mov dword [ebp - 0xb4], 0x690070
mov dword [ebp - 0xb0], 0x7d0064
mov dword [ebp - 0xac], 0x6d0026
mov dword [ebp - 0xa8], 0x640069
mov dword [ebp - 0xa4], 0x7b003d
mov dword [ebp - 0xa0], 0x69006d
mov dword [ebp - 0x9c], 0x7d0064
mov dword [ebp - 0x98], 0x6d0026
mov dword [ebp - 0x94], 0x640069
mov dword [ebp - 0x90], 0x3d0032
mov dword [ebp - 0x8c], 0x6d007b
mov dword [ebp - 0x88], 0x640069
mov dword [ebp - 0x84], 0x7d0032
mov dword [ebp - 0x80], 0x610026
mov dword [ebp - 0x7c], 0x700070
mov dword [ebp - 0x78], 0x650076
mov dword [ebp - 0x74], 0x3d0072
mov dword [ebp - 0x70], 0x61007b
mov dword [ebp - 0x6c], 0x700070
mov dword [ebp - 0x68], 0x650076
mov dword [ebp - 0x64], 0x7d0072
mov dword [ebp - 0x60], 0x6d0026
mov dword [ebp - 0x5c], 0x64006f
mov dword [ebp - 0x58], 0x650076
mov dword [ebp - 0x54], 0x3d0072
mov dword [ebp - 0x50], 0x6d007b
mov dword [ebp - 0x4c], 0x64006f
mov dword [ebp - 0x48], 0x650076
mov dword [ebp - 0x44], 0x7d0072
mov dword [ebp - 0x40], 0x740026
mov dword [ebp - 0x3c], 0x700079
mov dword [ebp - 0x38], 0x3d0065
mov dword [ebp - 0x34], 0x74007b
mov dword [ebp - 0x30], 0x700079
mov dword [ebp - 0x2c], 0x7d0065
mov dword [ebp - 0x28], 0x610026
mov dword [ebp - 0x24], 0x740063
mov dword [ebp - 0x20], 0x6f0069
mov dword [ebp - 0x1c], 0x3d006e
mov dword [ebp - 0x18], 0x61007b
mov dword [ebp - 0x14], 0x740063
mov dword [ebp - 0x10], 0x6f0069
mov dword [ebp - 0xc], 0x7d006e
lea ecx, [edx + 0x7fffff7d]
test ecx, ecx
je 0x416212
movzx ecx, word [esi + eax]
test cx, cx
je 0x416212
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x4161f4
test edx, edx
lea ecx, [eax - 2]
pop edi
cmovne ecx, eax
xor eax, eax
pop esi
pop ebx
mov word [ecx], ax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042e446
mov esp, ebp
pop ebp
ret
Function at 0x418680
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x479d60
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x499104]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.0042e4b5
mov edi, eax
add esp, 4
test edi, edi
je 0x41872b
push 1
mov dword [ebp - 4], 0
call fcn.00422f9b
mov dword [edi + 4], eax
add esp, 4
mov dword [esi + 0x30], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x30], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x419a00
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ecx + 0x38], 0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
je 0x419ad4
mov esi, dword [ebp + 0x10]
mov ebx, esi
mov edx, dword [ebp + 0xc]
mov edi, edx
mov eax, dword [ebp + 8]
mov dword [ebp + 8], eax
test esi, esi
jl 0x419ac3
jg 0x419a38
test edx, edx
je 0x419ac3
call fcn.0040bcc0
mov esi, eax
mov eax, edx
mov dword [ebp - 8], eax
test eax, eax
jl 0x419a88
jg 0x419a4e
test esi, esi
je 0x419a88
cmp ebx, eax
jg 0x419a5d
jl 0x419a58
cmp edi, esi
jae 0x419a5d
mov esi, edi
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
push esi
mov eax, dword [eax + 0x1c]
push dword [eax]
push dword [ebp + 8]
call fcn.0044d7e0
mov ecx, dword [ebp - 4]
add esp, 0xc
sub edi, esi
sbb ebx, dword [ebp - 8]
mov eax, dword [ecx + 0x2c]
sub dword [eax], esi
mov eax, dword [ecx + 0x1c]
add dword [eax], esi
mov eax, dword [ebp + 8]
jmp 0x419aaa
mov ecx, dword [ebp - 4]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
cmp ecx, 0xffffffff
je 0x419abd
mov eax, dword [ebp + 8]
add edi, 0xffffffff
mov esi, 1
adc ebx, 0xffffffff
mov byte [eax], cl
mov ecx, dword [ebp - 4]
add eax, esi
mov dword [ebp + 8], eax
test ebx, ebx
jg 0x419a38
jl 0x419abd
test edi, edi
jne 0x419a38
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
sub edx, edi
pop edi
sbb esi, ebx
mov eax, edx
mov edx, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ecx + 0x1c]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xc], esi
mov eax, dword [eax]
mov dword [ebp - 0x10], edi
mov dword [ebp - 8], eax
test eax, eax
je 0x419af3
mov eax, dword [ecx + 0x2c]
mov eax, dword [eax]
jmp 0x419af5
xor eax, eax
cdq
mov ebx, eax
mov eax, edx
mov dword [ebp + 0x10], eax
test edi, edi
jl 0x419b9d
jg 0x419b0f
test esi, esi
je 0x419b9d
test eax, eax
jl 0x419b4e
jg 0x419b19
test ebx, ebx
je 0x419b4e
cmp edi, eax
jg 0x419b28
jl 0x419b23
cmp esi, ebx
jae 0x419b28
mov ebx, esi
mov dword [ebp + 0x10], edi
push ebx
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.0044d7e0
mov ecx, dword [ebp - 4]
add esp, 0xc
add dword [ebp + 8], ebx
sub esi, ebx
sbb edi, dword [ebp + 0x10]
mov eax, dword [ecx + 0x2c]
sub dword [eax], ebx
mov eax, dword [ecx + 0x1c]
add dword [eax], ebx
jmp 0x419b54
mov eax, dword [ebp + 8]
mov dword [ebp + 8], eax
test edi, edi
jl 0x419b9d
jg 0x419b5e
test esi, esi
je 0x419b9d
mov edx, dword [ecx + 0x4c]
test edx, edx
je 0x419b9d
mov ebx, dword [ecx + 0xc]
lea eax, [ecx + 0x3c]
cmp dword [ebx], eax
jne 0x419b89
mov edx, dword [ecx + 0x54]
mov ecx, dword [ecx + 0x50]
sub edx, ecx
mov dword [ebx], ecx
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [ebx + 0x2c]
mov dword [eax], edx
mov edx, dword [ebx + 0x4c]
push edx
push esi
push 1
push dword [ebp + 8]
call fcn.004580bc
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41a240
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x499104]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x41a2ba
push esi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], 1
push eax
push 0x47f028
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push 0
push 0
push 0x10
lea eax, [ebp - 0x14]
mov dword [ebp - 8], 2
push eax
push 0
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [ebp - 0x18]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042e446
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.0042e446
mov esp, ebp
pop ebp
ret 4
Function at 0x41a710
Capabilities:
Enumerate process modules
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x492d68
push 0x44e7b0
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, 0x2a14
call fcn.0042e460
mov eax, dword [0x499104]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x2a2c], ebx
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x41a922
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41a770
sub ecx, edx
sar ecx, 1
cmp ecx, 0x104
ja 0x41a922
mov dword [ebp - 4], 0
mov eax, dword [ebx]
push ebx
call dword [eax + 4]
mov dword [ebp - 4], 0xfffffffe
jmp 0x41a7ba
push 0x800
push 0
lea eax, [ebp - 0xa24]
push eax
call fcn.0044e2e0
mov dword [ebp - 0x2a28], 0
push 0x2000
push 0
lea eax, [ebp - 0x2a24]
push eax
call fcn.0044e2e0
add esp, 0x18
lea eax, [ebp - 0x2a28]
push eax
push 0x800
lea eax, [ebp - 0x2a24]
push eax
call sub.KERNEL32.dll_K32EnumProcesses
test eax, eax
je 0x41a922
push 0x208
push 0
lea eax, [ebp - 0x224]
push eax
call fcn.0044e2e0
add esp, 0xc
mov edx, 0x104
lea ecx, [ebp - 0x224]
mov eax, ecx
sub esi, eax
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x41a850
movzx eax, word [esi + ecx]
test ax, ax
je 0x41a850
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x41a832
lea eax, [ecx - 2]
test edx, edx
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
push 0x104
lea eax, [ebp - 0x224]
push eax
call fcn.00458eec
add esp, 8
xor edi, edi
cmp dword [ebp - 0x2a28], edi
jbe 0x41a922
nop
push 0x400
lea eax, [ebp - 0xa24]
push eax
push dword [ebp + edi*4 - 0x2a24]
mov ecx, ebx
call fcn.0041a2d0
test eax, eax
je 0x41a915
push 0x400
lea eax, [ebp - 0xa24]
push eax
call fcn.00458eec
add esp, 8
lea ecx, [ebp - 0xa24]
lea eax, [ebp - 0x224]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41a8e6
test dx, dx
je 0x41a8e2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41a8e6
add eax, 4
add ecx, 4
test dx, dx
jne 0x41a8c0
xor eax, eax
jmp 0x41a8eb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x41a915
push dword [ebp + edi*4 - 0x2a24]
push eax
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x41a915
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [ebp - 0x2a28]
jb 0x41a880
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0042e446
mov esp, ebp
pop ebp
ret 8
Function at 0x41a950
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x492da8
push 0x44e7b0
mov eax, dword fs:[0]
push eax
sub esp, 0x848
mov eax, dword [0x499104]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x20]
mov dword [ebp - 4], 0
test esi, esi
je 0x41aab0
cmp word [esi], 0
je 0x41aab0
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41a9b0
sub ecx, edx
sar ecx, 1
cmp ecx, 0x104
ja 0x41aab0
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41aab0
push 0x800
push 0
lea eax, [ebp - 0x81c]
push eax
call fcn.0044e2e0
push esi
push str.__s_
push 0x3ff
lea eax, [ebp - 0x81c]
push eax
call fcn.0041aae0
push 0x3c
push 0
lea eax, [ebp - 0x858]
push eax
call fcn.0044e2e0
add esp, 0x28
mov dword [ebp - 0x858], 0x3c
lea eax, [ebp - 0x81c]
mov dword [ebp - 0x848], eax
mov dword [ebp - 0x84c], 0x47f058
mov dword [ebp - 0x844], ebx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x83c], eax
mov dword [ebp - 0x854], 0x440
lea eax, [ebp - 0x858]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esi, eax
test esi, esi
je 0x41aa77
cmp dword [ebp + 0x1c], 0
je 0x41aa77
push 0xffffffffffffffff
push dword [ebp - 0x820]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test edi, edi
je 0x41aa8c
test esi, esi
je 0x41aa9c
push edi
push dword [ebp - 0x820]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test esi, esi
je 0x41aa9c
push dword [ebp - 0x820]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x41aab9
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0042e446
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x41ab70
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push dword [ebp + 0xc]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x41ab8c
pop edi
pop ebp
ret 8
push esi
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop edi
pop ebp
ret 8
Function at 0x41f5a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x499104]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x6c], 0x25007b
push esi
mov word [ebp - 8], ax
lea esi, [ebp - 0x6c]
mov eax, 0x49fca0
mov dword [ebp - 0x68], 0x380030
push edi
mov dword [ebp - 0x64], 0x2d0058
mov edx, 0x33
mov dword [ebp - 0x60], 0x300025
sub esi, eax
mov dword [ebp - 0x5c], 0x580034
mov dword [ebp - 0x58], 0x25002d
mov dword [ebp - 0x54], 0x340030
mov dword [ebp - 0x50], 0x2d0078
mov dword [ebp - 0x4c], 0x300025
mov dword [ebp - 0x48], 0x580032
mov dword [ebp - 0x44], 0x300025
mov dword [ebp - 0x40], 0x580032
mov dword [ebp - 0x3c], 0x25002d
mov dword [ebp - 0x38], 0x320030
mov dword [ebp - 0x34], 0x250058
mov dword [ebp - 0x30], 0x320030
mov dword [ebp - 0x2c], 0x250058
mov dword [ebp - 0x28], 0x320030
mov dword [ebp - 0x24], 0x250058
mov dword [ebp - 0x20], 0x320030
mov dword [ebp - 0x1c], 0x250058
mov dword [ebp - 0x18], 0x320030
mov dword [ebp - 0x14], 0x250058
mov dword [ebp - 0x10], 0x320030
mov dword [ebp - 0xc], 0x7d0058
lea ecx, [edx + 0x7fffffcb]
test ecx, ecx
je 0x41f694
movzx ecx, word [esi + eax]
test cx, cx
je 0x41f694
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x41f676
test edx, edx
lea ecx, [eax - 2]
pop edi
cmovne ecx, eax
xor eax, eax
pop esi
mov word [ecx], ax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042e446
mov esp, ebp
pop ebp
ret
Function at 0x4211f0
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47a1c6
mov eax, dword fs:[0]
push eax
sub esp, 0x830
mov eax, dword [0x499104]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x81c], ecx
mov edi, dword [ebp + 8]
test edi, edi
jne 0x421231
xor eax, eax
jmp 0x4213b4
push 0x800
xorps xmm0, xmm0
mov dword [ebp - 0x824], 0
lea eax, [ebp - 0x810]
movq qword [ebp - 0x82c], xmm0
push 0
push eax
movups xmmword [ebp - 0x83c], xmm0
mov word [ebp - 0x820], 0
call fcn.0044e2e0
lea edx, [ebp - 0x810]
mov dword [ebp - 0x838], 3
add esp, 0xc
mov ecx, edi
sub edx, edi
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x421280
lea eax, [ebp - 0x810]
mov dword [ebp - 0x834], eax
mov eax, 0x614
mov word [ebp - 0x82c], ax
lea eax, [ebp - 0x83c]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4213af
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
call esi
test eax, eax
jne 0x4213af
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4213af
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x4212ff
push edi
call esi
test eax, eax
jne 0x4213af
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42131e
test al, 0x10
je 0x42131e
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x4213af
lea ecx, [ebp - 0x818]
call fcn.00412f40
push edi
lea ecx, [ebp - 0x814]
mov dword [ebp - 4], 0
call fcn.00402780
mov ecx, dword [ebp - 0x81c]
lea eax, [ebp - 0x818]
push eax
lea eax, [ebp - 0x814]
mov byte [ebp - 4], 1
push eax
call fcn.004205a0
mov edx, dword [ebp - 0x814]
mov esi, eax
add edx, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x421379
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 4
test esi, esi
mov esi, dword [ebp - 0x818]
push 0
je 0x42138a
push esi
jmp 0x42138b
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov edi, eax
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4213ab
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
jmp 0x4213b4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042e446
mov esp, ebp
pop ebp
ret 4
Function at 0x4299f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47abb1
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x499104]
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 edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 1
mov dword [ebp - 0x1c], 0
mov dword [edi], 0
call fcn.00403230
mov ecx, eax
test ecx, ecx
je 0x429b84
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x24], 1
push eax
push 0xf003f
push 0
push dword [ebp + 0x10]
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x429b45
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
push 0
lea eax, [ebp - 0x18]
movlpd qword [ebp - 0x18], xmm0
push eax
push 0
push ebx
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x429b37
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x429b45
add eax, 0x10
push 0x483044
push eax
mov dword [ebp - 0x20], eax
call fcn.0042e8e8
mov esi, eax
add esp, 8
test esi, esi
je 0x429b45
push dword [ebp - 0x20]
push 0
push esi
call fcn.0044e2e0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
push esi
push 0
push 0
push ebx
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x429afa
push esi
call fcn.0042e4ee
add esp, 4
jmp 0x429b45
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x429b00
sub ecx, edx
sar ecx, 1
je 0x429b2e
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x429b16
sub ecx, edx
sar ecx, 1
push ecx
push esi
mov ecx, edi
call fcn.00403580
push esi
call fcn.0042e4ee
add esp, 4
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x429b45
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp + 0x10]
or eax, 0xffffffff
mov byte [ebp - 4], 0
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x429b64
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
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.0042e446
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.00402ca0
int3
Function at 0x429b90
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x499104]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
mov esi, edi
mov dword [ebp - 0xc], eax
lea edx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x429bb4
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0xf003f
push 0
push dword [ebp + 0xc]
sub esi, edx
push ecx
sar esi, 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor ebx, ebx
test eax, eax
sete bl
test eax, eax
jne 0x429c16
lea eax, [esi*2 + 2]
push eax
push edi
push 1
push 0
push dword [ebp - 0xc]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb ebx, ebx
mov eax, dword [ebp - 8]
inc ebx
test eax, eax
je 0x429c16
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0xc]
or ecx, 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x429c31
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042e446
mov esp, ebp
pop ebp
ret 0x10