joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4152c5
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
cmp dword [ecx + 0x7c], 0
push esi
je 0x415346
push dword [ecx + 0x30]
mov esi, dword [0x432520]
call esi
test eax, eax
je 0x415346
push ebx
mov ebx, 0x44385c
push edi
push ebx
call fcn.004206b8
and word [ebp - 0x208], 0
pop ecx
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x206]
push ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str._s360SEUP.dll
lea eax, [ebp - 0x208]
push 0x103
push eax
call dword [0x4323e4]
add esp, 0x10
lea eax, [ebp - 0x208]
push eax
call esi
pop edi
pop ebx
test eax, eax
je 0x415346
push 4
lea eax, [ebp - 0x208]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
pop esi
leave
ret

Function at 0x415606
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x22ec
call fcn.0042e5d0
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
cmp ebx, esi
je 0x415722
cmp word [ebx], si
je 0x415722
mov ax, word [0x441ed4]
push edi
mov word [ebp - 0x25c], ax
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x25a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x25c]
push 0x103
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ecx, 0x411
xor eax, eax
lea edi, [ebp - 0x12a2]
mov word [ebp - 0x12a4], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
mov ebx, dword [0x4323e4]
push 0x439dc8
lea eax, [ebp - 0x12a4]
push 0x823
push eax
call ebx
mov ecx, 0x411
xor eax, eax
lea edi, [ebp - 0x22ea]
mov word [ebp - 0x22ec], si
rep stosd dword es:[edi], eax
add esp, 0x10
stosw word es:[edi], ax
lea eax, [ebp - 0x12a4]
push eax
lea eax, [ebp - 0x25c]
push 0x43a130
push eax
push str.__s___s_s
lea eax, [ebp - 0x22ec]
push 0x823
push eax
call ebx
add esp, 0x18
xor eax, eax
lea edi, [ebp - 0x50]
mov dword [ebp - 0x10], esi
push 0x10
pop ecx
rep stosd dword es:[edi], eax
lea edi, [ebp - 0xc]
mov dword [ebp - 0x54], 0x44
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x10]
mov word [ebp - 0x24], si
push eax
lea eax, [ebp - 0x54]
push eax
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x22ec]
push esi
push eax
push esi
call dword [0x43226c]
test eax, eax
pop edi
je 0x415722
push dword [ebp - 0xc]
mov esi, dword [0x432270]
call esi
push dword [ebp - 0x10]
call esi
pop esi
pop ebx
leave
ret 4
Function at 0x41584a
Capabilities:
Persist via app paths registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 4]
mov eax, dword [esi + 4]
add eax, 0x14
push eax
call fcn.004046e3
mov esi, dword [esi + 0x30]
mov ebx, str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360se_3.exe
mov edi, 0x80000002
mov eax, dword [esi - 8]
shl eax, 1
push eax
push esi
mov esi, dword [0x43254c]
push 1
push 0x441ed4
push ebx
push edi
call esi
mov eax, dword [ebp - 4]
mov ecx, dword [eax - 8]
shl ecx, 1
push ecx
push eax
push 1
push 0x4391f8
push ebx
push edi
call esi
push 0x5c
push dword [ebp - 4]
call dword [0x432414]
pop ecx
test eax, eax
pop ecx
je 0x4158e4
sub eax, dword [ebp - 4]
sar eax, 1
cmp eax, 0xffffffff
je 0x4158e4
push eax
lea eax, [ebp - 8]
push 0
push eax
lea ecx, [ebp - 4]
call fcn.0040d75b
mov eax, dword [ebp - 8]
mov ecx, dword [eax - 8]
shl ecx, 1
push ecx
push eax
push 1
push str.PathSub
push ebx
push edi
call esi
lea ecx, [ebp - 8]
call fcn.00404c0d
lea ecx, [ebp - 4]
call fcn.00404c0d
pop edi
pop esi
pop ebx
leave
ret
Function at 0x416fcd
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov esi, ecx
push 1
push ecx
mov ecx, esp
push 0x43cc44
call fcn.00404729
mov ecx, esi
call fcn.0041a9d1
push 9
push ecx
mov ecx, esp
push str.seext.dll
call fcn.00404729
mov ecx, esi
call fcn.0041a9d1
push 2
push ecx
mov ecx, esp
push str.360SEUP.dll
call fcn.00404729
mov ecx, esi
call fcn.0041a9d1
push 4
push ecx
mov ecx, esp
push str.seup.exe
call fcn.00404729
mov ecx, esi
call fcn.0041a9d1
push 8
push ecx
mov ecx, esp
push 0x43d0d8
call fcn.00404729
mov ecx, esi
call fcn.0041a9d1
push 7
push ecx
mov ecx, esp
push str.sqlite3.dll
call fcn.00404729
mov ecx, esi
call fcn.0041a9d1
push 5
push ecx
mov ecx, esp
push str.sefix.exe
call fcn.00404729
mov ecx, esi
call fcn.0041a9d1
push 0x25
push ecx
mov ecx, esp
push str.pacomp.exe
call fcn.00404729
mov ecx, esi
call fcn.0041a9d1
push 0x2b
push ecx
mov ecx, esp
push str.sesvc.exe
call fcn.00404729
mov ecx, esi
call fcn.0041a9d1
mov edi, str.cloudurls.dat
lea eax, [esi + 0x34]
push edi
push eax
lea eax, [ebp - 8]
push eax
call fcn.0041b302
mov ebx, dword [eax]
add esi, 0x38
push edi
lea eax, [ebp - 4]
push esi
push eax
call fcn.0041b302
mov eax, dword [eax]
push 0
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [ebp - 4]
call fcn.00404c0d
lea ecx, [ebp - 8]
call fcn.00404c0d
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4170e1
Capabilities:
Check if file exists
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
push ebx
push esi
push edi
mov edi, ecx
push str.SafeCentral
lea eax, [edi + 0x34]
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 8]
push eax
call fcn.0041b302
push dword [eax]
call fcn.0042059f
pop ecx
lea ecx, [ebp - 8]
call fcn.00404c0d
push 0x1d
push ecx
mov ecx, esp
push str.SafeCentral.dll
call fcn.00404729
push ecx
mov esi, 0x43e4e8
mov ecx, esp
push esi
call fcn.00404729
mov ecx, edi
call fcn.0041aba4
push 0x20
push ecx
mov ecx, esp
push str.urlprocnet.dll
call fcn.00404729
push ecx
mov ecx, esp
push esi
call fcn.00404729
mov ecx, edi
call fcn.0041aba4
push 0x1e
push ecx
mov ecx, esp
push str.urlproc.dll
call fcn.00404729
push ecx
mov ecx, esp
push esi
call fcn.00404729
mov ecx, edi
call fcn.0041aba4
push 0x1f
push ecx
mov ecx, esp
push str.urlproc.exe
call fcn.00404729
push ecx
mov ecx, esp
push esi
call fcn.00404729
mov ecx, edi
call fcn.0041aba4
push 0x21
push ecx
mov ecx, esp
push str.wdui2.dll
call fcn.00404729
push ecx
mov ecx, esp
push esi
call fcn.00404729
mov ecx, edi
call fcn.0041aba4
push 0x26
push ecx
mov ecx, esp
push str.urllibauth.dat
call fcn.00404729
push ecx
mov ecx, esp
push esi
call fcn.00404729
mov ecx, edi
call fcn.0041aba4
push 0x28
push ecx
mov ecx, esp
push str.SiteVerifier.dll
call fcn.00404729
push ecx
mov ecx, esp
push esi
call fcn.00404729
mov ecx, edi
call fcn.0041aba4
push 0x2c
push ecx
mov ecx, esp
push str.SafeAddressRes.dll
call fcn.00404729
push ecx
mov ecx, esp
push esi
call fcn.00404729
mov ecx, edi
call fcn.0041aba4
lea eax, [edi + 0x2c]
push str.extensionsSafeCentral
push eax
lea eax, [ebp - 4]
push eax
call fcn.0041b302
push dword [ebp - 4]
call dword [0x432520]
test eax, eax
jne 0x417239
push dword [ebp - 4]
call fcn.0042059f
pop ecx
lea eax, [ebp - 4]
push str.esimple.ini
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.0041b302
mov esi, dword [eax]
add edi, 0x38
push str.SafeCentralesimple.ini
lea eax, [ebp - 8]
push edi
push eax
call fcn.0041b302
mov eax, dword [eax]
xor ebx, ebx
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileW]
push eax
call esi
lea ecx, [ebp - 8]
call fcn.00404c0d
lea ecx, [ebp - 0xc]
call fcn.00404c0d
lea eax, [ebp - 4]
push str.SafeProtect.dat
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0041b302
mov eax, dword [eax]
push str.SafeCentralSafeProtect.dat
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push edi
push eax
call fcn.0041b302
mov eax, dword [eax]
push ebx
push dword [ebp - 0xc]
push eax
call esi
lea ecx, [ebp - 8]
call fcn.00404c0d
lea ecx, [ebp - 0x14]
call fcn.00404c0d
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x21a]
mov word [ebp - 0x21c], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebp - 0x10]
push str._sefix.exe_downloadurllib
push dword [eax]
lea eax, [ebp - 0x21c]
push 0x43e2f8
push 0x103
push eax
call dword [0x4323e4]
push ebx
push ebx
lea eax, [ebp - 0x21c]
push ebx
push eax
call fcn.0041ff69
add esp, 0x24
lea ecx, [ebp - 4]
call fcn.00404c0d
pop edi
pop esi
pop ebx
leave
ret
Function at 0x417ecb
Capabilities:
Check if file exists
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
mov esi, ecx
push edi
push str.data
lea eax, [ebp - 0x10]
lea edi, [esi + 0x2c]
push edi
push eax
call fcn.0041b302
push dword [eax]
call dword [0x432528]
mov ebx, eax
lea ecx, [ebp - 0x10]
neg ebx
sbb bl, bl
inc bl
call fcn.00404c0d
test bl, bl
mov ebx, dword [sym.imp.KERNEL32.dll_CopyFileW]
je 0x418020
push str.data
lea eax, [ebp - 0x24]
push edi
push eax
call fcn.0041b302
push dword [eax]
call fcn.0042059f
pop ecx
lea ecx, [ebp - 0x24]
call fcn.00404c0d
lea eax, [esi + 0x34]
push str.data_bookmarks.dat
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0041b302
push dword [ebp - 0x10]
call dword [0x432520]
test eax, eax
je 0x417f76
push str.data_bookmarks.dat
lea eax, [ebp - 0x24]
push edi
push eax
call fcn.0041b302
mov eax, dword [eax]
push 0
push eax
push dword [ebp - 0x10]
call ebx
lea ecx, [ebp - 0x24]
call fcn.00404c0d
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esi + 0x34]
push str.datahistory.dat
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.0041b302
push dword [ebp - 0xc]
call dword [0x432520]
test eax, eax
je 0x417fbf
sal byte [edx + ebp + 0x68], 0x38
in al, dx
inc ebx
add byte [ebp + 0x5057dc45], cl
push str.datahistory.dat
lea eax, [ebp - 0x24]
push edi
push eax
call fcn.0041b302
mov eax, dword [eax]
push 0
push eax
push dword [ebp - 0xc]
call ebx
lea ecx, [ebp - 0x24]
call fcn.00404c0d
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esi + 0x34]
push str.datauser.dat
push eax
lea eax, [ebp - 8]
push eax
call fcn.0041b302
push dword [ebp - 8]
call dword [0x432520]
test eax, eax
je 0x418008
push str.datauser.dat
lea eax, [ebp - 0x24]
push edi
push eax
call fcn.0041b302
mov eax, dword [eax]
push 0
push eax
push dword [ebp - 8]
call ebx
lea ecx, [ebp - 0x24]
call fcn.00404c0d
dec dword [edi + 0x30813f6b]
jle 0x417f92
in eax, dx
add ebx, esi
invalid
push es
add byte [eax], al
add byte [eax], al
add byte [eax], al
sbb al, 0x21
sbb dword [ebx + edx*8 + 0x6088c629], edx
mov al, byte [0x2313c8cc]
or byte [ebx], bl
xchg ecx, eax
push ebp
and byte gs:[eax], al
push ss
mov dh, 0xf8
cmp dl, 0xca
mov ebx, 0x6333e9d1
mov al, byte [0xc9428d98]
jmp 0xaf114945

