joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417080
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x494560
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x4c2594]
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, dword [ebp + 8]
mov dword [ebp - 0x28], edi
call fcn.004068b0
mov ecx, eax
test ecx, ecx
je 0x417292
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
push 0x49deb4
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0
call fcn.00406170
test al, al
jne 0x4170f2
push 1
push 0x49deb4
lea ecx, [ebp - 0x1c]
call fcn.00408500
push 0x14000
mov dword [ebp - 4], 1
mov dword [ebp - 0x18], 1
call fcn.0044ca72
mov esi, eax
mov dword [ebp - 0x14], 0xa000
add esp, 4
test esi, esi
jne 0x41715e
push eax
mov dword [edi + 0x10], eax
mov ecx, edi
mov dword [edi + 0x14], 0xf
push 0x49cc20
mov byte [edi], al
call fcn.0040b280
mov esi, dword [ebp - 0x1c]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x417274
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x417274
lea eax, [ebp - 0x14]
push eax
push esi
lea eax, [ebp - 0x18]
push eax
push 0x49deb8
push 0x49dec8
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
or ebx, 0xffffffff
test eax, eax
jne 0x417240
lea eax, [ebp - 0x40]
push eax
call fcn.004176f0
add esp, 4
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 2
jb 0x41719f
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x24]
call fcn.004160f0
push esi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.004160f0
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00427c00
add esp, 0xc
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.00404db0
mov edx, dword [ebp - 0x28]
mov eax, ebx
mov byte [ebp - 4], 4
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4171f8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x20]
mov eax, ebx
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x417216
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x24]
mov eax, ebx
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x417234
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00404920
push esi
call fcn.0044c570
mov esi, dword [ebp - 0x1c]
push 0xfde9
push esi
push edi
call fcn.00427650
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x417274
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
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 - 0x10]
xor ecx, ebp
call fcn.0044ca21
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00406110
int3
Function at 0x4176f0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x494662
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x4c2594]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x42c], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
push 0x208
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 0x42c], 1
mov dword [ebp - 0x424], 0x104
call fcn.0046de20
add esp, 0xc
mov dword [ebp - 0x428], 1
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x428]
push eax
push str.local_m2
push 0x49dec8
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4177ce
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4177b0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.0040b380
cmp dword [esi + 0x10], 0
jne 0x41784a
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.0046de20
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
call fcn.0044f400
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x417804
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.0040b380
cmp dword [esi + 0x14], 8
mov eax, esi
mov ecx, dword [esi + 0x10]
jb 0x41782f
mov eax, dword [esi]
add ecx, ecx
push ecx
push eax
push 1
push str.local_m2
push 0x49dec8
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044ca21
mov esp, ebp
pop ebp
ret
Function at 0x418670
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x494836
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x4c2594]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x4c7d78]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x21c], esi
test al, 1
jne 0x4186df
or eax, 1
mov dword [0x4c7d70], 0
mov dword [0x4c7d78], eax
xor eax, eax
push 0x49add0
mov dword [0x4c7d74], 7
mov word [0x4c7d60], ax
call fcn.0044c808
add esp, 4
cmp dword [0x4c7d70], 0
jne 0x4187dc
mov eax, dword [0x4c7d5c]
test al, 1
jne 0x418726
or eax, 1
mov dword [0x4c7d54], 0
mov dword [0x4c7d5c], eax
xor eax, eax
push 0x49ae30
mov dword [0x4c7d58], 7
mov word [0x4c7d44], ax
call fcn.0044c808
add esp, 4
cmp dword [0x4c7d54], 0
jne 0x418782
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0046de20
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418761
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, 0x4c7d44
call fcn.0040b380
push 0x4c7d44
lea ecx, [ebp - 0x24c]
call fcn.00416190
push 9
push str.ludashi_
lea ecx, [ebp - 0x24c]
mov dword [ebp - 4], 0
call fcn.0040b0f0
cmp eax, 0x4c7d60
je 0x4187ca
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x4187bc
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, 0x4c7d60
call fcn.0040b380
lea ecx, [ebp - 0x24c]
mov dword [ebp - 4], 0xffffffff
call fcn.00404920
push 0x4c7d60
lea ecx, [ebp - 0x234]
call fcn.00416190
push 9
push str.eye_care_
lea ecx, [ebp - 0x234]
mov dword [ebp - 4], 1
call fcn.0040b0f0
push eax
mov ecx, esi
call fcn.00416190
mov edx, dword [ebp - 0x220]
cmp edx, 8
jb 0x418849
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41883f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41888d
push edx
push ecx
call fcn.0044c562
add esp, 8
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x418853
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x418871
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x418868
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044ca21
mov esp, ebp
pop ebp
ret
call fcn.00470fb9
int3
Function at 0x4188a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49486b
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x4c2594]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x4c7d78]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x21c], esi
test al, 1
jne 0x41890f
or eax, 1
mov dword [0x4c7d70], 0
mov dword [0x4c7d78], eax
xor eax, eax
push 0x49add0
mov dword [0x4c7d74], 7
mov word [0x4c7d60], ax
call fcn.0044c808
add esp, 4
cmp dword [0x4c7d70], 0
jne 0x418a0c
mov eax, dword [0x4c7d5c]
test al, 1
jne 0x418956
or eax, 1
mov dword [0x4c7d54], 0
mov dword [0x4c7d5c], eax
xor eax, eax
push 0x49ae30
mov dword [0x4c7d58], 7
mov word [0x4c7d44], ax
call fcn.0044c808
add esp, 4
cmp dword [0x4c7d54], 0
jne 0x4189b2
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0046de20
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418991
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, 0x4c7d44
call fcn.0040b380
push 0x4c7d44
lea ecx, [ebp - 0x234]
call fcn.00416190
push 9
push str.ludashi_
lea ecx, [ebp - 0x234]
mov dword [ebp - 4], 0
call fcn.0040b0f0
cmp eax, 0x4c7d60
je 0x4189fa
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x4189ec
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, 0x4c7d60
call fcn.0040b380
lea ecx, [ebp - 0x234]
mov dword [ebp - 4], 0xffffffff
call fcn.00404920
push 0x4c7d60
mov ecx, esi
call fcn.00416190
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044ca21
mov esp, ebp
pop ebp
ret

