joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001d790
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push esi
push eax
call fcn.1000ced0
mov ecx, eax
call fcn.1000a6b0
push dword [eax]
push 0xffffffffffffffff
push 0x1006da20
push str.three_end
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, dword [ebp - 4]
mov esi, eax
add edx, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x1001d7d8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1001db80
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100664d1
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x1008d180]
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 ecx, dword [ebp + 8]
push 0
push 2
mov dword [ebp - 0x244], ecx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1001dbff
push 0x228
lea eax, [ebp - 0x238]
push 0
push eax
call fcn.10041a60
add esp, 0xc
mov dword [ebp - 0x23c], 0x22c
lea eax, [ebp - 0x23c]
push eax
push ebx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x1001dc06
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1001dd9e
call fcn.10006de0
mov ecx, eax
test ecx, ecx
je 0x1001ddba
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x240], eax
mov eax, str.explorer.exe
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x240]
test eax, 0xffff0000
jne 0x1001dc47
movzx eax, ax
push eax
call fcn.1000aa60
jmp 0x1001dc51
push str.explorer.exe
call fcn.1001e860
lea ecx, [ebp - 0x24c]
mov dword [ebp - 4], 1
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x248], 0
call fcn.1001e9b0
mov dword [ebp - 0x24c], eax
mov esi, dword [ebp - 0x240]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 2
nop dword [eax]
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.1004ebd1
add esp, 8
test eax, eax
jne 0x1001dd35
push dword [ebp - 0x234]
push eax
push 0x1000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x1001dd2f
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x254]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
test eax, eax
jne 0x1001dcf2
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
jmp 0x1001dd35
lea eax, [ebp - 0x254]
push eax
call fcn.1001d720
mov ecx, dword [ebp - 0x244]
add esp, 4
push dword [ebp - 0x244]
mov dword [ecx], eax
lea eax, [ebp - 0x274]
push ecx
push 0
push eax
lea ecx, [ebp - 0x24c]
call fcn.1001d4c0
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
jmp 0x1001dd35
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x23c]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1001dc90
push ebx
call edi
cmp dword [ebp - 0x248], 0
jbe 0x1001dd70
mov eax, dword [ebp - 0x24c]
mov ebx, 1
mov ecx, dword [ebp - 0x244]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
mov dword [ecx], eax
jmp 0x1001dd72
xor ebx, ebx
lea ecx, [ebp - 0x24c]
call fcn.1001d620
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1001dd9c
mov ecx, dword [esi]
push esi
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 ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100284dd
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10006b60
int3
Function at 0x1001ddd0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x1008d180]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.10041a60
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
call fcn.1000ced0
mov ecx, eax
call fcn.1000a6b0
push dword [eax]
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0x1006d9ec
push 0x1006d9f0
push str.arctrl
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edx, dword [ebp - 0x210]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001de4d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x20c]
push eax
call fcn.10051616
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
call fcn.100284dd
mov esp, ebp
pop ebp
ret