Function at 0x4198f0
Capabilities:
Encode data using xor

Disassembly:
jne 0x41990d
cmc
out 0x7a, al
salc
ret 0x80
fsubr qword [edx + 0x2e]
pop es
sal byte [ecx - 0x7f116dc8], 0x52
add eax, 0x465b5568
jecxz 0x4198c4
invalid
out dx, al
xor al, 0xb8
cmp byte [edi - 0x6bbc36e0], 0x90
push ds
adc byte [eax], dl
cmp dword [di + 0x2708], ebx
shr byte [ecx + 0x2a5e7d1d], 1
pop ecx
xor byte [edi], cl
pushal
loopne 0x41990c
dec esp
pop es
sti
out 1, al
invalid

Function at 0x41aeb8
Capabilities:
Encode data using xor

Disassembly:
stosb byte es:[edi], al
xchg ebx, eax
std
outsd dx, dword [esi]
mov al, byte [0x807c38c9]
rol byte [eax], 0
sbb al, 0x21
sbb dword [esp + edi*2 + 0x42c1dc30], edx
mov al, 0xdc
sub al, 0x14
or esi, dword [ebx + esi*2 - 0x56]
out dx, eax
invalid
Function at 0x41c5ef
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x630
push ebx
push esi
xor esi, esi
push edi
cmp dword [0x443b1c], esi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], esi
jne 0x41c623
mov dword [0x443b1c], 1
push dword [ecx]
push 0x443b18
call fcn.00420eca
pop ecx
pop ecx
cmp dword [0x443b18], esi
je 0x41c74f
push dword [ebp + 0xc]
mov ebx, 0x82
mov ecx, ebx
xor eax, eax
push dword [ebp + 8]
lea edi, [ebp - 0x216]
mov word [ebp - 0x218], si
mov esi, 0x104
rep stosd dword es:[edi], eax
push 0x43add0
lea eax, [ebp - 0x218]
push esi
push eax
call dword [0x4323e4]
add esp, 0x14
xor edi, edi
lea eax, [ebp - 0x218]
push edi
push 0x80
push 4
push edi
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0xc], eax
je 0x41c74f
push edi
push eax
call dword [0x4322a4]
push dword [ebp - 0xc]
mov dword [ebp + 8], eax
call dword [0x432270]
cmp dword [ebp + 8], edi
je 0x41c74f
cmp dword [ebp + 8], 0xffffffff
je 0x41c74f
push edi
push 0x440228
push dword [ebp + 0xc]
push dword [0x443b18]
call fcn.00421843
add esp, 0x10
cmp dword [ebp + 8], eax
jne 0x41c74f
mov word [ebp - 0x630], di
mov ecx, ebx
xor eax, eax
lea edi, [ebp - 0x62e]
and word [ebp - 0x424], ax
push esi
rep stosd dword es:[edi], eax
mov ecx, ebx
lea edi, [ebp - 0x422]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x424]
push eax
push 0x440220
push dword [ebp + 0xc]
push dword [0x443b18]
call fcn.0042172b
mov ecx, dword [ebp - 8]
add esp, 0x14
lea eax, [ebp - 0x630]
push esi
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0041c83d
lea eax, [ebp - 0x424]
push esi
push eax
lea eax, [ebp - 0x630]
push eax
call dword [0x432534]
test eax, eax
jne 0x41c74f
mov dword [ebp - 4], 1
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x41c83d
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
push ebx
push esi
push edi
push 0x43bbc0
push dword [ebp + 8]
mov dword [ebp - 8], ecx
call dword [0x432380]
mov esi, eax
xor ebx, ebx
pop ecx
cmp esi, ebx
pop ecx
mov dword [ebp - 4], esi
je 0x41c963
mov edi, dword [0x432384]
push 2
push ebx
push esi
call edi
push esi
call dword [0x432388]
push ebx
push ebx
push dword [ebp - 4]
mov esi, eax
call edi
add esp, 0x1c
cmp esi, ebx
je 0x41c959
lea edi, [esi + 1]
push edi
call fcn.0042e662
cmp eax, ebx
pop ecx
mov dword [ebp + 8], eax
je 0x41c959
push edi
push ebx
push eax
call fcn.0042e5bc
push dword [ebp - 4]
push 1
push esi
push dword [ebp + 8]
call dword [0x43238c]
add esp, 0x1c
test eax, eax
je 0x41c950
push 0x41
xor eax, eax
pop ecx
lea edi, [ebp - 0x10f]
mov byte [ebp - 0x110], bl
push 0x104
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0x110]
push eax
push esi
push dword [ebp + 8]
call fcn.0041c759
test eax, eax
je 0x41c950
lea eax, [ebp - 0x110]
test eax, eax
je 0x41c939
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.0042e5d0
mov edi, esp
push esi
push edi
lea eax, [ebp - 0x110]
push 0xffffffffffffffff
push eax
push ebx
push ebx
mov word [edi], bx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ebx, edi
mov eax, dword [ebp + 0x10]
push ebx
dec eax
push 0x439dc8
push eax
push dword [ebp + 0xc]
call dword [0x4323e4]
add esp, 0x10
push dword [ebp + 8]
call fcn.0042e52c
pop ecx
push dword [ebp - 4]
call dword [0x432390]
pop ecx
push 1
pop eax
lea esp, [ebp - 0x11c]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x41d8c3
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
lea eax, [ebp - 0x114]
mov dword [ebp - 0x114], 0x114
push eax
call dword [0x43229c]
cmp dword [ebp - 0x104], 2
jne 0x41d937
cmp dword [ebp - 0x110], 5
jne 0x41d937
cmp dword [ebp - 0x10c], 1
jne 0x41d937
push esi
mov esi, dword [0x432418]
lea eax, [ebp - 0x100]
push str.Service_Pack_2
push eax
call esi
pop ecx
test eax, eax
pop ecx
je 0x41d931
lea eax, [ebp - 0x100]
push str.Service_Pack_3
push eax
call esi
pop ecx
test eax, eax
pop ecx
je 0x41d931
xor eax, eax
jmp 0x41d934
push 1
pop eax
pop esi
leave
ret
xor eax, eax
leave
ret

