joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000b570
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x101bd92c]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
xor esi, esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
mov dword [edi + 8], esi
mov dword [edi], esi
mov dword [edi + 4], esi
mov al, byte [ebx + 0x6012]
xorps xmm0, xmm0
mov dword [ebp - 0x20c], 0
mov dword [ebp - 0x210], esi
mov dword [ebp - 0x228], esi
mov dword [ebp - 0x224], esi
movsd qword [ebp - 0x21c], xmm0
mov byte [ebp - 0x205], al
test al, al
je 0x1000b787
push esi
mov ecx, ebx
call fcn.1000af30
test al, al
je 0x1000b686
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x210]
push eax
mov ecx, ebx
call fcn.1000afe0
lea eax, [ebp - 0x204]
push eax
mov dword [ebp - 0x22c], 0
call fcn.10093687
fstp qword [ebp - 0x21c]
mov ecx, dword [ebp - 0x20c]
inc ecx
add esp, 4
mov dword [ebp - 0x20c], ecx
cmp ecx, 1
jg 0x1000b7ae
mov eax, dword [edi + 8]
cmp eax, 0x3e8
je 0x1000b7d5
movq xmm0, qword [ebp - 0x22c]
inc eax
mov dword [edi + 8], eax
mov eax, dword [edi + 4]
mov esi, 0x3e8
lea eax, [eax + eax*2]
movq qword [edi + eax*8 + 0x10], xmm0
movq xmm0, qword [ebp - 0x224]
movq qword [edi + eax*8 + 0x18], xmm0
movq xmm0, qword [ebp - 0x21c]
movq qword [edi + eax*8 + 0x20], xmm0
mov eax, dword [edi + 4]
inc eax
cdq
idiv esi
mov esi, dword [ebp - 0x210]
mov dword [edi + 4], edx
jmp 0x1000b76d
mov al, byte [ebp - 0x205]
cmp al, 0x28
jne 0x1000b6c8
lea eax, [ebp - 0x22c]
inc esi
push eax
mov ecx, edi
mov dword [ebp - 0x22c], 0x14
mov dword [ebp - 0x228], 6
mov dword [ebp - 0x224], 0xffffffff
mov dword [ebp - 0x210], esi
call fcn.1000c430
jmp 0x1000b767
cmp al, 0x29
jne 0x1000b701
lea eax, [ebp - 0x22c]
inc esi
push eax
mov ecx, edi
mov dword [ebp - 0x22c], 0x28
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x210], esi
call fcn.1000c430
jmp 0x1000b767
movsx eax, byte [ebx + esi + 0x6012]
push eax
push 0x10191f5c
mov dword [ebp - 0x230], eax
call fcn.10092850
add esp, 8
test eax, eax
jne 0x1000b733
push dword [ebp - 0x230]
call fcn.10092d7b
add esp, 4
test eax, eax
je 0x1000b767
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x22c]
push eax
mov ecx, ebx
call fcn.1000b4e0
test al, al
je 0x1000b79b
lea eax, [ebp - 0x22c]
push eax
mov ecx, edi
call fcn.1000c430
mov esi, dword [ebp - 0x210]
mov ecx, dword [ebp - 0x20c]
mov al, byte [ebx + esi + 0x6012]
mov byte [ebp - 0x205], al
test al, al
jne 0x1000b5d0
cmp ecx, 1
je 0x1000b79b
mov dword [ebx + 0x6208], 2
mov dword [ebx + 0x620c], 0x137
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1009174c
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 8]
pop edi
pop esi
mov dword [ebx + 0x6208], 3
mov dword [ebx + 0x620c], 0xf2
xor ecx, ebp
pop ebx
call fcn.1009174c
mov esp, ebp
pop ebp
ret 4
push str.Queue_overflow_
push 0x101e07e0
call fcn.1000c590
push eax
call fcn.1000add0
add esp, 0xc
push 1
call fcn.10093bdf
int3
Function at 0x1000be10
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x7d44
call fcn.100ac780
mov eax, dword [0x101bd92c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
push 0x5dd0
lea eax, [ebp - 0x7d20]
push edi
push eax
call fcn.10096b40
mov ecx, dword [ebp - 0x7d18]
or esi, 0xffffffff
add esp, 0xc
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x7d24], ecx
test ecx, ecx
jle 0x1000c015
mov dword [ebp - 0x7d28], 0x3e8
test ecx, ecx
je 0x1000c00e
mov edx, dword [ebp - 0x7d20]
dec ecx
lea eax, [edx + edx*2]
movq xmm3, qword [ebp + eax*8 - 0x7d10]
movq xmm4, qword [ebp + eax*8 - 0x7d08]
movq xmm1, qword [ebp + eax*8 - 0x7d00]
lea eax, [edx + 1]
cdq
idiv dword [ebp - 0x7d28]
movq qword [ebp - 0x7d40], xmm3
mov eax, dword [ebp - 0x7d40]
mov dword [ebp - 0x7d18], ecx
mov dword [ebp - 0x7d20], edx
cmp eax, 0x14
jge 0x1000bef9
test eax, eax
jne 0x1000bedf
cmp esi, 0x3e7
je 0x1000c03c
inc esi
mov dword [ebp - 0x10], esi
movsd qword [ebp + esi*8 - 0x1f50], xmm1
jmp 0x1000bfa1
cmp esi, 0x3e7
je 0x1000c03c
movsd xmm0, qword [edi + eax*8 + 0x5dd0]
jmp 0x1000bf94
cmp eax, 0x28
jle 0x1000bf31
cmp esi, 0xffffffff
je 0x1000bfe0
movsd xmm0, qword [ebp + esi*8 - 0x1f50]
sub esp, 0x18
mov eax, esp
movapd xmm2, xmm0
movq qword [eax], xmm3
movq qword [eax + 8], xmm4
mov ecx, edi
dec esi
movq qword [eax + 0x10], xmm1
call fcn.1000bd80
jmp 0x1000bf82
add eax, 0xffffffeb
cmp eax, 0x12
ja 0x1000bfa4
cmp esi, 0xffffffff
je 0x1000bfe0
movsd xmm2, qword [ebp + esi*8 - 0x1f50]
dec esi
mov dword [ebp - 0x10], esi
cmp esi, 0xffffffff
je 0x1000bfe0
movsd xmm0, qword [ebp + esi*8 - 0x1f50]
sub esp, 0x18
mov eax, esp
mov ecx, edi
movq qword [eax], xmm3
movaps xmm3, xmm2
movq qword [eax + 8], xmm4
movaps xmm2, xmm0
dec esi
movq qword [eax + 0x10], xmm1
call fcn.1000bcc0
cmp esi, 0x3e7
je 0x1000c03c
mov ecx, dword [ebp - 0x7d18]
inc esi
mov dword [ebp - 0x10], esi
movsd qword [ebp + esi*8 - 0x1f50], xmm0
mov esi, dword [ebp - 0x10]
inc ebx
cmp ebx, dword [ebp - 0x7d24]
jl 0x1000be67
cmp esi, 0xffffffff
je 0x1000c015
movsd xmm0, qword [ebp + esi*8 - 0x1f50]
dec esi
movsd qword [edi + 0x5dd0], xmm0
cmp esi, 0xffffffff
jne 0x1000bfe7
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1009174c
mov esp, ebp
pop ebp
ret
push str.Attempt_to_pop_an_empty_stack_
jmp 0x1000c041
mov dword [edi + 0x6208], 3
mov dword [edi + 0x620c], 0x1e7
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1009174c
mov esp, ebp
pop ebp
ret
push str.Deleting_from_an_empty_queue_
jmp 0x1000c041
mov ecx, dword [ebp - 4]
mov dword [edi + 0x6208], 9
mov dword [edi + 0x620c], 0x1ec
pop edi
pop esi
xor ecx, ebp
xor al, al
pop ebx
call fcn.1009174c
mov esp, ebp
pop ebp
ret
push str.Stack_overflow_
push 0x101e07e0
call fcn.1000c590
push eax
call fcn.1000add0
add esp, 0xc
push 1
call fcn.10093bdf
int3
Function at 0x1000c430
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 8]
cmp eax, 0x3e8
je 0x1000c481
inc eax
mov dword [esi + 8], eax
mov eax, dword [esi + 4]
lea eax, [eax + eax*2]
lea ecx, [esi + eax*8]
mov eax, dword [ebp + 8]
movq xmm0, qword [eax]
movq qword [ecx + 0x10], xmm0
movq xmm0, qword [eax + 8]
movq qword [ecx + 0x18], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ecx + 0x20], xmm0
mov eax, dword [esi + 4]
inc eax
cdq
mov ecx, 0x3e8
idiv ecx
mov dword [esi + 4], edx
pop esi
pop ebp
ret 4
push str.Queue_overflow_
push 0x101e07e0
call fcn.1000c590
push eax
call fcn.1000add0
add esp, 0xc
push 1
call fcn.10093bdf
int3