Function at 0x1001e070
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x1008d180]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.10041a60
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
call fcn.1000ced0
mov ecx, eax
call fcn.1000a6b0
push dword [eax]
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0x1006d9ec
push str.mtime
push str.arctrl
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edx, dword [ebp - 0x210]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001e0ed
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x20c]
push eax
call fcn.10051640
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
call fcn.100284dd
mov esp, ebp
pop ebp
ret
Function at 0x10020aa0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100666d8
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x1008d180]
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 - 0x70], esi
mov dword [ebp - 0x6c], 0x690051
mov dword [ebp - 0x68], 0x6f0068
mov dword [ebp - 0x64], 0x20006f
mov dword [ebp - 0x60], 0x360033
mov dword [ebp - 0x5c], 0x200030
mov dword [ebp - 0x58], 0x6f0053
mov dword [ebp - 0x54], 0x740066
mov dword [ebp - 0x50], 0x610077
mov dword [ebp - 0x4c], 0x650072
mov dword [ebp - 0x48], 0x280020
mov dword [ebp - 0x44], 0x650042
mov dword [ebp - 0x40], 0x6a0069
mov dword [ebp - 0x3c], 0x6e0069
mov dword [ebp - 0x38], 0x290067
mov dword [ebp - 0x34], 0x430020
mov dword [ebp - 0x30], 0x6d006f
mov dword [ebp - 0x2c], 0x610070
mov dword [ebp - 0x28], 0x79006e
mov dword [ebp - 0x24], 0x4c0020
mov dword [ebp - 0x20], 0x6d0069
mov dword [ebp - 0x1c], 0x740069
mov dword [ebp - 0x18], 0x640065
mov word [ebp - 0x14], ax
call fcn.10006de0
mov ecx, eax
test ecx, ecx
je 0x10020bdd
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x6c]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.10006b80
test al, al
jne 0x10020bbd
lea ecx, [ebp - 0x6c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10020ba2
sub ecx, edx
lea eax, [ebp - 0x6c]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.10007870
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.100284dd
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.10006b60
int3
Function at 0x10020cd0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10066708
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x1008d180]
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]
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x54], 0x650042
mov dword [ebp - 0x50], 0x6a0069
mov dword [ebp - 0x4c], 0x6e0069
mov dword [ebp - 0x48], 0x200067
mov dword [ebp - 0x44], 0x690051
mov dword [ebp - 0x40], 0x750068
mov dword [ebp - 0x3c], 0x540020
mov dword [ebp - 0x38], 0x630065
mov dword [ebp - 0x34], 0x6e0068
mov dword [ebp - 0x30], 0x6c006f
mov dword [ebp - 0x2c], 0x67006f
mov dword [ebp - 0x28], 0x200079
mov dword [ebp - 0x24], 0x6f0043
mov dword [ebp - 0x20], 0x2c002e
mov dword [ebp - 0x1c], 0x4c0020
mov dword [ebp - 0x18], 0x640074
mov dword [ebp - 0x14], 0x2e
call fcn.10006de0
mov ecx, eax
test ecx, ecx
je 0x10020deb
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.10006b80
test al, al
jne 0x10020dcb
lea ecx, [ebp - 0x54]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10020db0
sub ecx, edx
lea eax, [ebp - 0x54]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.10007870
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.100284dd
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.10006b60
int3
Function at 0x10020e00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10066708
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x1008d180]
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], 0x680043
mov dword [ebp - 0x50], 0x6e0065
mov dword [ebp - 0x4c], 0x640067
mov dword [ebp - 0x48], 0x200075
mov dword [ebp - 0x44], 0x690051
mov dword [ebp - 0x40], 0x75006c
mov dword [ebp - 0x3c], 0x540020
mov dword [ebp - 0x38], 0x630065
mov dword [ebp - 0x34], 0x6e0068
mov dword [ebp - 0x30], 0x6c006f
mov dword [ebp - 0x2c], 0x67006f
mov dword [ebp - 0x28], 0x200079
mov dword [ebp - 0x24], 0x6f0043
mov dword [ebp - 0x20], 0x20002e
mov dword [ebp - 0x1c], 0x74004c
mov dword [ebp - 0x18], 0x2e0064
mov word [ebp - 0x14], ax
call fcn.10006de0
mov ecx, eax
test ecx, ecx
je 0x10020f1b
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.10006b80
test al, al
jne 0x10020efb
lea ecx, [ebp - 0x54]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10020ee0
sub ecx, edx
lea eax, [ebp - 0x54]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.10007870
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.100284dd
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.10006b60
int3
Function at 0x10023c10
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ecx]
test ecx, ecx
je 0x10023c1f
pop ebp
jmp fcn.10025140
xor eax, eax
pop ebp
ret 0xc

