joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6c0480
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x75907a
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x79de74]
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 + 8]
mov dword [ebp - 0x154], ebx
mov dword [ebp - 0x150], ebx
mov dword [ebp - 0x14c], 0
call fcn.0067f820
push 0
push 2
mov esi, dword [eax + 0x224]
mov ecx, esi
call dword [0x7972ec]
call esi
mov esi, eax
mov dword [ebp - 0x148], esi
test esi, esi
jne 0x6c04f9
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
jmp 0x6c064b
lea eax, [ebp - 0x148]
mov dword [ebp - 0x158], eax
push 0x124
lea eax, [ebp - 0x140]
mov dword [ebp - 4], 1
push 0
push eax
call fcn.00743d20
add esp, 0xc
mov dword [ebp - 0x144], 0x128
lea eax, [ebp - 0x144]
push eax
push esi
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x6c055b
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebp - 0x14c], 1
mov dword [ebp - 4], 2
jmp 0x6c0630
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 3
call fcn.00718d20
mov ebx, eax
nop word [eax + eax]
cmp dword [ebp - 0x12c], ebx
jne 0x6c05e5
mov edi, dword [ebp - 0x18]
cmp edi, dword [ebp - 0x14]
je 0x6c05d5
mov esi, dword [ebp - 0x13c]
mov dword [edi], esi
mov dword [edi + 4], 0
call fcn.0067f820
push esi
push 0
push 0x1fffff
mov esi, dword [eax + 0x238]
mov ecx, esi
call dword [0x7972ec]
call esi
mov dword [edi + 4], eax
add dword [ebp - 0x18], 8
jmp 0x6c05e5
lea eax, [ebp - 0x13c]
push eax
push edi
lea ecx, [ebp - 0x1c]
call fcn.006c0140
lea eax, [ebp - 0x144]
push eax
push dword [ebp - 0x148]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x6c0590
mov ebx, dword [ebp - 0x150]
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
mov dword [ebx], eax
mov dword [ebx + 4], ecx
mov dword [ebx + 8], edx
mov dword [ebp - 0x14c], 1
mov dword [ebp - 4], 6
call fcn.0067f820
push dword [ebp - 0x148]
mov esi, dword [eax + 0x214]
mov ecx, esi
call dword [0x7972ec]
call esi
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.0072b7b0
mov esp, ebp
pop ebp
ret
Function at 0x6c77e0
Capabilities:
Create directory