Function at 0x41e102
Capabilities:
Delete file
Move file

Disassembly:
cmp dword [esp + 8], 0
jne 0x41e123
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, 1
jne 0x41e11b
xor eax, eax
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x41e126
push 5
pop eax
cmp eax, 5
je 0x41e134
cmp eax, 0x20
je 0x41e134
push 1
pop eax
ret
cmp dword [0x443b28], 0
je 0x41e155
push 0
push dword [esp + 8]
call fcn.0041e167
pop ecx
pop ecx
xor ecx, ecx
test eax, eax
setne cl
inc ecx
mov eax, ecx
ret
push 4
push 0
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 2
pop eax
ret
Function at 0x41e86d
Capabilities:
Get common file path
Get program files directory

Disassembly:
xor eax, eax
push esi
cmp word [0x443b54], ax
mov esi, 0x443b54
jne 0x41e897
push eax
push 0x26
push esi
push eax
call dword [0x4324d0]
push str.internet_exploreriexplore.exe
push esi
call dword [0x4323a8]
pop ecx
pop ecx
mov eax, esi
pop esi
ret

Function at 0x41fc79
Capabilities:
Enumerate process modules

Disassembly:
mov eax, 0x431b64
call fcn.0042e690
mov eax, 0x1434
call fcn.0042e5d0
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp esi, ebx
push edi
je 0x41fd00
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x232]
mov word [ebp - 0x234], bx
rep stosd dword es:[edi], eax
push esi
stosw word es:[edi], ax
call dword [0x43242c]
cmp word [esi + eax*2 - 2], 0x5c
pop ecx
push esi
jne 0x41fcc9
push 0x4403bc
jmp 0x41fcce
push str._s
lea eax, [ebp - 0x234]
push 0x103
push eax
call dword [0x4323e4]
or dword [ebp - 0x10], 0xffffffff
add esp, 0x10
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x1440]
push 0x1000
push eax
call fcn.0042e460
test eax, eax
jne 0x41fd08
or eax, 0xffffffff
jmp 0x41fe3a
mov edx, dword [ebp - 0x28]
mov al, byte [ebp + 0xb]
shr edx, 2
mov byte [ebp - 0x24], al
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
push 0
mov ecx, 0x82
pop eax
lea edi, [ebp - 0x43e]
mov word [ebp - 0x440], bx
mov dword [ebp - 4], ebx
rep stosd dword es:[edi], eax
mov dword [ebp - 0x14], ebx
je 0x41fe2b
lea esi, [ebp - 0x1440]
mov edi, edx
push dword [esi]
push ebx
push 0x1f0fff
call dword [0x4322b0]
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x41fdc1
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x14]
push 4
push ecx
push eax
call fcn.0042e45a
test eax, eax
je 0x41fdb8
lea eax, [ebp - 0x440]
push 0x104
push eax
push dword [ebp - 0x14]
push dword [ebp + 8]
call fcn.0042e454
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x440]
push eax
call dword [0x432538]
test eax, eax
je 0x41fdb8
push ebx
push dword [ebp + 8]
call dword [0x43221c]
lea eax, [ebp + 8]
lea ecx, [ebp - 0x24]
push eax
call fcn.00420188
jmp 0x41fdc1
push dword [ebp + 8]
call dword [0x432270]
add esi, 4
dec edi
jne 0x41fd48
cmp dword [ebp - 0x20], ebx
je 0x41fe2b
mov esi, dword [ebp - 0x1c]
sub esi, dword [ebp - 0x20]
sar esi, 2
je 0x41fe2b
mov eax, esi
shl eax, 2
push eax
call fcn.0042e662
mov edi, eax
pop ecx
cmp edi, ebx
je 0x41fe14
xor eax, eax
cmp esi, ebx
jbe 0x41fdfd
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + eax*4]
mov dword [edi + eax*4], ecx
inc eax
cmp eax, esi
jb 0x41fdef
push dword [ebp + 0xc]
push 1
push edi
push esi
call dword [0x4321d0]
push edi
mov dword [ebp - 0x10], eax
call fcn.0042e52c
pop ecx
xor edi, edi
cmp esi, ebx
jbe 0x41fe2b
mov eax, dword [ebp - 0x20]
push dword [eax + edi*4]
call dword [0x432270]
inc edi
cmp edi, esi
jb 0x41fe1a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00420168
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x41ff69
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push esi
push edi
push 0x10
xor eax, eax
pop ecx
lea edi, [ebp - 0x50]
rep stosd dword es:[edi], eax
xor esi, esi
lea edi, [ebp - 0xc]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x54], 0x44
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov ax, word [ebp + 0xc]
mov dword [ebp - 0x28], 0x81
mov word [ebp - 0x24], ax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push esi
push esi
push esi
push 1
push esi
push esi
push dword [ebp + 8]
push esi
call dword [0x43226c]
test eax, eax
je 0x41fff8
cmp dword [ebp + 0x10], esi
jbe 0x41ffca
push dword [ebp + 0x10]
push dword [ebp - 0x10]
call dword [0x432298]
mov edi, dword [ebp + 0x14]
cmp edi, esi
je 0x41ffe5
push edi
push dword [ebp - 0x10]
call dword [0x4321cc]
test eax, eax
jne 0x41ffe5
mov dword [edi], 1
push dword [ebp - 0x10]
mov esi, dword [0x432270]
call esi
push dword [ebp - 0xc]
call esi
push 1
pop esi
mov eax, esi
pop edi
pop esi
leave
ret

