joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10011b39
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi], ebx
jne 0x10011ba4
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi], eax
test eax, eax
je 0x10011bb8
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 0x10011ba4
call eax
mov dword [edi + 0xc], eax
cmp dword [edi + 8], ebx
je 0x10011bb6
cmp dword [edi + 4], ebx
je 0x10011bb6
cmp dword [edi + 0xc], ebx
je 0x10011bb6
xor ebx, ebx
inc ebx
mov eax, ebx
pop edi
pop ebx
pop ebp
ret 4

Function at 0x1001331f
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10087354]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x38], 0
je 0x100133a1
cmp byte [esi + 0x3d], 0
je 0x100133a1
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x10013373
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x10013377
sub eax, 1
je 0x1001337b
dec eax
sub eax, 1
je 0x100133a1
xor al, al
jmp 0x100133a3
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x10013398
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.1004544b
add esp, 0x10
cmp edi, eax
jne 0x10013373
cmp byte [esi + 0x3d], 0
sete al
jmp 0x100133a3
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1002c88e
leave
ret
Function at 0x1001396a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x10087354]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
or edi, 0xffffffff
mov esi, ecx
cmp ebx, edi
jne 0x10013990
xor eax, eax
jmp 0x10013a52
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x100139b9
mov edx, dword [esi + 0x30]
mov eax, dword [edx]
add eax, ecx
cmp ecx, eax
jae 0x100139b9
dec dword [edx]
mov eax, ebx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
jmp 0x10013a52
cmp dword [esi + 0x4c], 0
je 0x10013a50
mov ecx, esi
call fcn.10013579
mov ecx, dword [esi + 0x38]
mov al, bl
test ecx, ecx
jne 0x100139e5
push dword [esi + 0x4c]
push eax
call fcn.10010fd1
test al, al
pop ecx
pop ecx
cmovne edi, ebx
jmp 0x10013a50
mov byte [ebp - 0x28], al
lea eax, [ebp - 0x2c]
mov edx, dword [ecx]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x27]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x1c]
test eax, eax
js 0x10013a50
cmp eax, 1
jle 0x10013a1f
cmp eax, 3
jne 0x10013a50
push dword [esi + 0x4c]
push dword [ebp - 0x28]
jmp 0x100139d7
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x24]
sub eax, ecx
mov dword [ebp - 0x30], eax
je 0x10013a42
push dword [esi + 0x4c]
push eax
mov eax, ecx
push 1
push eax
call fcn.1004544b
add esp, 0x10
cmp dword [ebp - 0x30], eax
jne 0x10013a50
lea eax, [ebp - 0x28]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x34], eax
mov eax, ebx
jne 0x10013a52
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002c88e
leave
ret 4
Function at 0x10014179
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
mov edi, ecx
cmp dword [edi + 0x38], 0
je 0x1001419b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10014257
jmp 0x10014252
mov eax, dword [edi + 0x1c]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov eax, dword [eax]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], eax
test eax, eax
je 0x100141bc
mov eax, dword [edi + 0x2c]
mov eax, dword [eax]
jmp 0x100141be
xor eax, eax
cdq
mov dword [ebp + 0x10], eax
mov ecx, edx
mov dword [ebp - 4], ecx
test ebx, ebx
jl 0x10014246
jg 0x100141d1
test esi, esi
je 0x10014246
test ecx, ecx
jl 0x10014213
jg 0x100141db
test eax, eax
je 0x10014213
cmp ebx, ecx
jg 0x100141ed
jl 0x100141e5
cmp esi, eax
jae 0x100141ed
mov eax, esi
mov dword [ebp + 0x10], esi
mov dword [ebp - 4], ebx
push eax
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.10036e70
mov ecx, dword [ebp + 0x10]
add esp, 0xc
mov eax, dword [edi + 0x2c]
add dword [ebp + 8], ecx
sub esi, ecx
sbb ebx, dword [ebp - 4]
sub dword [eax], ecx
mov eax, dword [edi + 0x1c]
add dword [eax], ecx
jmp 0x10014219
mov eax, dword [ebp + 8]
mov dword [ebp + 8], eax
test ebx, ebx
jl 0x10014246
jg 0x10014223
test esi, esi
je 0x10014246
cmp dword [edi + 0x4c], 0
je 0x10014246
mov ecx, edi
call fcn.10013579
push dword [edi + 0x4c]
push esi
push 1
push dword [ebp + 8]
call fcn.100479f9
add esp, 0x10
sub esi, eax
sbb ebx, 0
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
sub eax, esi
pop esi
sbb edx, ebx
pop ebx
pop edi
leave
ret 0xc
Function at 0x10014326
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x10014348
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.100143fa
jmp 0x100143f5
mov eax, dword [ebx + 0x20]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov eax, dword [eax]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], edi
mov dword [ebp - 8], eax
test eax, eax
je 0x10014369
mov eax, dword [ebx + 0x30]
mov eax, dword [eax]
jmp 0x1001436b
xor eax, eax
cdq
mov dword [ebp + 0x10], eax
mov ecx, edx
mov dword [ebp - 4], ecx
test edi, edi
jl 0x100143e9
jg 0x1001437e
test esi, esi
je 0x100143e9
test ecx, ecx
jl 0x100143c2
jg 0x10014388
test eax, eax
je 0x100143c2
cmp edi, ecx
jg 0x1001439a
jl 0x10014392
cmp esi, eax
jae 0x1001439a
mov eax, esi
mov dword [ebp + 0x10], esi
mov dword [ebp - 4], edi
push eax
push dword [ebp + 8]
push dword [ebp - 8]
call fcn.10036e70
mov ecx, dword [ebp + 0x10]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [ebx + 0x30]
add edx, ecx
sub esi, ecx
sbb edi, dword [ebp - 4]
sub dword [eax], ecx
mov eax, dword [ebx + 0x20]
add dword [eax], ecx
jmp 0x100143c5
mov edx, dword [ebp + 8]
test edi, edi
jl 0x100143e9
jg 0x100143cf
test esi, esi
je 0x100143e9
cmp dword [ebx + 0x4c], 0
je 0x100143e9
push dword [ebx + 0x4c]
push esi
push 1
push edx
call fcn.1004544b
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x10014653
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x3c], 0
je 0x10014665
xor eax, eax
inc eax
jmp 0x100146c3
push dword [esi + 4]
mov edi, dword [ebp + 8]
mov dword [esi + 0x48], edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x1001469b
xor ecx, ecx
push ecx
push ecx
mov eax, esp
push ecx
push ecx
push ecx
push ecx
mov dword [eax], ecx
mov eax, esp
push edi
mov dword [eax], ecx
mov ecx, esi
call fcn.1001460f
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x2010
push 0
push 0
push 1
push dword [esi + 0x38]
push 0x10000000
call dword [sym.imp.USER32.dll_LoadImageW]
push dword [esi + 4]
mov dword [esi + 0x34], eax
call dword [sym.imp.USER32.dll_IsWindow]
mov dword [esi + 0x3c], eax
pop edi
pop esi
pop ebp
ret 4
Function at 0x10014c7c
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x10087354]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor esi, esi
mov dword [ebp - 0x234], eax
push esi
push 2
mov dword [ebx], esi
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x10014cb5
xor eax, eax
jmp 0x10014d22
push 0x228
lea eax, [ebp - 0x22c]
push esi
push eax
call fcn.10036470
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x10014d08
push dword [ebp - 0x234]
lea eax, [ebp - 0x20c]
push eax
call fcn.1003d7bd
pop ecx
pop ecx
test eax, eax
je 0x10014d0e
lea eax, [ebp - 0x230]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x10014ce3
jmp 0x10014d19
mov eax, dword [ebp - 0x228]
xor esi, esi
mov dword [ebx], eax
inc esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002c88e
leave
ret

Function at 0x100151f8
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4010
call fcn.1002c900
mov eax, dword [0x10087354]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x4004]
push edi
mov edi, dword [ebp + 0x10]
xor ebx, ebx
push 0x4000
push ebx
push eax
call fcn.10036470
add esp, 0xc
mov dword [ebp - 0x4008], ebx
test esi, esi
je 0x100152d2
test edi, edi
je 0x100152d2
lea eax, [ebp - 0x4008]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x100152d2
cmp eax, 0x3fff
ja 0x100152d2
lea ecx, [ebp - 0x4004]
push ecx
push eax
push ebx
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x100152d2
lea eax, [ebp - 0x4010]
push eax
lea eax, [ebp - 0x400c]
push eax
push 0x10062458
lea eax, [ebp - 0x4004]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x100152d2
mov esi, dword [ebp + 0x14]
lea eax, [esi + esi]
push eax
push ebx
push edi
call fcn.10036470
mov ecx, dword [ebp - 0x400c]
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
push str._d._d._d._d
lea eax, [esi - 1]
push eax
push edi
call fcn.10015a4a
xor eax, eax
add esp, 0x28
inc eax
jmp 0x100152d4
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002c88e
leave
ret 0x10

Function at 0x10015301
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
lea eax, [ebp - 4]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x10015320
test byte [ebp - 4], 7
je 0x10015320
xor eax, eax
inc eax
jmp 0x10015329
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
leave
ret 4
Function at 0x1001532d
Capabilities:
Delete file
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x10087354]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je 0x1001536a
xor edi, edi
cmp word [esi], di
je 0x1001536a
test eax, eax
je 0x1001537c
cmp word [eax], di
je 0x1001537c
push edi
push edi
push eax
push esi
push edi
call sub.urlmon.dll_URLDownloadToFileW
test eax, eax
jns 0x100153b7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1002c88e
leave
ret 8
push 0x410
lea eax, [ebp - 0x414]
push edi
push eax
call fcn.10036470
add esp, 0xc
lea eax, [ebp - 0x414]
push edi
push edi
push 0x104
push eax
push esi
push edi
call sub.urlmon.dll_URLDownloadToCacheFileW
test eax, eax
js 0x1001536a
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
inc eax
jmp 0x1001536c