Disassembly:
sub esp, 0x28
mov eax, dword [0x79de74]
xor eax, esp
mov dword [esp + 0x24], eax
push esi
mov esi, dword [esp + 0x30]
lea eax, [esp + 0x10]
push 1
push eax
mov byte [esp + 0x2c], 0
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
je 0x6c783b
push 0
push 0
push 1
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
je 0x6c783b
lea eax, [esp + 0x10]
mov dword [esp + 4], 0xc
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0
mov byte [esp + 0x24], 1
lea eax, [esp + 4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [esp + 0x28]
test eax, eax
pop esi
setne al
xor ecx, esp
call fcn.0072b7b0
add esp, 0x28
ret
Function at 0x6c8160
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x759dbd
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x79de74]
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 edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x18]
mov dword [ebp - 0x24], edx
lea edx, [ebp - 0x1c]
push edx
push dword [0x79907c]
mov byte [ebp - 0x1d], 0
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x6c8202
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x28], esi
mov dword [ebp - 4], eax
mov eax, dword [edi]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x24]
lea eax, [ebp - 0x18]
mov dword [edi], 0
push eax
push 0
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
sete bl
test eax, eax
jne 0x6c81f0
mov eax, dword [ebp - 0x14]
mov dword [edi], eax
push esi
mov dword [ebp - 4], 1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
jmp 0x6c8205
mov al, byte [ebp - 0x1d]
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.0072b7b0
mov esp, ebp
pop ebp
ret
Function at 0x6c8290
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x759dfd
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x79de74]
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 eax, edi
mov dword [edi + 0x10], 0
cmp dword [edi + 0x14], 0x10
jb 0x6c82cf
mov eax, dword [edi]
mov byte [eax], 0
lea eax, [ebp - 0x1c]
push eax
push dword [0x79907c]
push 0
push 0x65a240
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x6c83ca
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x20], esi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
push 0
push 0x65a22c
push esi
call ebx
mov ecx, dword [ebp - 0x18]
cmp ecx, 1
je 0x6c832a
cmp ecx, 2
jne 0x6c83b5
test eax, eax
jne 0x6c83b5
push eax
push dword [ebp - 0x14]
mov ecx, edi
call fcn.00684610
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x6c8347
mov eax, dword [edi]
lea ecx, [ebp - 0x14]
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0x65a22c
push dword [ebp - 0x1c]
call ebx
test eax, eax
jne 0x6c83b5
mov ecx, dword [edi + 0x14]
mov eax, edi
cmp ecx, 0x10
jb 0x6c836c
mov eax, dword [edi]
mov edx, dword [edi + 0x10]
lea ebx, [edx - 1]
add ebx, eax
mov eax, edi
cmp ecx, 0x10
jb 0x6c837d
mov eax, dword [edi]
sub ebx, eax
mov ecx, 1
mov eax, edx
sub eax, ebx
cmp eax, ecx
cmovb ecx, eax
cmp dword [edi + 0x14], 0x10
mov dword [ebp - 0x20], ecx
mov eax, edi
jb 0x6c839a
mov eax, dword [edi]
lea ecx, [eax + ebx]
mov eax, dword [ebp - 0x20]
sub edx, eax
add eax, ecx
mov dword [edi + 0x10], edx
sub edx, ebx
inc edx
push edx
push eax
push ecx
call fcn.007437a0
add esp, 0xc
push esi
mov dword [ebp - 4], 1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
cmp dword [edi + 0x10], 0
je 0x6c83fa
push 0x13
push 0x65a08c
mov ecx, edi
call fcn.00682810
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.0072b7b0
mov esp, ebp
pop ebp
ret
call sub.KERNEL32.dll_GetLastError
push eax
lea ecx, [ebp - 0x24]
call fcn.006c9590
push 0
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x50]
call fcn.006c9670
push 0x78fcd8
lea eax, [ebp - 0x50]
push eax
call fcn.00743377
int3
Function at 0x6cb570
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x20
push ebx
mov ebx, dword [esp + 0x2c]
xor edx, edx
xor eax, eax
mov dword [esp + 4], 0x310030
mov dword [esp + 8], 0x330032
mov dword [esp + 0xc], 0x350034
mov dword [esp + 0x10], 0x370036
mov dword [esp + 0x14], 0x390038
mov dword [esp + 0x18], 0x420041
mov dword [esp + 0x1c], 0x440043
mov dword [esp + 0x20], 0x460045
test ebx, ebx
je 0x6cb5fc
push esi
mov esi, dword [esp + 0x34]
push edi
mov edi, dword [esp + 0x30]
nop word [eax + eax]
movzx ecx, byte [eax + edi]
lea edx, [edx + 2]
shr ecx, 4
movzx ecx, word [esp + ecx*2 + 0xc]
mov word [esi + edx*2 - 4], cx
movsx ecx, byte [eax + edi]
inc eax
and ecx, 0xf
movzx ecx, word [esp + ecx*2 + 0xc]
mov word [esi + edx*2 - 2], cx
cmp eax, ebx
jne 0x6cb5d0
pop edi
pop esi
pop ebx
add esp, 0x20
ret

Function at 0x6cc9f0
Capabilities:
Clear file content
Get file size
Write file on windows

