joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10011520
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edi
mov eax, dword [edi]
cmp eax, 0x270
jne 0x1001157e
lea edx, [edi + 8]
mov esi, eax
nop dword [eax]
mov ecx, dword [edx - 4]
lea edx, [edx + 4]
xor ecx, dword [edx - 4]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub esi, 1
jne 0x10011540
mov eax, dword [edi]
jmp 0x10011669
cmp eax, 0x4e0
jb 0x10011669
mov eax, dword [edi + 0x9c4]
push ebx
lea ebx, [edi + 0x9c4]
mov edi, 0xe3
nop dword [eax + eax]
mov ecx, dword [ebx + 4]
lea edx, [ebx + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx + 0x634]
xor eax, ecx
mov dword [ebx - 0x9c0], eax
lea ebx, [edx]
mov eax, dword [edx]
sub edi, 1
jne 0x100115a0
mov ebx, dword [ebp - 4]
mov edi, 0x18c
add ebx, 0xd50
mov eax, dword [ebx]
nop dword [eax]
mov ecx, eax
lea edx, [ebx + 4]
xor ecx, dword [edx]
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx - 0xd4c]
xor eax, ecx
mov dword [ebx - 0x9c0], eax
lea ebx, [edx]
mov eax, dword [edx]
sub edi, 1
jne 0x100115f0
mov edi, dword [ebp - 4]
pop ebx
mov ecx, dword [edi + 0x1380]
xor ecx, dword [edi + 4]
and ecx, 0x7fffffff
xor ecx, dword [edi + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x634]
xor eax, ecx
mov dword [edi + 0x9c0], eax
xor eax, eax
mov dword [edi], 0
mov edx, dword [edi + eax*4 + 4]
inc eax
mov dword [edi], eax
mov ecx, edx
mov eax, dword [edi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
pop edi
xor eax, edx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10011f70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e4a06
mov eax, dword fs:[0]
push eax
sub esp, 0x450
mov eax, dword [0x101214c4]
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]
lea eax, [ebp - 0x428]
mov edi, dword [ebp + 0xc]
push 0x20a
push 0
push eax
mov dword [ebp - 0x45c], esi
call fcn.100bd130
add esp, 0xc
lea eax, [ebp - 0x428]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x10011fe0
push 0x100ec7a0
jmp 0x1001209c
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.100bd130
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0
push str.TFR2
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x10011fd6
push str..jpg
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x458]
call fcn.10010e40
cmp dword [edi + 0x14], 8
mov dword [ebp - 4], 0
jb 0x10012048
mov edi, dword [edi]
push edi
lea ecx, [ebp - 0x440]
call fcn.10010e40
lea eax, [ebp - 0x458]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x440]
push eax
call fcn.10011c20
add esp, 8
lea ecx, [ebp - 0x440]
mov bl, al
call fcn.1000c760
lea ecx, [ebp - 0x458]
mov dword [ebp - 4], 0xffffffff
call fcn.1000c760
test bl, bl
je 0x10011fd6
lea eax, [ebp - 0x21c]
push eax
mov ecx, esi
call fcn.10010e40
mov eax, esi
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.1007f181
mov esp, ebp
pop ebp
ret 8
Function at 0x10012370
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e4a63
mov eax, dword fs:[0]
push eax
mov eax, 0x13a4
call fcn.1007f2d0
mov eax, dword [0x101214c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp word [0x10124e10], 0
jne 0x100124e2
lea ecx, [ebp - 0x13ad]
call fcn.10011440
push eax
lea ecx, [ebp - 0x24]
call fcn.10010d00
lea ecx, [ebp - 0x13ad]
mov dword [ebp - 4], 0
call fcn.10011360
push eax
lea ecx, [ebp - 0x20]
call fcn.10010d00
lea ecx, [ebp - 0x13ad]
mov byte [ebp - 4], 1
call fcn.100110c0
push eax
lea ecx, [ebp - 0x1c]
call fcn.10010d00
lea ecx, [ebp - 0x13ad]
mov byte [ebp - 4], 2
call fcn.10011280
push eax
lea ecx, [ebp - 0x18]
call fcn.10010d00
lea ecx, [ebp - 0x13ad]
mov byte [ebp - 4], 3
call fcn.100111a0
push eax
lea ecx, [ebp - 0x14]
call fcn.10010d00
mov dword [ebp - 4], 4
call fcn.1001921a
mov dword [ebp - 0x28], 0xffffffff
mov ecx, 1
mov dword [ebp - 0x13a8], eax
mov edx, eax
shr edx, 0x1e
xor edx, eax
imul eax, edx, 0x6c078965
add eax, ecx
mov dword [ebp + ecx*4 - 0x13a8], eax
inc ecx
cmp ecx, 0x270
jl 0x10012442
mov dword [ebp - 0x13ac], 0x270
nop dword [eax + eax]
lea ecx, [ebp - 0x13ac]
call fcn.10011520
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
shr edx, 2
cmp edx, 0x33333333
jae 0x10012470
mov eax, ecx
xor edx, edx
mov ecx, 5
div ecx
add edx, 0x80000000
cmp edx, 0x80000000
lea eax, [edx - 0x80000000]
lea ecx, [edx - 0x80000000]
cmovae ecx, eax
mov ecx, dword [ebp + ecx*4 - 0x24]
push ecx
mov eax, dword [ecx - 0xc]
inc eax
push eax
push 0x10124e10
call fcn.10012e20
push fcn.10008370
push 5
push 4
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.1007f1b5
mov eax, 0x10124e10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1007f181
mov esp, ebp
pop ebp
ret
Function at 0x10013510
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x101214c4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, 0x10124f08
mov dword [ebp - 0x64], 0x440041
lea esi, [ebp - 0x64]
mov dword [ebp - 0x60], 0x4d005f
push edi
mov dword [ebp - 0x5c], 0x540055
mov edx, 0x30
mov dword [ebp - 0x58], 0x580045
sub esi, eax
mov dword [ebp - 0x54], 0x7b003a
mov dword [ebp - 0x50], 0x320035
mov dword [ebp - 0x4c], 0x380045
mov dword [ebp - 0x48], 0x350032
mov dword [ebp - 0x44], 0x380032
mov dword [ebp - 0x40], 0x33002d
mov dword [ebp - 0x3c], 0x360042
mov dword [ebp - 0x38], 0x2d0044
mov dword [ebp - 0x34], 0x410034
mov dword [ebp - 0x30], 0x330034
mov dword [ebp - 0x2c], 0x38002d
mov dword [ebp - 0x28], 0x440044
mov dword [ebp - 0x24], 0x2d0046
mov dword [ebp - 0x20], 0x330030
mov dword [ebp - 0x1c], 0x460037
mov dword [ebp - 0x18], 0x420042
mov dword [ebp - 0x14], 0x350033
mov dword [ebp - 0x10], 0x350037
mov dword [ebp - 0xc], 0x370039
mov dword [ebp - 8], 0x7d
nop word [eax + eax]
lea ecx, [edx + 0x7fffffce]
test ecx, ecx
je 0x100135fe
movzx ecx, word [esi + eax]
test cx, cx
je 0x100135fe
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x100135e0
test edx, edx
lea ecx, [eax - 2]
pop edi
cmovne ecx, eax
xor eax, eax
pop esi
pop ebx
mov word [ecx], ax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007f181
mov esp, ebp
pop ebp
ret

Function at 0x10013620
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x101214c4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, 0x10124f78
mov dword [ebp - 0x64], 0x440041
lea esi, [ebp - 0x64]
mov dword [ebp - 0x60], 0x45005f
push edi
mov dword [ebp - 0x5c], 0x450056
mov edx, 0x30
mov dword [ebp - 0x58], 0x54004e
sub esi, eax
mov dword [ebp - 0x54], 0x7b003a
mov dword [ebp - 0x50], 0x320035
mov dword [ebp - 0x4c], 0x380045
mov dword [ebp - 0x48], 0x350032
mov dword [ebp - 0x44], 0x380032
mov dword [ebp - 0x40], 0x33002d
mov dword [ebp - 0x3c], 0x360042
mov dword [ebp - 0x38], 0x2d0044
mov dword [ebp - 0x34], 0x410034
mov dword [ebp - 0x30], 0x330034
mov dword [ebp - 0x2c], 0x38002d
mov dword [ebp - 0x28], 0x440044
mov dword [ebp - 0x24], 0x2d0046
mov dword [ebp - 0x20], 0x330030
mov dword [ebp - 0x1c], 0x460037
mov dword [ebp - 0x18], 0x420042
mov dword [ebp - 0x14], 0x350033
mov dword [ebp - 0x10], 0x350037
mov dword [ebp - 0xc], 0x370039
mov dword [ebp - 8], 0x7d
nop word [eax + eax]
lea ecx, [edx + 0x7fffffce]
test ecx, ecx
je 0x1001370e
movzx ecx, word [esi + eax]
test cx, cx
je 0x1001370e
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x100136f0
test edx, edx
lea ecx, [eax - 2]
pop edi
cmovne ecx, eax
xor eax, eax
pop esi
pop ebx
mov word [ecx], ax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007f181
mov esp, ebp
pop ebp
ret
Function at 0x100138f0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
cmp dword [edi], 0
jne 0x10013959
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi], eax
test eax, eax
je 0x10013975
push esi
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
push str.zlib_uncompress
push dword [edi]
mov dword [edi + 8], eax
call esi
push str.zlib_compress
push dword [edi]
mov dword [edi + 0x10], eax
call esi
push str.zlib_compressBound
push dword [edi]
mov dword [edi + 0x14], eax
call esi
mov dword [edi + 0x18], eax
mov eax, dword [edi + 4]
pop esi
test eax, eax
je 0x10013959
call eax
mov dword [edi + 0xc], eax
cmp dword [edi + 8], 0
je 0x10013975
cmp dword [edi + 4], 0
je 0x10013975
cmp dword [edi + 0xc], 0
je 0x10013975
mov eax, 1
pop edi
pop ebp
ret 4
xor eax, eax
pop edi
pop ebp
ret 4
Function at 0x100169d0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e50c8
mov eax, dword fs:[0]
push eax
sub esp, 0x20c
mov eax, dword [0x101214c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x101253ec]
mov dword [ebp - 4], 2
test al, 1
jne 0x10016a3d
or eax, 1
mov dword [0x101253ec], eax
call fcn.10008cc0
mov ecx, eax
test ecx, ecx
je 0x10016b5e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
push 0x100eb2e0
mov dword [0x101253e8], eax
call fcn.1007f16c
add esp, 4
mov eax, dword [0x101253e8]
cmp dword [eax - 0xc], 0
jne 0x10016ad6
push 0
push 0x1c
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push str.AICleaner
push eax
call esi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10016a93
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push str.config.ini
lea eax, [ebp - 0x218]
push eax
call esi
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10016ab0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, 0x101253e8
call fcn.1000a4e0
mov eax, dword [0x101253e8]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
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 0x10016b07
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 0x10016b25
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 0x10016b44
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 esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1007f181
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.100088c0
int3
Function at 0x1001a3b0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e535a
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x101214c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.LogUtils::LogAppender.0
lea edi, [esi + 0x14]
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov byte [esi + 0xc], 1
mov dword [esi + 0x10], 0
call fcn.10008cc0
mov ecx, eax
test ecx, ecx
je 0x1001a574
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
mov dword [ebp - 4], 0
lea ebx, [esi + 0x18]
call fcn.10008cc0
mov ecx, eax
test ecx, ecx
je 0x1001a57e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 1
call fcn.10008cc0
mov ecx, eax
test ecx, ecx
je 0x1001a588
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], 0xffffffff
lea eax, [esi + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 5
mov dword [esi + 0x10], eax
test edx, edx
jne 0x1001a492
xor ecx, ecx
jmp 0x1001a4b0
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp + 0x10], eax
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001a4a0
sub ecx, dword [ebp + 0x10]
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.1000a4e0
push edi
mov ecx, ebx
call fcn.1001a670
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x1001a4cc
xor ecx, ecx
jmp 0x1001a4e4
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp + 0x10], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001a4d4
sub ecx, dword [ebp + 0x10]
sar ecx, 1
push ecx
push edx
lea ecx, [esi + 0x1c]
call fcn.1000a4e0
push ebx
lea eax, [ebp + 0x10]
mov ecx, esi
push eax
call fcn.1001b080
push eax
mov ecx, ebx
mov byte [ebp - 4], 6
call fcn.1001a670
mov edx, dword [ebp + 0x10]
or eax, 0xffffffff
mov byte [ebp - 4], 5
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001a525
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebx]
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 4], eax
test eax, eax
je 0x1001a55e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1001a55e
cmp dword [esi + 0x10], 0
je 0x1001a555
push dword [edi]
call fcn.100c86ca
add esp, 4
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.100088c0
push 0x80004005
call fcn.100088c0
push 0x80004005
call fcn.100088c0
int3
Function at 0x1001ae20
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e5448
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x101214c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
test esi, esi
je 0x1001aff4
push str.__set_log_lev0
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x1001ae75
mov eax, dword [edi]
mov ecx, edi
push 0
call dword [eax + 4]
jmp 0x1001aff4
push str.__set_log_lev1
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x1001ae93
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax + 4]
jmp 0x1001aff4
push str.__set_log_lev2
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x1001aeb1
mov eax, dword [edi]
mov ecx, edi
push 2
call dword [eax + 4]
jmp 0x1001aff4
push str.__set_log_lev3
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x1001aecf
mov eax, dword [edi]
mov ecx, edi
push 3
call dword [eax + 4]
jmp 0x1001aff4
push str.__reload_log_switch
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x1001aff4
lea eax, [edi + 4]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x1001aef4
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [edi + 0x2c]
mov dword [edi + 0x1c], 3
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x30], ecx
jb 0x1001af27
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
cmp ecx, 8
jae 0x1001af3f
movups xmm0, xmmword [eax]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 7
movups xmmword [ebp - 0x28], xmm0
jmp 0x1001af7d
mov esi, ecx
mov eax, Ordinal_1
or esi, 7
lea ecx, [ebp - 0x28]
cmp esi, eax
cmova esi, eax
lea eax, [esi + 1]
push eax
call fcn.1000ebb0
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x28], eax
lea ecx, [ecx*2 + 2]
push ecx
push dword [ebp - 0x2c]
push eax
call fcn.100bc630
mov eax, dword [ebp - 0x30]
add esp, 0xc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], esi
push 0x100f0c1c
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.1001baa0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001afab
mov dword [edi + 0x1c], 0
cmp dword [edi + 0x28], 0
je 0x1001afe4
mov eax, dword [edi]
mov ecx, edi
push 1
mov eax, dword [eax + 8]
call eax
test al, al
je 0x1001afe4
push str._______log_reload_switch
lea ecx, [ebp - 0x4c]
call fcn.10010e40
mov ecx, dword [edi + 0x28]
lea edx, [ebp - 0x4c]
push edx
mov byte [ebp - 4], 2
mov eax, dword [ecx]
call dword [eax]
lea ecx, [ebp - 0x4c]
call fcn.1000c760
lea ecx, [ebp - 0x28]
call fcn.1000c760
lea ecx, [ebp - 0x34]
call fcn.1001a640
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.1007f181
mov esp, ebp
pop ebp
ret 4
Function at 0x1001b3f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e5507
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x101214c4]
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 ebx, dword [ebp + 8]
lea esi, [edi + 4]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], esi
test esi, esi
je 0x1001b43a
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, ebx
mov dword [ebp - 4], 0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001b446
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [edi + 0x2c]
call fcn.1000ab10
cmp dword [edi + 0x28], 0
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x44], eax
mov eax, dword [ebp + 0x14]
mov dword [edi + 0x24], eax
jne 0x1001b4b3
push 0x48
call fcn.1007ede0
mov ebx, eax
add esp, 4
mov dword [ebp - 0x38], ebx
mov byte [ebp - 4], 1
test ebx, ebx
je 0x1001b4a7
push 0x48
push 0
push ebx
call fcn.100bd130
add esp, 0xc
mov ecx, ebx
push dword [ebp + 0x14]
push dword [ebp - 0x30]
push dword [ebp - 0x2c]
call fcn.1001a3b0
jmp 0x1001b4a9
xor eax, eax
mov ebx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0
mov dword [edi + 0x28], eax
xor eax, eax
mov dword [ebp - 0x18], 0
cmp dword [ebp + 0x10], eax
mov ecx, ebx
mov dword [ebp - 0x14], 7
sete al
lea edx, [ecx + 2]
lea eax, [eax*2 + 1]
mov dword [edi + 0x1c], eax
xor eax, eax
mov word [ebp - 0x28], ax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001b4e0
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x28]
call fcn.1000ab10
push 3
push 0x100f0c1c
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.10019ecc
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001b52f
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], eax
cmp dword [edi + 0x28], 0
je 0x1001b57e
mov eax, dword [edi]
mov ecx, edi
push 1
mov eax, dword [eax + 8]
call eax
test al, al
je 0x1001b57e
push 0x10
xor eax, eax
mov dword [ebp - 0x40], 0
push str._______log_start
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
call fcn.1000ab10
mov ecx, dword [edi + 0x28]
lea edx, [ebp - 0x50]
push edx
mov byte [ebp - 4], 3
mov eax, dword [ecx]
call dword [eax]
lea ecx, [ebp - 0x50]
call fcn.1000c760
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x1001b5b4
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001b5aa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001b5f1
push edx
push ecx
call fcn.1007ee10
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
test esi, esi
je 0x1001b5d3
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
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.1007f181
mov esp, ebp
pop ebp
ret 0x14
call fcn.100c0449
int3
Function at 0x1001c9b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e5748
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x101214c4]
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 eax, eax
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x54], 0x640063
mov dword [ebp - 0x50], 0x320030
mov dword [ebp - 0x4c], 0x300036
mov dword [ebp - 0x48], 0x390034
mov dword [ebp - 0x44], 0x640065
mov dword [ebp - 0x40], 0x660032
mov dword [ebp - 0x3c], 0x660065
mov dword [ebp - 0x38], 0x300061
mov dword [ebp - 0x34], 0x640033
mov dword [ebp - 0x30], 0x340032
mov dword [ebp - 0x2c], 0x380066
mov dword [ebp - 0x28], 0x350061
mov dword [ebp - 0x24], 0x660062
mov dword [ebp - 0x20], 0x370063
mov dword [ebp - 0x1c], 0x630036
mov dword [ebp - 0x18], 0x300035
mov word [ebp - 0x14], ax
call fcn.10008cc0
mov ecx, eax
test ecx, ecx
je 0x1001cacb
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x54]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.1001aba0
test al, al
jne 0x1001caab
lea ecx, [ebp - 0x54]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001ca90
sub ecx, edx
lea eax, [ebp - 0x54]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.1000a4e0
mov eax, esi
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.1007f181
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.100088c0
int3

Function at 0x1001cae0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e5778
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x101214c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], 0x790073
mov dword [ebp - 0x24], 0x630073
mov dword [ebp - 0x20], 0x65006c
mov dword [ebp - 0x1c], 0x6e0061
mov dword [ebp - 0x18], 0x720065
mov word [ebp - 0x14], ax
call fcn.10008cc0
mov ecx, eax
test ecx, ecx
je 0x1001cba9
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.1001aba0
test al, al
jne 0x1001cb8b
lea ecx, [ebp - 0x28]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001cb70
sub ecx, edx
lea eax, [ebp - 0x28]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.1000a4e0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1007f181
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.100088c0
int3