joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001a680
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10096e86
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x100c7394]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 0x40
lea edi, [eax + 8]
mov dword [eax], vtable.GameModeAndWebStateIdentifyImp.0
push 0
push edi
mov dword [eax + 4], 0
call fcn.10056af0
mov dword [ebp - 0x14], edi
add esp, 0xc
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
lea esi, [edi + 0x24]
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], esi
mov ecx, esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10014c90
mov dword [esi], eax
add edi, 0x2c
mov byte [ebp - 4], 2
mov dword [ebp - 0x18], edi
mov ecx, edi
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.10020400
mov dword [edi], eax
lea esi, [edi + 8]
mov byte [ebp - 4], 3
push 0
push 0
mov ecx, esi
mov dword [ebp - 0x1c], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10011e80
mov dword [esi], eax
mov dword [edi + 0x10], 0x3e8
mov edi, dword [ebp - 0x10]
push 0x70
push 0
lea esi, [edi + 0x48]
push esi
call fcn.10056af0
mov dword [esi], 0
xorps xmm0, xmm0
mov dword [esi + 4], 0
add esp, 0xc
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
movups xmmword [esi + 0x58], xmm0
movq qword [esi + 0x68], xmm0
mov eax, edi
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
mov byte [edi + 0xb8], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1001adb0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10096ee0
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x100c7394]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea ecx, [ebx + 0x34]
call fcn.10013290
mov esi, dword [ebx + 0x2c]
push dword [esi + 4]
lea ecx, [ebx + 0x2c]
mov dword [ebp - 4], 0
call fcn.10012100
mov eax, dword [ebx + 0x2c]
push 0x2a8
mov dword [eax + 4], esi
mov eax, dword [ebx + 0x2c]
mov dword [eax], esi
mov eax, dword [ebx + 0x2c]
mov dword [eax + 8], esi
mov dword [ebx + 0x30], 0
push dword [ebx + 0x2c]
call fcn.1004cdcb
add esp, 8
mov esi, dword [ebx + 0x24]
mov dword [ebp - 4], 1
push dword [esi + 4]
lea ecx, [ebx + 0x24]
mov byte [ebp - 4], 2
call fcn.10012160
mov eax, dword [ebx + 0x24]
push 0x1c
mov dword [eax + 4], esi
mov eax, dword [ebx + 0x24]
mov dword [eax], esi
mov eax, dword [ebx + 0x24]
mov dword [eax + 8], esi
mov dword [ebx + 0x28], 0
push dword [ebx + 0x24]
call fcn.1004cdcb
add esp, 8
lea ecx, [ebx + 0x18]
mov dword [ebp - 4], 3
call fcn.10020840
lea ecx, [ebx + 0xc]
mov dword [ebp - 4], 4
call fcn.10020840
mov ecx, ebx
mov dword [ebp - 4], 5
call fcn.10020840
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001ce20
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009722b
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x100c7394]
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
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push dword [0x100c6104]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ebx, eax
mov dword [ebp - 0x44], ebx
call fcn.1003e190
push 1
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 8]
call edx
movzx ecx, al
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
sub ecx, 1
jne 0x1001cfa9
call eax
push 0x76
push str.d:jenkins.jenkinsworkspacelib_commonmodeidentifymodeidentifyldsmodeidentifyldsmodeidentifymodeidentifyimp.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov ebx, eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.1000a9b0
push 3
push 0x1009ee28
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1000a9b0
mov byte [ebp - 4], 1
call fcn.1003e190
mov edi, eax
lea ecx, [ebp - 0xdc]
push 0xe8
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10004330
mov esi, eax
push str.Create_Instance_mutex_BroadcastWndMutex_:
push esi
mov byte [ebp - 4], 2
call fcn.10005560
add esp, 8
mov ecx, esi
push ebx
call fcn.100053b0
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xdc]
call fcn.10005880
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x1001cf5f
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001cf55
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001cfe0
push edx
push ecx
call fcn.1004cdcb
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x1001cfa1
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001cf97
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001cfe5
push edx
push ecx
call fcn.1004cdcb
add esp, 8
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [ebp - 0x44]
call eax
cmp eax, 0xb7
jne 0x1001cfc2
push ebx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
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.1004d14a
mov esp, ebp
pop ebp
ret
call fcn.10059c49
call fcn.10059c49
int3
Function at 0x1001e930
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10097436
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x100c7394]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 0x60
push 0
push esi
mov byte [ebp - 4], 1
call ebx
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x1001e9dc
push 2
push eax
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x1001e9dc
call fcn.1001b9b0
mov esi, eax
jmp 0x1001eacc
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x1001e9ff
call fcn.1001b9b0
jmp 0x1001eabf
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x1001ea1d
call fcn.1001b9b0
jmp 0x1001eabf
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x41c], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x1001ea3e
mov esi, 0x8007000e
jmp 0x1001eac1
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.1001b880
jmp 0x1001ea68
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
jne 0x1001ea7f
mov esi, 0x8007000e
jmp 0x1001eac1
push esi
push dword [ebp - 0x418]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x1001ea9f
call fcn.1001b9b0
jmp 0x1001eabf
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.1001e790
mov esi, eax
test edi, edi
je 0x1001eacc
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x1001eaf0
lea ecx, [ebp - 0x418]
call fcn.1001ce10
nop word [eax + eax]
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 - 0x14]
xor ecx, ebp
call fcn.1004d14a
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1001fb80
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 8]
test eax, eax
je 0x1001fbaf
push 0
push 0
push 0x10
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1001fba8
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esi + 8], 0
mov eax, dword [esi + 0x10]
test eax, eax
je 0x1001fbc4
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov dword [esi + 0x10], 0
add esi, 0x18
je 0x1001fbd0
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [esi + 0x18]
test esi, esi
je 0x1001fbde
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x1f4
mov ecx, esi
call fcn.1001f770
test al, al
jne 0x1001fbf7
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
pop edi
pop esi
ret
Function at 0x1002ab00
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009843b
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x100c7394]
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 eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
mov eax, dword [eax + 4]
sub eax, edx
sar eax, 2
cmp eax, ecx
jbe 0x1002ac8b
mov eax, dword [edx + ecx*4]
cmp dword [eax - 0xc], 0
je 0x1002ac8b
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
lea ecx, [ebp - 0x224]
mov dword [ebp - 4], 0
push ecx
push 0x1009f3b0
push eax
call fcn.10008350
mov eax, dword [ebp - 0x220]
add esp, 0xc
mov edi, dword [ebp - 0x224]
mov dword [ebp - 0x230], eax
cmp edi, eax
je 0x1002ac80
or ebx, 0xffffffff
mov eax, dword [edi]
mov ecx, dword [eax - 0x10]
lea esi, [eax - 0x10]
mov dword [ebp - 0x228], eax
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi + 0xc], 0
mov ecx, eax
lea eax, [esi + 0xc]
jl 0x1002abda
cmp ecx, dword [esi]
jne 0x1002abda
lock inc dword [eax]
jmp 0x1002ac14
mov eax, dword [ecx]
lea ebx, [esi + 4]
push 2
push dword [ebx]
call dword [eax]
mov esi, eax
test esi, esi
je 0x1002accf
mov ecx, dword [ebx]
lea eax, [esi + 0x10]
mov dword [esi + 4], ecx
mov ecx, dword [ebx]
lea ecx, [ecx*2 + 2]
push ecx
push dword [ebp - 0x228]
push ecx
push eax
call fcn.1000c3d0
add esp, 0x10
or ebx, 0xffffffff
add esi, 0x10
cmp dword [esi - 0xc], 0
je 0x1002ac5a
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10056af0
mov eax, dword [ebp - 0x22c]
add esp, 0xc
push esi
push dword [eax]
lea eax, [ebp - 0x218]
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
je 0x1002acab
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1002ac71
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 4
cmp edi, dword [ebp - 0x230]
jne 0x1002abb3
lea ecx, [ebp - 0x224]
call fcn.1000f490
mov al, 1
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.1004d14a
mov esp, ebp
pop ebp
ret 0xc
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x1002acc0
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x224]
call fcn.1000f490
xor al, al
jmp 0x1002ac8d
call fcn.10008db0
int3
Function at 0x10030850
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009722b
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x100c7394]
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
call fcn.1003e190
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x100309aa
push 0x7c
push str.d:jenkins.jenkinsworkspacelib_commonmodeidentifymodeidentifyldsmodeidentifyldsmodeidentifyuia_uielement_identify.cc
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.1000a9b0
push 3
push 0x1009ee28
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1000a9b0
mov byte [ebp - 4], 1
call fcn.1003e190
mov edi, eax
lea ecx, [ebp - 0xdc]
push 0x88
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10004330
mov esi, eax
push str.create_stop_event_:
push esi
mov byte [ebp - 4], 2
call fcn.10005560
add esp, 8
mov ecx, esi
push dword [ebx + 0x18]
call fcn.10015650
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xdc]
call fcn.10005880
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x10030968
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003095e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100309f9
push edx
push ecx
call fcn.1004cdcb
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x100309aa
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100309a0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100309fe
push edx
push ecx
call fcn.1004cdcb
add esp, 8
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebx + 0x18], eax
lea eax, [ebp - 0x44]
push eax
push 0
push ebx
push 0x10031380
push 0
push 0
mov dword [ebp - 0x44], 0
call fcn.100651cc
add esp, 0x18
mov dword [ebx + 0x1c], 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.1004d14a
mov esp, ebp
pop ebp
ret
call fcn.10059c49
call fcn.10059c49
int3
Function at 0x10035490
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x811c9dc5
sub edx, edi
sar edx, 1
add edx, edx
je 0x100354c1
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x100354b0
pop edi
mov eax, esi
pop esi
pop ebp
ret 8

