joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48d050
Capabilities:
Contain obfuscated stackstrings
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50e69e
mov eax, dword fs:[0]
push eax
sub esp, 0x2a8
mov eax, dword [0x5500a4]
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 esi, dword [ebp + 8]
lea eax, [ebp - 0x264]
push 0x208
push 0
push eax
mov dword [ebp - 0x5c], 0x61004d
mov ebx, 0x6c
mov dword [ebp - 0x58], 0x720063
mov dword [ebp - 0x54], 0x6d006f
mov dword [ebp - 0x50], 0x640065
mov dword [ebp - 0x4c], 0x46005c
mov dword [ebp - 0x48], 0x61006c
mov dword [ebp - 0x44], 0x680073
mov dword [ebp - 0x40], 0x46005c
mov dword [ebp - 0x3c], 0x61006c
mov dword [ebp - 0x38], 0x680073
mov dword [ebp - 0x34], 0x650048
mov dword [ebp - 0x30], 0x70006c
mov dword [ebp - 0x2c], 0x720065
mov dword [ebp - 0x28], 0x650053
mov dword [ebp - 0x24], 0x760072
mov dword [ebp - 0x20], 0x630069
mov dword [ebp - 0x1c], 0x2e0065
mov dword [ebp - 0x18], 0x780065
mov dword [ebp - 0x14], 0x65
call fcn.004d9580
add esp, 0xc
lea eax, [ebp - 0x264]
push eax
push 0
push 0
push 0x29
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x2b4]
call fcn.0040a850
mov dword [ebp - 4], 0
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x29c]
call fcn.0040a850
mov byte [ebp - 4], 1
lea eax, [ebp - 0x2b4]
push eax
lea eax, [ebp - 0x29c]
push eax
lea eax, [ebp - 0x27c]
push eax
call fcn.00418310
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x29c]
call fcn.0040a7c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2b4]
call fcn.0040a7c0
lea eax, [ebp - 0x27c]
push eax
call fcn.004140d0
add esp, 4
test al, al
je 0x48d258
push 4
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [ebp - 0x280], 0
call fcn.004d6cb6
add esp, 4
mov dword [ebp - 0x284], eax
mov byte [ebp - 4], 5
mov dword [eax], 0
mov dword [eax], 0xffffffff
mov byte [ebp - 4], 4
mov dword [ebp - 0x280], eax
mov byte [ebp - 4], 6
lea eax, [ebp - 0x27c]
push 0x80
push 4
push 1
push 0x80000000
push eax
lea ecx, [ebp - 0x280]
call fcn.0041b6f0
test al, al
jne 0x48d25c
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x280]
test esi, esi
je 0x48d258
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x48d243
test eax, eax
je 0x48d243
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
push 4
push esi
call fcn.004d6f80
add esp, 8
mov dword [ebp - 0x280], 0
xor bl, bl
jmp 0x48d2a5
push esi
lea ecx, [ebp - 0x280]
call fcn.0041b8d0
mov bl, al
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x280]
test esi, esi
je 0x48d2a5
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x48d290
test eax, eax
je 0x48d290
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
push 4
push esi
call fcn.004d6f80
add esp, 8
mov dword [ebp - 0x280], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x27c]
call fcn.0040a7c0
mov al, bl
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.004d6ca5
mov esp, ebp
pop ebp
ret 4
Function at 0x48de50
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50e940
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x5500a4]
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, edx
mov esi, ecx
push str.KeanPdfAsposeSDK.dll
lea ecx, [ebp - 0x28]
call fcn.0040a850
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push esi
push eax
call fcn.00418310
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.0040a7c0
push str.KeanPdfAsposeSDK.dll
lea ecx, [ebp - 0x28]
call fcn.0040a850
mov byte [ebp - 4], 3
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x70]
push edi
push eax
call fcn.00418310
add esp, 0xc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.0040a7c0
lea eax, [ebp - 0x58]
push eax
call fcn.004140d0
add esp, 4
test al, al
je 0x48df85
push 0
lea ecx, [ebp - 0x70]
call fcn.0040a750
push eax
lea ecx, [ebp - 0x58]
call fcn.0040a750
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileW]
push eax
call esi
test eax, eax
jne 0x48df85
lea ecx, [ebp - 0x28]
xor bl, bl
call fcn.0040a890
mov byte [ebp - 4], 6
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x58]
call fcn.0041c200
test al, al
movzx ebx, bl
mov ecx, 1
cmovne ebx, ecx
lea ecx, [ebp - 0x40]
call fcn.0040a890
mov byte [ebp - 4], 7
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x70]
call fcn.0041c200
test al, al
jne 0x48df57
test bl, bl
je 0x48df6d
push 0
lea ecx, [ebp - 0x40]
call fcn.0040a750
push eax
lea ecx, [ebp - 0x28]
call fcn.0040a750
push eax
call esi
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x40]
call fcn.0040a7c0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.0040a7c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.0040a7c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.0040a7c0
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.004d6ca5
mov esp, ebp
pop ebp
ret
Function at 0x48e850
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50ebeb
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x5500a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x44], esi
lea ebx, [esi + 4]
mov dword [ebp - 0x48], esi
mov ecx, ebx
mov dword [esi], vtable.RC::RCVersionUpdateTask.0
call fcn.0040a890
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x28]
push eax
call fcn.004d4070
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0040a730
test al, al
jne 0x48e941
lea eax, [ebp - 0x28]
push eax
call fcn.00413fc0
add esp, 4
test al, al
jne 0x48e91c
push 0
lea ecx, [ebp - 0x28]
call fcn.0040a750
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x48e91c
lea ecx, [ebp - 0x40]
call fcn.0040a890
mov byte [ebp - 4], 2
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x28]
call fcn.0041c200
test al, al
je 0x48e910
push 0
lea ecx, [ebp - 0x40]
call fcn.0040a750
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.0040a7c0
push str.temp
call fcn.0040acf0
add esp, 4
lea ecx, [ebp - 0x28]
push eax
push str.temp
call fcn.0040c160
push 0x5c
lea ecx, [ebp - 0x28]
call fcn.004136c0
lea ecx, [ebp - 0x28]
call fcn.00402fb0
cmp ebx, eax
je 0x48e967
call fcn.00402fb0
mov edx, eax
cmp dword [eax + 0x14], 8
jb 0x48e95c
mov edx, dword [eax]
push dword [eax + 0x10]
mov ecx, ebx
push edx
call fcn.0040ab90
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0040a7c0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d6ca5
mov esp, ebp
pop ebp
ret 4
Function at 0x48fbb0
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x4c]
sub esp, 0x4c
push 0xffffffffffffffff
push 0x50ee7d
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x5500a4]
xor eax, ebp
mov dword [ebp + 0x48], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 0x54]
push edi
call fcn.00413fc0
add esp, 4
test al, al
jne 0x48fbf9
xor al, al
jmp 0x48fd45
call fcn.004d27d0
mov ecx, edi
mov esi, eax
call fcn.0040a750
push eax
mov ecx, esi
call fcn.004d27a0
test al, al
je 0x48fbf2
push 0
call fcn.00491350
mov ecx, eax
call fcn.00491400
mov dword [ebp - 4], 0
sub esp, 8
lea eax, [ebp + 0x18]
push edi
push eax
call fcn.0048fd70
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x30]
call fcn.0040a890
mov byte [ebp - 4], 2
lea eax, [ebp + 0x30]
push eax
lea eax, [ebp + 0x18]
push eax
call fcn.00415fd0
add esp, 8
lea ecx, [ebp]
call fcn.0040a890
mov byte [ebp - 4], 3
xorps xmm0, xmm0
mov eax, dword [ebx + 0x1c]
movlpd qword [ebp - 0x3c], xmm0
movlpd qword [ebp - 0x34], xmm0
movlpd qword [ebp - 0x2c], xmm0
movlpd qword [ebp - 0x24], xmm0
movlpd qword [ebp - 0x1c], xmm0
movlpd qword [ebp - 0x14], xmm0
mov dword [ebp - 0x48], 0x3c
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], 0x540
call fcn.004d2200
test al, al
mov ecx, str.runas
cmove ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x3c], ecx
lea ecx, [ebp + 0x18]
call fcn.0040a750
lea ecx, [ebp + 0x30]
mov dword [ebp - 0x38], eax
call fcn.0040a750
lea ecx, [ebp]
mov dword [ebp - 0x30], eax
call fcn.0040a750
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x2c], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x48fce3
xor bl, bl
jmp 0x48fcf3
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x48fcf1
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
mov byte [ebp - 4], 2
lea ecx, [ebp]
call fcn.0040a7c0
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x30]
call fcn.0040a7c0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x18]
call fcn.0040a7c0
mov dword [ebp - 4], 0xffffffff
call fcn.00491350
mov esi, dword [eax]
cmp byte [esi], 0
je 0x48fd43
call fcn.004427b0
push esi
mov ecx, eax
call fcn.00442a20
push 0
mov ecx, esi
call fcn.0043a8c0
mov byte [esi], 0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x48]
xor ecx, ebp
call fcn.004d6ca5
lea esp, [ebp + 0x4c]
pop ebp
ret 8
Function at 0x490310
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x94]
sub esp, 0x94
push 0xffffffffffffffff
push 0x50f038
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x5500a4]
xor eax, ebp
mov dword [ebp + 0x90], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push str.restart.hzt
lea ecx, [ebp + 0x48]
call fcn.0040a850
mov dword [ebp - 4], 0
lea eax, [ebp + 0x48]
push eax
lea eax, [ebx + 4]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.00418310
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x48]
call fcn.0040a7c0
lea eax, [ebp + 0x78]
push eax
call fcn.00413fc0
add esp, 4
test al, al
je 0x4904de
lea eax, [ebp + 0x78]
push eax
lea eax, [ebp + 0x60]
push eax
call fcn.0048f380
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x78]
call fcn.0041bd50
lea ecx, [ebp + 0x60]
call fcn.0040a730
test al, al
jne 0x4904d2
lea ecx, [ebp - 0x18]
call fcn.0040a0e0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x60]
push 0x3b
push eax
call fcn.00420ff0
add esp, 0xc
lea ecx, [ebp - 0x18]
call fcn.00402fb0
mov edx, eax
call fcn.0040a980
mov ecx, dword [edx]
cmp ecx, dword [eax]
je 0x4904c6
lea ecx, [ebp - 0x18]
call fcn.00402fb0
mov edi, eax
push str.EXIT
mov esi, dword [edi]
mov ecx, esi
call fcn.0040c060
test al, al
jne 0x4904c6
mov edx, 0x52e1bc
mov ecx, esi
call fcn.0040b840
test al, al
jne 0x4904c6
push esi
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x18]
call fcn.00490930
lea ecx, [ebp - 0x18]
call fcn.0040bfc0
cmp eax, 3
jne 0x4904c6
push dword [edi]
lea ecx, [ebp]
call fcn.0040a8b0
mov byte [ebp - 4], 5
lea ecx, [ebp + 0x18]
mov eax, dword [edi]
add eax, 0x18
push eax
call fcn.0040a8b0
mov byte [ebp - 4], 6
lea ecx, [ebp + 0x30]
mov eax, dword [edi]
add eax, 0x30
push eax
call fcn.0040a8b0
mov byte [ebp - 4], 7
lea ecx, [ebp + 0x18]
push 1
call fcn.0040a750
push eax
lea ecx, [ebp + 0x30]
call fcn.0040a750
push eax
lea ecx, [ebp]
call fcn.0040a750
push eax
push str.open
push dword [ebx + 0x1c]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov byte [ebp - 4], 6
lea ecx, [ebp + 0x30]
call fcn.0040a7c0
mov byte [ebp - 4], 5
lea ecx, [ebp + 0x18]
call fcn.0040a7c0
mov byte [ebp - 4], 4
lea ecx, [ebp]
call fcn.0040a7c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.0040a5c0
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x60]
call fcn.0040a7c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x78]
call fcn.0040a7c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x90]
xor ecx, ebp
call fcn.004d6ca5
lea esp, [ebp + 0x94]
pop ebp
ret
Function at 0x490700
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50f11e
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x5500a4]
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 esi, ecx
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
call fcn.0048fe50
push str.download
lea ecx, [ebp - 0x40]
call fcn.0040a850
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
lea eax, [esi + 4]
push ecx
push eax
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0x70]
push eax
call fcn.00418310
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.0040a7c0
lea eax, [ebp - 0x70]
push eax
call fcn.00413fc0
add esp, 4
test al, al
jne 0x490798
lea ecx, [ebp - 0x70]
call fcn.00414980
test al, al
jne 0x490798
xor bl, bl
jmp 0x4908fe
lea ecx, [ebp - 0x40]
call fcn.0040a890
mov byte [ebp - 4], 3
lea eax, [ebp - 0x40]
push eax
push ebx
call fcn.00415df0
add esp, 8
test al, al
jne 0x4907bc
xor bl, bl
jmp 0x4908f2
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00418310
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x58]
push 0
call fcn.0040a750
push eax
mov ecx, ebx
call fcn.0040a750
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x4907f8
xor bl, bl
jmp 0x4908e6
lea ecx, [ebp - 0x28]
call fcn.0040a890
mov byte [ebp - 4], 5
push str.DELETE
call fcn.0040acf0
add esp, 4
lea ecx, [ebp - 0x28]
push eax
push str.DELETE
call fcn.0040ab90
push 0x3b
lea ecx, [ebp - 0x28]
call fcn.004136c0
lea ecx, [ebp - 0x58]
call fcn.00402fb0
mov esi, eax
cmp dword [esi + 0x14], 8
jb 0x49083b
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.0040c160
push 0x3b
lea ecx, [ebp - 0x28]
call fcn.004136c0
push str.startup.hzt
lea ecx, [ebp - 0x88]
call fcn.0040a850
mov byte [ebp - 4], 6
lea eax, [ebp - 0x88]
push eax
push dword [ebp - 0xa4]
lea eax, [ebp - 0xa0]
push eax
call fcn.00418310
add esp, 0xc
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x88]
call fcn.0040a7c0
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0048f070
test al, al
jne 0x4908a8
xor bl, bl
jmp 0x4908cb
lea ecx, [ebp - 0x58]
call fcn.00402fb0
cmp edi, eax
je 0x4908c9
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4908be
mov eax, dword [esi]
push dword [esi + 0x10]
mov ecx, edi
push eax
call fcn.0040ab90
mov bl, 1
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa0]
call fcn.0040a7c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.0040a7c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.0040a7c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.0040a7c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.0040a7c0
mov al, bl
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.004d6ca5
mov esp, ebp
pop ebp
ret 8
Function at 0x4910e0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50f3d0
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x5500a4]
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 esi, ecx
lea edi, [esi + 0x14]
mov ecx, edi
call fcn.004b5b10
lea ebx, [esi + 0x24]
push str..bak
lea eax, [ebp - 0x70]
mov dword [ebp - 0x7c], ebx
push ebx
push eax
call fcn.004153e0
add esp, 0xc
mov esi, eax
mov dword [ebp - 4], 0
mov ecx, esi
push 0xb
call fcn.0040a750
push eax
mov ecx, ebx
call fcn.0040a750
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x49115b
mov bl, 1
jmp 0x491265
lea ecx, [ebp - 0x58]
mov byte [ebp - 0x71], 0
call fcn.0040a890
mov byte [ebp - 4], 1
lea edx, [ebp - 0x58]
mov ecx, ebx
call fcn.0041c200
movzx ecx, byte [ebp - 0x71]
test al, al
mov edx, 1
cmovne ecx, edx
mov dword [ebp - 0x78], ecx
lea ecx, [ebp - 0x40]
call fcn.0040a890
mov byte [ebp - 4], 2
lea edx, [ebp - 0x40]
mov ecx, esi
call fcn.0041c200
test al, al
jne 0x4911a5
cmp byte [ebp - 0x78], al
je 0x4911e2
push 0xb
lea ecx, [ebp - 0x40]
call fcn.0040a750
push eax
lea ecx, [ebp - 0x58]
call fcn.0040a750
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x4911e2
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.0040a7c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.0040a7c0
mov bl, 1
jmp 0x491265
mov ecx, esi
call fcn.0041bba0
cmp eax, 0xffffffff
je 0x49124b
push esi
lea ecx, [ebp - 0x28]
call fcn.0040a8b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.0041bfc0
test al, al
je 0x49123f
lea edx, [ebp - 0x28]
mov ecx, esi
call fcn.0041bc40
test al, al
je 0x49123f
mov edx, esi
mov ecx, ebx
call fcn.0041bc40
lea ecx, [ebp - 0x28]
test al, al
je 0x491238
call fcn.0041bd50
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.0040a7c0
jmp 0x4911c3
mov edx, esi
call fcn.0041bc40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.0040a7c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.0040a7c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.0040a7c0
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.0040a7c0
test bl, bl
je 0x491296
mov ecx, edi
call fcn.004b5fc0
push 1
push dword [ebp - 0x7c]
mov ecx, edi
call fcn.004b58d0
mov ecx, edi
call fcn.004b5b10
mov al, 1
jmp 0x491298
xor al, al
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.004d6ca5
mov esp, ebp
pop ebp
ret
Function at 0x491fa0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50f698
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5500a4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [ebp - 0x18]
call fcn.0040a0e0
mov dword [ebp - 4], 0
mov edx, ecx
mov ecx, esi
call fcn.00416bc0
lea ecx, [ebp - 0x18]
call fcn.00402fb0
mov edx, eax
call fcn.0040a980
mov ecx, dword [edx]
cmp ecx, dword [eax]
lea ecx, [ebp - 0x18]
setne bh
xor edi, edi
call fcn.0040a5d0
test eax, eax
je 0x492081
lea ecx, [ebp - 0x18]
call fcn.00402fb0
mov ecx, eax
mov dword [ebp - 0x1c], ecx
mov eax, dword [ecx]
mov esi, dword [eax + edi*4]
test esi, esi
jne 0x492020
xor bl, bl
jmp 0x49206f
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor bl, bl
cmp eax, esi
je 0x49206f
push esi
push 0
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x49206f
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp eax, esi
je 0x492068
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
setne bl
test eax, eax
je 0x492068
push 0x1388
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x18]
and bh, bl
inc edi
call fcn.0040a5d0
mov ecx, dword [ebp - 0x1c]
cmp edi, eax
jb 0x492013
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0040a5e0
mov al, bh
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x493a20
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50fc0a
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x5500a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x238], 0
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x234]
push ecx
call fcn.00493b50
add esp, 8
mov dword [ebp - 4], 1
lea edx, [ebp - 0x234]
push edx
call fcn.004140d0
add esp, 4
movzx eax, al
test eax, eax
jne 0x493ab5
push 0x528a34
mov ecx, dword [ebp + 8]
call fcn.0040a850
mov ecx, dword [ebp - 0x238]
or ecx, 1
mov dword [ebp - 0x238], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x234]
call fcn.0040a7c0
mov eax, dword [ebp + 8]
jmp 0x493b28
push 0x20a
push 0
lea edx, [ebp - 0x21c]
push edx
call fcn.004d9580
add esp, 0xc
lea ecx, [ebp - 0x234]
call fcn.0040a750
push eax
push 0x104
lea eax, [ebp - 0x21c]
push eax
push 0x528a34
push str.Version
push str.Upgrade
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x21c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0040a850
mov edx, dword [ebp - 0x238]
or edx, 1
mov dword [ebp - 0x238], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x234]
call fcn.0040a7c0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d6ca5
mov esp, ebp
pop ebp
ret
Function at 0x4adc10
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x4adc1b
xor eax, eax
pop ebp
ret
pop ebp
jmp fcn.004adc30
Function at 0x4af6a0
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x120]
sub esp, 0x120
push 0xffffffffffffffff
push 0x512402
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x5500a4]
xor eax, ebp
mov dword [ebp + 0x11c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi], 0
je 0x4af6e4
call fcn.004af830
cmp byte [0x5530c4], 0
jne 0x4af6f7
mov eax, 0x80000001
jmp 0x4af80c
mov eax, dword [esi]
test eax, eax
jne 0x4af762
push 8
call fcn.004d6cb6
mov edi, eax
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0
push 1
call fcn.004d6cb6
mov dword [edi + 4], eax
push 0x118
push 0
mov byte [eax], 0
lea eax, [ebp + 4]
push eax
call fcn.004d9580
add esp, 0x14
mov dword [ebp], 0x11c
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4af751
cmp dword [ebp + 4], 6
mov eax, dword [edi + 4]
setae cl
mov byte [eax], cl
mov dword [ebp - 4], 0xffffffff
mov dword [esi], edi
mov dword [edi], 0
mov eax, dword [esi]
cmp dword [eax], 0
jne 0x4af7fb
call fcn.0041cdf0
test al, al
jne 0x4af79c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [esi]
push eax
add ecx, 4
call fcn.0041d330
test al, al
je 0x4af7fb
mov ecx, dword [esi]
add ecx, 4
call fcn.0041c950
call fcn.0041cdf0
test al, al
je 0x4af7fb
push str.Advapi32.dll
lea ecx, [ebp - 0x28]
call fcn.0040a850
mov dword [ebp - 4], 2
lea eax, [ebp - 0x28]
push eax
call fcn.0041a7c0
mov ecx, eax
call fcn.0041a880
mov edi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040a7c0
test edi, edi
je 0x4af7fb
push 0x52fa50
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4af7fb
push dword [esi]
push dword [ebp + 0x128]
call eax
test eax, eax
je 0x4af7fb
mov eax, dword [esi]
mov dword [eax], 0
mov eax, dword [esi]
cmp dword [eax], 0
jne 0x4af80a
mov dword [eax], 0x80000001
mov eax, dword [esi]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp + 0x11c]
xor ecx, ebp
call fcn.004d6ca5
lea esp, [ebp + 0x120]
pop ebp
ret 4