Disassembly:
sub esp, 0x3c
mov eax, dword [0x79de74]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
mov ebx, dword [ecx]
lea eax, [esp + 0x30]
push ebp
push esi
mov esi, dword [esp + 0x4c]
push edi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x6ccab1
mov ecx, dword [esp + 0x40]
xor edx, edx
cmp edx, ecx
jl 0x6cca93
mov eax, dword [esp + 0x3c]
jg 0x6cca30
cmp esi, eax
jbe 0x6cca93
push 0
push 0
push ecx
push eax
push ebx
call fcn.006cc7f0
add esp, 0x14
test al, al
je 0x6ccab1
sub esi, dword [esp + 0x3c]
je 0x6cca7e
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, 0x200
cmp esi, 0x200
mov edi, esi
push 0
cmova edi, eax
lea eax, [esp + 0x48]
push eax
push edi
push 0x7adfc0
push ebx
call ebp
cmp dword [esp + 0x44], edi
jne 0x6ccab1
mov eax, 0x200
sub esi, edi
jne 0x6cca54
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0072b7b0
add esp, 0x3c
ret 8
push 0
push 0
push edx
push esi
push ebx
call fcn.006cc7f0
add esp, 0x14
test al, al
je 0x6ccab1
push ebx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x6cca7e
call sub.KERNEL32.dll_GetLastError
push eax
lea ecx, [esp + 0x40]
call fcn.006c9590
push 0
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x18]
call fcn.006c9670
push 0x78fcd8
lea eax, [esp + 0x14]
push eax
call fcn.00743377
int3
Function at 0x6ccb10
Capabilities:
Check for time delay via queryperformancecounter
Get system information on windows