Function at 0x1000c4b0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ecx + 0x5dc0]
cmp eax, 0x3e7
je 0x1000c4f2
inc eax
mov dword [ecx + 0x5dc0], eax
lea eax, [eax + eax*2]
lea ecx, [ecx + eax*8]
mov eax, dword [ebp + 8]
movq xmm0, qword [eax]
movq qword [ecx], xmm0
movq xmm0, qword [eax + 8]
movq qword [ecx + 8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ecx + 0x10], xmm0
pop ecx
pop ebp
ret 4
push str.Stack_overflow_
push 0x101e07e0
call fcn.1000c590
push eax
call fcn.1000add0
add esp, 0xc
push 1
call fcn.10093bdf
int3

Function at 0x1000c520
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov ecx, dword [esi + 0x5dc0]
cmp ecx, 0xffffffff
je 0x1000c564
mov edx, dword [ebp + 8]
lea eax, [ecx + ecx*2]
dec ecx
movq xmm0, qword [esi + eax*8]
movq qword [edx], xmm0
movq xmm0, qword [esi + eax*8 + 8]
movq qword [edx + 8], xmm0
movq xmm0, qword [esi + eax*8 + 0x10]
mov dword [esi + 0x5dc0], ecx
movq qword [edx + 0x10], xmm0
mov eax, edx
pop esi
pop ebp
ret 4
push str.Attempt_to_pop_an_empty_stack_
push 0x101e07e0
call fcn.1000c590
push eax
call fcn.1000add0
add esp, 0xc
push 1
call fcn.10093bdf
int3