Function at 0x418a40
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4c2594]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x228
lea eax, [ebp - 0x22c]
push 0
push eax
call fcn.0046de20
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
xor ebx, ebx
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x418ab8
push edi
mov edi, dword [ebp + 8]
cmp dword [ebp - 0x228], edi
je 0x418ab1
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x418a96
jmp 0x418ab7
mov ebx, dword [ebp - 0x218]
pop edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop esi
xor ecx, ebp
pop ebx
call fcn.0044ca21
mov esp, ebp
pop ebp
ret
Function at 0x418ae0
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.0044ca40
mov eax, dword [0x4c2594]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1008], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test eax, eax
je 0x418c50
mov edi, dword [ebp + 0x10]
cmp edi, 0x64
jb 0x418c50
push ebx
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x418b45
push ebx
push eax
push 0x1010
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x418c50
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.0046de20
add esp, 0xc
lea eax, [ebp - 0x804]
xor ebx, ebx
push 0x400
push eax
push ebx
push esi
call sub.KERNEL32.dll_K32GetModuleFileNameExW
test eax, eax
je 0x418c08
push 0x800
lea eax, [ebp - 0x1004]
push ebx
push eax
call fcn.0046de20
lea eax, [ebp - 0x804]
push 0x7e
push eax
call fcn.0046e52d
add esp, 0x14
test eax, eax
je 0x418bc5
push 0x400
lea eax, [ebp - 0x1004]
push eax
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
dec eax
cmp eax, 0x3fe
ja 0x418bc5
lea ecx, [ebx + 1]
jmp 0x418bc7
xor ecx, ecx
test ecx, ecx
lea edx, [ebp - 0x1004]
push edi
lea eax, [ebp - 0x804]
cmovne eax, edx
push eax
push edi
push dword [ebp - 0x1008]
call fcn.004711c6
add esp, 0x10
mov ebx, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044ca21
mov esp, ebp
pop ebp
ret
push 0x400
lea eax, [ebp - 0x804]
push eax
push esi
call sub.KERNEL32.dll_K32GetProcessImageFileNameW
test eax, eax
je 0x418c36
push edi
push dword [ebp - 0x1008]
lea eax, [ebp - 0x804]
push eax
call fcn.00416e60
add esp, 0xc
mov ebx, eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044ca21
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044ca21
mov esp, ebp
pop ebp
ret
Function at 0x41b6d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x494c62
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push esi
push edi
mov eax, dword [0x4c2594]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x2c], edi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x30], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [ebp - 4], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
xor eax, eax
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 7
mov word [edi + 0x18], ax
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], 7
mov word [edi + 0x30], ax
mov byte [edi + 0x48], al
mov dword [edi + 0x5c], eax
mov dword [edi + 0x60], 7
mov word [edi + 0x4c], ax
mov dword [edi + 0x74], eax
mov dword [edi + 0x78], 7
mov word [edi + 0x64], ax
lea ecx, [edi + 0x7c]
mov byte [ebp - 4], 5
mov dword [ecx + 0x10], eax
push 7
mov dword [ecx + 0x14], 7
push str.Default
mov word [ecx], ax
call fcn.0040b380
xor eax, eax
mov byte [ebp - 4], 6
push eax
push 0x49c55c
lea ecx, [ebp - 0x28]
mov dword [edi + 0x98], 0
mov dword [edi + 0x9c], 0
mov dword [edi + 0xa0], 0
mov dword [edi + 0xa4], esi
mov dword [edi + 0xa8], 0
mov dword [edi + 0xac], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.0040b380
lea eax, [ebp - 0xd]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x28]
push eax
push dword [esi*4 + 0x49e724]
lea ecx, [ebp - 0x3c]
call fcn.0041b570
mov esi, eax
cmp edi, esi
je 0x41b83d
mov ecx, edi
call fcn.0041c8b0
mov eax, dword [esi]
mov dword [edi], eax
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
lea ecx, [ebp - 0x3c]
call fcn.0041c8b0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x41b87b
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41b871
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b890
push edx
push ecx
call fcn.0044c562
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
call fcn.00470fb9
int3
Function at 0x41dca0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x494f89
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4c2594]
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, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push ebx
push edi
push str.APPDATA
mov dword [ebp - 0x2c], 0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
xor ecx, ecx
cmp ecx, eax
sbb ecx, ecx
and ecx, 0x7ff8ffa9
add ecx, 0x80070057
test eax, eax
je 0x41dd19
push str.MicrosoftWindowsStart_MenuPrograms_
push ebx
push edi
call fcn.004761f0
add esp, 0xc
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, 0x80070057
test ecx, ecx
js 0x41dda8
xor eax, eax
mov dword [ebp - 4], 0
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x28]
lea eax, [esi + 0x10]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x30], eax
mov eax, dword [eax]
add eax, 4
mov dword [ebp - 0x14], 7
push eax
mov dword [ebp - 0x2c], 1
call fcn.0041e5d0
cmp dword [esi + 0x14], 8
jb 0x41dd5f
mov esi, dword [esi]
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x28]
push dword [eax]
push esi
call fcn.0040b0f0
push 4
push str..lnk
lea ecx, [ebp - 0x28]
call fcn.0040b0f0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push ebx
push edi
call fcn.004761f0
add esp, 0xc
lea ecx, [ebp - 0x28]
neg eax
sbb esi, esi
and esi, 0x80070057
call fcn.00404920
mov eax, esi
jmp 0x41ddaa
mov eax, ecx
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.0044ca21
mov esp, ebp
pop ebp
ret
Function at 0x429e90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x495be8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x4c2594]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
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 + 0xc], 0
call fcn.0044c532
mov edi, eax
add esp, 4
test edi, edi
je 0x429f34
xorps xmm0, xmm0
movq qword [edi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.00422314
add esp, 4
mov dword [edi + 4], eax
jmp 0x429f36
xor edi, edi
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov ecx, dword [edi + 4]
mov dword [ebp - 4], 1
mov dword [ebp - 0x10], ecx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 2
push eax
call fcn.00424119
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0x20
mov eax, dword [edx + 0x20]
call eax
mov bl, al
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], 3
test ecx, ecx
je 0x429f97
mov edx, dword [ecx]
call dword [edx + 8]
test eax, eax
je 0x429f97
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [esi + 0x38], 0
mov dword [ebp - 4], 0xffffffff
mov byte [esi + 0x40], bl
jne 0x429fba
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
and eax, 0x13
or eax, 4
mov dword [esi + 0xc], eax
and ecx, eax
jne 0x429fdd
cmp byte [ebp + 0xc], 0
je 0x429fc9
push esi
call fcn.0042283b
add esp, 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
test cl, 4
je 0x429fe9
mov esi, str.ios_base::badbit_set
jmp 0x429ff9
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x1c]
push 1
push eax
call fcn.0040c3d0
add esp, 8
lea ecx, [ebp - 0x30]
push eax
push esi
call fcn.004044b0
push 0x4b6ef8
lea eax, [ebp - 0x30]
push eax
call fcn.0046cf05
int3
Function at 0x42ae00
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x495d3a
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4c2594]
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.004068b0
mov ecx, eax
test ecx, ecx
je 0x42afc4
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.004068b0
mov ecx, eax
test ecx, ecx
je 0x42afce
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 1
call fcn.004068b0
mov ecx, eax
test ecx, ecx
je 0x42afd8
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 0x42aee2
xor ecx, ecx
jmp 0x42af00
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 0x42aef0
sub ecx, dword [ebp + 0x10]
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.00408500
push edi
mov ecx, ebx
call fcn.00404db0
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x42af1c
xor ecx, ecx
jmp 0x42af34
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp + 0x10], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42af24
sub ecx, dword [ebp + 0x10]
sar ecx, 1
push ecx
push edx
lea ecx, [esi + 0x1c]
call fcn.00408500
push ebx
lea eax, [ebp + 0x10]
mov ecx, esi
push eax
call fcn.0042ba20
push eax
mov ecx, ebx
mov byte [ebp - 4], 6
call fcn.00404db0
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 0x42af75
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 0x42afae
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x42afae
cmp dword [esi + 0x10], 0
je 0x42afa5
push dword [edi]
call fcn.0047ad6e
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.00406110
push 0x80004005
call fcn.00406110
push 0x80004005
call fcn.00406110
int3