Disassembly:
sub esp, 0x3c
mov eax, dword [0x79de74]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0xc]
test eax, eax
jne 0x6ccb52
mov eax, dword [0x7ae1c0]
test eax, eax
jne 0x6ccb40
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x2c]
mov ecx, 1
cmp ecx, eax
sbb eax, eax
and eax, 0xffffffe0
add eax, 0x20
mov dword [ebx + 0xc], eax
cmp eax, 8
jb 0x6ccc69
cmp eax, 0x20
jae 0x6ccb75
pause
inc dword [ebx + 0xc]
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0072b7b0
add esp, 0x3c
ret
jne 0x6ccc4e
push 7
call fcn.006cba10
add esp, 4
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x1c]
push ecx
call eax
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
jne 0x6ccbb8
mov ecx, dword [esp + 0xc]
mov eax, 0xd1b71759
lea ecx, [ecx - 1]
mul ecx
shr edx, 0xd
jmp 0x6ccbf9
mov eax, dword [esp + 0xc]
mov ecx, 0x5f5e100
push esi
push edi
push dword [esp + 0x10]
mul ecx
push dword [esp + 0x10]
mov edi, eax
mov esi, edx
push 0x38d7e
sub edi, 1
push 0xa4c67fff
sbb esi, 0
call fcn.0072ba10
add eax, 1
adc edx, 0
push edx
push eax
push esi
push edi
call fcn.0072ba10
pop edi
mov edx, eax
pop esi
lea eax, [edx + 1]
mov dword [ebx + 8], eax
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
jne 0x6ccc2e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ecx, ecx
mov dword [ebx], eax
inc dword [ebx + 0xc]
mov dword [ebx + 4], ecx
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0072b7b0
add esp, 0x3c
ret
mov ecx, dword [esp + 8]
mov eax, dword [esp + 4]
inc dword [ebx + 0xc]
mov dword [ebx], eax
mov dword [ebx + 4], ecx
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0072b7b0
add esp, 0x3c
ret
cmp dword [ebx + 8], 0
jne 0x6ccc7c
and al, 1
je 0x6cccb4
call dword [sym.imp.KERNEL32.dll_SwitchToThread]
test eax, eax
jne 0x6ccc69
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [ebx + 0xc]
mov ecx, dword [esp + 0x3c]
pop ebx
xor ecx, esp
call fcn.0072b7b0
add esp, 0x3c
ret
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
jne 0x6ccc95
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ecx, ecx
jmp 0x6ccc9d
mov ecx, dword [esp + 8]
mov eax, dword [esp + 4]
sub eax, dword [ebx]
sbb ecx, dword [ebx + 4]
test ecx, ecx
jb 0x6ccc58
ja 0x6cccad
cmp eax, dword [ebx + 8]
jb 0x6ccc58
mov dword [ebx + 8], 0
push 1
jmp 0x6ccc63
Function at 0x6cefc0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x75a5ed
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x79de74]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 0xc]
push dword [esi]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], eax
call fcn.006dbed0
mov ebx, dword [esi]
add esp, 4
add ebx, 0xa
add ebx, eax
mov eax, 7
mov word [edi], ax
mov eax, dword [ebp - 0x24]
mov dword [edi + 2], ebx
add eax, 0xfffffffa
mov ecx, dword [esi + 0x30]
add edi, 6
push eax
push edi
call fcn.006cfad0
mov ecx, dword [esi + 0x2c]
add edi, eax
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], edi
test ecx, ecx
je 0x6cf0c8
mov eax, dword [ecx]
lea edx, [ebp - 0x14]
push edx
lea edx, [ebp - 0x20]
push edx
call dword [eax + 8]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
mov eax, dword [ebp - 0x24]
sub eax, edi
add eax, dword [ebp - 0x28]
push eax
push dword [esi]
push edi
call fcn.006dbda0
mov ecx, dword [esi + 0x30]
lea eax, [ebp - 0x3c]
add esp, 0x10
push eax
call fcn.006cf880
mov esi, dword [ebp - 0x1c]
lea ecx, [ebp - 0x18]
push eax
mov dword [ebp - 4], 0
call fcn.006e6c70
push esi
push edi
lea ecx, [ebp - 0x18]
call fcn.006e6e30
mov edx, dword [ebp - 0x38]
test edx, edx
je 0x6cf0a8
mov ecx, dword [ebp - 0x30]
sub ecx, edx
push ecx
push edx
lea ecx, [ebp - 0x3c]
call fcn.00698ae0
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.0072b7b0
mov esp, ebp
pop ebp
ret 8
call fcn.0072c7dd
int3
Function at 0x6cf0d0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x75a5ed
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x79de74]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 0xc]
push dword [esi]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], eax
call fcn.006dbed0
mov ebx, dword [esi]
add esp, 4
add ebx, 0x12
add ebx, eax
mov eax, 3
mov word [edi], ax
mov eax, dword [ebp - 0x24]
mov dword [edi + 2], ebx
add eax, 0xfffffffa
mov ecx, dword [esi + 0x30]
add edi, 6
push eax
push edi
call fcn.006cfaf0
mov ecx, dword [esi + 0x2c]
add edi, eax
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], edi
test ecx, ecx
je 0x6cf1d8
mov eax, dword [ecx]
lea edx, [ebp - 0x14]
push edx
lea edx, [ebp - 0x20]
push edx
call dword [eax + 8]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
mov eax, dword [ebp - 0x24]
sub eax, edi
add eax, dword [ebp - 0x28]
push eax
push dword [esi]
push edi
call fcn.006dbda0
mov ecx, dword [esi + 0x30]
lea eax, [ebp - 0x3c]
add esp, 0x10
push eax
call fcn.006cf880
mov esi, dword [ebp - 0x1c]
lea ecx, [ebp - 0x18]
push eax
mov dword [ebp - 4], 0
call fcn.006e6c70
push esi
push edi
lea ecx, [ebp - 0x18]
call fcn.006e6e30
mov edx, dword [ebp - 0x38]
test edx, edx
je 0x6cf1b8
mov ecx, dword [ebp - 0x30]
sub ecx, edx
push ecx
push edx
lea ecx, [ebp - 0x3c]
call fcn.00698ae0
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.0072b7b0
mov esp, ebp
pop ebp
ret 8
call fcn.0072c7dd
int3
Function at 0x6cfde0
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [ecx + 4]
xor edx, edx
push ebx
push esi
mov esi, 0x5a4d
mov eax, ecx
cmp si, word [ecx]
push edi
cmovne eax, edx
mov edi, 0xf8
mov edx, 0x20b
mov eax, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
cmovne ecx, eax
mov eax, 0x108
cmp dx, word [ecx + 0x18]
movzx ebx, word [ecx + 6]
cmove edi, eax
or eax, 0xffffffff
add edi, ecx
xor esi, esi
test ebx, ebx
je 0x6cfe49
nop word [eax + eax]
mov ecx, dword [edi + 0xc]
mov edx, eax
cmp ecx, eax
mov eax, ecx
cmovb esi, edi
add edi, 0x28
cmp ecx, edx
cmovae eax, edx
sub ebx, 1
jne 0x6cfe30
pop edi
mov eax, esi
pop esi
pop ebx
ret

