joyce8/EMBER2024-capa huggingface dataset:
Function at 0x441b50
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x441b83
push esi
call fcn.00444c40
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x441b7c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x441c09
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x441bf2
mov eax, dword [esi + 8]
test eax, eax
je 0x441ba7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x441bee
cmp eax, 2
je 0x441bf2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x441b9a
cmp eax, 3
je 0x441bcd
cmp eax, 1
jne 0x441b9a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x441b9a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x441b9a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00441c30
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x441c18
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00441c30
add esp, 4
pop esi
ret

Function at 0x460268
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4602a0
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0045e31c
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0045e2f4
jmp 0x4602ac
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x461956
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x461998
call fcn.0046740f
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x461998
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x46198f
xor eax, eax
jmp 0x4619a0
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004619a6
pop edi
pop esi
pop ebx
ret 4

Function at 0x46793f
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x46796d
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46798b
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004678a5
jmp 0x46798b
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46798b
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004678a5
test edi, edi
mov eax, edi
jne 0x467975
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4012dc
Capabilities:
Check if file exists
Get file attributes
Get file size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdd4
push 0x403110
push 0
push 0xc
push 0x3e9
push dword [0x403004]
call sub.user32.dll_SendDlgItemMessageA
push 0x40300c
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcpyA
push 0x40300c
call sub.KERNEL32.dll_lstrlenA
mov ebx, eax
push 0x403110
call sub.KERNEL32.dll_lstrlenA
sub ebx, eax
xor eax, eax
lea esi, [ebp - 0x104]
mov dword [ebx + esi], eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0xc
push 0x66
push dword [0x403004]
call sub.user32.dll_SendDlgItemMessageA
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push 0x40300c
call sub.KERNEL32.dll_CreateFileA
cmp eax, 0xffffffff
jne 0x401384
push 0x10
push 0x4020cf
push 0x4020d6
push dword [0x403004]
call sub.user32.dll_MessageBoxA
leave
ret
mov dword [ebp - 0x20c], eax
lea eax, [ebp - 0x214]
push eax
push dword [ebp - 0x20c]
call sub.KERNEL32.dll_GetFileSizeEx
or eax, eax
je 0x401430
push dword [ebp - 0x210]
push dword [ebp - 0x214]
push 0x402128
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.msvcrt.dll_sprintf]
add esp, 0x10
lea eax, [ebp - 0x104]
push eax
push 0x67
push dword [0x403004]
call sub.user32.dll_SetDlgItemTextA
mov edx, dword [ebp - 0x210]
mov eax, dword [ebp - 0x214]
mov ecx, 0x1000
idiv ecx
inc eax
imul ecx
mov dword [ebp - 0x210], edx
mov dword [ebp - 0x214], eax
push dword [ebp - 0x210]
push dword [ebp - 0x214]
push str._I64d
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.msvcrt.dll_sprintf]
add esp, 0x10
lea eax, [ebp - 0x104]
push eax
push 0x68
push dword [0x403004]
call sub.user32.dll_SetDlgItemTextA
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x20c]
call sub.KERNEL32.dll_GetFileTime
or eax, eax
je 0x401483
push 0x6c
lea eax, [ebp - 0x21c]
push eax
call fcn.0040152f
push 0x6d
lea eax, [ebp - 0x22c]
push eax
call fcn.0040152f
push 0x6e
lea eax, [ebp - 0x224]
push eax
call fcn.0040152f
call fcn.004015c3
push dword [ebp - 0x20c]
call sub.KERNEL32.dll_CloseHandle
push 0x40300c
call sub.KERNEL32.dll_GetFileAttributesA
mov ebx, eax
cmp eax, 0xffffffff
je 0x40152d
test ebx, 1
je 0x4014bf
push 1
push 0x3eb
push dword [0x403004]
call sub.user32.dll_CheckDlgButton
jmp 0x4014d1
push 0
push 0x3eb
push dword [0x403004]
call sub.user32.dll_CheckDlgButton
test ebx, 2
je 0x4014ed
push 1
push 0x3ec
push dword [0x403004]
call sub.user32.dll_CheckDlgButton
jmp 0x4014ff
push 0
push 0x3ec
push dword [0x403004]
call sub.user32.dll_CheckDlgButton
test ebx, 4
je 0x40151b
push 1
push 0x3ed
push dword [0x403004]
call sub.user32.dll_CheckDlgButton
jmp 0x40152d
push 0
push 0x3ed
push dword [0x403004]
call sub.user32.dll_CheckDlgButton
leave
ret
Function at 0x40160f
Capabilities:
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
push 0x104
lea eax, [ebp - 0x104]
push eax
push 0x3e9
push dword [0x403004]
call sub.user32.dll_GetDlgItemTextA
lea eax, [ebp - 0x104]
push eax
push 0x40300c
call sub.shlwapi.dll_StrStrIA
or eax, eax
jne 0x4016b9
push 0x104
lea eax, [ebp - 0x208]
push eax
push 0x66
push dword [0x403004]
call sub.user32.dll_GetDlgItemTextA
push 0x40213e
lea eax, [ebp - 0x208]
push eax
call sub.KERNEL32.dll_lstrcatA
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x208]
push eax
call sub.KERNEL32.dll_lstrcatA
lea eax, [ebp - 0x208]
push eax
push 0x40300c
call sub.KERNEL32.dll_MoveFileA
lea eax, [ebp - 0x104]
push eax
push 0x403110
call sub.KERNEL32.dll_lstrcpyA
lea eax, [ebp - 0x208]
push eax
push 0x40300c
call sub.KERNEL32.dll_lstrcpyA
call fcn.0040172b
mov dword [ebp - 0x20c], 0
push 0x3eb
push dword [0x403004]
call sub.user32.dll_IsDlgButtonChecked
or eax, eax
je 0x4016e3
or dword [ebp - 0x20c], 1
push 0x3ec
push dword [0x403004]
call sub.user32.dll_IsDlgButtonChecked
or eax, eax
je 0x4016fe
or dword [ebp - 0x20c], 2
push 0x3ed
push dword [0x403004]
call sub.user32.dll_IsDlgButtonChecked
or eax, eax
je 0x401719
or dword [ebp - 0x20c], 4
push dword [ebp - 0x20c]
push 0x40300c
call sub.KERNEL32.dll_SetFileAttributesA
leave
ret
Function at 0x40172b
Capabilities:
Check if file exists
Get file attributes
Set file attributes
Timestomp file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
mov dword [ebp - 0x38], 0
lea eax, [ebp - 0x30]
push eax
push 0
push 0x1001
push 0x6c
push dword [0x403004]
call sub.user32.dll_SendDlgItemMessageA
or eax, eax
jne 0x401771
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x30]
push eax
call sub.KERNEL32.dll_SystemTimeToFileTime
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x20]
push eax
call sub.KERNEL32.dll_LocalFileTimeToFileTime
inc dword [ebp - 0x38]
lea eax, [ebp - 0x30]
push eax
push 0
push 0x1001
push 0x6d
push dword [0x403004]
call sub.user32.dll_SendDlgItemMessageA
or eax, eax
jne 0x4017aa
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x30]
push eax
call sub.KERNEL32.dll_SystemTimeToFileTime
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
call sub.KERNEL32.dll_LocalFileTimeToFileTime
inc dword [ebp - 0x38]
lea eax, [ebp - 0x30]
push eax
push 0
push 0x1001
push 0x6e
push dword [0x403004]
call sub.user32.dll_SendDlgItemMessageA
or eax, eax
jne 0x4017e3
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x30]
push eax
call sub.KERNEL32.dll_SystemTimeToFileTime
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
call sub.KERNEL32.dll_LocalFileTimeToFileTime
inc dword [ebp - 0x38]
push 0x40300c
call sub.KERNEL32.dll_GetFileAttributesA
and eax, 0xfffffffe
push eax
push 0x40300c
call sub.KERNEL32.dll_SetFileAttributesA
push 0
push 0x80
push 3
push 0
push 1
push 0x40000000
push 0x40300c
call sub.KERNEL32.dll_CreateFileA
cmp eax, 0xffffffff
jne 0x401835
push 0x10
push 0x4020cf
push 0x4020d6
push dword [0x403004]
call sub.user32.dll_MessageBoxA
leave
ret
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x38], 3
jne 0x401852
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x34]
call sub.KERNEL32.dll_SetFileTime
push dword [ebp - 0x34]
call sub.KERNEL32.dll_CloseHandle
leave
ret
Function at 0x100035b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008617a
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x100be518]
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, ecx
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0x54]
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x44], 0
cmp dword [esi + 0x200b4], 0
mov dword [ebp - 4], 2
jne 0x1000361c
push 0
push 0
push esi
push 0x10004a90
push 0
push 0
call fcn.1006294e
add esp, 0x18
mov dword [esi + 0x200b4], eax
push 0x14
call fcn.1002f471
mov edi, eax
add esp, 4
mov dword [ebp - 0x40], edi
mov byte [ebp - 4], 3
test edi, edi
je 0x10003651
push dword [ebp - 0x3c]
lea eax, [ebp + 0x3c]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.10003f30
push edi
mov ecx, esi
call fcn.10003960
mov dword [ebp - 0x3c], eax
jmp 0x10003658
mov dword [ebp - 0x3c], 0
push 0xc
mov byte [ebp - 4], 2
call fcn.1002f471
add esp, 4
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x1000367c
mov ecx, eax
call fcn.10004050
mov edi, eax
jmp 0x1000367e
xor edi, edi
push ebx
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.10005910
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x78]
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x88], 0x100032b0
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x54], 0
mov ecx, dword [ebp + 0x38]
mov byte [ebp - 4], 5
test ecx, ecx
je 0x100036c7
mov eax, dword [ecx]
lea edx, [ebp - 0x78]
push edx
call dword [eax]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x44], 3
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 7
push eax
call fcn.10003c00
mov ecx, dword [ebp - 0x54]
add esp, 4
mov dword [ebp - 0x14], eax
test ecx, ecx
je 0x1000370c
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x78]
cmp ecx, eax
setne al
push eax
call edx
mov dword [ebp - 0x54], 0
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 8
push eax
lea ecx, [esi + 0x2008c]
call fcn.10005b10
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x10003737
mov edx, dword [ecx]
lea eax, [ebp - 0x38]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, dword [ebp + 0x38]
test ecx, ecx
je 0x10003756
mov edx, dword [ecx]
lea eax, [ebp + 0x14]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp + 0x38], 0
mov edx, dword [ebp + 0x50]
cmp edx, 0x10
jb 0x10003786
mov ecx, dword [ebp + 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000377c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100037a6
push edx
push ecx
call fcn.1002f4a1
add esp, 8
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.1002f820
mov esp, ebp
pop ebp
ret 0x50
call fcn.10062769
int3
Function at 0x10014400
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 0x10014459
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10014459
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x1001444a
cmp esi, edx
jae 0x10014459
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x10014438
cmp esi, edx
jae 0x10014459
cmp word [esi], 0
je 0x10014459
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret
Function at 0x10015a20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008617a
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x100be518]
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, ecx
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0x54]
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x44], 0
cmp dword [esi + 0x200b4], 0
mov dword [ebp - 4], 2
jne 0x10015a8c
push 0
push 0
push esi
push 0x10004a90
push 0
push 0
call fcn.1006294e
add esp, 0x18
mov dword [esi + 0x200b4], eax
push 0x14
call fcn.1002f471
mov edi, eax
add esp, 4
mov dword [ebp - 0x40], edi
mov byte [ebp - 4], 3
test edi, edi
je 0x10015ac1
push dword [ebp - 0x3c]
lea eax, [ebp + 0x3c]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.10003f30
push edi
mov ecx, esi
call fcn.10003960
mov dword [ebp - 0x3c], eax
jmp 0x10015ac8
mov dword [ebp - 0x3c], 0
push 0xc
mov byte [ebp - 4], 2
call fcn.1002f471
add esp, 4
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x10015aec
mov ecx, eax
call fcn.10016d80
mov edi, eax
jmp 0x10015aee
xor edi, edi
push ebx
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.10005910
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x78]
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x88], 0x100032b0
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x54], 0
mov ecx, dword [ebp + 0x38]
mov byte [ebp - 4], 5
test ecx, ecx
je 0x10015b37
mov eax, dword [ecx]
lea edx, [ebp - 0x78]
push edx
call dword [eax]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x44], 3
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 7
push eax
call fcn.100160b0
mov ecx, dword [ebp - 0x54]
add esp, 4
mov dword [ebp - 0x14], eax
test ecx, ecx
je 0x10015b7c
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x78]
cmp ecx, eax
setne al
push eax
call edx
mov dword [ebp - 0x54], 0
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 8
push eax
lea ecx, [esi + 0x2008c]
call fcn.10005b10
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x10015ba7
mov edx, dword [ecx]
lea eax, [ebp - 0x38]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, dword [ebp + 0x38]
test ecx, ecx
je 0x10015bc6
mov edx, dword [ecx]
lea eax, [ebp + 0x14]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp + 0x38], 0
mov edx, dword [ebp + 0x50]
cmp edx, 0x10
jb 0x10015bf6
mov ecx, dword [ebp + 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10015bec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10015c16
push edx
push ecx
call fcn.1002f4a1
add esp, 8
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.1002f820
mov esp, ebp
pop ebp
ret 0x50
call fcn.10062769
int3
Function at 0x1001cab0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100889e8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x100be518]
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], 0
mov dword [esi + 4], 0
push 0x14
mov dword [ebp - 4], 0
call fcn.1002f471
mov edi, eax
add esp, 4
mov dword [ebp - 0x10], edi
test edi, edi
je 0x1001cb3f
push dword [ebp + 8]
mov dword [edi + 4], 1
push 0
mov dword [edi + 8], 1
mov dword [edi], vtable.std::_Ref_count_obj_class_GlobalMutex_.0
push 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [edi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0x10], eax
jmp 0x1001cb41
xor edi, edi
lea eax, [edi + 0xc]
mov dword [esi], eax
mov ebx, dword [esi + 4]
mov dword [esi + 4], edi
test ebx, ebx
je 0x1001cb71
or edi, 0xffffffff
mov eax, edi
lock xadd dword [ebx + 4], eax
jne 0x1001cb71
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
lock xadd dword [ebx + 8], edi
dec edi
jne 0x1001cb71
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov edi, dword [esi]
test edi, edi
je 0x1001cbba
mov eax, dword [edi]
test eax, eax
je 0x1001cbba
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
ja 0x1001cbac
je 0x1001cba3
test eax, eax
je 0x1001cb9a
cmp eax, 0x80
jne 0x1001cbb7
mov dword [edi + 4], 0
jmp 0x1001cbba
mov dword [edi + 4], 0x102
jmp 0x1001cbba
cmp eax, 0xffffffff
jne 0x1001cbb7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 4], eax
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 4
Function at 0x10023530
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10088eaa
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x100be518]
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.10004ab0
mov ecx, eax
test ecx, ecx
je 0x100236f4
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.10004ab0
mov ecx, eax
test ecx, ecx
je 0x100236fe
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 1
call fcn.10004ab0
mov ecx, eax
test ecx, ecx
je 0x10023708
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 0x10023612
xor ecx, ecx
jmp 0x10023630
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 0x10023620
sub ecx, dword [ebp + 0x10]
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.1000aad0
push edi
mov ecx, ebx
call fcn.100237f0
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x1002364c
xor ecx, ecx
jmp 0x10023664
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp + 0x10], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10023654
sub ecx, dword [ebp + 0x10]
sar ecx, 1
push ecx
push edx
lea ecx, [esi + 0x1c]
call fcn.1000aad0
push ebx
lea eax, [ebp + 0x10]
mov ecx, esi
push eax
call fcn.10024250
push eax
mov ecx, ebx
mov byte [ebp - 4], 6
call fcn.100237f0
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 0x100236a5
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 0x100236de
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x100236de
cmp dword [esi + 0x10], 0
je 0x100236d5
push dword [edi]
call fcn.1006b367
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.100087a0
push 0x80004005
call fcn.100087a0
push 0x80004005
call fcn.100087a0
int3
Function at 0x10023f50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10088f98
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x100be518]
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 0x10024124
push str.__set_log_lev0
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x10023fa5
mov eax, dword [edi]
mov ecx, edi
push 0
call dword [eax + 4]
jmp 0x10024124
push str.__set_log_lev1
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x10023fc3
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax + 4]
jmp 0x10024124
push str.__set_log_lev2
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x10023fe1
mov eax, dword [edi]
mov ecx, edi
push 2
call dword [eax + 4]
jmp 0x10024124
push str.__set_log_lev3
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x10023fff
mov eax, dword [edi]
mov ecx, edi
push 3
call dword [eax + 4]
jmp 0x10024124
push str.__reload_log_switch
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x10024124
lea eax, [edi + 4]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x10024024
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 0x10024057
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
cmp ecx, 8
jae 0x1002406f
movups xmm0, xmmword [eax]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 7
movups xmmword [ebp - 0x28], xmm0
jmp 0x100240ad
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.100054d0
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.1005e7b0
mov eax, dword [ebp - 0x30]
add esp, 0xc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], esi
push 0x1009fe94
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.10024db0
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 0x100240db
mov dword [edi + 0x1c], 0
cmp dword [edi + 0x28], 0
je 0x10024114
mov eax, dword [edi]
mov ecx, edi
push 1
mov eax, dword [eax + 8]
call eax
test al, al
je 0x10024114
push str._______log_reload_switch
lea ecx, [ebp - 0x4c]
call fcn.100224d0
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.10007710
lea ecx, [ebp - 0x28]
call fcn.10007710
lea ecx, [ebp - 0x34]
call fcn.100237c0
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.1002f820
mov esp, ebp
pop ebp
ret 4