joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10002206
Capabilities:
Copy file

Disassembly:
push 0xc
mov eax, 0x1004aeac
call fcn.10026ad1
mov ebx, ecx
lea ecx, [ebp - 0x10]
call fcn.100014de
and dword [ebp - 4], 0
push 1
push ecx
mov ecx, esp
push str.productCode
call fcn.10001361
mov ecx, dword [ebx]
lea eax, [ebp - 0x14]
push eax
call fcn.10011754
push dword [eax]
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 1
push str._CommonAppDataFolder__sib_s
push eax
call fcn.10002dbd
mov ecx, dword [ebp - 0x14]
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ecx - 0x10]
call fcn.10005120
lea eax, [ebp - 0x10]
mov ecx, 0x10063f2c
push eax
call fcn.1000b8a0
push 0
push dword [ebp - 0x10]
call fcn.100282ea
test eax, eax
je 0x100022b6
push str.D:_source_aprelSibSiblSibInstallerInstall.cpp
lea ecx, [ebp - 0x14]
call fcn.100013dd
push 0x39b
push dword [eax]
mov byte [ebp - 4], 2
push 0
push dword [ebp - 0x10]
call fcn.100282ea
push eax
call fcn.10016f97
mov ecx, dword [ebp - 0x14]
add esp, 0xc
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.10005120
push ecx
mov eax, esp
lea ecx, [ebp - 0x10]
push str._sib.dat
push ecx
push eax
call fcn.100016d1
mov ecx, dword [ebx]
add esp, 0xc
call fcn.10008a3e
mov edi, str.SibClr.dll
lea eax, [ebp - 0x10]
push edi
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.100016d1
mov esi, eax
push edi
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 3
push 0x10063f20
push eax
call fcn.100016d1
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileW]
add esp, 0x18
push 0
push dword [esi]
push dword [eax]
call edi
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.10005120
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 0
lea ecx, [ecx - 0x10]
call fcn.10005120
push str.SibCa.dll
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.100016d1
mov esi, eax
push str.SibCa.dll
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 4
push 0x10063f20
push eax
call fcn.100016d1
add esp, 0x18
push 0
push dword [esi]
push dword [eax]
call edi
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.10005120
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
lea ecx, [ecx - 0x10]
call fcn.10005120
mov eax, dword [ebx]
xor edi, edi
cmp dword [eax + 0x38], edi
jle 0x100023c7
push edi
lea ecx, [eax + 0x30]
call fcn.10002baf
cmp dword [eax + 0x10], 1
jne 0x100023bf
mov eax, dword [ebx]
cmp dword [eax + 0x18], 0
je 0x1000239f
push edi
mov ecx, ebx
call fcn.10003ad3
jmp 0x100023bf
push ecx
mov esi, esp
mov dword [ebp - 0x18], esi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.1000276c
pop ecx
add eax, 0x10
mov ecx, ebx
push edi
mov dword [esi], eax
call fcn.10003d2d
mov eax, dword [ebx]
inc edi
cmp edi, dword [eax + 0x38]
jl 0x1000237e
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.10005120
call fcn.10026a9f
ret
Function at 0x1000398b
Capabilities:
Delete file