Function at 0x1000c920
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, esi
lea ecx, [edi + 2]
mov edi, edi
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x1000c930
sub edi, ecx
sar edi, 1
xor ecx, ecx
lea eax, [edi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10090f8f
add esp, 4
mov ebx, eax
sub eax, esi
nop
movzx ecx, word [esi]
mov word [eax + esi], cx
lea esi, [esi + 2]
test cx, cx
jne 0x1000c960
xor esi, esi
mov byte [ebp + 0xb], 1
test edi, edi
js 0x1000c9c8
lea esp, [esp]
cmp word [ebx + esi*2], 0x5c
jne 0x1000c9ad
xor eax, eax
push ebx
mov word [ebx + esi*2], ax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1000c9a4
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x1000c9c4
mov eax, 0x5c
mov word [ebx + esi*2], ax
inc esi
cmp esi, edi
jle 0x1000c980
push ebx
call fcn.1009503c
movzx eax, byte [ebp + 0xb]
add esp, 4
pop edi
pop esi
pop ebx
pop ebp
ret
mov byte [ebp + 0xb], 0
push ebx
call fcn.1009503c
movzx eax, byte [ebp + 0xb]
add esp, 4
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x1000d9d0
Capabilities:
Check if file exists
Get common file path
Get program files directory
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x101bd92c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 0x418]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsIEXPLORE.EXE
push reloc.OLEAUT32.dll_SysReAllocString
mov ebx, ecx
mov dword [ebp - 0x418], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1000da23
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1009174c
mov esp, ebp
pop ebp
ret
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call fcn.10098090
add esp, 0xc
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x41c]
push eax
push 0
push 0x10199228
push dword [ebp - 0x418]
mov dword [ebp - 0x420], 0x104
mov dword [ebp - 0x41c], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1000db43
push esi
push edi
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.10098090
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0
push 0x26
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edi, [ebp - 0x20c]
add edi, 0xfffffffe
lea ebx, [ebx]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x1000dae0
lea eax, [ebp - 0x20c]
mov ecx, 0x10
mov esi, str.Internet_Exploreriexplore.exe
push eax
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop edi
pop esi
test eax, eax
je 0x1000da12
lea ecx, [ebp - 0x20c]
mov eax, ecx
sub ebx, eax
lea esp, [esp]
movzx eax, word [ecx]
mov word [ebx + ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x1000db20
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1009174c
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x414]
mov eax, ecx
sub ebx, eax
lea ecx, [ecx]
movzx eax, word [ecx]
mov word [ebx + ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x1000db50
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.1009174c
mov esp, ebp
pop ebp
ret
Function at 0x1000db80
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x101bd92c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x210], 0
mov dword [ebp - 0x21c], 0
call fcn.10098090
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x20019
push 0
push 0x101921e0
push SysReAllocString
call esi
test eax, eax
je 0x1000dc0f
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1009174c
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x214]
push eax
push 0x20019
push 0
push str.shell
push dword [ebp - 0x218]
call esi
test eax, eax
jne 0x1000dbfe
lea eax, [ebp - 0x210]
push eax
push 0x20019
push 0
push str.opencommand
push dword [ebp - 0x214]
call esi
test eax, eax
jne 0x1000dbfe
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x220]
push eax
push 0
push 0x10199228
push dword [ebp - 0x210]
mov dword [ebp - 0x21c], 0x104
mov dword [ebp - 0x220], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x214]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x210]
call esi
lea eax, [ebp - 0x20c]
push eax
call fcn.10092063
push 0x10191b3c
push eax
call fcn.10094da5
add esp, 0xc
test eax, eax
je 0x1000dbfe
lea esi, [eax + 2]
push 0x10191b3c
push esi
call fcn.10094da5
add esp, 8
test eax, eax
je 0x1000dbfe
xor ecx, ecx
push esi
mov word [eax], cx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 4]
neg eax
sbb eax, eax
xor ecx, ebp
neg eax
pop esi
call fcn.1009174c
mov esp, ebp
pop ebp
ret