Function at 0x6cff10
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [ecx + 4]
xor edx, edx
push esi
mov esi, 0x5a4d
mov eax, ecx
cmp si, word [ecx]
pop esi
cmovne eax, edx
mov eax, dword [eax + 0x3c]
add eax, ecx
xor ecx, ecx
cmp dword [eax], 0x4550
cmovne eax, ecx
mov ecx, dword [esp + 4]
cmp ecx, dword [eax + 0x74]
jbe 0x6cff4d
mov ecx, dword [esp + 8]
xor eax, eax
mov edx, dword [eax + 4]
mov dword [ecx], edx
mov eax, dword [eax]
ret 8
lea eax, [eax + ecx*8]
mov ecx, dword [esp + 8]
add eax, 0x78
mov edx, dword [eax + 4]
mov dword [ecx], edx
mov eax, dword [eax]
ret 8

Function at 0x6d12b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x75a90b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x79de74]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
mov dword [esi], eax
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0xf
mov byte [esi + 8], 0
mov dword [esi + 4], 0x658ee8
mov dword [ebp - 4], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov ebx, dword [ebp + 0xc]
mov edi, eax
mov byte [ebp - 4], 1
cmp byte [edi + 0xc], 0
mov ecx, dword [ebx + 0xc]
jne 0x6d1331
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 4]
mov ecx, eax
mov edx, dword [edi + 4]
add edx, ecx
mov ecx, edx
lea edi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x6d1340
sub ecx, edi
push ecx
push edx
lea ecx, [esi + 8]
call fcn.00682a40
mov eax, dword [ebx + 4]
mov dword [esi + 0x20], eax
mov eax, dword [ebx + 8]
mov dword [esi + 0x24], eax
mov eax, dword [ebx]
mov dword [esi + 0x28], eax
mov eax, dword [ebx + 0x10]
mov dword [esi + 0x2c], eax
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 8

Function at 0x6d3b70
Capabilities:
Check if file exists
Get file attributes

