joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10031a90
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b9f60
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x100f2384]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.1001b9a0
push 1
mov ecx, eax
call fcn.100539f0
call fcn.1001b9a0
push 0
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.10050a60
lea ecx, [ebp - 0x41]
mov dword [ebp - 4], 0
call fcn.1002ee00
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.1001a330
add esp, 0xc
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 1
jb 0x10031b04
mov eax, dword [eax]
push eax
call fcn.10049660
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x10031b48
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10031b3e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10031bd8
push edx
push ecx
call fcn.10066bf2
add esp, 8
cmp dword [0x100f6b08], 0
jne 0x10031b89
mov dword [0x100f6b08], 1
call fcn.1001ba30
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x30]
call fcn.10030260
push 0
push 0
push eax
push 0x100327b0
push 0
push 0
call fcn.100915e7
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x10031bbf
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10031bb5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10031bdd
push edx
push ecx
call fcn.10066bf2
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10066f71
mov esp, ebp
pop ebp
ret
call fcn.10091885
call fcn.10091885
int3
Function at 0x10036c20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b68d0
mov eax, dword fs:[0]
push eax
mov eax, dword [0x100f2384]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ecx + 0x30]
or eax, 0xffffffff
mov dword [ecx], vtable.CLayerControlBase.0
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10036c63
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x10036c80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b68f0
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x100f2384]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [esi + 0x30]
or eax, 0xffffffff
mov dword [esi], vtable.CLayerControlBase.0
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10036cc6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test byte [ebp + 8], 1
je 0x10036cd7
push 0x48
push esi
call fcn.10066bf2
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x10036f30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ba918
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x100f2384]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
add ebx, 0x30
mov eax, dword [ebx]
mov ecx, dword [eax - 0x10]
lea esi, [eax - 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi + 0xc], 0
mov ecx, eax
lea eax, [esi + 0xc]
jl 0x10036f82
cmp ecx, dword [esi]
jne 0x10036f82
lock inc dword [eax]
jmp 0x10036fb2
mov eax, dword [ecx]
lea edi, [esi + 4]
push 2
push dword [edi]
call dword [eax]
mov esi, eax
test esi, esi
je 0x1003711b
mov eax, dword [edi]
mov dword [esi + 4], eax
mov eax, dword [edi]
inc eax
add eax, eax
push eax
push dword [ebp - 0x10]
push eax
lea eax, [esi + 0x10]
push eax
call fcn.100089c0
add esp, 0x10
add esi, 0x10
mov dword [ebp - 0x18], esi
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], 0
test ecx, ecx
je 0x1003709c
mov edi, ecx
lea edx, [edi + 2]
nop
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x10036fd0
sub edi, edx
sar edi, 1
je 0x1003709c
mov edx, dword [ebx]
mov eax, dword [edx - 0xc]
mov dword [ebp - 0x14], eax
mov eax, ecx
sub eax, edx
sar eax, 1
mov dword [ebp - 0x10], eax
test edi, edi
js 0x10037120
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, edi
or eax, ecx
jge 0x10037019
push edi
mov ecx, ebx
call fcn.10006cb0
mov edx, dword [ebx]
mov eax, dword [ebp - 0x10]
lea ecx, [edi + edi]
cmp eax, dword [ebp - 0x14]
ja 0x1003706e
lea eax, [edx + eax*2]
mov dword [ebp + 0xc], eax
test ecx, ecx
je 0x10037084
test eax, eax
jne 0x10037044
call fcn.10091a1d
mov dword [eax], 0x16
call fcn.10091875
jmp 0x10037081
mov eax, dword [edx - 8]
add eax, eax
cmp eax, ecx
jae 0x1003705f
call fcn.10091a1d
mov dword [eax], 0x22
call fcn.10091875
jmp 0x10037081
push ecx
push dword [ebp + 0xc]
push edx
call fcn.1008db80
add esp, 0xc
jmp 0x10037081
mov eax, dword [edx - 8]
push ecx
push dword [ebp + 0xc]
add eax, eax
push eax
push edx
call fcn.100089c0
add esp, 0x10
lea ecx, [edi + edi]
mov eax, dword [ebx]
cmp edi, dword [eax - 8]
jg 0x10037120
mov dword [eax - 0xc], edi
xor edx, edx
mov eax, dword [ebx]
mov word [ecx + eax], dx
jmp 0x100370a3
mov ecx, ebx
call fcn.1000ece0
mov eax, dword [ebx]
test eax, eax
je 0x1003712a
mov ecx, esi
nop
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x100370d6
test dx, dx
je 0x100370d2
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x100370d6
add ecx, 4
add eax, 4
test dx, dx
jne 0x100370b0
xor eax, eax
jmp 0x100370db
sbb eax, eax
or eax, 1
test eax, eax
je 0x100370e8
mov ecx, dword [ebp + 8]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x20]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10037107
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.100070e0
push 0x80070057
call fcn.100058e0
push 0x80004005
call fcn.100058e0
int3
Function at 0x10039490
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x10038500
push 0
push 0
call fcn.100915e7
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
ret
Function at 0x1003b5a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push esi
mov esi, ecx
je 0x1003b5ca
mov eax, dword [esi + 0x48]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1003b5f6
push 1
mov ecx, esi
call fcn.1003b370
pop esi
pop ebp
ret 8
cmp dword [esi + 0x2c], 0
push edi
je 0x1003b5d6
mov edi, dword [esi + 0x34]
jmp 0x1003b5d9
mov edi, dword [esi + 0x30]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1003b5f5
test edi, edi
je 0x1003b5f5
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
ret 8