Disassembly:
push 4
mov eax, 0x1004ae00
call fcn.10026ad1
mov ebx, ecx
and dword [ebx + 0x10], 0
lea edi, [ebx + 0xc]
mov ecx, edi
call fcn.10002c25
lea ecx, [ebx + 8]
call fcn.10002c25
lea ecx, [ebp - 0x10]
call fcn.100014de
mov esi, dword [ebp + 8]
and dword [ebp - 4], 0
mov eax, dword [esi + 0xc]
sub eax, 1
je 0x10003a13
sub eax, 1
je 0x100039f0
sub eax, 4
jne 0x10003a42
push dword [ebp + 0xc]
mov ecx, ebx
call fcn.10003ad3
push dword [ebp + 0xc]
mov ecx, ebx
push esi
call fcn.10001e8a
test eax, eax
jne 0x10003a42
push str.Action_failed
jmp 0x10003a27
push dword [ebp + 0xc]
mov ecx, ebx
push esi
call fcn.100025ba
test eax, eax
je 0x10003a22
push dword [ebp + 0xc]
mov ecx, ebx
call fcn.10003ad3
push esi
mov ecx, ebx
call fcn.10001f1c
jmp 0x10003a42
push dword [ebp + 0xc]
mov ecx, ebx
push esi
call fcn.100025ba
test eax, eax
jne 0x10003a30
push str.Condition_failed
mov ecx, edi
call fcn.1000592e
jmp 0x10003a42
push dword [ebp + 0xc]
mov ecx, ebx
call fcn.10003ad3
push esi
mov ecx, ebx
call fcn.10001828
push dword [ebx + 0x10]
lea eax, [ebp - 0x10]
push 0x1004e8ac
push eax
call fcn.10002dbd
add esp, 0xc
mov ecx, 0x10063f08
push dword [edi]
mov edi, dword [ebp - 0x10]
push dword [ebx + 8]
push edi
push dword [esi + 4]
push str.AddActionResult
call fcn.10006701
xor eax, eax
lea ecx, [ebx + 0x14]
mov dword [ebp + 0xc], eax
mov dword [ebp + 8], ecx
cmp dword [ebx + 0x1c], eax
jle 0x10003aba
push eax
lea ecx, [ebx + 0x14]
call fcn.10002b90
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.1000276c
pop ecx
lea esi, [eax + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esi - 0x10]
call fcn.10005120
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
cmp eax, dword [ebx + 0x1c]
jl 0x10003a81
mov edi, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
push 0xffffffffffffffff
push 0
call fcn.1001a19d
lea ecx, [edi - 0x10]
call fcn.10005120
call fcn.10026a9f
ret 8
Function at 0x10003ad3
Capabilities:
Set file attributes

Disassembly:
push 0x254
mov eax, 0x1004b12f
call fcn.10026b04
mov edi, ecx
lea ecx, [ebp - 0x220]
call fcn.100014de
mov eax, dword [edi]
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [eax + 0x18], ebx
je 0x10003d17
push 0x104
lea eax, [ebp - 0x218]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x24c]
call fcn.100185a1
push ebx
push 0x40
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x24c]
call fcn.10018bf9
mov eax, dword [ebp - 0x24c]
lea ecx, [ebp - 0x24c]
push ebx
push ebx
push ebx
call dword [eax + 0x2c]
mov eax, dword [edi]
mov eax, dword [eax + 0x5c]
mov dword [ebp - 0x224], eax
test eax, eax
je 0x10003d01
mov ecx, dword [edi]
lea eax, [ebp - 0x224]
push eax
add ecx, 0x58
call fcn.10003263
mov esi, dword [eax]
mov eax, dword [ebp + 8]
cmp dword [esi + 8], eax
jne 0x10003cf4
mov eax, dword [esi + 0x10]
sub eax, 0x10
push eax
call fcn.1000276c
add eax, 0x10
pop ecx
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 2
push eax
mov ecx, 0x10063f2c
call fcn.1000b8a0
push ebx
push dword [ebp - 0x21c]
cmp dword [esi + 0xc], ebx
je 0x10003bbb
call fcn.100282ea
jmp 0x10003ce2
call fcn.100282ea
xor ebx, ebx
test eax, eax
setne bl
test eax, eax
je 0x10003c01
push str.D:_source_aprelSibSiblSibInstallerInstall.cpp
lea ecx, [ebp - 0x228]
call fcn.100013dd
push 0x12d
push dword [eax]
mov byte [ebp - 4], 3
push ebx
call fcn.10016f97
mov ecx, dword [ebp - 0x228]
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ecx - 0x10]
call fcn.10005120
push dword [esi + 4]
lea eax, [ebp - 0x220]
push dword [ebp - 0x21c]
push str._s_s
push eax
call fcn.10002dbd
mov ecx, dword [esi + 0x38]
add esp, 0x10
mov edx, dword [esi + 0x3c]
mov eax, ecx
or eax, edx
jne 0x10003c30
mov ecx, dword [esi + 0x40]
mov edx, dword [esi + 0x44]
push 0x1001
push dword [ebp - 0x220]
mov dword [ebp - 0x230], ecx
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x22c], edx
call fcn.10018565
xor ebx, ebx
mov byte [ebp - 4], 4
push ebx
push dword [esi + 0x34]
lea ecx, [ebp - 0x24c]
push dword [esi + 0x30]
call fcn.10018e44
mov eax, dword [esi + 0x38]
lea ecx, [edi + 0x28]
or eax, dword [esi + 0x3c]
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x24c]
push eax
je 0x10003c91
call fcn.10014d7e
jmp 0x10003c96
call fcn.10014c93
mov eax, dword [esi + 0x24]
mov dword [ebp - 0x238], eax
mov eax, dword [esi + 0x28]
mov dword [ebp - 0x234], eax
lea eax, [ebp - 0x238]
push eax
push ebx
push eax
push dword [ebp - 0x25c]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
lea ecx, [ebp - 0x260]
call fcn.100188ce
push dword [esi + 0x1c]
push dword [ebp - 0x220]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [ebp - 0x260]
call fcn.10018625
mov ecx, dword [ebp - 0x21c]
mov byte [ebp - 4], 1
lea ecx, [ecx - 0x10]
call fcn.10005120
cmp dword [ebp - 0x224], 0
jne 0x10003b5b
lea ecx, [ebp - 0x24c]
call fcn.100188ce
lea ecx, [ebp - 0x24c]
call fcn.10018625
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0x10]
call fcn.10005120
call fcn.10026ab3
ret 4
Function at 0x10003d2d
Capabilities:
Copy file

Disassembly:
push 0x20
mov eax, 0x1004b18e
call fcn.10026ad1
mov ebx, ecx
mov dword [ebp - 0x2c], ebx
and dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.100014de
lea ecx, [ebp - 0x1c]
call fcn.100014de
mov eax, dword [ebx]
mov edi, dword [ebp - 0x14]
mov byte [ebp - 4], 2
mov eax, dword [eax + 0x5c]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x10003e9f
mov ecx, dword [ebx]
lea eax, [ebp - 0x20]
push eax
add ecx, 0x58
call fcn.10003263
mov ebx, dword [eax]
mov eax, dword [ebp + 8]
cmp dword [ebx + 8], eax
jne 0x10003e92
mov eax, dword [ebx + 0x10]
sub eax, 0x10
push eax
call fcn.1000276c
add eax, 0x10
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x10]
sub eax, 0x10
mov byte [ebp - 4], 3
push eax
call fcn.1000276c
pop ecx
add eax, 0x10
pop ecx
mov dword [ebp - 0x10], eax
push dword [0x10063f1c]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
push str.PkgDir
call fcn.10005347
push dword [ebp + 0xc]
lea ecx, [ebp - 0x18]
push str.PkgDir
call fcn.10005347
cmp dword [ebx + 0xc], 0
mov esi, dword [ebp - 0x18]
push 0
push esi
je 0x10003dec
call fcn.100282ea
jmp 0x10003e7b
call fcn.100282ea
xor ecx, ecx
test eax, eax
setne cl
mov dword [ebp - 0x24], ecx
test eax, eax
je 0x10003e31
push str.D:_source_aprelSibSiblSibInstallerInstall.cpp
lea ecx, [ebp - 0x28]
call fcn.100013dd
push 0xf3
push dword [eax]
mov byte [ebp - 4], 5
push dword [ebp - 0x24]
call fcn.10016f97
mov ecx, dword [ebp - 0x28]
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ecx - 0x10]
call fcn.10005120
push dword [ebx + 4]
mov edi, str._s_s
lea eax, [ebp - 0x14]
push dword [ebp - 0x10]
push edi
push eax
call fcn.10002dbd
push dword [ebx + 4]
lea eax, [ebp - 0x1c]
push esi
push edi
push eax
call fcn.10002dbd
mov edi, dword [ebp - 0x14]
add esp, 0x20
push 0
push dword [ebp - 0x1c]
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x10003e7b
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.10016f97
add esp, 0xc
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.10005120
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 2
call fcn.10005120
cmp dword [ebp - 0x20], 0
mov ebx, dword [ebp - 0x2c]
jne 0x10003d69
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.10005120
lea ecx, [edi - 0x10]
call fcn.10005120
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx - 0x10]
call fcn.10005120
call fcn.10026a9f
ret 8
Function at 0x10005d25
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10005d7f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10005d7f
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [ebp + 0x10]
lea ecx, [esi + eax]
and edx, 0xf
jbe 0x10005d6f
cmp esi, ecx
jae 0x10005d7f
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edx, 1
jne 0x10005d5d
cmp esi, ecx
jae 0x10005d7f
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
jmp 0x10005d81
xor eax, eax
pop esi
pop ebp
ret

Function at 0x10006290
Capabilities:
Load windows common language runtime

Disassembly:
push 0xc
mov eax, 0x1004b4ac
call fcn.10026ad1
mov dword [ebp - 0x14], ecx
push str.mscoree.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test edi, edi
jne 0x100062e5
push str.D:_source_aprelSibSiblSiblClrHost.cpp
lea ecx, [ebp - 0x10]
call fcn.100013dd
and dword [ebp - 4], 0
push 0x40
push dword [eax]
call esi
push eax
call fcn.10016f97
mov ecx, dword [ebp - 0x10]
add esp, 0xc
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.10005120
push str.CorBindToRuntimeEx
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x10006338
call esi
push edi
mov esi, eax
call ebx
push str.D:_source_aprelSibSiblSiblClrHost.cpp
lea ecx, [ebp - 0x18]
call fcn.100013dd
push 0x49
push dword [eax]
mov dword [ebp - 4], 1
push esi
call fcn.10016f97
mov ecx, dword [ebp - 0x18]
add esp, 0xc
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.10005120
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
add esi, 8
push esi
push 0x1004f49c
push 0x1004f48c
push 2
push 0
push str.v4.0.30319
call eax
test eax, eax
jns 0x100063b1
push esi
push 0x1004f49c
push 0x1004f48c
push 2
push 0
push str.v2.0.50727
call dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
test eax, eax
jns 0x100063ab
push edi
call ebx
push str.D:_source_aprelSibSiblSiblClrHost.cpp
lea ecx, [ebp - 0x10]
call fcn.100013dd
push 0x57
push dword [eax]
mov dword [ebp - 4], 2
push dword [ebp - 0x18]
call fcn.10016f97
mov ecx, dword [ebp - 0x10]
add esp, 0xc
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.10005120
mov eax, dword [ebp - 0x14]
mov byte [eax], 1
mov eax, dword [esi]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov dword [ebp - 0x18], eax
test eax, eax
jns 0x100063fc
mov ecx, dword [esi]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
and dword [esi], 0
push edi
call ebx
push str.D:_source_aprelSibSiblSiblClrHost.cpp
lea ecx, [ebp - 0x14]
call fcn.100013dd
push 0x64
push dword [eax]
mov dword [ebp - 4], 3
push dword [ebp - 0x18]
call fcn.10016f97
mov ecx, dword [ebp - 0x14]
add esp, 0xc
lea ecx, [ecx - 0x10]
call fcn.10005120
push edi
call ebx
call fcn.10026a9f
ret
Function at 0x10006405
Capabilities:
Load windows common language runtime

Disassembly:
push 0x10
mov eax, 0x1004b4ee
call fcn.10026ad1
mov dword [ebp - 0x14], ecx
push str.mscoree.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test edi, edi
jne 0x1000645a
push str.D:_source_aprelSibSiblSiblClrHost.cpp
lea ecx, [ebp - 0x10]
call fcn.100013dd
and dword [ebp - 4], 0
push 0x73
push dword [eax]
call esi
push eax
call fcn.10016f97
mov ecx, dword [ebp - 0x10]
add esp, 0xc
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.10005120
push str.CorBindToRuntimeEx
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x100064ad
call esi
push edi
mov esi, eax
call ebx
push str.D:_source_aprelSibSiblSiblClrHost.cpp
lea ecx, [ebp - 0x18]
call fcn.100013dd
push 0x7c
push dword [eax]
mov dword [ebp - 4], 1
push esi
call fcn.10016f97
mov ecx, dword [ebp - 0x18]
add esp, 0xc
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.10005120
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
add esi, 8
push esi
push 0x1004f49c
push 0x1004f48c
push 2
push 0
push str.v2.0.50727
call eax
test eax, eax
jns 0x10006525
push esi
push 0x1004f49c
push 0x1004f48c
push 2
push 0
push str.v4.0.30319
call dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
test eax, eax
jns 0x1000652b
push edi
call ebx
push str.D:_source_aprelSibSiblSiblClrHost.cpp
lea ecx, [ebp - 0x14]
call fcn.100013dd
push 0x8b
push dword [eax]
mov dword [ebp - 4], 2
push dword [ebp - 0x18]
call fcn.10016f97
mov ecx, dword [ebp - 0x14]
add esp, 0xc
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.10005120
jmp 0x1000652b
mov eax, dword [ebp - 0x14]
mov byte [eax], 1
mov eax, dword [esi]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov dword [ebp - 0x18], eax
test eax, eax
jns 0x10006579
mov ecx, dword [esi]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
and dword [esi], 0
push edi
call ebx
push str.D:_source_aprelSibSiblSiblClrHost.cpp
lea ecx, [ebp - 0x1c]
call fcn.100013dd
push 0x98
push dword [eax]
mov dword [ebp - 4], 3
push dword [ebp - 0x18]
call fcn.10016f97
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
lea ecx, [ecx - 0x10]
call fcn.10005120
push edi
call ebx
call fcn.10026a9f
ret
Function at 0x1000bb95
Capabilities:
Delete file

Disassembly:
push 8
mov eax, 0x1004bbde
call fcn.10026ad1
and dword [ebp - 0x10], 0
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.100014de
and dword [ebp - 4], 0
mov ebx, 0x104
push ebx
mov ecx, edi
mov dword [ebp - 0x10], 1
call fcn.10004f08
push ebx
mov ecx, edi
mov esi, eax
call fcn.10005677
push ebx
push esi
push 0x1004f200
call fcn.10027dee
push 0xffffffffffffffff
mov ecx, edi
mov esi, eax
call fcn.10005138
mov ebx, str.D:_source_aprelSibSiblSiblEnvTools.cpp
test esi, esi
je 0x1000bc20
push ebx
lea ecx, [ebp - 0x14]
call fcn.100013dd
push 0x11e
push dword [eax]
mov dword [ebp - 4], 1
push esi
call fcn.10016f97
mov ecx, dword [ebp - 0x14]
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ecx - 0x10]
call fcn.10005120
push dword [edi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push dword [edi]
call fcn.100282ea
mov esi, eax
test esi, esi
je 0x1000bc62
push ebx
lea ecx, [ebp - 0x14]
call fcn.100013dd
push 0x123
push dword [eax]
mov dword [ebp - 4], 2
push esi
call fcn.10016f97
mov ecx, dword [ebp - 0x14]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.10005120
mov eax, edi
call fcn.10026a9f
ret
Function at 0x1000bd5f
Capabilities:
Get common file path
Query environment variable

Disassembly:
push 0x5c
mov eax, 0x1004bc30
call fcn.10026b04
mov ebx, ecx
mov edi, 0x10062008
lea ecx, [ebp - 0x5c]
call fcn.100014de
and dword [ebp - 4], 0
cmp dword [edi], 0xffffffff
jne 0x1000bdef
push dword [edi - 8]
lea ecx, [ebp - 0x68]
call fcn.10001434
push str.Temp
push dword [eax]
call fcn.10005a20
pop ecx
pop ecx
mov ecx, dword [ebp - 0x68]
mov esi, eax
add ecx, 0xfffffff0
call fcn.10005120
test esi, esi
jne 0x1000bdb4
push 0x10063f20
jmp 0x1000bde7
push dword [edi - 8]
lea ecx, [ebp - 0x64]
call fcn.10001434
push str.PkgDir
push dword [eax]
call fcn.10005a20
pop ecx
pop ecx
mov ecx, dword [ebp - 0x64]
mov esi, eax
add ecx, 0xfffffff0
call fcn.10005120
test esi, esi
jne 0x1000bf1d
push 0x10063f1c
lea ecx, [ebp - 0x5c]
call fcn.100015cc
cmp dword [edi], 0
lea ecx, [ebp - 0x5c]
push 0x104
jne 0x1000be21
call fcn.10004f08
push 0x104
lea ecx, [ebp - 0x5c]
mov esi, eax
call fcn.10005677
push 0x104
push esi
push dword [edi - 4]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
jmp 0x1000be43
call fcn.10004f08
push 0x104
lea ecx, [ebp - 0x5c]
mov esi, eax
call fcn.10005677
push esi
xor eax, eax
push eax
push eax
push dword [edi]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x5c]
call fcn.10005138
push 0x1004e874
lea ecx, [ebp - 0x5c]
call fcn.10005bd1
lea ecx, [ebp - 0x5c]
call fcn.10005c4a
mov ecx, eax
call fcn.10005b05
push 0x1004e8b4
push dword [ebp - 0x5c]
call fcn.10005a20
pop ecx
pop ecx
test eax, eax
je 0x1000bef5
push 0x1004e874
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.100016d1
add esp, 0xc
push dword [eax]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.1000b58c
mov ecx, dword [ebp - 0x60]
mov byte [ebp - 4], 3
lea ecx, [ecx - 0x10]
call fcn.10005120
push dword [edi - 8]
lea ecx, [ebp - 0x58]
call fcn.1000b58c
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x40]
call fcn.1000b55d
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebx + 0x1c]
call fcn.1000a4f3
lea ecx, [ebp - 0x40]
call fcn.1000c392
lea ecx, [ebp - 0x58]
call fcn.1000c392
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.1000c392
cmp dword [edi], 0xffffffff
je 0x1000bf1d
push dword [edi - 8]
lea ecx, [ebp - 0x28]
call fcn.1000b58c
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebx + 0x28]
call fcn.1000a521
lea ecx, [ebp - 0x28]
call fcn.1000c392
mov ecx, dword [ebp - 0x5c]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.10005120
add edi, 0x10
cmp edi, 0x10062228
jl 0x1000bd72
push dword [ebx + 0x2c]
lea edi, [ebx + 0x28]
push dword [edi]
call fcn.1000b462
mov esi, dword [ebx + 0x2c]
lea eax, [ebp - 0x60]
push esi
push dword [edi]
push eax
call fcn.1000b4a0
add esp, 0x14
mov ecx, edi
push esi
push dword [eax]
lea eax, [ebp - 0x64]
push eax
call fcn.1000c468
push dword [ebp - 0x60]
mov eax, dword [ebx + 0x20]
sub eax, dword [ebx + 0x1c]
push 0x30
pop ecx
cdq
idiv ecx
push eax
push dword [ebx + 0x20]
push dword [ebx + 0x1c]
call fcn.1000b1db
add esp, 0x10
call fcn.10026ab3
ret
Function at 0x1000c08c
Capabilities:
Access the windows event log

