joyce8/EMBER2024-capa huggingface dataset:
Function at 0x66f44a06
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x66fe31a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.66f3c310
mov dword [ebp - 0x14], eax
cmp dword [0x66ff1950], esi
jne 0x66f44af9
push 0x800
push esi
push 0x66fb9ad8
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x66f44a86
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x66f44bd9
push esi
push esi
push 0x66fb9ad8
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x66f44bd9
push 0x66fb9af0
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x66f44bd9
push eax
call ebx
push 0x66fb9afc
push edi
mov dword [0x66ff1950], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x66fb9b0c
push edi
mov dword [0x66ff1954], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x66fb9b20
push edi
mov dword [0x66ff1958], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x66ff1960], eax
test eax, eax
je 0x66f44af6
push 0x66fb9b3c
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x66ff195c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x66f44b1e
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x66f44b11
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x66f44b33
push 4
pop eax
jmp 0x66f44bdb
cmp dword [ebp - 0x14], esi
je 0x66f44b33
push dword [0x66ff1950]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x66f44b18
mov eax, dword [0x66ff195c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x66f44b91
cmp dword [0x66ff1960], edi
je 0x66f44b91
push eax
call ebx
push dword [0x66ff1960]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x66f44b91
test eax, eax
je 0x66f44b91
call ecx
test eax, eax
je 0x66f44b86
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x66f44b86
test byte [ebp - 8], 1
jne 0x66f44b91
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x66f44bc1
mov eax, dword [0x66ff1954]
cmp eax, edi
je 0x66f44bbe
push eax
call ebx
test eax, eax
je 0x66f44bbe
call eax
mov esi, eax
test esi, esi
je 0x66f44bbe
mov eax, dword [0x66ff1958]
cmp eax, edi
je 0x66f44bbe
push eax
call ebx
test eax, eax
je 0x66f44bbe
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x66ff1950]
call ebx
test eax, eax
je 0x66f44bd9
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x66f44bdb
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.66f2a29c
mov esp, ebp
pop ebp
ret
Function at 0x66f4ab80
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
jmp 0x66f4ac50
push 0xffffffffffffffff
push 0x66f86278
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x66fe31a0]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov eax, dword [0x66fe45c4]
cmp eax, 0xffffffff
jne 0x66f4ac89
xor ebp, ebp
mov dword [esp + 0x14], ebp
jmp 0x66f4ac96
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebp, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ebp
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [esp + 0x2c], 0
test ebp, ebp
je 0x66f4acfd
jmp 0x66f4accc
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [ebp + 0x14], 0
mov edi, dword [ebp + 0xc]
jne 0x66f4ad3a
test edi, edi
jne 0x66f4ad40
push 0x66f4a840
push 0x66ff196c
call fcn.66f4a410
mov eax, dword [0x66fe45c4]
add esp, 8
cmp eax, 0xffffffff
je 0x66f4acfd
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [esp + 0x2c], 0xffffffff
test ebp, ebp
je 0x66f4ad26
lea eax, [ebp + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x66f4ad26
mov eax, dword [ebp]
mov ecx, ebp
push 0
call dword [eax]
push ebp
push 0
call esi
push eax
call ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
test edi, edi
je 0x66f4ad78
mov edi, edi
mov eax, dword [edi + 4]
mov dword [ebp + 0xc], eax
mov ecx, dword [edi]
test ecx, ecx
je 0x66f4ad69
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [edi]
mov ecx, esi
push 0
mov eax, dword [esi]
call dword [eax]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0
call esi
push eax
call ebx
push edi
push 0
call esi
push eax
call ebx
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x66f4ad40
mov ebx, dword [ebp + 0x10]
lea eax, [ebp + 0x10]
mov dword [esp + 0x18], eax
mov esi, dword [ebx]
cmp esi, ebx
je 0x66f4acc0
mov ebp, eax
mov edi, edi
cmp byte [esi + 0xd], 0
mov edi, esi
jne 0x66f4add7
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x66f4adbc
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x66f4add7
jmp 0x66f4adb0
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x66f4adb0
jmp 0x66f4add7
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x66f4add5
cmp esi, dword [eax + 8]
jne 0x66f4add5
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x66f4adc5
mov esi, eax
mov ecx, dword [edi + 0x14]
test ecx, ecx
je 0x66f4adeb
mov edx, dword [edi + 0x1c]
test edx, edx
je 0x66f4adeb
mov eax, dword [ecx]
push edx
call dword [eax + 4]
push edi
lea eax, [esp + 0x24]
mov ecx, ebp
push eax
call fcn.66f4a880
cmp esi, ebx
jne 0x66f4ad90
mov ebp, dword [esp + 0x14]
jmp 0x66f4acc0
Function at 0x66f4ac50
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
jmp 0x66f4ac50
push 0xffffffffffffffff
push 0x66f86278
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x66fe31a0]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov eax, dword [0x66fe45c4]
cmp eax, 0xffffffff
jne 0x66f4ac89
xor ebp, ebp
mov dword [esp + 0x14], ebp
jmp 0x66f4ac96
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebp, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ebp
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [esp + 0x2c], 0
test ebp, ebp
je 0x66f4acfd
jmp 0x66f4accc
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [ebp + 0x14], 0
mov edi, dword [ebp + 0xc]
jne 0x66f4ad3a
test edi, edi
jne 0x66f4ad40
push 0x66f4a840
push 0x66ff196c
call fcn.66f4a410
mov eax, dword [0x66fe45c4]
add esp, 8
cmp eax, 0xffffffff
je 0x66f4acfd
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [esp + 0x2c], 0xffffffff
test ebp, ebp
je 0x66f4ad26
lea eax, [ebp + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x66f4ad26
mov eax, dword [ebp]
mov ecx, ebp
push 0
call dword [eax]
push ebp
push 0
call esi
push eax
call ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
test edi, edi
je 0x66f4ad78
mov edi, edi
mov eax, dword [edi + 4]
mov dword [ebp + 0xc], eax
mov ecx, dword [edi]
test ecx, ecx
je 0x66f4ad69
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [edi]
mov ecx, esi
push 0
mov eax, dword [esi]
call dword [eax]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0
call esi
push eax
call ebx
push edi
push 0
call esi
push eax
call ebx
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x66f4ad40
mov ebx, dword [ebp + 0x10]
lea eax, [ebp + 0x10]
mov dword [esp + 0x18], eax
mov esi, dword [ebx]
cmp esi, ebx
je 0x66f4acc0
mov ebp, eax
mov edi, edi
cmp byte [esi + 0xd], 0
mov edi, esi
jne 0x66f4add7
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x66f4adbc
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x66f4add7
jmp 0x66f4adb0
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x66f4adb0
jmp 0x66f4add7
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x66f4add5
cmp esi, dword [eax + 8]
jne 0x66f4add5
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x66f4adc5
mov esi, eax
mov ecx, dword [edi + 0x14]
test ecx, ecx
je 0x66f4adeb
mov edx, dword [edi + 0x1c]
test edx, edx
je 0x66f4adeb
mov eax, dword [ecx]
push edx
call dword [eax + 4]
push edi
lea eax, [esp + 0x24]
mov ecx, ebp
push eax
call fcn.66f4a880
cmp esi, ebx
jne 0x66f4ad90
mov ebp, dword [esp + 0x14]
jmp 0x66f4acc0
Function at 0x66f4cda0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x66f86512
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x66fe31a0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x10], edi
cmp dword [esp + 0x30], 0
mov dword [esp + 0xc], 0
je 0x66f4cdf7
mov dword [edi], 0x66fba070
mov dword [edi + 0x60], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [esp + 0x1c], 0
mov dword [esp + 0xc], 1
mov eax, dword [edi]
lea esi, [edi + 4]
push 0
push esi
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + edi - 4], eax
mov eax, dword [edi]
mov ecx, dword [eax + 4]
add ecx, edi
call fcn.66e080b0
mov eax, dword [edi]
mov dword [esp + 0x1c], 2
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x60]
mov dword [ecx + edi - 4], eax
mov ecx, esi
call fcn.66e05a70
lea eax, [esi + 4]
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov dword [esi + 0xc], eax
lea ecx, [esi + 8]
lea eax, [esi + 0x14]
mov byte [esi + 0x4c], 0
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x18]
mov dword [esi + 0x20], eax
lea eax, [esi + 0x24]
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x28]
mov dword [esi + 0x30], eax
mov byte [esi + 0x45], 0
mov dword [esi + 0x10], ecx
mov dword [ecx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
mov eax, dword [esi + 0xc]
mov dword [eax], 0
mov eax, dword [esi + 0x1c]
mov dword [eax], 0
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov dword [esi + 0x50], 0
mov eax, dword [0x66ff1a30]
mov dword [esi + 0x48], eax
mov dword [esi + 0x40], 0
push dword [esp + 0x2c]
mov eax, dword [esp + 0x2c]
mov ecx, esi
or eax, 2
mov byte [esp + 0x20], 3
push eax
push dword [esp + 0x2c]
call fcn.66f508c0
test eax, eax
jne 0x66f4cf02
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + edi + 0xc]
add ecx, edi
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x66f4cefa
or eax, 4
push 0
push eax
call fcn.66e07620
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 0x10
Function at 0x66f4ded0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x66f86738
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x66fe31a0]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x66fe31a0]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x66f4e021
cmp byte [ebx + 0x45], 0
je 0x66f4e021
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x66f4df2b
xor al, al
jmp 0x66f4e023
mov ecx, 0xf
mov byte [esp + 0x18], 0
xorps xmm0, xmm0
mov dword [esp + 0x2c], ecx
cmp ecx, 0x10
movq qword [esp + 0x18], xmm0
lea eax, [esp + 0x18]
mov dword [esp + 0x28], 8
cmovae eax, dword [esp + 0x18]
mov byte [eax + 8], 0
mov dword [esp + 0x3c], 0
lea ebp, [ebx + 0x48]
jmp 0x66f4df70
cmp dword [esp + 0x2c], 0x10
lea eax, [esp + 0x14]
mov ecx, dword [ebx + 0x40]
lea edi, [esp + 0x18]
cmovae edi, dword [esp + 0x18]
lea esi, [esp + 0x18]
cmovae esi, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x2c]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
push ebp
call dword [edx + 0x20]
sub eax, 0
je 0x66f4dfae
dec eax
je 0x66f4dfb2
sub eax, 2
je 0x66f4e008
xor bl, bl
jmp 0x66f4e00a
mov byte [ebx + 0x45], 0
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x18]
cmp ecx, 0x10
mov esi, dword [esp + 0x14]
cmovae eax, edx
sub esi, eax
je 0x66f4dfe9
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [esp + 0x1c]
push esi
cmovae eax, edx
push 1
push eax
call fcn.66f2c592
add esp, 0x10
cmp esi, eax
jne 0x66f4dfaa
cmp byte [ebx + 0x45], 0
je 0x66f4e008
test esi, esi
jne 0x66f4df70
push esi
push 8
lea ecx, [esp + 0x20]
call fcn.66f4f150
jmp 0x66f4df70
mov bl, 1
cmp dword [esp + 0x2c], 0x10
jb 0x66f4e01d
push dword [esp + 0x18]
call fcn.66e13cbe
add esp, 4
mov al, bl
jmp 0x66f4e023
mov al, 1
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.66f2a29c
add esp, 0x2c
ret
Function at 0x66f4fbe0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x66f86880
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x66fe31a0]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x66fe31a0]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov ebp, ecx
mov esi, dword [esp + 0x70]
mov eax, dword [esp + 0x74]
mov ebx, dword [esp + 0x64]
mov byte [esp + 0x14], al
test dword [esi + 0x14], 0x4000
jne 0x66f4fc4e
mov eax, dword [esp + 0x78]
mov edx, dword [ebp]
movzx eax, al
push eax
push dword [esp + 0x18]
push esi
push dword [esp + 0x78]
push dword [esp + 0x78]
push ebx
call dword [edx + 0x24]
jmp 0x66f4fdaf
lea eax, [esp + 0x18]
mov ecx, esi
push eax
call fcn.66e08000
push eax
mov dword [esp + 0x60], 0
call fcn.66f4cc60
mov ecx, dword [esp + 0x1c]
add esp, 4
mov dword [esp + 0x5c], 0xffffffff
mov edi, eax
test ecx, ecx
je 0x66f4fc8e
mov edx, dword [ecx]
call dword [edx + 8]
test eax, eax
je 0x66f4fc8e
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
cmp byte [esp + 0x78], 0
lea eax, [esp + 0x38]
mov dword [esp + 0x5c], 1
mov ecx, edi
push eax
je 0x66f4fcc0
call fcn.66f51670
jmp 0x66f4fcc5
call fcn.66f4ff20
push eax
lea ecx, [esp + 0x24]
call fcn.66f4f200
cmp dword [esp + 0x4c], 0x10
jb 0x66f4fce2
push dword [esp + 0x38]
call fcn.66e13cbe
add esp, 4
cmp dword [esi + 0x24], 0
mov ecx, dword [esp + 0x30]
jl 0x66f4fcff
jg 0x66f4fcf4
cmp dword [esi + 0x20], 0
jbe 0x66f4fcff
mov edi, dword [esi + 0x20]
cmp edi, ecx
jbe 0x66f4fcff
sub edi, ecx
jmp 0x66f4fd01
xor edi, edi
mov eax, dword [esi + 0x14]
and eax, 0x1c0
cmp eax, 0x40
je 0x66f4fd3e
push edi
push dword [esp + 0x18]
lea eax, [esp + 0x20]
push dword [esp + 0x74]
push dword [esp + 0x74]
push eax
push ebp
call fcn.66f4efb0
mov ecx, dword [esp + 0x48]
add esp, 0x18
xor edi, edi
mov edx, dword [eax]
mov dword [esp + 0x68], edx
mov eax, dword [eax + 4]
mov dword [esp + 0x6c], eax
jmp 0x66f4fd46
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
cmp dword [esp + 0x34], 0x10
mov dword [esp + 0x18], eax
lea eax, [esp + 0x20]
cmovae eax, dword [esp + 0x20]
push ecx
push eax
push dword [esp + 0x20]
lea eax, [esp + 0x24]
push edx
push eax
push ebp
call fcn.66f4ef30
push edi
push dword [esp + 0x30]
mov ecx, dword [eax]
mov dword [esp + 0x88], ecx
mov eax, dword [eax + 4]
push eax
push ecx
push ebx
push ebp
mov dword [esp + 0x9c], eax
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
call fcn.66f4efb0
add esp, 0x30
cmp dword [esp + 0x34], 0x10
jb 0x66f4fdaf
push dword [esp + 0x20]
call fcn.66e13cbe
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.66f2a29c
add esp, 0x4c
ret 0x18
Function at 0x66f4ff40
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x66f868d8
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x66fe31a0]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x66fe31a0]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0x1c]
push 4
push 0x66fba0ec
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], 0
mov byte [esp + 0x24], 0
call fcn.66e02560
push 0x104
mov dword [esp + 0x74], 0
call fcn.66e13cb5
mov ebp, dword [sym.imp.KERNEL32.dll_GetTempPathA]
add esp, 4
mov edi, eax
push edi
push 0x104
call ebp
mov ebx, eax
test ebx, ebx
jne 0x66f4ffdb
push 3
push 0x66f8c480
jmp 0x66f5001b
cmp ebx, 0x104
jb 0x66f50001
push edi
call fcn.66e13cbe
lea esi, [ebx + 1]
push esi
call fcn.66e13cb5
add esp, 8
mov edi, eax
push edi
push esi
call ebp
mov ebx, eax
cmp ebx, esi
jae 0x66f4ffe3
cmp byte [edi], 0
jne 0x66f5000a
xor ecx, ecx
jmp 0x66f50019
mov ecx, edi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x66f50010
sub ecx, edx
push ecx
push edi
lea ecx, [esp + 0x24]
call fcn.66e02560
push edi
call fcn.66e13cbe
xor eax, eax
mov dword [esp + 0x4c], 7
add esp, 4
mov dword [esp + 0x44], 0
mov word [esp + 0x34], ax
mov byte [esp + 0x70], 1
call fcn.66f75470
mov edi, dword [esp + 0x2c]
mov ebx, eax
test edi, edi
je 0x66f50082
cmp dword [esp + 0x30], 0x10
lea esi, [esp + 0x1c]
push ebx
cmovae esi, dword [esp + 0x20]
lea eax, [esp + 0x38]
push eax
lea edx, [esp + 0x24]
cmovae edx, dword [esp + 0x24]
lea eax, [edi + esi]
push eax
push edx
call fcn.66f74cc0
add esp, 0x10
xor eax, eax
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], 0
mov word [esp + 0x4c], ax
mov byte [esp + 0x70], 3
call fcn.66f75470
push eax
lea eax, [esp + 0x50]
push eax
push 0
push dword [0x66fb9ed4]
call fcn.66f74cc0
add esp, 0x10
lea eax, [esp + 0x4c]
mov byte [esp + 0x70], 4
push eax
lea ecx, [esp + 0x38]
call fcn.66f75340
cmp dword [esp + 0x60], 8
mov byte [esp + 0x70], 2
jb 0x66f500e4
push dword [esp + 0x4c]
call fcn.66e13cbe
add esp, 4
mov ebx, dword [esp + 0x14]
lea ecx, [esp + 0x34]
push ebx
call fcn.66f51610
cmp dword [esp + 0x48], 8
jb 0x66f50105
push dword [esp + 0x34]
call fcn.66e13cbe
add esp, 4
xor eax, eax
mov dword [esp + 0x48], 7
cmp dword [esp + 0x30], 0x10
mov dword [esp + 0x44], 0
mov word [esp + 0x34], ax
jb 0x66f5012f
push dword [esp + 0x1c]
call fcn.66e13cbe
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.66f2a29c
add esp, 0x60
ret
Function at 0x66f51c20
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x66f86c47
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x66fe31a0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x10], edi
cmp dword [esp + 0x24], 0
mov dword [esp + 0xc], 0
je 0x66f51c77
mov dword [edi], 0x66fba184
mov dword [edi + 0x70], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [esp + 0x1c], 0
mov dword [esp + 0xc], 1
mov eax, dword [edi]
lea esi, [edi + 0x10]
push 0
push esi
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ecx + edi - 4], eax
mov eax, dword [edi]
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov ecx, dword [eax + 4]
add ecx, edi
call fcn.66e080b0
mov eax, dword [edi]
mov dword [esp + 0x1c], 2
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ecx + edi - 4], eax
mov ecx, esi
call fcn.66e05a70
lea eax, [esi + 4]
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov dword [esi + 0xc], eax
lea ecx, [esi + 8]
lea eax, [esi + 0x14]
mov byte [esi + 0x4c], 0
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x18]
mov dword [esi + 0x20], eax
lea eax, [esi + 0x24]
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x28]
mov dword [esi + 0x30], eax
mov byte [esi + 0x45], 0
mov dword [esi + 0x10], ecx
mov dword [ecx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
mov eax, dword [esi + 0xc]
mov dword [eax], 0
mov eax, dword [esi + 0x1c]
mov dword [eax], 0
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov dword [esi + 0x50], 0
mov eax, dword [0x66ff1a30]
mov dword [esi + 0x48], eax
mov eax, edi
mov dword [esi + 0x40], 0
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 4
Function at 0x66f52c90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x66f86daf
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x66fe31a0]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x66fe31a0]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [esp + 0x7c], 0
mov esi, dword [esp + 0x78]
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], 0
je 0x66f52d00
mov dword [edi + 4], 0x66fba22c
mov dword [edi + 0xc], 0x66fba234
mov dword [edi + 0x18], vtable.FNPNS::UTC::CSyncObj.0
mov dword [esp + 0x70], 0
mov dword [esp + 0x14], 1
mov eax, dword [edi + 4]
mov dword [edi], vtable.FNPNS::UTC::CSyncObjWithTryLock.0
push 4
mov eax, dword [eax + 4]
mov dword [eax + edi + 4], vtable.FNPNS::UTC::CSyncObjWithTryLock.1.0
mov eax, dword [edi + 0xc]
mov dword [edi + 8], vtable.FNPNS::UTC::CSyncObjWithTimedLock.0
mov eax, dword [eax + 4]
mov dword [eax + edi + 0xc], vtable.FNPNS::UTC::CSyncObjWithTimedLock.1.0
mov eax, dword [edi + 4]
mov dword [edi], vtable.FNPNS::UTC::CMutexObj.0
mov dword [edi + 8], vtable.FNPNS::UTC::CMutexObj.1.0
mov eax, dword [eax + 4]
mov dword [eax + edi + 4], vtable.FNPNS::UTC::CMutexObj.2.0
mov eax, dword [edi + 4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x14]
mov dword [ecx + edi], eax
call fcn.66e13c88
mov dword [edi + 0x10], eax
mov dword [esp + 0x74], 1
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
lea eax, [esp + 0x20]
mov byte [esp + 0x74], 2
push eax
push esi
xor ebx, ebx
call fcn.66f5bf40
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 0xc
cmp dword [esp + 0x30], 0x10
lea eax, [esp + 0x1c]
mov esi, dword [edi + 0x10]
cmovae eax, dword [esp + 0x1c]
push eax
push 0
call fcn.66f5b8a0
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [esi], eax
mov esi, dword [edi + 0x10]
cmp dword [esi], 0
jne 0x66f52de6
cmp dword [esp + 0x30], 0x10
lea eax, [esp + 0x1c]
cmovae eax, dword [esp + 0x1c]
push eax
push 0
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov dword [esi], eax
mov eax, dword [edi + 0x10]
cmp dword [eax], 0
jne 0x66f52de6
push 0xa
call ebp
mov eax, dword [edi + 0x10]
cmp dword [eax], 0
jne 0x66f52e18
inc ebx
cmp ebx, 0x64
jb 0x66f52d92
cmp dword [eax], 0
jne 0x66f52e18
push 0x66f8af39
push 0x56
lea ecx, [esp + 0x3c]
call fcn.66f5c6c0
push 0x66fcb558
lea eax, [esp + 0x38]
push eax
call fcn.66f2a2ab
cmp dword [esp + 0x30], 0x10
jb 0x66f52e2b
push dword [esp + 0x1c]
call fcn.66e13cbe
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.66f2a29c
add esp, 0x60
ret 8