Function at 0x420369
Capabilities:
Check if file exists
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push edi
push dword [ebp + 8]
call dword [0x432520]
test eax, eax
je 0x4203fd
lea eax, [ebp - 8]
xor ebx, ebx
push eax
mov dword [ebp - 8], ebx
push dword [ebp + 8]
call fcn.0042e4fc
mov edi, eax
cmp edi, ebx
je 0x4203fd
push esi
push edi
mov byte [ebp - 1], bl
call dword [0x4323d4]
mov esi, eax
pop ecx
cmp esi, ebx
je 0x4203ef
push esi
push edi
push ebx
push dword [ebp + 8]
call fcn.0042e4f6
test eax, eax
je 0x4203ef
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], ebx
push eax
lea eax, [ebp + 8]
push eax
push 0x43adcc
push esi
mov dword [ebp + 8], ebx
call fcn.0042e4f0
test eax, eax
je 0x4203ef
push 0x34
lea eax, [ebp - 0x40]
push dword [ebp + 8]
push eax
call fcn.0042e600
add esp, 0xc
cmp dword [ebp - 0x40], 0xfeef04bd
sete byte [ebp - 1]
push esi
call dword [0x4323d8]
cmp byte [ebp - 1], bl
pop ecx
pop esi
jne 0x420401
xor al, al
jmp 0x42042b
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp + 0xc]
shr eax, 0x10
mov dword [ecx], eax
mov ecx, dword [ebp + 0x10]
movzx eax, word [ebp - 0x38]
mov dword [ecx], eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp + 0x14]
shr eax, 0x10
mov dword [ecx], eax
mov ecx, dword [ebp + 0x18]
movzx eax, word [ebp - 0x34]
mov dword [ecx], eax
mov al, 1
pop edi
pop ebx
leave
ret
Function at 0x420623
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push dword [ebp + 8]
call dword [0x432518]
test eax, eax
je 0x42069c
and word [ebp - 0x208], 0
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x206]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call dword [0x432248]
push eax
lea eax, [ebp - 0x208]
push dword [ebp + 8]
push str._s_d.tmp
push 0x103
push eax
call dword [0x4323e4]
add esp, 0x14
lea eax, [ebp - 0x208]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
pop edi
jne 0x4206a0
xor al, al
leave
ret
push eax
call dword [0x432270]
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov al, 1
leave
ret

