joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100b6c50
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x10], 0
jne 0x100b6c89
cmp dword [esi + 0xc], 0
jne 0x100b6c89
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push esi
push 0x100b6ca0
push 0
push 0
mov dword [esi + 0x10], eax
call fcn.100ee4df
add esp, 0x18
mov dword [esi + 0xc], eax
pop esi
ret

Function at 0x100b6cc0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4
mov eax, dword [0x10167c60]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0xc4], 0x740068
push ebx
push esi
mov word [ebp - 8], ax
lea esi, [ebp - 0xc4]
mov eax, 0x1017f1e8
mov dword [ebp - 0xc0], 0x700074
push edi
mov dword [ebp - 0xbc], 0x2f003a
mov edx, 0x400
mov dword [ebp - 0xb8], 0x77002f
sub esi, eax
mov dword [ebp - 0xb4], 0x2e0070
mov dword [ebp - 0xb0], 0x680073
mov dword [ebp - 0xac], 0x6e0061
mov dword [ebp - 0xa8], 0x750068
mov dword [ebp - 0xa4], 0x650074
mov dword [ebp - 0xa0], 0x680063
mov dword [ebp - 0x9c], 0x63002e
mov dword [ebp - 0x98], 0x2f006e
mov dword [ebp - 0x94], 0x6e0069
mov dword [ebp - 0x90], 0x660074
mov dword [ebp - 0x8c], 0x43002f
mov dword [ebp - 0x88], 0x610068
mov dword [ebp - 0x84], 0x67006e
mov dword [ebp - 0x80], 0x530065
mov dword [ebp - 0x7c], 0x610074
mov dword [ebp - 0x78], 0x690074
mov dword [ebp - 0x74], 0x570063
mov dword [ebp - 0x70], 0x6c0061
mov dword [ebp - 0x6c], 0x70006c
mov dword [ebp - 0x68], 0x700061
mov dword [ebp - 0x64], 0x720065
mov dword [ebp - 0x60], 0x61003f
mov dword [ebp - 0x5c], 0x700070
mov dword [ebp - 0x58], 0x650076
mov dword [ebp - 0x54], 0x3d0072
mov dword [ebp - 0x50], 0x730025
mov dword [ebp - 0x4c], 0x630026
mov dword [ebp - 0x48], 0x640069
mov dword [ebp - 0x44], 0x3d0073
mov dword [ebp - 0x40], 0x730025
mov dword [ebp - 0x3c], 0x730026
mov dword [ebp - 0x38], 0x610074
mov dword [ebp - 0x34], 0x650074
mov dword [ebp - 0x30], 0x25003d
mov dword [ebp - 0x2c], 0x260073
mov dword [ebp - 0x28], 0x6f0063
mov dword [ebp - 0x24], 0x6e0075
mov dword [ebp - 0x20], 0x3d0074
mov dword [ebp - 0x1c], 0x640025
mov dword [ebp - 0x18], 0x770026
mov dword [ebp - 0x14], 0x640069
mov dword [ebp - 0x10], 0x3d0073
mov dword [ebp - 0xc], 0x730025
nop word [eax + eax]
lea ecx, [edx + 0x7ffffbfe]
test ecx, ecx
je 0x100b6e8e
movzx ecx, word [esi + eax]
test cx, cx
je 0x100b6e8e
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x100b6e70
lea ecx, [eax - 2]
test edx, edx
pop edi
cmovne ecx, eax
xor eax, eax
pop esi
pop ebx
mov word [ecx], ax
mov eax, 0x1017f1e8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100c495f
mov esp, ebp
pop ebp
ret
Function at 0x100b6ec0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd4
mov eax, dword [0x10167c60]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0xd4], 0x740068
push ebx
push esi
mov word [ebp - 8], ax
lea esi, [ebp - 0xd4]
mov eax, 0x1017f9e8
mov dword [ebp - 0xd0], 0x700074
push edi
mov dword [ebp - 0xcc], 0x2f003a
mov edx, 0x400
mov dword [ebp - 0xc8], 0x77002f
sub esi, eax
mov dword [ebp - 0xc4], 0x2e0070
mov dword [ebp - 0xc0], 0x680073
mov dword [ebp - 0xbc], 0x6e0061
mov dword [ebp - 0xb8], 0x750068
mov dword [ebp - 0xb4], 0x650074
mov dword [ebp - 0xb0], 0x680063
mov dword [ebp - 0xac], 0x63002e
mov dword [ebp - 0xa8], 0x2f006e
mov dword [ebp - 0xa4], 0x6e0069
mov dword [ebp - 0xa0], 0x660074
mov dword [ebp - 0x9c], 0x43002f
mov dword [ebp - 0x98], 0x610068
mov dword [ebp - 0x94], 0x67006e
mov dword [ebp - 0x90], 0x530065
mov dword [ebp - 0x8c], 0x610074
mov dword [ebp - 0x88], 0x690074
mov dword [ebp - 0x84], 0x570063
mov dword [ebp - 0x80], 0x6c0061
mov dword [ebp - 0x7c], 0x70006c
mov dword [ebp - 0x78], 0x700061
mov dword [ebp - 0x74], 0x720065
mov dword [ebp - 0x70], 0x61003f
mov dword [ebp - 0x6c], 0x700070
mov dword [ebp - 0x68], 0x650076
mov dword [ebp - 0x64], 0x3d0072
mov dword [ebp - 0x60], 0x730025
mov dword [ebp - 0x5c], 0x630026
mov dword [ebp - 0x58], 0x640069
mov dword [ebp - 0x54], 0x3d0073
mov dword [ebp - 0x50], 0x730025
mov dword [ebp - 0x4c], 0x730026
mov dword [ebp - 0x48], 0x610074
mov dword [ebp - 0x44], 0x650074
mov dword [ebp - 0x40], 0x25003d
mov dword [ebp - 0x3c], 0x260073
mov dword [ebp - 0x38], 0x6f0063
mov dword [ebp - 0x34], 0x6e0075
mov dword [ebp - 0x30], 0x3d0074
mov dword [ebp - 0x2c], 0x640025
mov dword [ebp - 0x28], 0x740026
mov dword [ebp - 0x24], 0x670061
mov dword [ebp - 0x20], 0x3d0073
mov dword [ebp - 0x1c], 0x730025
mov dword [ebp - 0x18], 0x770026
mov dword [ebp - 0x14], 0x640069
mov dword [ebp - 0x10], 0x3d0073
mov dword [ebp - 0xc], 0x730025
lea ecx, [edx + 0x7ffffbfe]
test ecx, ecx
je 0x100b70b0
movzx ecx, word [esi + eax]
test cx, cx
je 0x100b70b0
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x100b7092
lea ecx, [eax - 2]
test edx, edx
pop edi
cmovne ecx, eax
xor eax, eax
pop esi
pop ebx
mov word [ecx], ax
mov eax, 0x1017f9e8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100c495f
mov esp, ebp
pop ebp
ret

