joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000c230
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x1005d09c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, 0x1005e5e8
mov dword [ebp - 0x84], 0x740068
lea esi, [ebp - 0x84]
mov dword [ebp - 0x80], 0x700074
push edi
mov dword [ebp - 0x7c], 0x3a0073
mov edx, 0x40
mov dword [ebp - 0x78], 0x2f002f
sub esi, eax
mov dword [ebp - 0x74], 0x640063
mov dword [ebp - 0x70], 0x2d006e
mov dword [ebp - 0x6c], 0x6c0061
mov dword [ebp - 0x68], 0x2d0069
mov dword [ebp - 0x64], 0x690066
mov dword [ebp - 0x60], 0x65006c
mov dword [ebp - 0x5c], 0x73002d
mov dword [ebp - 0x58], 0x6c0068
mov dword [ebp - 0x54], 0x760069
mov dword [ebp - 0x50], 0x620065
mov dword [ebp - 0x4c], 0x2e007a
mov dword [ebp - 0x48], 0x680073
mov dword [ebp - 0x44], 0x6e0061
mov dword [ebp - 0x40], 0x750068
mov dword [ebp - 0x3c], 0x650074
mov dword [ebp - 0x38], 0x680063
mov dword [ebp - 0x34], 0x63002e
mov dword [ebp - 0x30], 0x2f006e
mov dword [ebp - 0x2c], 0x630070
mov dword [ebp - 0x28], 0x63002f
mov dword [ebp - 0x24], 0x660065
mov dword [ebp - 0x20], 0x43002f
mov dword [ebp - 0x1c], 0x660065
mov dword [ebp - 0x18], 0x650052
mov dword [ebp - 0x14], 0x360073
mov dword [ebp - 0x10], 0x2e0039
mov dword [ebp - 0xc], 0x6c0064
mov dword [ebp - 8], 0x6c
nop dword [eax + eax]
lea ecx, [edx + 0x7fffffbe]
test ecx, ecx
je 0x1000c35e
movzx ecx, word [esi + eax]
test cx, cx
je 0x1000c35e
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x1000c340
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.1001b500
mov esp, ebp
pop ebp
ret
Function at 0x1000cb10
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10045f91
mov eax, dword fs:[0]
push eax
sub esp, 0x2d8
mov eax, dword [0x1005d09c]
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
cmp dword [esi], 0
mov edi, dword [ebp + 8]
jne 0x1000cb4d
call fcn.1000db30
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1002c190
add esp, 0xc
lea eax, [ebp - 0x218]
push str.Utilscefpepflashplayer.dll
push dword [esi + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
lea eax, [ebp - 0x218]
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov dword [ebp - 0x21c], eax
call fcn.10015a30
push 1
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 8]
call edx
movzx ecx, al
sub ecx, 1
jne 0x1000cd1b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x43
push str.d:jenkins.jenkinsworkspace_bird_cef_helpercef_helperconfig.cpp
lea ecx, [ebp - 0x24c]
mov dword [ebp - 0x23c], 0
mov ebx, eax
mov dword [ebp - 0x238], 0xf
mov byte [ebp - 0x24c], 0
call fcn.10007fc0
push 3
push 0x100496c8
lea ecx, [ebp - 0x234]
mov dword [ebp - 4], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0xf
mov byte [ebp - 0x234], 0
call fcn.10007fc0
mov byte [ebp - 4], 1
call fcn.10015a30
mov edi, eax
lea ecx, [ebp - 0x2e4]
push 0xea
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.100059f0
mov esi, eax
push str.copy_pepflashplayer.dll_return
push esi
mov byte [ebp - 4], 2
call fcn.10006660
add esp, 8
mov ecx, esi
push dword [ebp - 0x21c]
call fcn.1000bb60
push str.__errcode
push esi
call fcn.10006660
add esp, 8
mov ecx, esi
push ebx
call fcn.1000bd00
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x2e4]
call fcn.10006710
mov edx, dword [ebp - 0x220]
cmp edx, 0x10
jb 0x1000ccca
mov ecx, dword [ebp - 0x234]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000ccc0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000cd3f
push edx
push ecx
call fcn.1001b181
add esp, 8
mov edx, dword [ebp - 0x238]
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0xf
mov byte [ebp - 0x234], 0
cmp edx, 0x10
jb 0x1000cd1b
mov ecx, dword [ebp - 0x24c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000cd11
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000cd44
push edx
push ecx
call fcn.1001b181
add esp, 8
mov eax, dword [ebp - 0x21c]
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.1001b500
mov esp, ebp
pop ebp
ret 4
call fcn.1002eff9
call fcn.1002eff9
int3
Function at 0x1000e020
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10046247
mov eax, dword fs:[0]
push eax
sub esp, 0x2d8
mov eax, dword [0x1005d09c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi], 0
mov edi, dword [ebp + 8]
jne 0x1000e05c
call fcn.1000db30
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1002c190
add esp, 0xc
lea eax, [ebp - 0x218]
push str.Utilsceflibcef.dll
push dword [esi + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1000e181
call fcn.10015a30
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1000e17a
push 0x43
push str.d:jenkins.jenkinsworkspace_bird_cef_helpercef_helperconfig.cpp
lea ecx, [ebp - 0x24c]
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x238], 0xf
mov byte [ebp - 0x24c], al
call fcn.10007fc0
push 3
push 0x100496c8
lea ecx, [ebp - 0x234]
mov dword [ebp - 4], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0xf
mov byte [ebp - 0x234], 0
call fcn.10007fc0
mov byte [ebp - 4], 1
call fcn.10015a30
mov edi, eax
lea ecx, [ebp - 0x2e4]
push 0x98
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.100059f0
mov esi, eax
push str.local_libcef.dll_not_exist
push esi
mov byte [ebp - 4], 2
call fcn.10006660
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x2e4]
call fcn.10006710
lea ecx, [ebp - 0x234]
call fcn.10006350
lea ecx, [ebp - 0x24c]
call fcn.10006350
xor eax, eax
jmp 0x1000e241
test edi, edi
jne 0x1000e18d
lea eax, [edi + 1]
jmp 0x1000e241
call fcn.10006e00
mov ecx, eax
test ecx, ecx
je 0x1000e25e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 3
test eax, 0xffff0000
jne 0x1000e1cf
movzx eax, ax
lea ecx, [ebp - 0x21c]
push eax
call fcn.10007390
jmp 0x1000e202
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000e1e0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x21c]
call fcn.10007680
push edi
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 4
push eax
mov ecx, esi
call fcn.1000e4c0
mov edx, dword [ebp - 0x21c]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x1000e23f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, esi
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.1001b500
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.10006bd0
int3
Function at 0x1000e270
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10046247
mov eax, dword fs:[0]
push eax
sub esp, 0x2d8
mov eax, dword [0x1005d09c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi], 0
mov edi, dword [ebp + 8]
jne 0x1000e2ac
call fcn.1000db30
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1002c190
add esp, 0xc
lea eax, [ebp - 0x218]
push str.Utilscefpepflashplayer.dll
push dword [esi + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1000e3d1
call fcn.10015a30
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1000e3ca
push 0x43
push str.d:jenkins.jenkinsworkspace_bird_cef_helpercef_helperconfig.cpp
lea ecx, [ebp - 0x24c]
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x238], 0xf
mov byte [ebp - 0x24c], al
call fcn.10007fc0
push 3
push 0x100496c8
lea ecx, [ebp - 0x234]
mov dword [ebp - 4], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0xf
mov byte [ebp - 0x234], 0
call fcn.10007fc0
mov byte [ebp - 4], 1
call fcn.10015a30
mov edi, eax
lea ecx, [ebp - 0x2e4]
push 0xa9
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.100059f0
mov esi, eax
push str.local_pepflashplayer.dll_not_exist
push esi
mov byte [ebp - 4], 2
call fcn.10006660
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x2e4]
call fcn.10006710
lea ecx, [ebp - 0x234]
call fcn.10006350
lea ecx, [ebp - 0x24c]
call fcn.10006350
xor eax, eax
jmp 0x1000e491
test edi, edi
jne 0x1000e3dd
lea eax, [edi + 1]
jmp 0x1000e491
call fcn.10006e00
mov ecx, eax
test ecx, ecx
je 0x1000e4ae
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 3
test eax, 0xffff0000
jne 0x1000e41f
movzx eax, ax
lea ecx, [ebp - 0x21c]
push eax
call fcn.10007390
jmp 0x1000e452
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000e430
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x21c]
call fcn.10007680
push edi
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 4
push eax
mov ecx, esi
call fcn.1000e4c0
mov edx, dword [ebp - 0x21c]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x1000e48f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, esi
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.1001b500
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.10006bd0
int3
Function at 0x1000e750
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x1005d09c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, 0x1005e558
mov dword [ebp - 0x8c], 0x740068
lea esi, [ebp - 0x8c]
mov dword [ebp - 0x88], 0x700074
push edi
mov dword [ebp - 0x84], 0x2f003a
mov edx, 0x44
mov dword [ebp - 0x80], 0x63002f
sub esi, eax
mov dword [ebp - 0x7c], 0x6e0064
mov dword [ebp - 0x78], 0x66002d
mov dword [ebp - 0x74], 0x6c0069
mov dword [ebp - 0x70], 0x2d0065
mov dword [ebp - 0x6c], 0x730073
mov dword [ebp - 0x68], 0x2d006c
mov dword [ebp - 0x64], 0x610077
mov dword [ebp - 0x60], 0x2e006e
mov dword [ebp - 0x5c], 0x75006c
mov dword [ebp - 0x58], 0x610064
mov dword [ebp - 0x54], 0x680073
mov dword [ebp - 0x50], 0x2e0069
mov dword [ebp - 0x4c], 0x6f0063
mov dword [ebp - 0x48], 0x2f006d
mov dword [ebp - 0x44], 0x630070
mov dword [ebp - 0x40], 0x67002f
mov dword [ebp - 0x3c], 0x6d0061
mov dword [ebp - 0x38], 0x2f0065
mov dword [ebp - 0x34], 0x6c0066
mov dword [ebp - 0x30], 0x730061
mov dword [ebp - 0x2c], 0x2f0068
mov dword [ebp - 0x28], 0x650070
mov dword [ebp - 0x24], 0x660070
mov dword [ebp - 0x20], 0x61006c
mov dword [ebp - 0x1c], 0x680073
mov dword [ebp - 0x18], 0x6c0070
mov dword [ebp - 0x14], 0x790061
mov dword [ebp - 0x10], 0x720065
mov dword [ebp - 0xc], 0x37002e
mov dword [ebp - 8], 0x7a
nop
lea ecx, [edx + 0x7fffffba]
test ecx, ecx
je 0x1000e88e
movzx ecx, word [esi + eax]
test cx, cx
je 0x1000e88e
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x1000e870
lea ecx, [eax - 2]
test edx, edx
pop edi
cmovne ecx, eax
xor eax, eax
pop esi
pop ebx
mov word [ecx], ax
mov eax, 0x1005e558
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001b500
mov esp, ebp
pop ebp
ret
Function at 0x100114f0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100466b1
mov eax, dword fs:[0]
push eax
sub esp, 0x4dc
mov eax, dword [0x1005d09c]
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
cmp dword [edi + 0x1c], 0
jne 0x100116fe
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1002c190
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x1005e66c]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x218]
push eax
call esi
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.1002c190
add esp, 0xc
lea eax, [ebp - 0x218]
push str.NetBridge.dll
push eax
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x420]
push eax
call fcn.10018b90
add esp, 4
test eax, eax
jne 0x10011692
call fcn.10015a30
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x100116fe
push 0x4d
push str.d:jenkins.jenkinsworkspace_bird_cef_helpercef_helper_nethttpdownload.cpp
lea ecx, [ebp - 0x450]
mov dword [ebp - 0x440], eax
mov dword [ebp - 0x43c], 0xf
mov byte [ebp - 0x450], al
call fcn.10007fc0
push 3
push 0x100496c8
lea ecx, [ebp - 0x438]
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 0xf
mov byte [ebp - 0x438], 0
call fcn.10007fc0
mov byte [ebp - 4], 1
call fcn.10015a30
mov edi, eax
lea ecx, [ebp - 0x4e8]
push 0x23
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.100059f0
mov esi, eax
push str.check_net_sign_fail.
push esi
mov byte [ebp - 4], 2
call fcn.10006660
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x4e8]
call fcn.10006710
lea ecx, [ebp - 0x438]
call fcn.10006350
lea ecx, [ebp - 0x450]
call fcn.10006350
jmp 0x100116fe
mov dword [edi + 0x1c], 1
cmp dword [edi], 0
jne 0x100116fe
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi], eax
test eax, eax
je 0x100116fe
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]
test eax, eax
je 0x100116fe
call eax
mov dword [edi + 0xc], eax
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.1001b500
mov esp, ebp
pop ebp
ret
Function at 0x10014ba0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004695a
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x1005d09c]
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.10006e00
mov ecx, eax
test ecx, ecx
je 0x10014d64
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.10006e00
mov ecx, eax
test ecx, ecx
je 0x10014d6e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 1
call fcn.10006e00
mov ecx, eax
test ecx, ecx
je 0x10014d78
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 0x10014c82
xor ecx, ecx
jmp 0x10014ca0
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 0x10014c90
sub ecx, dword [ebp + 0x10]
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.10007680
push edi
mov ecx, ebx
call fcn.10014e60
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x10014cbc
xor ecx, ecx
jmp 0x10014cd4
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp + 0x10], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10014cc4
sub ecx, dword [ebp + 0x10]
sar ecx, 1
push ecx
push edx
lea ecx, [esi + 0x1c]
call fcn.10007680
push ebx
lea eax, [ebp + 0x10]
mov ecx, esi
push eax
call fcn.100157b0
push eax
mov ecx, ebx
mov byte [ebp - 4], 6
call fcn.10014e60
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 0x10014d15
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 0x10014d4e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x10014d4e
cmp dword [esi + 0x10], 0
je 0x10014d45
push dword [edi]
call fcn.10033e46
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.10006bd0
push 0x80004005
call fcn.10006bd0
push 0x80004005
call fcn.10006bd0
int3
Function at 0x10015550
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10046a48
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x1005d09c]
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 0x10015724
push str.__set_log_lev0
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x100155a5
mov eax, dword [edi]
mov ecx, edi
push 0
call dword [eax + 4]
jmp 0x10015724
push str.__set_log_lev1
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x100155c3
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax + 4]
jmp 0x10015724
push str.__set_log_lev2
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x100155e1
mov eax, dword [edi]
mov ecx, edi
push 2
call dword [eax + 4]
jmp 0x10015724
push str.__set_log_lev3
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x100155ff
mov eax, dword [edi]
mov ecx, edi
push 3
call dword [eax + 4]
jmp 0x10015724
push str.__reload_log_switch
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x10015724
lea eax, [edi + 4]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x10015624
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 0x10015657
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
cmp ecx, 8
jae 0x1001566f
movups xmm0, xmmword [eax]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 7
movups xmmword [ebp - 0x28], xmm0
jmp 0x100156ad
mov esi, ecx
mov eax, SysReAllocString
or esi, 7
lea ecx, [ebp - 0x28]
cmp esi, eax
cmova esi, eax
lea eax, [esi + 1]
push eax
call fcn.10007c10
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.1002b690
mov eax, dword [ebp - 0x30]
add esp, 0xc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], esi
push 0x1004d12c
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.100161d0
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 0x100156db
mov dword [edi + 0x1c], 0
cmp dword [edi + 0x28], 0
je 0x10015714
mov eax, dword [edi]
mov ecx, edi
push 1
mov eax, dword [eax + 8]
call eax
test al, al
je 0x10015714
push str._______log_reload_switch
lea ecx, [ebp - 0x4c]
call fcn.1000b6f0
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.100063a0
lea ecx, [ebp - 0x28]
call fcn.100063a0
lea ecx, [ebp - 0x34]
call fcn.10014e30
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.1001b500
mov esp, ebp
pop ebp
ret 4
Function at 0x10015b20
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10046b07
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x1005d09c]
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 0x10015b6a
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 0x10015b76
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [edi + 0x2c]
call fcn.100146c7
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 0x10015be3
push 0x48
call fcn.10019140
mov ebx, eax
add esp, 4
mov dword [ebp - 0x38], ebx
mov byte [ebp - 4], 1
test ebx, ebx
je 0x10015bd7
push 0x48
push 0
push ebx
call fcn.1002c190
add esp, 0xc
mov ecx, ebx
push dword [ebp + 0x14]
push dword [ebp - 0x30]
push dword [ebp - 0x2c]
call fcn.10014ba0
jmp 0x10015bd9
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 0x10015c10
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x28]
call fcn.100146c7
push 3
push 0x1004d12c
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.10014668
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 0x10015c5f
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], eax
cmp dword [edi + 0x28], 0
je 0x10015cae
mov eax, dword [edi]
mov ecx, edi
push 1
mov eax, dword [eax + 8]
call eax
test al, al
je 0x10015cae
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.100146c7
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.100063a0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x10015ce4
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10015cda
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10015d21
push edx
push ecx
call fcn.1001b181
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 0x10015d03
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.1001b500
mov esp, ebp
pop ebp
ret 0x14
call fcn.1002eff9
int3