joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10015e70
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x280
mov eax, dword [0x100764f8]
xor eax, ebp
mov dword [ebp - 4], eax
movups xmm0, xmmword [str.VBoxService.exe]
mov ax, word [0x1005ecac]
push ebx
movups xmmword [ebp - 0x54], xmm0
push esi
movups xmm0, xmmword [0x1005ec84]
push edi
push 0
movups xmmword [ebp - 0x44], xmm0
mov word [ebp - 0x14], ax
xorps xmm0, xmm0
mov dword [ebp - 0xa], 0
movq qword [ebp - 0x34], xmm0
movups xmm0, xmmword [str.vmtoolsd.exe]
push 2
mov word [ebp - 6], 0
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [0x1005eca4]
movq qword [ebp - 0x1c], xmm0
xorps xmm0, xmm0
movq qword [ebp - 0x12], xmm0
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
mov dword [ebp - 0x280], 0x22c
test ebx, ebx
je 0x10015f3b
lea eax, [ebp - 0x280]
push eax
push ebx
call sub.KERNEL32.dll_Process32FirstW
xor esi, esi
lea edi, [ebp - 0x54]
lea eax, [ebp - 0x25c]
push eax
push edi
call fcn.1003f626
add esp, 8
test eax, eax
je 0x10015f5e
inc esi
add edi, 0x28
cmp esi, 2
jl 0x10015f06
lea eax, [ebp - 0x280]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x10015f01
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.100172c0
test eax, eax
jne 0x10015f65
call fcn.10015d20
test eax, eax
jne 0x10015f65
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10034676
mov esp, ebp
pop ebp
ret
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10034676
mov esp, ebp
pop ebp
ret

