joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100118f0
Capabilities:
Check if file exists
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100c47b0
push 0x1006c790
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, 0x2a18
call fcn.10061890
mov eax, dword [0x100cd4bc]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, dword [ebp + 8]
mov dword [ebp - 0x2a2c], esi
mov edi, dword [ebp + 0x10]
test esi, esi
je 0x10011a9e
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10011a9e
mov eax, 1
cmp dword [ebp + 0xc], 0
je 0x10011989
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10011963
sub ecx, edx
sar ecx, 1
je 0x10011980
push edi
push esi
call fcn.100556f0
add esp, 8
jmp 0x10011989
push esi
call fcn.10055b90
add esp, 4
test eax, eax
je 0x10011a9e
mov dword [ebp - 4], 0
call fcn.10010860
mov dword [ebp - 4], 0xfffffffe
jmp 0x100119bc
push 0x800
push 0
lea eax, [ebp - 0xa24]
push eax
call fcn.1006c590
mov dword [ebp - 0x2a28], 0
push 0x2000
push 0
lea eax, [ebp - 0x2a24]
push eax
call fcn.1006c590
add esp, 0x18
lea eax, [ebp - 0x2a28]
push eax
push 0x800
lea eax, [ebp - 0x2a24]
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x10011a9e
push 0x208
push 0
lea eax, [ebp - 0x224]
push eax
call fcn.1006c590
push 0x104
push esi
lea eax, [ebp - 0x224]
push eax
call fcn.1007ba58
lea eax, [ebp - 0x224]
push eax
call fcn.100740ab
add esp, 0x1c
xor esi, esi
cmp dword [ebp - 0x2a28], esi
jbe 0x10011a9e
nop dword [eax]
push 0x400
lea eax, [ebp - 0xa24]
push eax
push dword [ebp + esi*4 - 0x2a24]
call fcn.10011060
add esp, 0xc
test eax, eax
je 0x10011a95
lea eax, [ebp - 0xa24]
push eax
call fcn.100740ab
lea eax, [ebp - 0xa24]
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.1007b7f8
add esp, 0xc
test eax, eax
je 0x10011abc
inc esi
cmp esi, dword [ebp - 0x2a28]
jb 0x10011a50
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.100612dc
mov esp, ebp
pop ebp
ret
mov eax, 1
jmp 0x10011aa0
Function at 0x10011ad0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100c47d0
push 0x1006c790
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, 0x2a18
call fcn.10061890
mov eax, dword [0x100cd4bc]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, dword [ebp + 8]
mov dword [ebp - 0x2a30], esi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x2a2c], edi
test esi, esi
je 0x10011c7a
mov dword [ebp - 4], 0
call fcn.10010860
mov dword [ebp - 4], 0xfffffffe
jmp 0x10011b5b
push 0x800
push 0
lea eax, [ebp - 0xa24]
push eax
call fcn.1006c590
mov dword [ebp - 0x2a28], 0
push 0x2000
push 0
lea eax, [ebp - 0x2a24]
push eax
call fcn.1006c590
add esp, 0x18
lea eax, [ebp - 0x2a28]
push eax
push 0x800
lea eax, [ebp - 0x2a24]
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x10011c7a
push 0x104
push esi
lea eax, [ebp - 0x224]
push eax
call fcn.1007ba58
lea eax, [ebp - 0x224]
push eax
call fcn.100740ab
add esp, 0x10
xor esi, esi
cmp dword [ebp - 0x2a28], esi
jbe 0x10011c7a
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push 0x400
lea eax, [ebp - 0xa24]
push eax
push dword [ebp + esi*4 - 0x2a24]
call fcn.10011060
add esp, 0xc
test eax, eax
je 0x10011c6d
lea eax, [ebp - 0xa24]
push eax
call fcn.100740ab
add esp, 4
lea eax, [ebp - 0xa24]
push eax
call ebx
lea ecx, [ebp - 0x224]
push ecx
push eax
call fcn.1007b7f8
add esp, 8
test eax, eax
jne 0x10011c6d
test edi, edi
je 0x10011c5a
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10011c37
sub eax, edx
sar eax, 1
je 0x10011c5a
push edi
lea eax, [ebp - 0xa24]
push eax
call fcn.100556f0
add esp, 8
jmp 0x10011c69
lea eax, [ebp - 0xa24]
push eax
call fcn.10055b90
add esp, 4
test eax, eax
jne 0x10011c98
inc esi
cmp esi, dword [ebp - 0x2a28]
jb 0x10011be3
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.100612dc
mov esp, ebp
pop ebp
ret
mov eax, 1
jmp 0x10011c7c
Function at 0x10011ca0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100c47f0
push 0x1006c790
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, 0x2a18
call fcn.10061890
mov eax, dword [0x100cd4bc]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, dword [ebp + 8]
mov dword [ebp - 0x2a30], esi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x2a2c], edi
test esi, esi
je 0x10011e39
mov dword [ebp - 4], 0
call fcn.10010860
mov dword [ebp - 4], 0xfffffffe
jmp 0x10011d2b
push 0x800
push 0
lea eax, [ebp - 0xa24]
push eax
call fcn.1006c590
mov dword [ebp - 0x2a28], 0
push 0x2000
push 0
lea eax, [ebp - 0x2a24]
push eax
call fcn.1006c590
add esp, 0x18
lea eax, [ebp - 0x2a28]
push eax
push 0x800
lea eax, [ebp - 0x2a24]
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x10011e39
push 0x104
push esi
lea eax, [ebp - 0x224]
push eax
call fcn.1007ba58
lea eax, [ebp - 0x224]
push eax
call fcn.100740ab
add esp, 0x10
xor esi, esi
cmp dword [ebp - 0x2a28], esi
jbe 0x10011e39
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push 0x400
lea eax, [ebp - 0xa24]
push eax
push dword [ebp + esi*4 - 0x2a24]
call fcn.10011060
add esp, 0xc
test eax, eax
je 0x10011e2c
lea eax, [ebp - 0xa24]
push eax
call fcn.100740ab
add esp, 4
lea eax, [ebp - 0xa24]
push eax
call ebx
lea ecx, [ebp - 0x224]
push ecx
push eax
call fcn.1007b7f8
add esp, 8
test eax, eax
jne 0x10011e2c
test edi, edi
je 0x10011e57
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10011e07
sub eax, edx
sar eax, 1
je 0x10011e57
push edi
lea eax, [ebp - 0xa24]
push eax
call fcn.100556f0
add esp, 8
test eax, eax
jne 0x10011e57
inc esi
cmp esi, dword [ebp - 0x2a28]
jb 0x10011db3
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.100612dc
mov esp, ebp
pop ebp
ret
mov eax, 1
jmp 0x10011e3b
Function at 0x10011e60
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x100cd4bc]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push esi
xor esi, esi
push edi
cmp dword [0x100cc078], esi
je 0x10011f2c
push 0x100a4048
mov dword [ebp - 0x130], esi
mov dword [ebp - 0x124], esi
mov dword [ebp - 0x128], esi
mov dword [ebp - 0x12c], esi
call ecx
mov edi, eax
test edi, edi
je 0x10011f20
push 0x100a405c
push edi
call ebx
test eax, eax
je 0x10011eef
lea ecx, [ebp - 0x128]
push ecx
lea ecx, [ebp - 0x124]
push ecx
lea ecx, [ebp - 0x130]
push ecx
call eax
movzx eax, word [ebp - 0x128]
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x12c], 1
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x12c], esi
je 0x10011f20
cmp dword [ebp - 0x130], 6
jne 0x10011f20
mov eax, dword [0x100cf224]
mov ecx, 1
cmp dword [ebp - 0x124], 1
cmove eax, ecx
mov dword [0x100cf224], eax
mov ecx, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x100cc078], esi
cmp dword [0x100cf224], esi
je 0x10011fbe
push 0x118
lea eax, [ebp - 0x11c]
push 0
push eax
call fcn.1006c590
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push str.GetProductInfo
push str.kernel32.dll
mov dword [ebp - 0x124], esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call ebx
test eax, eax
je 0x10011f9b
lea ecx, [ebp - 0x124]
push ecx
push 0
push 0
push dword [ebp - 0x118]
push dword [ebp - 0x11c]
call eax
cmp dword [ebp - 0x124], 2
je 0x1001206c
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100612dc
mov esp, ebp
pop ebp
ret
cmp dword [0x100cc07c], esi
je 0x1001205e
push 0x100a4048
mov dword [ebp - 0x130], esi
mov dword [ebp - 0x12c], esi
mov dword [ebp - 0x128], esi
mov dword [ebp - 0x124], esi
call ecx
mov edi, eax
test edi, edi
je 0x10012058
push 0x100a405c
push edi
call ebx
test eax, eax
je 0x10012029
lea ecx, [ebp - 0x128]
push ecx
lea ecx, [ebp - 0x12c]
push ecx
lea ecx, [ebp - 0x130]
push ecx
call eax
movzx eax, word [ebp - 0x128]
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x124], 1
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x124], esi
je 0x10012058
cmp dword [ebp - 0x130], 6
jne 0x1001204c
cmp dword [ebp - 0x12c], 2
jae 0x1001204e
jmp 0x10012058
jbe 0x10012058
mov dword [0x100cf228], 1
mov dword [0x100cc07c], esi
cmp dword [0x100cf228], esi
mov eax, 1
cmovne esi, eax
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100612dc
mov esp, ebp
pop ebp
ret
Function at 0x100123f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100c49b8
push 0x1006c790
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x100cd4bc]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x43c], esi
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
push 0x200
push 0
lea eax, [ebp - 0x42c]
push eax
call fcn.1006c590
push edi
push str.SYSTEMCurrentControlSetServices_sParameters
push 0xff
lea eax, [ebp - 0x42c]
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x1c
lea eax, [ebp - 0x430]
push eax
push 0x20219
push 0
lea eax, [ebp - 0x42c]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10012509
mov dword [ebp - 0x438], eax
push 0x210
push eax
lea eax, [ebp - 0x22c]
push eax
call fcn.1006c590
add esp, 0xc
mov dword [ebp - 0x434], 0x210
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x438]
push eax
push 0
push str.ServiceDll
push dword [ebp - 0x430]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10012509
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp + 0x10]
cmp ecx, eax
jle 0x10012509
push ecx
lea eax, [ebp - 0x22c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov dword [ebp - 4], 0xfffffffe
call fcn.1001253b
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.100612dc
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10012890
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009d8d8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x100cd4bc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100128db
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsRootW]
test eax, eax
je 0x100128f9
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push esi
lea ecx, [ebp - 0x10]
call fcn.10002180
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], 0
mov edi, dword [eax - 0xc]
lea esi, [edi + 1]
test esi, esi
js 0x100129ba
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, esi
or ecx, edx
jge 0x10012937
push esi
lea ecx, [ebp - 0x10]
call fcn.10001860
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov word [eax + edi*2], cx
mov eax, dword [ebp - 0x10]
cmp esi, dword [eax - 8]
jg 0x100129ba
mov dword [eax - 0xc], esi
xorps xmm0, xmm0
mov eax, dword [ebp - 0x10]
mov word [eax + esi*2], cx
mov eax, 0x614
mov word [ebp - 0x20], ax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x30], ecx
movlpd qword [ebp - 0x1e], xmm0
mov dword [ebp - 0x16], ecx
mov dword [ebp - 0x2c], 3
mov dword [ebp - 0x24], ecx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov edi, dword [ebp - 0x10]
neg eax
mov dword [ebp - 4], 0xffffffff
sbb esi, esi
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x100129a6
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
lea eax, [esi + 1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.100015b0
int3
Function at 0x10013410
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009d9c0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x100cd4bc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
test esi, esi
je 0x10013576
cmp dword [ebp + 0xc], 0
je 0x10013576
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x10013576
call fcn.10001ca0
mov ecx, eax
test ecx, ecx
je 0x10013597
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
or ebx, 0xffffffff
test eax, eax
je 0x100134c9
push ecx
mov ecx, esp
push esi
call fcn.10002180
lea eax, [ebp - 0x10]
push eax
call fcn.10010f00
add esp, 8
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.100015d0
mov edx, dword [ebp - 0x10]
mov eax, ebx
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100134d2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x100134d2
push esi
lea ecx, [ebp + 8]
call fcn.10002130
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100134e7
push str.file_not_found
jmp 0x1001353c
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100134f0
sub ecx, edx
sar ecx, 1
je 0x1001350d
push edi
push esi
call fcn.100556f0
add esp, 8
jmp 0x10013516
push esi
call fcn.10055b90
add esp, 4
test eax, eax
je 0x10013537
push 0
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push 0
push dword [ebp + 0xc]
push esi
call fcn.1000fac0
add esp, 0x1c
mov edi, eax
jmp 0x10013546
push str.file_sign_error
call fcn.10018d40
add esp, 4
xor edi, edi
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x10013562
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.invalid_param
call fcn.10018d40
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.100015b0
int3
Function at 0x100135b0
Capabilities:
Check if file exists
Delete file
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009d9f0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x100cd4bc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
call esi
test eax, eax
jne 0x100136a8
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100136a8
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x10013616
push edi
call esi
test eax, eax
jne 0x100136a8
call fcn.10001ca0
mov ecx, eax
test ecx, ecx
je 0x100136bf
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push edi
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.10002180
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.1000feb0
mov edx, dword [ebp - 0x10]
or ebx, 0xffffffff
add esp, 8
mov byte [ebp - 4], 0
mov esi, eax
add edx, 0xfffffff0
mov ecx, ebx
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x10013677
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 4
test esi, esi
mov esi, dword [ebp - 0x14]
push 0
je 0x10013685
push esi
jmp 0x10013686
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x100136a8
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.100015b0
int3

Function at 0x10013930
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push dword [ebp + 8]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x1001394a
pop edi
pop ebp
ret
push esi
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop edi
pop ebp
ret

Function at 0x10013fe0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov esi, dword [ebp + 0x10]
mov ebx, eax
test esi, esi
je 0x10013ffc
cmp dword [esi], 0
jne 0x10014019
call edi
sub eax, ebx
cmp eax, dword [ebp + 0xc]
jae 0x10014019
push 0xa
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x10014020
cmp eax, 0xffffffff
jne 0x10013ff3
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret
Function at 0x10016dd0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x100cd4bc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x208
lea eax, [ebp - 0x20c]
mov edi, ecx
push 0
push eax
call fcn.1006c590
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0x10000000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x20c]
push eax
call ebx
mov esi, dword [ebp + 8]
test esi, esi
je 0x10016e3e
nop dword [eax + eax]
lea eax, [ebp - 0x20c]
push eax
call ebx
sub esi, 1
jne 0x10016e30
push str.net.dll
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10016ecc
cmp dword [edi], 0
jne 0x10016ea2
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi], eax
test eax, eax
je 0x10016ecc
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.HttpInit
push eax
call esi
push str.HttpUninit
push dword [edi]
mov dword [edi + 4], eax
call esi
mov dword [edi + 8], eax
mov eax, dword [edi + 4]
test eax, eax
je 0x10016ea2
call eax
mov dword [edi + 0xc], eax
cmp dword [edi + 8], 0
je 0x10016ecc
cmp dword [edi + 4], 0
je 0x10016ecc
cmp dword [edi + 0xc], 0
je 0x10016ecc
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100612dc
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100612dc
mov esp, ebp
pop ebp
ret 4
Function at 0x10017ea0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009e008
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x100cd4bc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push dword [ebp + 8]
mov dword [ebp - 4], 2
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10017f4c
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x10017f4c
lea eax, [ebp + 0x10]
push eax
lea ecx, [edi + 0xc]
call fcn.100015d0
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push 0x100bf9f0
call fcn.10002180
mov eax, dword [ebp + 0xc]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x14], esp
mov esi, esp
mov byte [ebp - 4], 3
push eax
mov dword [ebp - 0x18], esi
call fcn.100016d0
add eax, 0x10
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov esi, esp
add eax, 0xfffffff0
mov byte [ebp - 4], 4
push eax
mov dword [ebp - 0x18], esi
call fcn.100016d0
add esp, 4
add eax, 0x10
mov dword [esi], eax
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.10017fc0
mov edx, dword [ebp + 8]
or esi, 0xffffffff
mov byte [ebp - 4], 1
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10017f6d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0xc]
mov eax, esi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10017f8b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x10017faa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100190b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009e223
mov eax, dword fs:[0]
push eax
sub esp, 0x98
push ebx
push esi
push edi
mov eax, dword [0x100cd4bc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], 2
cmp dword [eax - 0xc], 0
je 0x100190f9
push eax
push dword [ebp + 8]
call fcn.100556f0
add esp, 8
jmp 0x10019104
push dword [ebp + 8]
call fcn.10055b90
add esp, 4
mov ebx, eax
test ebx, ebx
je 0x100191d3
mov ecx, dword [ebp + 0x14]
cmp ecx, 1
je 0x100191b2
cmp ecx, 2
je 0x100191b2
cmp ecx, 3
jne 0x100191d3
push 5
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0x100a3fd0
call fcn.1001a4b0
add esp, 0x14
test eax, eax
jne 0x1001915c
push 5
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0x100a3fd0
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
call fcn.10054ac0
test eax, eax
je 0x100191d3
call fcn.10054ac0
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x100191d3
call fcn.10054ac0
lea ecx, [ebp - 0xa4]
mov edi, eax
call fcn.10003290
mov esi, eax
push str.desk
push esi
mov byte [ebp - 4], 3
call fcn.10003e90
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x14]
lea ecx, [ebp - 0xa4]
call fcn.10003f50
jmp 0x100191d3
xor eax, eax
cmp ecx, 2
sete al
push eax
push 0
push 0
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1000fac0
add esp, 0x1c
mov ebx, eax
mov edx, dword [ebp + 8]
or esi, 0xffffffff
mov byte [ebp - 4], 1
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100191f4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0xc]
mov eax, esi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10019212
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x10019231
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10