Disassembly:
add ecx, 4
cmp dword [ecx + 0x14], 0x10
jb 0x6d3b7b
mov ecx, dword [ecx]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x6d3b8e
test al, 0x10
jne 0x6d3b8e
mov al, 1
ret
xor al, al
ret
Function at 0x6d4620
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x214]
sub esp, 0x214
push 0xffffffffffffffff
push 0x75af95
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x79de74]
xor eax, ebp
mov dword [ebp + 0x210], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x14], 0
jne 0x6d471b
push 0x105
lea eax, [ebp + 4]
push 0
push eax
call fcn.00743d20
add esp, 0xc
lea eax, [ebp + 4]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [ebp + 4]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x24], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x6d46a0
sub ecx, edx
lea eax, [ebp + 4]
push ecx
push eax
lea ecx, [ebp - 0x24]
call fcn.00682a40
mov dword [ebp - 0x28], 0x658ef0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.006d2480
mov edx, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x28], 0x658ee8
cmp edx, 0x10
jb 0x6d47ec
mov ecx, dword [ebp - 0x24]
inc edx
mov eax, ecx
mov dword [ebp - 4], 1
cmp edx, 0x1000
jb 0x6d47e2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6d480f
jmp 0x6d47e2
push 0x104
lea eax, [ebp + 0x10c]
push 0
push eax
call fcn.00743d20
lea eax, [esi + 4]
mov dword [ebp], 0
add esp, 0xc
cmp dword [eax + 0x14], 0x10
jb 0x6d4743
mov eax, dword [eax]
lea ecx, [ebp]
push ecx
lea ecx, [ebp + 0x10c]
push ecx
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
lea ecx, [ebp + 0x10c]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x40], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x6d4775
sub ecx, edx
lea eax, [ebp + 0x10c]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.00682a40
mov dword [ebp - 0x44], 0x658ef0
lea eax, [ebp - 0x44]
mov dword [ebp - 4], 2
push eax
mov ecx, esi
call fcn.006d2480
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x44], 0x658ee8
cmp edx, 0x10
jb 0x6d47ec
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
mov dword [ebp - 4], 3
cmp edx, 0x1000
jb 0x6d47e2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6d4814
push edx
push ecx
call fcn.0072b294
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp + 0x210]
xor ecx, ebp
call fcn.0072b7b0
lea esp, [ebp + 0x214]
pop ebp
ret
call fcn.006e7474
call fcn.006e7474
int3
Function at 0x6d4990
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x10c]
sub esp, 0x10c
push 0xffffffffffffffff
push 0x75b00d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x79de74]
xor eax, ebp
mov dword [ebp + 0x108], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x105
lea eax, [ebp]
push 0
push eax
call fcn.00743d20
add esp, 0xc
lea eax, [ebp]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [ebp]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x24], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x6d4a03
sub ecx, edx
lea eax, [ebp]
push ecx
push eax
lea ecx, [ebp - 0x24]
call fcn.00682a40
mov dword [ebp - 0x28], 0x658ef0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.006d2480
mov edx, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x28], 0x658ee8
cmp edx, 0x10
jb 0x6d4a77
mov ecx, dword [ebp - 0x24]
inc edx
mov eax, ecx
mov dword [ebp - 4], 1
cmp edx, 0x1000
jb 0x6d4a6d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6d4a9a
push edx
push ecx
call fcn.0072b294
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp + 0x108]
xor ecx, ebp
call fcn.0072b7b0
lea esp, [ebp + 0x10c]
pop ebp
ret
call fcn.006e7474
int3

Function at 0x6d7cd0
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x10c]
sub esp, 0x10c
push 0xffffffffffffffff
push 0x75b4b6
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x79de74]
xor eax, ebp
mov dword [ebp + 0x108], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x114]
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x10], 0
mov dword [edi + 0x18], 0xf
mov byte [edi + 4], 0
mov dword [edi], 0x658ef0
mov dword [edi + 0x14], 0
lea eax, [edi + 4]
cmp dword [edi + 0x18], 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
jb 0x6d7d4a
mov eax, dword [edi + 4]
mov byte [eax], 0
lea eax, [ebp]
push 0x105
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [ebp]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x28], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x6d7d74
sub ecx, edx
lea eax, [ebp]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00682a40
mov dword [ebp - 0x2c], 0x658ee8
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
lea ecx, [edi + 4]
push eax
mov dword [ebp - 4], 1
call fcn.00682810
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x6d7dea
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
mov dword [ebp - 4], 2
cmp edx, 0x1000
jb 0x6d7de0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6d7e0e
push edx
push ecx
call fcn.0072b294
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp + 0x108]
xor ecx, ebp
call fcn.0072b7b0
lea esp, [ebp + 0x10c]
pop ebp
ret
call fcn.006e7474
int3