joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410700
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cbf86
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x5062f0]
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 edi, 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 edi
mov byte [ebp - 4], 1
call ebx
mov esi, eax
mov dword [ebp - 0x424], esi
test esi, esi
jne 0x4107ac
push 2
push eax
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x424], eax
test esi, esi
jne 0x4107ac
call fcn.0040f490
mov edi, eax
jmp 0x4108cb
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4107cf
call fcn.0040f490
jmp 0x4108be
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x4107ed
call fcn.0040f490
jmp 0x4108be
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x41c], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x41080e
mov edi, 0x8007000e
jmp 0x4108c0
mov ecx, 2
mov byte [ebp - 4], 2
mul ecx
test edx, edx
ja 0x410904
jb 0x41082c
cmp eax, 0xffffffff
ja 0x410904
cmp eax, 0x400
jbe 0x410841
push eax
lea ecx, [ebp - 0x418]
call fcn.0040f310
jmp 0x410867
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x410867
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
jne 0x41087e
mov edi, 0x8007000e
jmp 0x4108c0
push edi
push dword [ebp - 0x418]
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x41089e
call fcn.0040f490
jmp 0x4108be
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.00410560
mov edi, eax
test esi, esi
je 0x4108cb
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x4108e4
lea ecx, [ebp - 0x418]
call fcn.0040f960
mov eax, edi
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.004537ea
mov esp, ebp
pop ebp
ret 0x10
push 0x80070216
call fcn.0040bd70
int3
Function at 0x4121b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x412221
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x412221
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x412221
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x412221
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push 0x40
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x41221b
push esi
push ebx
push edi
call fcn.0046c890
add esp, 0xc
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x41221b
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4257c0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cdbfa
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x5062f0]
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.00421a70
mov esi, eax
push 1
push 1
lea edx, [esi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
jne 0x425993
mov ecx, dword [0x52eecc]
test ecx, ecx
je 0x425838
mov eax, dword [ecx]
push 1
call dword [eax + 0x14]
mov ecx, dword [0x52eecc]
test ecx, ecx
je 0x42582e
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [0x52eecc], 0
mov ecx, dword [0x52eab8]
test ecx, ecx
je 0x425863
mov eax, dword [ecx]
push 1
call dword [eax + 0x14]
mov ecx, dword [0x52eab8]
test ecx, ecx
je 0x425859
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [0x52eab8], 0
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.0041d460
mov ecx, eax
call fcn.0041d580
push 0
mov dword [esi], 0
call fcn.004219e0
push eax
call fcn.0040d0f0
call fcn.0044fb70
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
test al, al
je 0x42594d
push 0x6e
push str.c:_vmagent_new_binjoblist545637_srcc_capitalcomputerzservicecomputerzservicecomputerzservicemainwnd.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00409e80
push 3
push 0x4d8d38
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.00409e80
mov byte [ebp - 4], 1
call fcn.0044fb70
mov edi, eax
lea ecx, [ebp - 0xdc]
push 0xee
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040dcd0
mov esi, eax
push str.Starting_initialize_thread
push esi
mov byte [ebp - 4], 2
call fcn.0040e6a0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xdc]
call fcn.0040e8a0
lea ecx, [ebp - 0x28]
call fcn.00406820
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.00406820
push 0x10
call fcn.00453833
add esp, 4
mov dword [ebp - 0x44], eax
mov dword [ebp - 4], 3
test eax, eax
je 0x425974
lea ecx, [ebx + 0x60]
push ecx
mov ecx, eax
call fcn.004209d0
mov ecx, eax
jmp 0x425976
xor ecx, ecx
mov dword [0x52eab8], ecx
mov eax, dword [ecx]
mov dword [ebp - 4], 0xffffffff
call dword [eax + 0xc]
mov ecx, dword [0x52eab8]
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004537ea
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4283b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ce0f6
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x5062f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
lea eax, [ebx + 4]
mov dword [ebx], vtable.CClientMgr.0
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea esi, [ebx + 0x1c]
mov dword [ebp - 4], 0
mov ecx, esi
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0042a6e0
mov dword [esi], eax
lea esi, [ebx + 0x30]
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x2c], 0
push 8
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.00453833
mov dword [esi], eax
add esp, 4
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
lea eax, [ebx + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42b280
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ce633
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x5062f0]
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 dword [ebp - 0x44], edi
mov eax, dword [ebp + 8]
lea esi, [edi + 4]
mov ebx, dword [ebp + 0x20]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x18]
push 1
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x1c]
push esi
mov dword [ebp - 0x54], eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
mov eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x4c]
add edi, 0x18
mov dword [eax + 0x20], 0
mov dword [edi], 0xc
mov dword [eax + 0x1c], esi
call fcn.0040bbd0
push dword [ebp - 0x50]
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], 0
push 0x4dadc4
push eax
call fcn.0040bf10
mov esi, dword [ebp - 0x4c]
add esp, 0xc
push edi
push ebx
push dword [ebp - 0x54]
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
push dword [ebp - 0x48]
push esi
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov ecx, dword [ebp - 0x44]
mov dword [ecx], eax
cmp eax, 0xffffffff
jne 0x42b41d
call fcn.0044fb70
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
test al, al
je 0x42b41d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x7a
push str.c:_vmagent_new_binjoblist545637_srcc_capitalcomputerzservicecomputerzservicecomputerzservice_namedpipe_namedpipe.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00409e80
push 3
push 0x4d8d38
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00409e80
mov byte [ebp - 4], 2
call fcn.0044fb70
mov ebx, eax
lea ecx, [ebp - 0xf8]
push 0x1e
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040dcd0
mov edi, eax
push str.CNamedPipe::Create___failed__GetLastError_returned
push edi
mov byte [ebp - 4], 3
call fcn.004142d0
add esp, 8
mov ecx, edi
push dword [ebp - 0x48]
call fcn.00415770
mov eax, dword [ebx]
mov ecx, ebx
push edi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xf8]
call fcn.0040e8a0
lea ecx, [ebp - 0x28]
call fcn.00406820
lea ecx, [ebp - 0x40]
call fcn.00406820
mov eax, dword [ebp - 0x44]
xor ebx, ebx
mov dword [ebp - 4], 0xffffffff
cmp dword [eax], 0xffffffff
setne bl
add esi, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [esi + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x42b447
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004537ea
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x42fb70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp byte [0x52eec0], 0
push ebx
push esi
push edi
jne 0x42fc0b
mov edi, dword [0x506278]
xor ebx, ebx
mov byte [0x52eec0], 1
mov eax, ebx
xor ecx, ecx
shl eax, 0x18
mov esi, ebx
test eax, eax
cmovs ecx, edi
shl esi, 0x19
mov eax, esi
xor eax, ecx
lea edx, [ecx + ecx]
jge 0x42fbae
xor edx, edi
lea eax, [esi + esi]
mov ecx, eax
lea esi, [edx + edx]
xor ecx, edx
jge 0x42fbbc
xor esi, edi
add eax, eax
lea edx, [esi + esi]
mov ecx, eax
xor ecx, esi
jge 0x42fbc9
xor edx, edi
add eax, eax
lea esi, [edx + edx]
mov ecx, eax
xor ecx, edx
jge 0x42fbd6
xor esi, edi
add eax, eax
lea edx, [esi + esi]
mov ecx, eax
xor ecx, esi
jge 0x42fbe3
xor edx, edi
add eax, eax
lea esi, [edx + edx]
mov ecx, eax
xor ecx, edx
jge 0x42fbf0
xor esi, edi
add eax, eax
lea ecx, [esi + esi]
xor eax, esi
jge 0x42fbfb
xor ecx, edi
mov dword [ebx*4 + 0x52eac0], ecx
inc ebx
cmp ebx, 0x100
jb 0x42fb92
mov edi, dword [ebp + 0xc]
xor edx, edx
xor esi, esi
test edi, edi
je 0x42fc3d
mov ebx, dword [ebp + 8]
nop dword [eax]
movzx ecx, byte [esi + ebx]
mov eax, edx
shr eax, 0x18
inc esi
xor ecx, eax
shl edx, 8
movzx ecx, cl
xor edx, dword [ecx*4 + 0x52eac0]
cmp esi, edi
jb 0x42fc20
pop edi
pop esi
mov eax, edx
pop ebx
pop ebp
ret
Function at 0x42fc50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov edx, 0x40
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
add esi, esi
mov eax, esi
mov ecx, esi
sar eax, 8
xor eax, esi
sar eax, 8
xor eax, esi
shr eax, 4
xor eax, esi
or esi, 1
and eax, 8
test al, al
cmove esi, ecx
sub edx, 1
jne 0x42fc61
push dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov ecx, ebx
call fcn.0042cb40
mov eax, dword [ebx + 0x10]
xor edi, edi
mov dword [ebp - 8], eax
test eax, eax
je 0x42fe5a
mov edx, esi
add esi, esi
shr edx, 0x1f
mov eax, esi
sar eax, 8
add dl, dl
xor eax, esi
mov ecx, esi
sar eax, 8
or ecx, 1
xor eax, esi
shr eax, 4
xor eax, esi
and eax, 8
test al, al
mov al, dl
cmove ecx, esi
or al, 1
movzx ebx, al
test ecx, ecx
movzx eax, dl
cmovns ebx, eax
add ecx, ecx
mov eax, ecx
add bl, bl
sar eax, 8
mov edx, ecx
xor eax, ecx
or edx, 1
sar eax, 8
xor eax, ecx
shr eax, 4
xor eax, ecx
and eax, 8
test al, al
mov al, bl
cmove edx, ecx
or al, 1
movzx ecx, al
test edx, edx
movzx eax, bl
cmovns ecx, eax
add cl, cl
mov dword [ebp - 4], ecx
lea ecx, [edx + edx]
mov eax, ecx
mov edx, ecx
sar eax, 8
or edx, 1
xor eax, ecx
sar eax, 8
xor eax, ecx
shr eax, 4
xor eax, ecx
and eax, 8
test al, al
cmove edx, ecx
mov ecx, dword [ebp - 4]
mov al, cl
or al, 1
test edx, edx
movzx ebx, al
movzx eax, cl
lea ecx, [edx + edx]
cmovns ebx, eax
mov edx, ecx
mov eax, ecx
add bl, bl
sar eax, 8
or edx, 1
xor eax, ecx
sar eax, 8
xor eax, ecx
shr eax, 4
xor eax, ecx
and eax, 8
test al, al
mov al, bl
cmove edx, ecx
or al, 1
movzx ecx, al
test edx, edx
movzx eax, bl
cmovns ecx, eax
add cl, cl
mov dword [ebp - 4], ecx
lea ecx, [edx + edx]
mov eax, ecx
mov edx, ecx
sar eax, 8
or edx, 1
xor eax, ecx
sar eax, 8
xor eax, ecx
shr eax, 4
xor eax, ecx
and eax, 8
test al, al
cmove edx, ecx
mov ecx, dword [ebp - 4]
mov al, cl
or al, 1
test edx, edx
movzx ebx, al
movzx eax, cl
lea ecx, [edx + edx]
cmovns ebx, eax
mov edx, ecx
mov eax, ecx
add bl, bl
sar eax, 8
or edx, 1
xor eax, ecx
sar eax, 8
xor eax, ecx
shr eax, 4
xor eax, ecx
and eax, 8
test al, al
mov al, bl
cmove edx, ecx
or al, 1
movzx ecx, al
test edx, edx
movzx eax, bl
cmovns ecx, eax
add cl, cl
mov dword [ebp - 4], ecx
lea ecx, [edx + edx]
mov eax, ecx
mov edx, ecx
sar eax, 8
or edx, 1
xor eax, ecx
sar eax, 8
xor eax, ecx
shr eax, 4
xor eax, ecx
and eax, 8
test al, al
cmove edx, ecx
mov ecx, dword [ebp - 4]
mov al, cl
or al, 1
test edx, edx
movzx ebx, al
movzx eax, cl
lea ecx, [edx + edx]
cmovns ebx, eax
mov esi, ecx
mov eax, esi
add bl, bl
sar eax, 8
xor eax, esi
sar eax, 8
xor eax, esi
shr eax, 4
xor eax, esi
or esi, 1
and eax, 8
test al, al
cmove esi, ecx
mov eax, dword [ebp + 8]
mov ecx, eax
cmp dword [eax + 0x14], 0x10
jb 0x42fe46
mov ecx, dword [eax]
xor byte [ecx + edi], bl
inc edi
cmp edi, dword [ebp - 8]
jb 0x42fca3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44e880
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d15ca
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5062f0]
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.0044fab0
mov ecx, eax
test ecx, ecx
je 0x44ea44
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.0044fab0
mov ecx, eax
test ecx, ecx
je 0x44ea4e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 1
call fcn.0044fab0
mov ecx, eax
test ecx, ecx
je 0x44ea58
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 0x44e962
xor ecx, ecx
jmp 0x44e980
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 0x44e970
sub ecx, dword [ebp + 0x10]
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.0040cb60
push edi
mov ecx, ebx
call fcn.0040e630
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x44e99c
xor ecx, ecx
jmp 0x44e9b4
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp + 0x10], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44e9a4
sub ecx, dword [ebp + 0x10]
sar ecx, 1
push ecx
push edx
lea ecx, [esi + 0x1c]
call fcn.0040cb60
push ebx
lea eax, [ebp + 0x10]
mov ecx, esi
push eax
call fcn.0044f3a0
push eax
mov ecx, ebx
mov byte [ebp - 4], 6
call fcn.0040e630
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 0x44e9f5
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 0x44ea2e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x44ea2e
cmp dword [esi + 0x10], 0
je 0x44ea25
push dword [edi]
call fcn.00496378
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.0040bd70
push 0x80004005
call fcn.0040bd70
push 0x80004005
call fcn.0040bd70
int3
Function at 0x44f0c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d16a8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x5062f0]
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 0x44f294
push str.__set_log_lev0
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x44f115
mov eax, dword [edi]
mov ecx, edi
push 0
call dword [eax + 4]
jmp 0x44f294
push str.__set_log_lev1
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x44f133
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax + 4]
jmp 0x44f294
push str.__set_log_lev2
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x44f151
mov eax, dword [edi]
mov ecx, edi
push 2
call dword [eax + 4]
jmp 0x44f294
push str.__set_log_lev3
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x44f16f
mov eax, dword [edi]
mov ecx, edi
push 3
call dword [eax + 4]
jmp 0x44f294
push str.__reload_log_switch
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x44f294
lea eax, [edi + 4]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x44f194
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 0x44f1c7
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
cmp ecx, 8
jae 0x44f1df
movups xmm0, xmmword [eax]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 7
movups xmmword [ebp - 0x28], xmm0
jmp 0x44f21d
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.00412a30
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.0046c890
mov eax, dword [ebp - 0x30]
add esp, 0xc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], esi
push 0x4e204c
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00450580
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 0x44f24b
mov dword [edi + 0x1c], 0
cmp dword [edi + 0x28], 0
je 0x44f284
mov eax, dword [edi]
mov ecx, edi
push 1
mov eax, dword [eax + 8]
call eax
test al, al
je 0x44f284
push str._______log_reload_switch
lea ecx, [ebp - 0x4c]
call fcn.00415110
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.0040e280
lea ecx, [ebp - 0x28]
call fcn.0040e280
lea ecx, [ebp - 0x34]
call fcn.0044eb50
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.004537ea
mov esp, ebp
pop ebp
ret 4
Function at 0x44fda0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d1847
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x5062f0]
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 0x44fdea
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 0x44fdf6
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [edi + 0x2c]
call fcn.004449ec
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 0x44fe63
push 0x48
call fcn.00453833
mov ebx, eax
add esp, 4
mov dword [ebp - 0x38], ebx
mov byte [ebp - 4], 1
test ebx, ebx
je 0x44fe57
push 0x48
push 0
push ebx
call fcn.0046ce10
add esp, 0xc
mov ecx, ebx
push dword [ebp + 0x14]
push dword [ebp - 0x30]
push dword [ebp - 0x2c]
call fcn.0044e880
jmp 0x44fe59
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 0x44fe90
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x28]
call fcn.004449ec
push 3
push 0x4e204c
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00444851
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 0x44fedf
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], eax
cmp dword [edi + 0x28], 0
je 0x44ff2e
mov eax, dword [edi]
mov ecx, edi
push 1
mov eax, dword [eax + 8]
call eax
test al, al
je 0x44ff2e
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.004449ec
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.0040e280
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x44ff64
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44ff5a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44ffa1
push edx
push ecx
call fcn.004537fb
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 0x44ff83
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.004537ea
mov esp, ebp
pop ebp
ret 0x14
call fcn.0047819a
int3