Function at 0x100245b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10066b98
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1008d180]
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]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], 0x720074
mov dword [ebp - 0x28], 0x630061
mov dword [ebp - 0x24], 0x6c0065
mov dword [ebp - 0x20], 0x730065
mov dword [ebp - 0x1c], 0x630073
mov dword [ebp - 0x18], 0x610068
mov dword [ebp - 0x14], 0x74
call fcn.10006de0
mov ecx, eax
test ecx, ecx
je 0x1002467e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.10006b80
test al, al
jne 0x1002465e
lea ecx, [ebp - 0x2c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10024643
sub ecx, edx
lea eax, [ebp - 0x2c]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.10007870
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.100284dd
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.10006b60
int3
Function at 0x10025140
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10066e80
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x1008d180]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea edi, [esi + 0x34]
mov dword [ebp - 0x18], vtable._BaseModule::CAutoLocker.0
mov dword [ebp - 0x14], edi
test edi, edi
je 0x10025180
mov eax, dword [edi]
push edi
call dword [eax]
cmp dword [esi + 0x24], 0
mov dword [ebp - 4], 0
jl 0x10025197
mov esi, 1
jmp 0x100252e4
mov ebx, dword [ebp + 8]
mov dword [esi + 0x24], ebx
test ebx, ebx
jns 0x100251a8
xor esi, esi
jmp 0x100252e4
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x100251b8
push eax
lea ecx, [esi + 0x30]
call fcn.1000c210
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x100251ca
push eax
lea ecx, [esi + 0x2c]
call fcn.1000c210
jmp 0x10025203
lea eax, [ebp + 8]
push ebx
push eax
call fcn.10035f40
add esp, 8
push eax
lea ecx, [esi + 0x2c]
mov byte [ebp - 4], 1
call fcn.10006760
mov edx, dword [ebp + 8]
or eax, 0xffffffff
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10025203
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, esi
call fcn.10025470
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.10035820
add esp, 8
push dword [ebp - 0x10]
mov byte [ebp - 4], 2
push 0
push str.stat_rand
push str.statistic
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [esi + 0x1c], eax
test eax, eax
jne 0x100252c0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.10052607
add esp, 4
call fcn.100525e6
cdq
mov ecx, 0x64
idiv ecx
inc edx
mov dword [esi + 0x1c], edx
call fcn.10006de0
mov ecx, eax
test ecx, ecx
je 0x1002530b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
push dword [esi + 0x1c]
lea eax, [ebp + 8]
mov byte [ebp - 4], 3
push 0x1006a3b8
push eax
call fcn.100121a0
mov esi, dword [ebp + 8]
add esp, 0xc
push dword [ebp - 0x10]
push esi
push str.stat_rand
push str.statistic
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov byte [ebp - 4], 2
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x100252c0
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x10]
mov esi, 1
mov byte [ebp - 4], 0
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100252e4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 4
test edi, edi
je 0x100252f5
mov ecx, dword [edi]
push edi
call dword [ecx + 4]
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.10006b60
int3
Function at 0x10025320
Capabilities:
Delete file
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10066eb3
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x1008d180]
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 ebx, ecx
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 4], 0
test esi, esi
je 0x100253c5
cmp word [esi], di
je 0x100253c5
test eax, eax
je 0x10025381
cmp word [eax], di
je 0x10025381
push edi
push edi
push eax
push esi
push edi
call sub.urlmon.dll_URLDownloadToFileW
test eax, eax
js 0x100253c5
jmp 0x100253c0
push 0x410
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.10041a60
add esp, 0xc
lea eax, [ebp - 0x420]
push 0
push 0
push 0x104
push eax
push esi
push 0
call sub.urlmon.dll_URLDownloadToCacheFileW
test eax, eax
js 0x100253c5
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, 1
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x1002543c
mov eax, dword [ebx + 0x24]
test eax, eax
js 0x10025427
lea esi, [ebx + 0x34]
mov dword [ebp - method._BaseModule::CAutoLocker.virtual_0], vtable._BaseModule::CAutoLocker.0
mov dword [ebp - 0x428], esi
test esi, esi
je 0x100253f5
mov eax, dword [esi]
push esi
call dword [eax]
mov eax, dword [ebx + 0x24]
mov ecx, dword [ebp + 0x34]
mov byte [ebp - 4], 1
test eax, eax
js 0x10025416
mov dword [ebp - 0x424], edi
test ecx, ecx
je 0x1002545c
mov eax, dword [ecx]
lea edx, [ebp - 0x424]
push edx
call dword [eax + 8]
mov ecx, dword [ebp + 0x34]
mov byte [ebp - 4], 2
test esi, esi
je 0x10025427
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x1002543c
mov edx, dword [ecx]
lea eax, [ebp + 0x10]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
xor eax, eax
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.100284dd
mov esp, ebp
pop ebp
ret 0x30
call fcn.1001ece6
int3
Function at 0x10026260
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006705a
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x1008d180]
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.10006de0
mov ecx, eax
test ecx, ecx
je 0x10026424
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.10006de0
mov ecx, eax
test ecx, ecx
je 0x1002642e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 1
call fcn.10006de0
mov ecx, eax
test ecx, ecx
je 0x10026438
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 0x10026342
xor ecx, ecx
jmp 0x10026360
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 0x10026350
sub ecx, dword [ebp + 0x10]
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.10007870
push edi
mov ecx, ebx
call fcn.10006760
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x1002637c
xor ecx, ecx
jmp 0x10026394
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp + 0x10], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10026384
sub ecx, dword [ebp + 0x10]
sar ecx, 1
push ecx
push edx
lea ecx, [esi + 0x1c]
call fcn.10007870
push ebx
lea eax, [ebp + 0x10]
mov ecx, esi
push eax
call fcn.10026ca0
push eax
mov ecx, ebx
mov byte [ebp - 4], 6
call fcn.10006760
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 0x100263d5
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 0x1002640e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1002640e
cmp dword [esi + 0x10], 0
je 0x10026405
push dword [edi]
call fcn.10052828
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.10006b60
push 0x80004005
call fcn.10006b60
push 0x80004005
call fcn.10006b60
int3
Function at 0x10026aa0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10067148
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x1008d180]
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 0x10026c74
push str.__set_log_lev0
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x10026af5
mov eax, dword [edi]
mov ecx, edi
push 0
call dword [eax + 4]
jmp 0x10026c74
push str.__set_log_lev1
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x10026b13
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax + 4]
jmp 0x10026c74
push str.__set_log_lev2
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x10026b31
mov eax, dword [edi]
mov ecx, edi
push 2
call dword [eax + 4]
jmp 0x10026c74
push str.__set_log_lev3
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x10026b4f
mov eax, dword [edi]
mov ecx, edi
push 3
call dword [eax + 4]
jmp 0x10026c74
push str.__reload_log_switch
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x10026c74
lea eax, [edi + 4]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x10026b74
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 0x10026ba7
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
cmp ecx, 8
jae 0x10026bbf
movups xmm0, xmmword [eax]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 7
movups xmmword [ebp - 0x28], xmm0
jmp 0x10026bfd
mov esi, ecx
mov eax, 0x7ffffffe
or esi, 7
lea ecx, [ebp - 0x28]
cmp esi, eax
cmova esi, eax
lea eax, [esi + 1]
push eax
call fcn.1000d370
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.10040f60
mov eax, dword [ebp - 0x30]
add esp, 0xc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], esi
push 0x10071194
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.10027660
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 0x10026c2b
mov dword [edi + 0x1c], 0
cmp dword [edi + 0x28], 0
je 0x10026c64
mov eax, dword [edi]
mov ecx, edi
push 1
mov eax, dword [eax + 8]
call eax
test al, al
je 0x10026c64
push str._______log_reload_switch
lea ecx, [ebp - 0x4c]
call fcn.1000fe30
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.1000be50
lea ecx, [ebp - 0x28]
call fcn.1000be50
lea ecx, [ebp - 0x34]
call fcn.10026470
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.100284dd
mov esp, ebp
pop ebp
ret 4