Function at 0x4206b8
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x86c
and dword [ebp - 0x254], 0
push ebx
push esi
push edi
mov ecx, 0x93
xor eax, eax
lea edi, [ebp - 0x250]
mov esi, dword [0x4323e4]
rep stosd dword es:[edi], eax
mov ax, word [0x441ed4]
mov ecx, 0x81
mov word [ebp - 0x86c], ax
xor eax, eax
lea edi, [ebp - 0x86a]
push 0x43f858
push dword [ebp + 8]
mov ebx, 0x103
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x43add0
lea eax, [ebp - 0x86c]
push ebx
push eax
call esi
add esp, 0x14
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x86c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
jne 0x420740
xor eax, eax
jmp 0x42083d
mov edi, dword [0x432418]
lea eax, [ebp - 0x228]
push 0x43b0fc
push eax
call edi
pop ecx
test eax, eax
pop ecx
je 0x420808
lea eax, [ebp - 0x228]
push 0x43f838
push eax
call edi
pop ecx
test eax, eax
pop ecx
je 0x420808
test byte [ebp - 0x254], 0x10
mov ax, word [0x441ed4]
je 0x4207c7
mov word [ebp - 0x45c], ax
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x45a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x45c]
push dword [ebp + 8]
push 0x43add0
push ebx
push eax
call esi
lea eax, [ebp - 0x45c]
push eax
call fcn.004206b8
add esp, 0x18
jmp 0x420808
mov word [ebp - 0x664], ax
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x662]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x664]
push dword [ebp + 8]
push 0x43add0
push ebx
push eax
call esi
add esp, 0x14
lea eax, [ebp - 0x664]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x254]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x420740
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x20
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [ebp + 8]
call dword [0x432208]
pop edi
pop esi
pop ebx
leave
ret