Function at 0x10016360
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x100163e2
push esi
push edi
mov edi, dword [ebp + 0xc]
sub dword [ebp + 8], edi
nop dword [eax]
nop word [eax + eax]
inc byte [ecx + 0x100]
lea edi, [edi + 1]
movzx esi, byte [ecx + 0x100]
movzx eax, byte [esi + ecx]
add byte [ecx + 0x101], al
movzx eax, byte [ecx + 0x101]
mov dl, byte [esi + ecx]
movzx eax, byte [eax + ecx]
mov byte [esi + ecx], al
movzx eax, byte [ecx + 0x101]
mov byte [eax + ecx], dl
movzx eax, byte [ecx + 0x100]
movzx edx, byte [ecx + 0x101]
movzx eax, byte [eax + ecx]
add al, byte [edx + ecx]
mov edx, dword [ebp + 8]
movzx eax, al
movzx eax, byte [eax + ecx]
xor al, byte [edx + edi - 1]
mov byte [edi - 1], al
sub ebx, 1
jne 0x10016380
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x10016830
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x1005ed68
push dword [ebp + 8]
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
call fcn.1003f994
mov eax, dword [ebp - 4]
add esp, 0xc
test eax, eax
jne 0x1001685a
mov esp, ebp
pop ebp
ret
push esi
push 2
xor esi, esi
push esi
push eax
call fcn.1003d892
add esp, 0xc
test eax, eax
jne 0x100168ae
push edi
push dword [ebp - 4]
call fcn.1003ffdb
mov edi, eax
add esp, 4
cmp edi, 0xffffffff
je 0x100168ad
mov esi, dword [ebp + 0xc]
mov ecx, esi
push esi
push edi
call fcn.10013a10
push 0
push 0
push dword [ebp - 4]
call fcn.1003d892
push dword [ebp - 4]
push 1
push edi
push dword [esi]
call fcn.1003d4af
add esp, 0x1c
mov esi, 1
pop edi
push dword [ebp - 4]
call fcn.1003cfcc
add esp, 4
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100168c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10059298
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x100764f8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edx, dword [ebp + 0xc]
xor eax, eax
mov esi, dword [ebp + 8]
mov ecx, edx
mov edi, dword [ebp + 0x10]
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
lea ebx, [ecx + 2]
mov word [ebp - 0x2c], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10016917
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.10006f50
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push eax
push esi
lea ecx, [ebp - 0x48]
call fcn.10014080
mov edx, dword [ebp - 0x18]
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x1001697f
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10016975
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10016aa2
push edx
push ecx
call fcn.1003465a
add esp, 8
mov ecx, edi
mov dword [ebp - 0x1c], 0
xor eax, eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 7
lea edx, [ecx + 2]
mov word [ebp - 0x44], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100169a6
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x44]
call fcn.10006f50
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 0x4c]
cmp dword [ebp - 0x30], 8
push 4
push ecx
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push 4
push 0
push eax
push dword [ebp - 0x48]
mov byte [ebp - 4], 4
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x10016aa7
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x10016a2a
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10016a20
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10016ac3
push edx
push ecx
call fcn.1003465a
add esp, 8
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x10016a77
cmp eax, 0x80000001
je 0x10016a77
cmp eax, reloc.OLEAUT32.dll_SysReAllocString
je 0x10016a77
cmp eax, 0x80000000
je 0x10016a77
cmp eax, 0x80000005
je 0x10016a77
cmp eax, reloc.OLEAUT32.dll_VariantInit
je 0x10016a77
cmp eax, 0x80000004
je 0x10016a77
cmp eax, 0x80000060
je 0x10016a77
cmp eax, 0x80000050
je 0x10016a77
cmp eax, 0x80000003
je 0x10016a77
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x10016a86
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10034676
mov esp, ebp
pop ebp
ret
call fcn.10039dac
push eax
push str.Cannot_write_DWORD_value:_RegSetValueEx_failed.
lea ecx, [ebp - 0x5c]
call fcn.10014030
push 0x10072448
lea eax, [ebp - 0x5c]
push eax
call fcn.10035fb1
call fcn.10039dac
int3
Function at 0x10016ad0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100592e0
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x100764f8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 0x14]
xor eax, eax
mov ebx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
test esi, esi
je 0x10016c7f
mov ecx, edx
mov dword [ebp - 4], eax
mov dword [ebp - 0x4c], eax
mov word [ebp - 0x5c], ax
mov dword [ebp - 0x48], 7
lea eax, [ecx + 2]
mov dword [ebp - 0x60], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10016b30
sub ecx, dword [ebp - 0x60]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x5c]
call fcn.10006f50
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 1
push eax
push ebx
lea ecx, [ebp - 0x60]
call fcn.10014080
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 3
call fcn.10003fd0
mov ecx, edi
mov dword [ebp - 0x34], 0
xor eax, eax
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10016b80
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x44]
call fcn.10006f50
mov ecx, esi
mov byte [ebp - 4], 4
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10016bb6
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x2c]
call fcn.10006f50
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
mov byte [ebp - 4], 5
cmovae ecx, dword [ebp - 0x2c]
cmp dword [ebp - 0x30], 8
lea edx, [eax*2 + 2]
push edx
push ecx
push 1
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push 0
push eax
push dword [ebp - 0x60]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x10016c9b
lea ecx, [ebp - 0x2c]
call fcn.10003fd0
lea ecx, [ebp - 0x44]
call fcn.10003fd0
lea ecx, [ebp - 0x60]
call fcn.100146d0
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x10016c70
cmp eax, 0x80000001
je 0x10016c70
cmp eax, reloc.OLEAUT32.dll_SysReAllocString
je 0x10016c70
cmp eax, 0x80000000
je 0x10016c70
cmp eax, 0x80000005
je 0x10016c70
cmp eax, reloc.OLEAUT32.dll_VariantInit
je 0x10016c70
cmp eax, 0x80000004
je 0x10016c70
cmp eax, 0x80000060
je 0x10016c70
cmp eax, 0x80000050
je 0x10016c70
cmp eax, 0x80000003
je 0x10016c70
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x10016c7f
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10034676
mov esp, ebp
pop ebp
ret
push eax
push str.Cannot_write_string_value:_RegSetValueEx_failed.
lea ecx, [ebp - 0x70]
call fcn.10014030
push 0x10072448
lea eax, [ebp - 0x70]
push eax
call fcn.10035fb1
int3
Function at 0x10016cc0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10059318
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x100764f8]
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]
xor ebx, ebx
mov edi, dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, eax
mov dword [ebp - 0x30], ebx
add ecx, ecx
mov dword [ebp - 0x2c], 7
xor edx, edx
mov word [ebp - 0x40], dx
lea eax, [ecx + esi]
cmp esi, eax
je 0x10016d21
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x40]
call fcn.10006f50
push edi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, eax
xor esi, esi
add edx, edx
mov dword [ebp - 0x18], esi
xor eax, eax
mov ecx, 7
mov word [ebp - 0x28], ax
mov dword [ebp - 0x14], ecx
lea eax, [edx + edi]
cmp edi, eax
je 0x10016d5f
sar edx, 1
lea ecx, [ebp - 0x28]
push edx
push edi
call fcn.10006f50
mov ecx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
cmp dword [ebp - 0x30], 0
jbe 0x10016dfb
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
mov dword [ebp - 0x80], 0x3c
cmovae eax, dword [ebp - 0x40]
mov dword [ebp - 0x7c], 0x440
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], eax
test esi, esi
je 0x10016da4
cmp ecx, 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x60], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ecx, dword [ebp - 0x48]
mov ebx, eax
test ecx, ecx
je 0x10016df8
cmp byte [ebp + 0x14], 0
je 0x10016df1
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], 0
push eax
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [ebp - 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x10016e2e
lea edx, [ecx*2 + 2]
mov ecx, dword [ebp - 0x28]
mov eax, ecx
cmp edx, 0x1000
jb 0x10016e24
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10016e96
push edx
push ecx
call fcn.1003465a
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x10016e78
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10016e6e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10016e9b
push edx
push ecx
call fcn.1003465a
add esp, 8
mov eax, ebx
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.10034676
mov esp, ebp
pop ebp
ret
call fcn.10039dac
call fcn.10039dac
int3
Function at 0x10017360
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x1005ed70
push dword [ebp + 8]
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
call fcn.1003f994
mov eax, dword [ebp - 4]
add esp, 0xc
test eax, eax
jne 0x1001738a
mov esp, ebp
pop ebp
ret
push esi
push eax
push 1
push dword [ebp + 0x10]
xor esi, esi
push dword [ebp + 0xc]
call fcn.1003dac6
test eax, eax
mov ecx, 1
cmovne esi, ecx
push dword [ebp - 4]
call fcn.1003cfcc
add esp, 0x14
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10017c10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100593a8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x100764f8]
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.1003462a
mov edi, eax
add esp, 4
test edi, edi
je 0x10017cad
push 1
mov dword [ebp - 4], 0
call fcn.10033907
add esp, 4
mov dword [edi + 4], eax
jmp 0x10017caf
xor edi, edi
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov edi, dword [edi + 4]
mov ecx, edi
mov dword [ebp - 4], 1
mov dword [ebp - 0x10], edi
mov eax, dword [edi]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 2
push eax
call fcn.10009850
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0x20
mov eax, dword [edx + 0x20]
call eax
mov bl, al
mov dword [ebp - 4], 3
test edi, edi
je 0x10017d11
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 8]
test eax, eax
je 0x10017d11
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [esi + 0x38], 0
mov dword [ebp - 4], 0xffffffff
mov byte [esi + 0x40], bl
jne 0x10017d34
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
and eax, 0x13
or eax, 4
mov dword [esi + 0xc], eax
and ecx, eax
jne 0x10017d57
cmp byte [ebp + 0xc], 0
je 0x10017d43
push esi
call fcn.10033b60
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
test cl, 4
je 0x10017d63
mov esi, str.ios_base::badbit_set
jmp 0x10017d73
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x1c]
push 1
push eax
call fcn.1000ac90
add esp, 8
lea ecx, [ebp - 0x30]
push eax
push esi
call fcn.10009d90
push 0x100719fc
lea eax, [ebp - 0x30]
push eax
call fcn.10035fb1
int3
Function at 0x1001b350
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10059626
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x100764f8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 0x60
push 0
push edi
mov byte [ebp - 4], 1
call ebx
mov esi, eax
mov dword [ebp - 0x424], esi
test esi, esi
jne 0x1001b3fc
push 2
push eax
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x424], eax
test esi, esi
jne 0x1001b3fc
call fcn.1000c4a0
mov edi, eax
jmp 0x1001b51b
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x1001b41f
call fcn.1000c4a0
jmp 0x1001b50e
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x1001b43d
call fcn.1000c4a0
jmp 0x1001b50e
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x41c], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x1001b45e
mov edi, 0x8007000e
jmp 0x1001b510
mov ecx, 2
mov byte [ebp - 4], 2
mul ecx
test edx, edx
ja 0x1001b554
jb 0x1001b47c
cmp eax, 0xffffffff
ja 0x1001b554
cmp eax, 0x400
jbe 0x1001b491
push eax
lea ecx, [ebp - 0x418]
call fcn.10019ce0
jmp 0x1001b4b7
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x1001b4b7
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
jne 0x1001b4ce
mov edi, 0x8007000e
jmp 0x1001b510
push edi
push dword [ebp - 0x418]
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x1001b4ee
call fcn.1000c4a0
jmp 0x1001b50e
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.1001b1b0
mov edi, eax
test esi, esi
je 0x1001b51b
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x1001b534
lea ecx, [ebp - 0x418]
call fcn.1001a2b0
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 - 0x14]
xor ecx, ebp
call fcn.10034676
mov esp, ebp
pop ebp
ret 0x10
push 0x80070216
call fcn.1000c4e0
int3
Function at 0x10028100
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005a0fb
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x100764f8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [esi]
mov eax, dword [ebp + 8]
push eax
call dword [edx + 0x14]
test eax, eax
jne 0x10028148
mov dword [esi + 4], 1
jmp 0x100282d2
mov eax, dword [esi + 0x28]
test eax, eax
je 0x1002815c
imul eax, eax, 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10037070
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x10078018]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x1002819a
mov dword [esi + 4], 2
jmp 0x100282d2
cmp byte [esi + 0x3c], 0
je 0x100281a5
call fcn.10024c90
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0
lea eax, [ebp - 0x23c]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.10016830
add esp, 8
test eax, eax
jne 0x100281f2
mov dword [esi + 4], 2
xor esi, esi
jmp 0x100282c5
mov ecx, dword [ebp - 0x238]
mov eax, dword [ebp - 0x23c]
sub ecx, eax
push ecx
push eax
push 0
call fcn.10008fe0
mov edi, eax
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.10028ae0
add esp, 0x14
test eax, eax
jne 0x100282c0
push edi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x230]
push str._s_d__lu
push eax
call fcn.10014fd0
add esp, 0x10
lea eax, [ebp - 0x230]
cmp dword [ebp - 0x21c], 8
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x10028296
lea ecx, [ebp - 0x230]
mov dword [esi + 4], 2
call fcn.10003fd0
xor esi, esi
jmp 0x100282c5
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push 4
cmovae eax, dword [ebp - 0x230]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0x230]
call fcn.10003fd0
mov esi, 1
lea ecx, [ebp - 0x23c]
call fcn.10014390
mov eax, esi
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.10034676
mov esp, ebp
pop ebp
ret 4
Function at 0x100282f0
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005a146
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x100764f8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [esi]
mov eax, dword [ebp + 8]
push eax
call dword [edx + 0x14]
test eax, eax
jne 0x10028338
mov dword [esi + 4], 1
jmp 0x100284ec
mov eax, dword [esi + 0x28]
test eax, eax
je 0x1002834c
imul eax, eax, 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0
lea eax, [ebp - 0x23c]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.10027890
test eax, eax
jne 0x100284da
mov ecx, dword [ebp - 0x238]
sub ecx, dword [ebp - 0x23c]
je 0x100284da
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.10037070
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.100036f0
cmp dword [esi + 0x94], 8
lea ecx, [esi + 0x80]
mov byte [ebp - 4], 1
jb 0x100283f8
mov ecx, dword [esi + 0x80]
push dword [esi + 0x90]
push ecx
lea ecx, [ebp - 0x230]
call fcn.10006ce0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [ebp - 0x238]
lea eax, [ebp - 0x230]
mov ecx, dword [ebp - 0x23c]
sub edx, ecx
cmp dword [ebp - 0x21c], 8
push edx
cmovae eax, dword [ebp - 0x230]
push ecx
push eax
call fcn.10017360
add esp, 0xc
test eax, eax
jne 0x1002846c
mov dword [esi + 4], 3
lea ecx, [ebp - 0x230]
xor esi, esi
call fcn.10003fd0
jmp 0x100284df
cmp dword [esi + 0xac], 8
lea edx, [esi + 0x98]
jb 0x1002847d
mov edx, dword [edx]
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x230]
push 0
cmovae ecx, dword [ebp - 0x230]
mov edi, 5
xor eax, eax
cmp byte [esi + 0xb0], al
cmovne eax, edi
push eax
push edx
push ecx
call fcn.10016cc0
add esp, 0x10
test eax, eax
jne 0x100284c8
mov dword [esi + 4], 9
lea ecx, [ebp - 0x230]
xor esi, esi
call fcn.10003fd0
jmp 0x100284df
lea ecx, [ebp - 0x230]
mov esi, 1
call fcn.10003fd0
jmp 0x100284df
mov dword [esi + 4], eax
xor esi, esi
lea ecx, [ebp - 0x23c]
call fcn.10014390
mov eax, esi
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.10034676
mov esp, ebp
pop ebp
ret 4
Function at 0x10028ae0
Capabilities:
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x100764f8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov eax, 0x208
push edi
mov edi, dword [ebp + 0xc]
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push 0
push eax
call fcn.10037070
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x10028b43
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10034676
mov esp, ebp
pop ebp
ret
push edi
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x224]
push str._s_lu
push eax
call fcn.10014fd0
add esp, 0x10
lea eax, [ebp - 0x224]
cmp dword [ebp - 0x210], 8
cmovae eax, dword [ebp - 0x224]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
lea ecx, [ebp - 0x224]
mov esi, eax
call fcn.10003fd0
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.10034676
mov esp, ebp
pop ebp
ret

Function at 0x1004c0c2
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1004bf38