Function at 0x1003b600
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
push esi
mov esi, dword [ebp + 8]
je 0x1003b631
mov eax, dword [esi + 0x24]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1003b65d
push 1
lea ecx, [esi - 0x24]
call fcn.1003b370
mov eax, 1
pop esi
pop ebp
ret 0xc
cmp dword [esi + 8], 0
push edi
je 0x1003b63d
mov edi, dword [esi + 0x10]
jmp 0x1003b640
mov edi, dword [esi + 0xc]
push dword [esi - 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1003b65c
test edi, edi
je 0x1003b65c
push 0
push dword [esi - 0x20]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
mov eax, 1
pop esi
pop ebp
ret 0xc
Function at 0x1003c2b0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x100f2384]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push edi
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x30], ebx
mov byte [ebp - 0x26], bl
mov dword [ebp - 0x2c], ebx
jb 0x1003c2d8
mov eax, dword [eax]
lea ecx, [ebp - 0x2c]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
test edi, edi
je 0x1003c3dd
push esi
mov esi, 1
cmp dword [ebp - 0x2c], esi
jle 0x1003c3d5
nop dword [eax]
mov edx, dword [edi + esi*4]
test edx, edx
je 0x1003c37d
xor eax, eax
mov dword [ebp - 0x14], 0
mov word [ebp - 0x24], ax
mov eax, edx
mov dword [ebp - 0x10], 7
lea ecx, [eax + 2]
mov dword [ebp - 0x30], ecx
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1003c323
sub eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x24]
sar eax, 1
push eax
push edx
call fcn.100112e0
push 0
push 0
push 0
push 0
xor eax, eax
lea ecx, [ebp - 0xc]
push 0
push 0
mov dword [ebp - 0xc], eax
or ebx, 1
cmp dword [ebp - 0x10], 8
mov word [ebp - 8], ax
lea eax, [ebp - 0x24]
cmovae eax, dword [ebp - 0x24]
push 3
push ecx
push eax
call fcn.100978e4
add esp, 0x24
test eax, eax
jne 0x1003c37d
mov byte [ebp - 0x25], 1
cmp word [ebp - 0xc], ax
jne 0x1003c381
mov byte [ebp - 0x25], 0
test bl, 1
je 0x1003c3bf
mov edx, dword [ebp - 0x10]
and ebx, 0xfffffffe
cmp edx, 8
jb 0x1003c3bf
mov ecx, dword [ebp - 0x24]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1003c3b5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003c3f0
push edx
push ecx
call fcn.10066bf2
add esp, 8
cmp byte [ebp - 0x25], 0
jne 0x1003c3d1
inc esi
cmp esi, dword [ebp - 0x2c]
jl 0x1003c300
jmp 0x1003c3d5
mov byte [ebp - 0x26], 1
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop esi
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x26]
xor ecx, ebp
pop edi
pop ebx
call fcn.10066f71
mov esp, ebp
pop ebp
ret
call fcn.10091885
int3
Function at 0x1003e110
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bb342
mov eax, dword fs:[0]
push eax
sub esp, 0x818
mov eax, dword [0x100f2384]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor edx, edx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x824], esi
mov dword [ebp - 0x81c], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov dword [ebp - 0x818], 0
mov word [esi], dx
mov dword [ebp - 4], edx
mov dword [ebp - 0x81c], 1
test ecx, ecx
je 0x1003e240
test eax, eax
je 0x1003e240
test ebx, ebx
je 0x1003e240
lea edx, [ebp - 0x818]
push edx
push 0x20219
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1003e22f
cmp dword [ebp - 0x818], eax
je 0x1003e240
push 0x802
push eax
lea eax, [ebp - 0x814]
push eax
call fcn.1008e100
add esp, 0xc
mov dword [ebp - 0x820], 0x800
lea eax, [ebp - 0x820]
push eax
lea eax, [ebp - 0x814]
push eax
push 0
push 0xffff
push ebx
push 0
push dword [ebp - 0x818]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x1003e22f
lea ecx, [ebp - 0x814]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003e211
sub ecx, edx
lea eax, [ebp - 0x814]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.100112e0
mov eax, dword [ebp - 0x818]
test eax, eax
je 0x1003e240
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10066f71
mov esp, ebp
pop ebp
ret
Function at 0x1003ff20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x100f2384]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov eax, 0x100f7e3c
mov dword [ebp - 0x28], 0x6c005c
lea esi, [ebp - 0x28]
mov dword [ebp - 0x24], 0x640075
mov dword [ebp - 0x20], 0x730061
mov edx, 0x13
mov dword [ebp - 0x1c], 0x690068
sub esi, eax
mov dword [ebp - 0x18], 0x6c005f
mov dword [ebp - 0x14], 0x67006f
mov dword [ebp - 0x10], 0x2e006f
mov dword [ebp - 0xc], 0x6e0070
mov dword [ebp - 8], 0x67
nop
lea ecx, [edx + 0x7fffffeb]
test ecx, ecx
je 0x1003ff9e
movzx ecx, word [esi + eax]
test cx, cx
je 0x1003ff9e
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x1003ff80
lea ecx, [eax - 2]
test edx, edx
pop esi
cmovne ecx, eax
xor eax, eax
mov word [ecx], ax
mov eax, 0x100f7e3c
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10066f71
mov esp, ebp
pop ebp
ret
Function at 0x100483b0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bbe0a
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x100f2384]
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.10006280
mov ecx, eax
test ecx, ecx
je 0x10048574
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.10006280
mov ecx, eax
test ecx, ecx
je 0x1004857e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 1
call fcn.10006280
mov ecx, eax
test ecx, ecx
je 0x10048588
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 0x10048492
xor ecx, ecx
jmp 0x100484b0
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 0x100484a0
sub ecx, dword [ebp + 0x10]
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.10006dc0
push edi
mov ecx, ebx
call fcn.10004ff0
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x100484cc
xor ecx, ecx
jmp 0x100484e4
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp + 0x10], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100484d4
sub ecx, dword [ebp + 0x10]
sar ecx, 1
push ecx
push edx
lea ecx, [esi + 0x1c]
call fcn.10006dc0
push ebx
lea eax, [ebp + 0x10]
mov ecx, esi
push eax
call fcn.10048d00
push eax
mov ecx, ebx
mov byte [ebp - 4], 6
call fcn.10004ff0
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 0x10048525
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 0x1004855e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1004855e
cmp dword [esi + 0x10], 0
je 0x10048555
push dword [edi]
call fcn.1009c016
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.100058e0
push 0x80004005
call fcn.100058e0
push 0x80004005
call fcn.100058e0
int3
Function at 0x10048b00
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bbef8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x100f2384]
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 0x10048cd4
push str.__set_log_lev0
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x10048b55
mov eax, dword [edi]
mov ecx, edi
push 0
call dword [eax + 4]
jmp 0x10048cd4
push str.__set_log_lev1
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x10048b73
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax + 4]
jmp 0x10048cd4
push str.__set_log_lev2
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x10048b91
mov eax, dword [edi]
mov ecx, edi
push 2
call dword [eax + 4]
jmp 0x10048cd4
push str.__set_log_lev3
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x10048baf
mov eax, dword [edi]
mov ecx, edi
push 3
call dword [eax + 4]
jmp 0x10048cd4
push str.__reload_log_switch
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x10048cd4
lea eax, [edi + 4]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x10048bd4
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 0x10048c07
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
cmp ecx, 8
jae 0x10048c1f
movups xmm0, xmmword [eax]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 7
movups xmmword [ebp - 0x28], xmm0
jmp 0x10048c5d
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.100075d0
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.1008d600
mov eax, dword [ebp - 0x30]
add esp, 0xc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], esi
push 0x100cbc94
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.10049890
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 0x10048c8b
mov dword [edi + 0x1c], 0
cmp dword [edi + 0x28], 0
je 0x10048cc4
mov eax, dword [edi]
mov ecx, edi
push 1
mov eax, dword [eax + 8]
call eax
test al, al
je 0x10048cc4
push str._______log_reload_switch
lea ecx, [ebp - 0x4c]
call fcn.1002e280
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.10004bc0
lea ecx, [ebp - 0x28]
call fcn.10004bc0
lea ecx, [ebp - 0x34]
call fcn.1001ae30
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.10066f71
mov esp, ebp
pop ebp
ret 4
Function at 0x10049450
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bc067
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x100f2384]
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 0x1004949a
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 0x100494a6
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [edi + 0x2c]
call fcn.100112e0
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 0x10049513
push 0x48
call fcn.10066f87
mov ebx, eax
add esp, 4
mov dword [ebp - 0x38], ebx
mov byte [ebp - 4], 1
test ebx, ebx
je 0x10049507
push 0x48
push 0
push ebx
call fcn.1008e100
add esp, 0xc
mov ecx, ebx
push dword [ebp + 0x14]
push dword [ebp - 0x30]
push dword [ebp - 0x2c]
call fcn.100483b0
jmp 0x10049509
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 0x10049540
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x28]
call fcn.100112e0
push 3
push 0x100cbc94
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.10020a00
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 0x1004958f
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], eax
cmp dword [edi + 0x28], 0
je 0x100495de
mov eax, dword [edi]
mov ecx, edi
push 1
mov eax, dword [eax + 8]
call eax
test al, al
je 0x100495de
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.100112e0
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.10004bc0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x10049614
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1004960a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10049651
push edx
push ecx
call fcn.10066bf2
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 0x10049633
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.10066f71
mov esp, ebp
pop ebp
ret 0x14
call fcn.10091885
int3
Function at 0x100538a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bb342
mov eax, dword fs:[0]
push eax
sub esp, 0x818
mov eax, dword [0x100f2384]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor edx, edx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x824], esi
mov dword [ebp - 0x81c], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov dword [ebp - 0x818], 0
mov word [esi], dx
mov dword [ebp - 4], edx
mov dword [ebp - 0x81c], 1
test ecx, ecx
je 0x100539d0
test eax, eax
je 0x100539d0
test ebx, ebx
je 0x100539d0
lea edx, [ebp - 0x818]
push edx
push 0x20219
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100539bf
cmp dword [ebp - 0x818], eax
je 0x100539d0
push 0x802
push eax
lea eax, [ebp - 0x814]
push eax
call fcn.1008e100
add esp, 0xc
mov dword [ebp - 0x820], 0x800
lea eax, [ebp - 0x820]
push eax
lea eax, [ebp - 0x814]
push eax
push 0
push 0xffff
push ebx
push 0
push dword [ebp - 0x818]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x100539bf
lea ecx, [ebp - 0x814]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100539a1
sub ecx, edx
lea eax, [ebp - 0x814]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.100112e0
mov eax, dword [ebp - 0x818]
test eax, eax
je 0x100539d0
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10066f71
mov esp, ebp
pop ebp
ret 0x10