Disassembly:
push 4
mov eax, 0x1004ba1b
call fcn.10026ad1
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], edi
cmp dword [eax - 0xc], edi
je 0x1000c115
push 0x1005055c
push edi
mov dword [ebp - 0x10], edi
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov esi, eax
test esi, esi
je 0x1000c115
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
setne bl
add ebx, 0x6d7
cmp dword [ebp + 0x10], edi
je 0x1000c0d0
inc edi
jmp 0x1000c0d9
cmp dword [ebp + 0x14], edi
push 4
pop eax
cmovne edi, eax
mov eax, dword [ebp + 8]
cmp dword [eax - 4], 1
jle 0x1000c0f0
push dword [eax - 0xc]
lea ecx, [ebp + 8]
call fcn.10002d51
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push 0
push eax
push 0
push 1
call fcn.1000bc6a
push eax
push ebx
push 0
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.10005120
call fcn.10026a9f
ret

Function at 0x1000c533
Capabilities:
Connect socket
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x100626f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
and dword [ebp - 0x38], 0
xor eax, eax
push esi
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
push edi
push dword [ebp + 0xc]
lea edi, [ebp - 0x14]
movlpd qword [ebp - 0x28], xmm0
stosd dword es:[edi], eax
or ebx, 0xffffffff
push 0x1004f6bc
push 0x10
movlpd qword [ebp - 0x20], xmm0
stosd dword es:[edi], eax
mov dword [ebp - 0x34], 2
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x2c], 6
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x14]
push eax
call fcn.1000cc5a
add esp, 0x10
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x1000c610
mov esi, dword [ebp - 0x18]
jmp 0x1000c5e6
push dword [esi + 0xc]
push dword [esi + 8]
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_socket]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1000c5ec
push dword [esi + 0x10]
push dword [esi + 0x18]
push ebx
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x1000c5f1
call fcn.1002cf44
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
mov esi, dword [esi + 0x1c]
or ebx, 0xffffffff
test esi, esi
jne 0x1000c5ad
jmp 0x1000c5f1
call fcn.1002cf44
push dword [ebp - 0x18]
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
cmp ebx, 0xffffffff
je 0x1000c610
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10026a91
leave
ret
call fcn.10038c8a
int3