Function at 0x1001582a
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
xor ecx, ecx
cmp dword [esi + 4], ecx
jne 0x1001585c
cmp dword [esi + 0x18], ecx
je 0x1001585c
lea eax, [esi + 8]
push eax
push ecx
push dword [esi + 0x1c]
push dword [esi + 0x18]
push ecx
push ecx
call fcn.1004703e
xor ecx, ecx
mov dword [esi + 4], eax
add esp, 0x18
test eax, eax
setne cl
mov eax, ecx
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x10016252
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 0x1000
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
call fcn.1000f699
mov ecx, eax
call fcn.10014b6c
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x1388
call fcn.1000f5e5
mov ecx, eax
call fcn.1000a5ec
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0
push 0x2421
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
ret

Function at 0x100171c4
Capabilities:
Print debug messages

Disassembly:
push 4
mov eax, 0x1005f53b
call fcn.1002cd1f
mov esi, ecx
mov eax, dword [esi + 0x2c]
cmp eax, 5
jge 0x10017250
inc eax
mov dword [esi + 0x2c], eax
call fcn.10007316
push eax
lea ecx, [ebp - 0x10]
call fcn.10006523
and dword [ebp - 4], 0
lea edi, [esi + 0x30]
mov ecx, edi
call fcn.1000d7b6
cmp eax, 0x80004001
jne 0x1001721a
lea eax, [ebp - 0x10]
push str.FlushShowTray_nullptr_n
push eax
call fcn.10007109
pop ecx
pop ecx
mov dword [esi + 0x2c], 5
jmp 0x1001723e
mov ecx, edi
call fcn.1000dae8
mov ecx, edi
mov esi, eax
call fcn.1000d894
push eax
push dword [esi]
lea eax, [ebp - 0x10]
push str.FlushShowTray_cnt_d_last_d_n
push eax
call fcn.10007109
add esp, 0x10
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [esi - 0x10]
call fcn.100076b8
call fcn.1002cce8
ret
Function at 0x10019670
Capabilities:
Check if file exists
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1007a290
push 0x10036310
mov eax, dword fs:[0]
push eax
sub esp, 0x57c
mov eax, dword [0x10087354]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, dword [ebp + 8]
test esi, esi
je 0x100197ea
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100197ea
push 0x118
push 0
lea eax, [ebp - 0x544]
push eax
call fcn.10036470
add esp, 0xc
mov dword [ebp - 0x548], 0x11c
lea eax, [ebp - 0x548]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x544], 6
jae 0x10019703
mov eax, 1
jmp 0x100197ec
mov dword [ebp - 0x58c], 0x10
mov dword [ebp - 0x588], esi
mov dword [ebp - 0x584], 0
mov dword [ebp - 0x580], 0
mov dword [ebp - 0x42c], 0xaac56b
mov dword [ebp - 0x428], 0x11d0cd44
mov dword [ebp - 0x424], 0xc000c28c
mov dword [ebp - 0x420], 0xee95c24f
xor eax, eax
mov dword [ebp - 0x57c], 0x30
mov dword [ebp - 0x578], eax
mov dword [ebp - 0x574], eax
mov dword [ebp - 0x570], 2
mov dword [ebp - 0x56c], eax
mov dword [ebp - 0x568], 1
mov dword [ebp - 0x560], 1
mov dword [ebp - 0x55c], eax
mov dword [ebp - 0x558], eax
or eax, 0x1080
mov dword [ebp - 0x554], eax
mov dword [ebp - 0x550], 0
lea eax, [ebp - 0x58c]
mov dword [ebp - 0x564], eax
xor edi, edi
mov dword [ebp - 4], edi
lea eax, [ebp - 0x57c]
push eax
lea eax, [ebp - 0x42c]
push eax
push edi
call sub.WINTRUST.dll_WinVerifyTrust
test eax, eax
je 0x10019808
cmp eax, 0x800b0101
je 0x10019808
cmp eax, 0x800b0109
je 0x10019808
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1002c88e
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x55c]
call sub.WINTRUST.dll_WTHelperProvDataFromStateData
test eax, eax
je 0x1001989f
cmp dword [eax + 0x40], 0
jbe 0x1001989f
mov eax, dword [eax + 0x44]
test eax, eax
je 0x1001989f
mov eax, dword [eax + 0x28]
test eax, eax
je 0x1001989f
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x1001989f
cmp dword [eax + 0xc], 0
jbe 0x1001989f
mov eax, dword [ecx]
test eax, eax
je 0x1001989f
cmp dword [eax + 0xc], 0
jbe 0x1001989f
mov eax, dword [eax + 0x10]
test eax, eax
je 0x1001989f
mov eax, dword [eax]
test eax, eax
je 0x1001989f
mov esi, dword [eax + 4]
test esi, esi
je 0x1001989f
push 0x400
push 0
lea eax, [ebp - 0x41c]
push eax
call fcn.10036470
add esp, 0xc
push 0x200
lea eax, [ebp - 0x41c]
push eax
push 0
push 0
push 4
push esi
call dword [sym.imp.CRYPT32.dll_CertGetNameStringW]
dec eax
mov ecx, 1
cmp eax, 0x1fe
cmovbe edi, ecx
mov dword [ebp - 0x54c], edi
mov esi, dword [ebp - 0x55c]
push 0x30
push 0
lea eax, [ebp - 0x57c]
push eax
call fcn.10036470
add esp, 0xc
mov dword [ebp - 0x57c], 0x30
mov dword [ebp - 0x55c], esi
mov dword [ebp - 0x560], 2
lea eax, [ebp - 0x57c]
push eax
lea eax, [ebp - 0x42c]
push eax
push 0
call sub.WINTRUST.dll_WinVerifyTrust
mov dword [ebp - 4], 0xfffffffe
mov eax, edi
jmp 0x100197ec
Function at 0x10019c30
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005f65a
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x10087354]
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.10007316
mov ecx, eax
test ecx, ecx
je 0x10019df4
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.10007316
mov ecx, eax
test ecx, ecx
je 0x10019dfe
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 1
call fcn.10007316
mov ecx, eax
test ecx, ecx
je 0x10019e08
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 0x10019d12
xor ecx, ecx
jmp 0x10019d30
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 0x10019d20
sub ecx, dword [ebp + 0x10]
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.1000778f
push edi
mov ecx, ebx
call fcn.10019e70
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x10019d4c
xor ecx, ecx
jmp 0x10019d64
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp + 0x10], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10019d54
sub ecx, dword [ebp + 0x10]
sar ecx, 1
push ecx
push edx
lea ecx, [esi + 0x1c]
call fcn.1000778f
push ebx
lea eax, [ebp + 0x10]
mov ecx, esi
push eax
call fcn.1001a610
push eax
mov ecx, ebx
mov byte [ebp - 4], 6
call fcn.10019e70
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 0x10019da5
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 0x10019dde
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x10019dde
cmp dword [esi + 0x10], 0
je 0x10019dd5
push dword [edi]
call fcn.100492f2
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.10006c72
push 0x80004005
call fcn.10006c72
push 0x80004005
call fcn.10006c72
int3
Function at 0x1001a410
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005f748
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x10087354]
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 0x1001a5e4
push str.__set_log_lev0
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x1001a465
mov eax, dword [edi]
mov ecx, edi
push 0
call dword [eax + 4]
jmp 0x1001a5e4
push str.__set_log_lev1
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x1001a483
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax + 4]
jmp 0x1001a5e4
push str.__set_log_lev2
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x1001a4a1
mov eax, dword [edi]
mov ecx, edi
push 2
call dword [eax + 4]
jmp 0x1001a5e4
push str.__set_log_lev3
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x1001a4bf
mov eax, dword [edi]
mov ecx, edi
push 3
call dword [eax + 4]
jmp 0x1001a5e4
push str.__reload_log_switch
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x1001a5e4
lea eax, [edi + 4]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x1001a4e4
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 0x1001a517
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
cmp ecx, 8
jae 0x1001a52f
movups xmm0, xmmword [eax]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 7
movups xmmword [ebp - 0x28], xmm0
jmp 0x1001a56d
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.10007f77
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.10036e70
mov eax, dword [ebp - 0x30]
add esp, 0xc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], esi
push 0x10069674
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.10007fef
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 0x1001a59b
mov dword [edi + 0x1c], 0
cmp dword [edi + 0x28], 0
je 0x1001a5d4
mov eax, dword [edi]
mov ecx, edi
push 1
mov eax, dword [eax + 8]
call eax
test al, al
je 0x1001a5d4
push str._______log_reload_switch
lea ecx, [ebp - 0x4c]
call fcn.10008edb
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.10006769
lea ecx, [ebp - 0x28]
call fcn.10006769
lea ecx, [ebp - 0x34]
call fcn.10019e40
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.1002c88e
mov esp, ebp
pop ebp
ret 4