Function at 0x10035df0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
push edi
push 0xc8
push 0
lea edi, [esi + 8]
mov dword [esi], eax
lea ebx, [esi + 4]
mov dword [ebx], 0
push edi
call fcn.10056af0
push 0xc8
lea eax, [esi + 0xd0]
push 0
push eax
call fcn.10056af0
mov eax, dword [esi]
add esp, 0x18
test eax, eax
je 0x10035e73
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10035e73
push ebx
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push 0x64
push edi
push dword [esi]
call dword [sym.imp.USER32.dll_InternalGetWindowText]
test eax, eax
jne 0x10035e60
push 0x64
push edi
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x64
lea eax, [esi + 0xd0]
push eax
push dword [ebx]
call fcn.10006c50
add esp, 0xc
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x1003cea0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009959f
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x100c7394]
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.10006af0
mov ecx, eax
test ecx, ecx
je 0x1003d054
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.10006af0
mov ecx, eax
test ecx, ecx
je 0x1003d05e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 1
call fcn.10006af0
mov ecx, eax
test ecx, ecx
je 0x1003d068
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], 0xffffffff
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 4
mov dword [esi + 0x10], eax
test edx, edx
jne 0x1003cf78
xor ecx, ecx
jmp 0x1003cf90
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp + 0x10], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003cf80
sub ecx, dword [ebp + 0x10]
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.10008270
push edi
mov ecx, ebx
call fcn.100052b0
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x1003cfac
xor ecx, ecx
jmp 0x1003cfc4
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp + 0x10], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003cfb4
sub ecx, dword [ebp + 0x10]
sar ecx, 1
push ecx
push edx
lea ecx, [esi + 0x1c]
call fcn.10008270
push ebx
lea eax, [ebp + 0x10]
mov ecx, esi
push eax
call fcn.1003dd20
push eax
mov ecx, ebx
mov byte [ebp - 4], 5
call fcn.100052b0
mov edx, dword [ebp + 0x10]
or eax, 0xffffffff
mov byte [ebp - 4], 4
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1003d005
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 0x1003d03e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1003d03e
cmp dword [esi + 0x10], 0
je 0x1003d035
push dword [edi]
call fcn.100680da
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.10005e80
push 0x80004005
call fcn.10005e80
push 0x80004005
call fcn.10005e80
int3
Function at 0x1003dba0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10099688
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x100c7394]
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 edi, dword [ebp + 8]
test edi, edi
je 0x1003dd01
mov ebx, dword [sym.imp.SHLWAPI.dll_StrStrIW]
push str.__set_log_lev0
push edi
call ebx
test eax, eax
je 0x1003dbf8
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 4]
jmp 0x1003dd01
push str.__set_log_lev1
push edi
call ebx
test eax, eax
je 0x1003dc12
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 4]
jmp 0x1003dd01
push str.__set_log_lev2
push edi
call ebx
test eax, eax
je 0x1003dc2c
mov eax, dword [esi]
mov ecx, esi
push 2
call dword [eax + 4]
jmp 0x1003dd01
push str.__set_log_lev3
push edi
call ebx
test eax, eax
je 0x1003dc46
mov eax, dword [esi]
mov ecx, esi
push 3
call dword [eax + 4]
jmp 0x1003dd01
push str.__reload_log_switch
push edi
call ebx
test eax, eax
je 0x1003dd01
push 3
mov ecx, esi
call fcn.1003db60
lea eax, [esi + 0x14]
push eax
lea ecx, [ebp - 0x28]
call fcn.10004140
push 0x100a62e0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.1003f270
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 0x1003dc9e
push 0
mov ecx, esi
call fcn.1003db60
lea eax, [esi + 0x2c]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x1003dcaf
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esi + 0x44], 0
mov byte [ebp - 4], 1
je 0x1003dcf1
mov ecx, dword [esi + 0x6c]
test ecx, ecx
je 0x1003dcf1
mov eax, dword [ecx]
push 1
mov eax, dword [eax + 4]
call eax
test al, al
je 0x1003dcf1
push str._______log_reload_switch
lea ecx, [ebp - 0x44]
call fcn.1002d1a0
mov ecx, dword [esi + 0x44]
lea edx, [ebp - 0x44]
push edx
mov byte [ebp - 4], 2
mov eax, dword [ecx]
call dword [eax]
lea ecx, [ebp - 0x44]
call fcn.10004de0
lea ecx, [ebp - 0x2c]
call fcn.1001aea0
lea ecx, [ebp - 0x28]
call fcn.10004de0
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.1004d14a
mov esp, ebp
pop ebp
ret 4
Function at 0x1003fe60
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10099a83
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x100c7394]
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 + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0xf
mov byte [esi + 0x20], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
lea ecx, [esi + 0x48]
mov dword [esi], vtable.TiXmlDocument.0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov dword [ebp - 4], 0
mov byte [ecx], 0
mov dword [esi + 0x68], 0xffffffff
mov dword [esi + 0x64], 0xffffffff
push 0
push 0x1009ecb8
mov byte [ebp - 4], 1
mov dword [esi + 0x60], 4
mov byte [esi + 0x6c], 0
mov byte [esi + 0x40], 0
mov dword [esi + 0x44], 0
call fcn.1000a9b0
mov dword [esi + 0x68], 0
mov eax, esi
mov dword [esi + 0x64], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret