joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5ebb90
Capabilities:
Check for time delay via queryperformancecounter
Get system information on windows

Disassembly:
sub esp, 0x3c
mov eax, dword [0x76e964]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0xc]
test eax, eax
jne 0x5ebbd2
mov eax, dword [0x77fbf8]
test eax, eax
jne 0x5ebbc0
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 0x5ebce9
cmp eax, 0x20
jae 0x5ebbf5
pause
inc dword [ebx + 0xc]
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.006dd760
add esp, 0x3c
ret
jne 0x5ebcce
push 7
call fcn.005eaa90
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 0x5ebc38
mov ecx, dword [esp + 0xc]
mov eax, 0xd1b71759
lea ecx, [ecx - 1]
mul ecx
shr edx, 0xd
jmp 0x5ebc79
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.006dd9c0
add eax, 1
adc edx, 0
push edx
push eax
push esi
push edi
call fcn.006dd9c0
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 0x5ebcae
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.006dd760
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.006dd760
add esp, 0x3c
ret
cmp dword [ebx + 8], 0
jne 0x5ebcfc
and al, 1
je 0x5ebd34
call dword [sym.imp.KERNEL32.dll_SwitchToThread]
test eax, eax
jne 0x5ebce9
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.006dd760
add esp, 0x3c
ret
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
jne 0x5ebd15
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ecx, ecx
jmp 0x5ebd1d
mov ecx, dword [esp + 8]
mov eax, dword [esp + 4]
sub eax, dword [ebx]
sbb ecx, dword [ebx + 4]
test ecx, ecx
jb 0x5ebcd8
ja 0x5ebd2d
cmp eax, dword [ebx + 8]
jb 0x5ebcd8
mov dword [ebx + 8], 0
push 1
jmp 0x5ebce3
Function at 0x5ee0d0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x70dfed
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x76e964]
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.00603060
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.005eebe0
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 0x5ee1d8
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.00602f20
mov ecx, dword [esi + 0x30]
lea eax, [ebp - 0x3c]
add esp, 0x10
push eax
call fcn.005ee990
mov esi, dword [ebp - 0x1c]
lea ecx, [ebp - 0x18]
push eax
mov dword [ebp - 4], 0
call fcn.00626300
push esi
push edi
lea ecx, [ebp - 0x18]
call fcn.006264c0
mov edx, dword [ebp - 0x38]
test edx, edx
je 0x5ee1b8
mov ecx, dword [ebp - 0x30]
sub ecx, edx
push ecx
push edx
lea ecx, [ebp - 0x3c]
call fcn.005b09e0
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.006dd760
mov esp, ebp
pop ebp
ret 8
call fcn.006de80d
int3
Function at 0x5ee1e0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x70dfed
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x76e964]
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.00603060
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.005eec00
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 0x5ee2e8
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.00602f20
mov ecx, dword [esi + 0x30]
lea eax, [ebp - 0x3c]
add esp, 0x10
push eax
call fcn.005ee990
mov esi, dword [ebp - 0x1c]
lea ecx, [ebp - 0x18]
push eax
mov dword [ebp - 4], 0
call fcn.00626300
push esi
push edi
lea ecx, [ebp - 0x18]
call fcn.006264c0
mov edx, dword [ebp - 0x38]
test edx, edx
je 0x5ee2c8
mov ecx, dword [ebp - 0x30]
sub ecx, edx
push ecx
push edx
lea ecx, [ebp - 0x3c]
call fcn.005b09e0
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.006dd760
mov esp, ebp
pop ebp
ret 8
call fcn.006de80d
int3
Function at 0x5ef030
Capabilities:
Encode data using xor
Hash data using sha1

Disassembly:
sub esp, 0x154
mov eax, dword [0x76e964]
xor eax, esp
mov dword [esp + 0x150], eax
movups xmm0, xmmword [ecx + 0x1c]
mov eax, dword [ecx]
mov edx, dword [ecx + 0x10]
movups xmmword [esp + 0x10], xmm0
push ebx
movups xmm0, xmmword [ecx + 0x2c]
mov ebx, dword [ecx + 4]
push ebp
movups xmmword [esp + 0x28], xmm0
push esi
movups xmm0, xmmword [ecx + 0x3c]
push edi
mov edi, dword [ecx + 0xc]
mov ebp, eax
movups xmmword [esp + 0x40], xmm0
mov dword [esp + 0x18], eax
mov esi, 0x40
movups xmm0, xmmword [ecx + 0x4c]
mov eax, dword [ecx + 8]
mov dword [esp + 0x10], edx
lea edx, [esp + 0x28]
mov dword [esp + 0x1c], ecx
movups xmmword [esp + 0x50], xmm0
mov ecx, dword [edx + 0x2c]
lea edx, [edx + 4]
xor ecx, dword [edx + 0x14]
xor ecx, dword [edx - 0xc]
xor ecx, dword [edx - 4]
rol ecx, 1
mov dword [edx + 0x34], ecx
sub esi, 1
jne 0x5ef091
nop word [eax + eax]
mov ecx, edi
mov edx, ebp
xor ecx, eax
rol edx, 5
and ecx, ebx
xor ecx, edi
add edx, ecx
mov ecx, dword [esp + 0x10]
add edx, dword [esp + esi*4 + 0x20]
add ecx, 0x5a827999
add ecx, edx
inc esi
mov edx, edi
mov edi, eax
mov eax, ebx
mov dword [esp + 0x10], edx
ror eax, 2
mov ebx, ebp
mov ebp, ecx
cmp esi, 0x14
jl 0x5ef0b0
nop word [eax + eax]
rol ecx, 5
add edx, 0x6ed9eba1
mov dword [esp + 0x10], ecx
mov ecx, edi
xor ecx, eax
xor ecx, ebx
add dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x10]
add ecx, dword [esp + esi*4 + 0x20]
inc esi
add ecx, edx
mov edx, edi
mov edi, eax
mov eax, ebx
ror eax, 2
mov ebx, ebp
mov ebp, ecx
cmp esi, 0x28
jl 0x5ef0f0
mov dword [esp + 0x10], edx
cmp esi, 0x3c
jae 0x5ef16d
mov dword [esp + 0x10], edx
rol ecx, 5
mov edx, eax
mov dword [esp + 0x14], ecx
or edx, ebx
mov ecx, eax
and edx, edi
and ecx, ebx
or edx, ecx
mov ecx, dword [esp + 0x14]
add edx, dword [esp + esi*4 + 0x20]
add ecx, 0x8f1bbcdc
add ecx, dword [esp + 0x10]
inc esi
mov dword [esp + 0x10], edi
add ecx, edx
mov edi, eax
mov eax, ebx
ror eax, 2
mov ebx, ebp
mov ebp, ecx
cmp esi, 0x3c
jl 0x5ef131
mov edx, ebp
cmp esi, 0x50
jae 0x5ef1a2
rol edx, 5
mov ecx, edi
xor ecx, eax
add edx, 0xca62c1d6
add edx, dword [esp + 0x10]
xor ecx, ebx
add ecx, dword [esp + esi*4 + 0x20]
inc esi
mov dword [esp + 0x10], edi
add edx, ecx
mov edi, eax
mov eax, ebx
ror eax, 2
mov ebx, ebp
mov ebp, edx
cmp esi, 0x50
jl 0x5ef174
mov ecx, dword [esp + 0x18]
add ecx, edx
mov edx, dword [esp + 0x1c]
add dword [edx + 0xc], edi
add dword [edx + 4], ebx
add dword [edx + 8], eax
mov eax, dword [esp + 0x10]
add dword [edx + 0x10], eax
pop edi
pop esi
mov dword [edx], ecx
mov ecx, dword [esp + 0x158]
pop ebp
pop ebx
xor ecx, esp
call fcn.006dd760
add esp, 0x154
ret

Function at 0x5ef1f0
Capabilities:
Hash data using sha1

Disassembly:
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x10], 0xc3d2e1f0
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x5c], 0
ret
Function at 0x5ef420
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, pe_nt_image_headers32
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 0x5ef489
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 0x5ef470
pop edi
mov eax, esi
pop esi
pop ebx
ret

Function at 0x5ef550
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 0x5ef58d
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 0x5f0900
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x70e34b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x76e964]
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], 0x560c38
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 0x5f0981
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 0x5f0990
sub ecx, edi
push ecx
push edx
lea ecx, [esi + 8]
call fcn.0059a870
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 0x5f3eb0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
add ecx, 4
cmp dword [ecx + 0x14], 0x10
jb 0x5f3ebb
mov ecx, dword [ecx]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x5f3ece
test al, 0x10
je 0x5f3ece
mov al, 1
ret
xor al, al
ret
Function at 0x5f3ee0
Capabilities:
Check if file exists
Get file attributes

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

Disassembly:
push ebp
lea ebp, [esp - 0x214]
sub esp, 0x214
push 0xffffffffffffffff
push 0x70eb05
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x76e964]
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 0x5f4a7b
push 0x105
lea eax, [ebp + 4]
push 0
push eax
call fcn.006f4190
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 0x5f4a00
sub ecx, edx
lea eax, [ebp + 4]
push ecx
push eax
lea ecx, [ebp - 0x24]
call fcn.0059a870
mov dword [ebp - 0x28], 0x560c40
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.005f1cb0
mov edx, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x28], 0x560c38
cmp edx, 0x10
jb 0x5f4b4c
mov ecx, dword [ebp - 0x24]
inc edx
mov eax, ecx
mov dword [ebp - 4], 1
cmp edx, 0x1000
jb 0x5f4b42
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5f4b6f
jmp 0x5f4b42
push 0x104
lea eax, [ebp + 0x10c]
push 0
push eax
call fcn.006f4190
lea eax, [esi + 4]
mov dword [ebp], 0
add esp, 0xc
cmp dword [eax + 0x14], 0x10
jb 0x5f4aa3
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 0x5f4ad5
sub ecx, edx
lea eax, [ebp + 0x10c]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.0059a870
mov dword [ebp - 0x44], 0x560c40
lea eax, [ebp - 0x44]
mov dword [ebp - 4], 2
push eax
mov ecx, esi
call fcn.005f1cb0
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x44], 0x560c38
cmp edx, 0x10
jb 0x5f4b4c
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
mov dword [ebp - 4], 3
cmp edx, 0x1000
jb 0x5f4b42
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5f4b74
push edx
push ecx
call fcn.006dd246
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.006dd760
lea esp, [ebp + 0x214]
pop ebp
ret
call fcn.0060e3b4
call fcn.0060e3b4
int3
Function at 0x5f4cf0
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x10c]
sub esp, 0x10c
push 0xffffffffffffffff
push 0x70eb7d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x76e964]
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.006f4190
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 0x5f4d63
sub ecx, edx
lea eax, [ebp]
push ecx
push eax
lea ecx, [ebp - 0x24]
call fcn.0059a870
mov dword [ebp - 0x28], 0x560c40
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.005f1cb0
mov edx, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x28], 0x560c38
cmp edx, 0x10
jb 0x5f4dd7
mov ecx, dword [ebp - 0x24]
inc edx
mov eax, ecx
mov dword [ebp - 4], 1
cmp edx, 0x1000
jb 0x5f4dcd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5f4dfa
push edx
push ecx
call fcn.006dd246
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.006dd760
lea esp, [ebp + 0x10c]
pop ebp
ret
call fcn.0060e3b4
int3