Function at 0x100b7810
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
cmp dword [edi + 0xc], 0
jne 0x100b786e
cmp dword [edi + 0x10], 0
jne 0x100b786e
cmp dword [edi + 8], 0
jne 0x100b786e
mov eax, dword [ebp + 8]
push 0
push 0
push 1
mov dword [edi], eax
mov eax, dword [ebp + 0xc]
push 0
mov dword [edi + 4], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 0
push 0
mov dword [edi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push edi
push 0x100b7c50
push 0
push 0
mov dword [edi + 0x10], eax
call fcn.100ee4df
add esp, 0x18
mov dword [edi + 8], eax
mov eax, 1
pop edi
pop ebp
ret 8
Function at 0x100b88e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push 0x10174590
push 0x10
mov edi, ecx
call fcn.100c490f
mov esi, eax
add esp, 8
mov dword [ebp - 4], esi
test esi, esi
je 0x100b891d
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
jmp 0x100b891f
xor esi, esi
mov eax, dword [ebp + 8]
push 0
push 0
push esi
push 0x100bad90
push 0
push 0
mov dword [esi + 0xc], eax
mov dword [esi + 8], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi], eax
push dword [edi + 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x100b895c
pop edi
mov eax, 0x5a
pop esi
mov esp, ebp
pop ebp
ret 4
mov edi, dword [esi + 4]
cmp edi, 0x5a
je 0x100b896f
push 0x10
push esi
call fcn.100c459e
add esp, 8
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x100b9700
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012ce3b
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x10167c60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x101806c0], 0
jne 0x100b9938
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.100e67c0
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
push 0x10000000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.100e67c0
lea ecx, [ebp - 0x218]
add esp, 0xc
lea esi, [ebp - 0x420]
mov eax, ecx
mov edx, 0x104
sub esi, eax
nop
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x100b97be
movzx eax, word [esi + ecx]
test ax, ax
je 0x100b97be
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x100b97a0
lea eax, [ecx - 2]
test edx, edx
push str.NetBase.dll
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100b9844
mov edx, 0x104
lea ecx, [ebp - 0x218]
nop dword [eax]
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x100b981e
movzx eax, word [esi + ecx]
test ax, ax
je 0x100b981e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x100b9800
lea eax, [ecx - 2]
test edx, edx
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
lea ecx, [ebp - 0x421]
call fcn.100b8800
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100b9938
lea eax, [ebp - 0x218]
push eax
call fcn.1009bdb0
add esp, 4
test eax, eax
je 0x100b9938
call fcn.100b94b0
mov esi, eax
mov eax, dword [esi + 0x18]
cmp eax, 1
je 0x100b9929
cmp eax, 2
je 0x100b9929
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x428], esi
mov dword [ebp - 4], 0
cmp eax, 1
je 0x100b991b
cmp eax, 2
je 0x100b991b
mov eax, dword [esi + 0x1c]
test eax, eax
jne 0x100b98c8
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 0x1c], eax
test eax, eax
je 0x100b9913
push str.InitLibs
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
test ecx, ecx
je 0x100b9903
lea eax, [esi + 0x20]
push eax
call ecx
add esp, 4
test eax, eax
js 0x100b9903
mov eax, dword [esi + 0x84]
test eax, eax
je 0x100b9903
push 2
call eax
add esp, 4
test eax, eax
jne 0x100b9903
mov eax, 1
jmp 0x100b9918
push dword [esi + 0x1c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi + 0x1c], 0
mov eax, 2
mov dword [esi + 0x18], eax
push esi
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.100ba550
mov dword [0x101806c0], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100c495f
mov esp, ebp
pop ebp
ret
Function at 0x100bafa0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012cfd0
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x10167c60]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov eax, dword [esi + 0x3c]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0x38]
push 0xffffffffffffffff
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push 0
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov edi, eax
cmp edi, 1
jne 0x100bb000
cmp dword [esi + 0x40], 0
jne 0x100bb004
call ebx
mov dword [esi + 0x40], eax
jmp 0x100bb004
test edi, edi
je 0x100bb027
cmp dword [esi + 0x30], 0
jbe 0x100bb11b
cmp edi, 1
jne 0x100bb11b
call ebx
sub eax, dword [esi + 0x40]
cmp eax, 0x2710
jae 0x100bb11b
lea ecx, [ebp - 0x40]
call fcn.1009c9b0
lea edi, [esi + 4]
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], vtable._BaseModule::CAutoLocker.0
mov dword [ebp - 0x14], edi
test edi, edi
je 0x100bb04c
mov eax, dword [edi]
push edi
call dword [eax]
cmp dword [esi + 0x30], 0
mov byte [ebp - 4], 1
jbe 0x100bb0a8
mov eax, dword [esi + 0x20]
test eax, eax
je 0x100bb05f
mov eax, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, dword [esi + 0x2c]
push dword [eax + ecx*4]
lea ecx, [ebp - 0x40]
call fcn.1009ca20
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x24]
dec ecx
and ecx, dword [esi + 0x2c]
push 0
mov ecx, dword [eax + ecx*4]
mov eax, dword [ecx]
call dword [eax]
add dword [esi + 0x30], 0xffffffff
jne 0x100bb096
mov dword [esi + 0x2c], 0
jmp 0x100bb099
inc dword [esi + 0x2c]
cmp dword [esi + 0x30], 0
jbe 0x100bb0a8
push dword [esi + 0x3c]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov byte [ebp - 4], 2
mov dword [ebp - 0x18], vtable._BaseModule::CAutoLocker.0
test edi, edi
je 0x100bb0c4
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 0x3c]
push dword [esi]
mov dword [ebp - 0x2c], 0x33
mov eax, dword [ecx]
add eax, dword [ebp - 0x38]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100bb107
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0x1388
push 1
lea eax, [ebp - 0x2c]
push eax
push 0
push 0x4a
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.1009ca10
jmp 0x100bafd0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x34], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100bb150
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012cff8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x10167c60]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x34]
test eax, eax
jne 0x100bb1bf
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push eax
push eax
push 1
push eax
call esi
push 0
push 0
push 0
push 0
mov dword [edi + 0x38], eax
call esi
push 0
push 0
push edi
push 0x100bb2a0
push 0
push 0
mov dword [edi + 0x3c], eax
call fcn.100ee4df
add esp, 0x18
mov dword [edi + 0x34], eax
test eax, eax
je 0x100bb286
cmp dword [edi + 0x38], 0
je 0x100bb286
cmp dword [edi + 0x3c], 0
je 0x100bb286
lea ebx, [edi + 4]
mov dword [ebp - 0x18], vtable._BaseModule::CAutoLocker.0
mov dword [ebp - 0x14], ebx
test ebx, ebx
je 0x100bb1e9
mov eax, dword [ebx]
push ebx
call dword [eax]
mov eax, dword [edi + 0x30]
mov ecx, dword [edi + 0x28]
inc eax
mov dword [ebp - 4], 0
cmp ecx, eax
ja 0x100bb208
push 1
lea ecx, [edi + 0x20]
call fcn.100bb2f0
mov ecx, dword [edi + 0x28]
lea eax, [ecx - 1]
and dword [edi + 0x2c], eax
mov eax, dword [edi + 0x30]
add eax, dword [edi + 0x2c]
mov ecx, dword [edi + 0x28]
dec ecx
and ecx, eax
lea eax, [ecx*4]
mov ecx, dword [edi + 0x24]
mov dword [ebp - 0x10], eax
cmp dword [ecx + eax], 0
jne 0x100bb245
push 0x14
call fcn.100c456e
mov ecx, dword [edi + 0x24]
add esp, 4
mov edx, dword [ebp - 0x10]
mov dword [edx + ecx], eax
mov eax, edx
mov ecx, dword [edi + 0x24]
push dword [ebp + 8]
mov ecx, dword [eax + ecx]
call fcn.1009c8e0
inc dword [edi + 0x30]
mov dword [ebp - 4], 1
test ebx, ebx
je 0x100bb264
mov eax, dword [ebx]
push ebx
call dword [eax + 4]
push dword [edi + 0x3c]
call dword [sym.imp.KERNEL32.dll_SetEvent]
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 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 4
Function at 0x100be050
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012d28b
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x10167c60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [edi], eax
call fcn.100088b0
mov ecx, eax
test ecx, ecx
je 0x100be24a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x220], eax
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.100e67c0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea ecx, [ebp - 0x219]
call fcn.100bcc70
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
call fcn.100bed90
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
nop word [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100be100
sub eax, edx
lea ecx, [ebp - 0x220]
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.1000b940
lea eax, [ebp - 0x220]
push eax
lea ecx, [edi + 0x34]
call fcn.10008310
lea ecx, [ebp - 0x219]
call fcn.100bcf10
push eax
lea ecx, [edi + 0x34]
call fcn.100bd650
lea eax, [ebp - 0x220]
push eax
lea ecx, [edi + 0x38]
call fcn.10008310
lea ecx, [ebp - 0x219]
call fcn.100bcd50
push eax
lea ecx, [edi + 0x38]
call fcn.100bd650
lea eax, [ebp - 0x220]
push eax
lea ecx, [edi + 0x14]
call fcn.10008310
lea ecx, [ebp - 0x219]
call fcn.100bd0d0
push eax
lea ecx, [edi + 0x14]
call fcn.100bd650
lea eax, [ebp - 0x220]
push eax
lea ecx, [edi + 0x4c]
call fcn.10008310
lea ecx, [ebp - 0x219]
call fcn.100bce30
push eax
lea ecx, [edi + 0x4c]
call fcn.100bd650
mov esi, dword [ebp - 0x220]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push esi
call ebx
test eax, eax
je 0x100be1ca
push 0
mov ecx, edi
call fcn.100be5a0
push dword [edi + 0x34]
call ebx
test eax, eax
je 0x100be1dc
push 1
mov ecx, edi
call fcn.100be5a0
push dword [edi + 0x14]
call ebx
test eax, eax
je 0x100be1f1
push dword [edi + 0x14]
mov ecx, edi
push 2
call fcn.100be650
push dword [edi + 0x4c]
call ebx
test eax, eax
je 0x100be206
push dword [edi + 0x4c]
mov ecx, edi
push 3
call fcn.100be650
mov ecx, edi
call fcn.100be360
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x100be22c
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
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.100c495f
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.10008520
int3
Function at 0x100beca0
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012d3e8
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x10167c60]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi], 0
je 0x100bed72
cmp byte [esi + 0x3c], 0
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
jne 0x100bece7
push dword [esi + 0x34]
call edi
test eax, eax
je 0x100bed14
push dword [esi + 0x34]
call edi
test eax, eax
je 0x100bed02
push 1
mov ecx, esi
call fcn.100be5a0
push dword [esi + 0x34]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [esi + 0x38]
lea eax, [esi + 0x28]
mov ecx, esi
push eax
call fcn.100beed0
mov byte [esi + 0x3c], 0
cmp byte [esi + 0x18], 0
je 0x100bed2c
push dword [esi + 0x14]
lea eax, [esi + 8]
mov ecx, esi
push eax
call fcn.100beed0
mov byte [esi + 0x18], 0
cmp byte [esi + 0x50], 0
je 0x100bed72
lea edi, [esi + 0x60]
mov dword [ebp - 0x14], vtable._BaseModule::CAutoLocker.0
mov dword [ebp - 0x10], edi
test edi, edi
je 0x100bed48
mov eax, dword [edi]
push edi
call dword [eax]
push dword [esi + 0x4c]
lea eax, [esi + 0x40]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.100beed0
mov byte [esi + 0x50], 0
mov dword [ebp - 4], 1
test edi, edi
je 0x100bed72
mov eax, dword [edi]
push edi
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