Function at 0x1000ddc0
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfac
mov eax, dword [0x101bd92c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x7d0
lea eax, [ebp - 0xfa8]
push eax
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
xor eax, eax
lea esp, [esp]
movzx ecx, word [eax + str.Program_FilesInternet_Exploreriexplore.exe]
mov word [ebp + eax - 0xfa4], cx
lea eax, [eax + 2]
test cx, cx
jne 0x1000ddf0
mov edx, ebx
mov esi, ebx
jmp 0x1000de10
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1000de10
lea edi, [ebp - 0xfa8]
sub edx, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x1000de26
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push 1
push 0
push 0
push ebx
mov ecx, edx
push str.open
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x1000de64
lea ecx, [ebp - 0xfa8]
call fcn.1000dfc0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1009174c
mov esp, ebp
pop ebp
ret
Function at 0x1000de80
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x101bd92c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
mov edx, ebx
push esi
push edi
lea ecx, [edx + 2]
lea ecx, [ecx]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1000dea0
sub edx, ecx
sar edx, 1
jne 0x1000dec4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1009174c
mov esp, ebp
pop ebp
ret
push 0x104
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
xor eax, eax
jmp 0x1000dee0
movzx ecx, word [eax + str.Program_FilesInternet_Exploreriexplore.exe]
mov word [ebp + eax - 0x204], cx
lea eax, [eax + 2]
test cx, cx
jne 0x1000dee0
mov edx, ebx
mov esi, ebx
jmp 0x1000df00
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1000df00
lea edi, [ebp - 0x210]
sub edx, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x1000df16
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push 1
push 0
push 0
push ebx
mov ecx, edx
push str.open
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x1000df54
lea ecx, [ebp - 0x210]
call fcn.1000dfc0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.1009174c
mov esp, ebp
pop ebp
ret

Function at 0x1000df70
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
mov eax, esi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1000df80
sub eax, edx
sar eax, 1
je 0x1000dfb1
push 1
push 0
push 0
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x1000dfb1
mov ecx, esi
call fcn.1000dfc0
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1000dfc0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x834
mov eax, dword [0x101bd92c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x44
lea eax, [ebp - 0x830]
push 0
push eax
mov esi, ecx
call fcn.10098090
push esi
xorps xmm0, xmm0
lea eax, [ebp - 0x7d8]
push 0x10192050
push eax
mov dword [ebp - 0x830], 0x44
movq qword [ebp - 0x7e8], xmm0
movq qword [ebp - 0x7e0], xmm0
call fcn.10091da4
add esp, 0x18
lea eax, [ebp - 0x7e8]
push eax
lea eax, [ebp - 0x830]
push eax
push 0
push 0
push 0
push 1
push 0
push 0
lea eax, [ebp - 0x7d8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1000e05b
push dword [ebp - 0x7e8]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x7e4]
call esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1009174c
mov esp, ebp
pop ebp
ret
Function at 0x1000e070
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x83c
mov eax, dword [0x101bd92c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x44
lea eax, [ebp - 0x838]
push 0
push eax
mov esi, ecx
call fcn.10098090
push esi
xorps xmm0, xmm0
lea eax, [ebp - 0x7d8]
push 0x10192050
push eax
mov dword [ebp - 0x838], 0x44
movq qword [ebp - 0x7e8], xmm0
movq qword [ebp - 0x7e0], xmm0
call fcn.10091da4
add esp, 0x18
lea eax, [ebp - 0x7e8]
push eax
lea eax, [ebp - 0x838]
push eax
push 0
push 0
push 0
push 1
push 0
push 0
lea eax, [ebp - 0x7d8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1000e12c
push 0xffffffffffffffff
push dword [ebp - 0x7e8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x7ec]
push eax
push dword [ebp - 0x7e8]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x7e8]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x7e4]
call esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1009174c
mov esp, ebp
pop ebp
ret
Function at 0x1000e180
Capabilities:
Check if file exists
Copy file
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x620
mov eax, dword [0x101bd92c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x61c], ax
lea eax, [ebp - 0x61a]
push eax
mov dword [ebp - 0x620], ebx
call fcn.10098090
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call fcn.10098090
lea edx, [ebp - 0x61c]
add esp, 0x18
mov ecx, ebx
sub edx, ebx
movzx eax, word [ecx]
mov word [edx + ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x1000e1e4
lea edx, [ebp - 0x414]
mov ecx, edi
sub edx, edi
lea ecx, [ecx]
movzx eax, word [ecx]
mov word [edx + ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x1000e200
lea eax, [ebp - 0x61c]
push eax
call fcn.10092063
lea eax, [ebp - 0x414]
push eax
call fcn.10092063
add esp, 8
lea ecx, [ebp - 0x414]
lea eax, [ebp - 0x61c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1000e25c
test dx, dx
je 0x1000e258
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1000e25c
add eax, 4
add ecx, 4
test dx, dx
jne 0x1000e236
xor eax, eax
jmp 0x1000e261
sbb eax, eax
or eax, 1
test eax, eax
je 0x1000e324
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
xor esi, esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.10098090
add esp, 0xc
lea eax, [ebp - 0x20c]
test esi, esi
jne 0x1000e2ab
push edi
push str._s.bak
push eax
call fcn.10091da4
add esp, 0xc
jmp 0x1000e2bb
push esi
push edi
push str._s.bak_d
push eax
call fcn.10091da4
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1000e2d5
lea eax, [ebp - 0x20c]
push eax
call ebx
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.100950f3
add esp, 8
lea eax, [ebp - 0x20c]
push eax
call ebx
push 0
push edi
push dword [ebp - 0x620]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 5
test eax, eax
push 0
lea eax, [ebp - 0x20c]
push eax
jne 0x1000e31d
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp esi, 0xa
jge 0x1000e323
inc esi
jmp 0x1000e272
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.1009174c
mov esp, ebp
pop ebp
ret
Function at 0x1000e830
Capabilities:
Check if file exists
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x101bd92c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1000e860
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1009174c
mov esp, ebp
pop ebp
ret
push ebx
push edi
xor ebx, ebx
push ebx
push 0x80
push 4
push ebx
push 1
push SysReAllocString
push esi
mov dword [ebp - 0x10c], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x1000e898
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
mov dword [ebp - 0x10c], eax
lea esi, [ebx + 1]
push esi
call fcn.10090f8f
add esp, 4
lea ecx, [ebp - 0x114]
push 0
push ecx
push esi
push eax
push edi
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x114], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0xe
mov esi, str.identifierBegin:abcdefghijklmnopqrstuvwxyz:identifierEnd
lea edi, [ebp - 0x108]
rep movsd dword es:[edi], dword [esi]
push 0xcb
lea eax, [ebp - 0xcf]
push 0
push eax
movsb byte es:[edi], byte [esi]
call fcn.10098090
lea esi, [ebp - 0x108]
add esp, 0xc
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x1000e900
xor ebx, ebx
sub esi, ecx
cmp dword [ebp - 0x10c], ebx
jle 0x1000e953
mov edi, dword [ebp - 0x110]
mov ch, byte [ebp - 0x108]
mov eax, dword [ebp - 0x10c]
cmp byte [edi], ch
jne 0x1000e94d
xor edx, edx
xor eax, eax
test esi, esi
jle 0x1000e947
mov cl, byte [edi + eax]
cmp cl, byte [ebp + eax - 0x108]
jne 0x1000e947
inc edx
cmp edx, esi
je 0x1000e979
inc eax
cmp eax, esi
jl 0x1000e931
mov eax, dword [ebp - 0x10c]
inc ebx
inc edi
cmp ebx, eax
jl 0x1000e925
mov eax, dword [ebp - 0x110]
test eax, eax
je 0x1000e966
push eax
call fcn.1009503c
add esp, 4
pop edi
pop ebx
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1009174c
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x110]
test eax, eax
je 0x1000e98c
push eax
call fcn.1009503c
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop ebx
xor ecx, ebp
mov eax, 1
pop esi
call fcn.1009174c
mov esp, ebp
pop ebp
ret