Function at 0x5f8c50
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x10c]
sub esp, 0x10c
push 0xffffffffffffffff
push 0x70f156
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x76e964]
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], 0x560c40
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 0x5f8cca
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 0x5f8cf4
sub ecx, edx
lea eax, [ebp]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.0059a870
mov dword [ebp - 0x2c], 0x560c38
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.0059a640
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x5f8d6a
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
mov dword [ebp - 4], 2
cmp edx, 0x1000
jb 0x5f8d60
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5f8d8e
push edx
push ecx
call fcn.006dd246
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.006dd760
lea esp, [ebp + 0x10c]
pop ebp
ret
call fcn.0060e3b4
int3
Function at 0x5f90a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x70f1e9
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x76e964]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
lea eax, [edi + 4]
xorps xmm0, xmm0
mov dword [edi], 0x560a84
push eax
movq qword [eax], xmm0
lea eax, [esi + 4]
mov dword [ebp - 4], 0
push eax
call fcn.006f3765
add esp, 8
mov dword [edi], 0x56248c
mov byte [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [ebp - 4], 1
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0xf
mov byte [edi + 0x18], 0
mov dword [edi + 0x14], 0x560c38
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0xf
mov byte [edi + 0x34], 0
mov dword [edi + 0x30], 0x560c38
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0xf
mov byte [edi + 0x50], 0
mov dword [edi + 0x4c], 0x560c38
mov dword [edi + 0x7c], 0
mov dword [edi + 0x80], 0xf
mov byte [edi + 0x6c], 0
mov dword [edi + 0x68], 0x560c38
push esi
mov ecx, edi
mov byte [ebp - 4], 5
mov dword [edi + 0x84], 0
mov dword [edi + 0x88], 0
call fcn.005fa1c0
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
Function at 0x5f91b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x70f261
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x76e964]
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, ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], edx
mov eax, dword [ebp + 0x18]
xorps xmm0, xmm0
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x1c], eax
movq qword [edx + 4], xmm0
mov eax, dword [ebp + 8]
lea esi, [edx + 0x14]
mov dword [edx + 0x10], eax
lea eax, [ecx + 4]
push eax
lea ecx, [esi + 4]
mov dword [ebp - 4], 0
mov dword [edx], 0x56248c
mov byte [edx + 0xc], 0
mov dword [ebp - 0x18], esi
call fcn.00590730
mov dword [esi], 0x560c38
mov esi, dword [ebp - 0x14]
lea eax, [edi + 4]
add esi, 0x30
mov byte [ebp - 4], 1
push eax
mov dword [ebp - 0x18], esi
lea ecx, [esi + 4]
call fcn.00590730
mov dword [esi], 0x560c38
mov edi, dword [ebp - 0x14]
lea eax, [ebx + 4]
push eax
mov byte [ebp - 4], 2
lea esi, [edi + 0x4c]
lea ecx, [esi + 4]
mov dword [ebp - 0x18], esi
call fcn.00590730
mov dword [esi], 0x560c38
mov dword [edi + 0x7c], 0
mov dword [edi + 0x80], 0xf
mov byte [edi + 0x6c], 0
mov dword [edi + 0x68], 0x560c38
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0x84], 0
mov dword [edi + 0x88], 0
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 0
jne 0x5f92e2
lea eax, [ebp - 0x38]
push eax
call fcn.005fb5e0
add esp, 4
push eax
lea ecx, [edi + 0x68]
mov byte [ebp - 4], 5
call fcn.005f1cb0
mov dword [ebp - 0x38], 0x560c38
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 6
cmp ecx, 0x10
jb 0x5f9339
inc ecx
push ecx
push dword [ebp - 0x34]
lea ecx, [ebp - 0x34]
call fcn.0059aa90
jmp 0x5f9339
push 1
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
call fcn.005fb310
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 7
push eax
call fcn.005fb5e0
add esp, 4
push eax
lea ecx, [edi + 0x68]
mov byte [ebp - 4], 8
call fcn.005f1cb0
mov dword [ebp - 0x38], 0x560c38
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 9
cmp eax, 0x10
jb 0x5f9331
inc eax
lea ecx, [ebp - 0x34]
push eax
push dword [ebp - 0x34]
call fcn.0059aa90
lea ecx, [ebp - 0x14]
call fcn.005fb490
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.006dd760
mov esp, ebp
pop ebp
ret 0x14