Function at 0x100bee50
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x10167c60]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov ecx, 0x101806f0
mov dword [ebp - 0x14], 0x6c6c6177
lea esi, [ebp - 0x14]
mov dword [ebp - 0x10], 0x65706170
mov dword [ebp - 0xc], 0x64695f72
mov edx, 0x64
mov byte [ebp - 8], 0
sub esi, ecx
nop dword [eax]
lea eax, [edx + 0x7fffff9a]
test eax, eax
je 0x100beea9
mov al, byte [esi + ecx]
test al, al
je 0x100beea9
mov byte [ecx], al
inc ecx
sub edx, 1
jne 0x100bee90
lea eax, [ecx - 1]
test edx, edx
pop esi
cmovne eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov byte [eax], 0
mov eax, 0x101806f0
call fcn.100c495f
mov esp, ebp
pop ebp
ret
Function at 0x100beed0
Capabilities:
Check if file exists
Create directory
Delete file
Set file attributes
Terminate process
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x10167c60]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x214], edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100bef04
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.100973d0
mov ebx, eax
mov dword [ebp - 0x218], ebx
test ebx, ebx
je 0x100bf08e
xor ecx, ecx
mov eax, 0x2aaaaaab
mov dword [ebp - 0x210], ecx
mov ecx, dword [esi + 4]
sub ecx, dword [esi]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x100bef77
xor edi, edi
nop dword [eax + eax]
mov ecx, dword [esi]
push ebx
add ecx, edi
call fcn.100a33e0
mov ecx, dword [esi + 4]
mov eax, 0x2aaaaaab
sub ecx, dword [esi]
add edi, 0x60
inc dword [ebp - 0x210]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x210], eax
jb 0x100bef40
mov edi, dword [ebp - 0x214]
push ebx
call fcn.100976e0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x100bf080
mov edx, SysReAllocString
mov ecx, ebx
cmp byte [ecx], 0
je 0x100bef9c
inc ecx
sub edx, 1
jne 0x100bef91
mov eax, SysReAllocString
mov esi, edx
sub eax, edx
neg esi
sbb esi, esi
and esi, eax
test edx, edx
je 0x100bf077
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.100e67c0
lea ecx, [ebp - 0x20c]
add esp, 0xc
mov eax, ecx
mov edx, 0x104
sub edi, eax
nop dword [eax + eax]
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x100bf00e
movzx eax, word [edi + ecx]
test ax, ax
je 0x100bf00e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x100beff0
lea eax, [ecx - 2]
test edx, edx
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x100bf077
push 0
lea eax, [ebp - 0x214]
push eax
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call fcn.100e9f68
add esp, 4
push dword [ebp - 0x218]
call fcn.10097510
add esp, 4
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100c495f
mov esp, ebp
pop ebp
ret 8