joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100c60b0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101d057d
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x10205ac8]
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.100e1b70
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.100c6ad0
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 0x100c61b8
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.100e1a40
mov ecx, dword [esi + 0x30]
lea eax, [ebp - 0x3c]
add esp, 0x10
push eax
call fcn.100c6860
mov esi, dword [ebp - 0x1c]
lea ecx, [ebp - 0x18]
push eax
mov dword [ebp - 4], 0
call fcn.100b50f0
push esi
push edi
lea ecx, [ebp - 0x18]
call fcn.100c6df0
mov edx, dword [ebp - 0x38]
test edx, edx
je 0x100c6198
mov ecx, dword [ebp - 0x30]
sub ecx, edx
push ecx
push edx
lea ecx, [ebp - 0x3c]
call fcn.10087fd0
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.101b4a00
mov esp, ebp
pop ebp
ret 8
call fcn.1019f82a
int3
Function at 0x100c7050
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101d0765
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10205ac8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov al, byte [ecx]
xorps xmm0, xmm0
mov esi, dword [ebp + 8]
xor edx, edx
movups xmmword [ebp - 0x24], xmm0
mov byte [ebp - 0x24], al
xor edi, edi
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
cmp eax, ecx
je 0x100c70d8
mov esi, ecx
lea ecx, [ebp - 0x24]
sub esi, eax
push esi
call fcn.10087de0
mov edi, dword [ebp - 0x20]
push esi
mov esi, dword [ebp - 0x2c]
push esi
push edi
call fcn.101b6150
mov edx, dword [ebp - 0x20]
sub edi, esi
mov esi, dword [ebp - 0x28]
add esp, 0xc
add edi, dword [ebp - 0x30]
mov dword [ebp - 0x1c], edi
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 1
mov ecx, dword [ecx + 0x10]
mov eax, ecx
not eax
add eax, eax
xor eax, ecx
xor ecx, ecx
mov dword [ebp - 0x14], eax
sub edi, edx
je 0x100c7111
mov eax, ecx
and eax, 3
mov al, byte [ebp + eax - 0x14]
xor byte [edx + ecx], al
inc ecx
cmp ecx, edi
jb 0x100c7100
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x100c71ac
mov eax, dword [ecx]
lea edx, [ebp - 0x24]
push edx
call dword [eax + 8]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
sub ecx, eax
je 0x100c713e
nop
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x100c7130
mov eax, dword [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x100c718a
mov esi, dword [ebp - 0x18]
sub esi, eax
mov edx, esi
je 0x100c715f
mov ecx, eax
mov byte [ecx], 0
lea ecx, [ecx + 1]
sub edx, 1
jne 0x100c7154
mov dword [ebp - 4], 2
cmp esi, 0x1000
jb 0x100c7180
mov ecx, dword [eax - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100c71a7
mov eax, ecx
push esi
push eax
call fcn.101b44e7
add esp, 8
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.101b4a00
mov esp, ebp
pop ebp
ret 4
call fcn.100ecc9c
call fcn.1019f82a
int3
Function at 0x100cd170
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 8
push ebx
push esi
mov esi, dword [esp + 0x14]
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x100cd183
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x100cd1ab
push dword [esp + 0x18]
lea eax, [esp + 0xc]
push esi
push eax
call fcn.100cd060
add esp, 0xc
mov eax, dword [eax]
pop esi
pop ebx
add esp, 8
ret
push edi
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x100cd1c2
mov dword [edi], 0
call fcn.100c84a0
mov dword [edi + 4], eax
pop edi
test ebx, 0x400
je 0x100cd1f9
push esi
call fcn.100cce30
add esp, 4
test al, al
je 0x100cd1ee
test bl, 0x10
mov eax, 4
mov ecx, 0xb
pop esi
cmovne eax, ecx
pop ebx
add esp, 8
ret
pop esi
mov eax, 9
pop ebx
add esp, 8
ret
and ebx, 0x10
or ebx, 0x20
shr ebx, 4
pop esi
mov eax, ebx
pop ebx
add esp, 8
ret

Function at 0x100cd520
Capabilities:
Check if file exists
Delete directory
Delete file

Disassembly:
mov eax, dword [esp + 8]
push esi
push edi
cmp eax, 1
jne 0x100cd54a
mov esi, dword [esp + 0x14]
test esi, esi
je 0x100cd5d3
mov dword [esi], 0
call fcn.100c84a0
mov dword [esi + 4], eax
xor al, al
pop edi
pop esi
ret
cmp eax, 3
je 0x100cd56b
cmp eax, 0xb
je 0x100cd56b
mov esi, dword [esp + 0xc]
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x100cd562
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x100cd580
mov esi, dword [esp + 0xc]
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x100cd579
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x100cd5ba
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 2
je 0x100cd5ba
cmp eax, 3
je 0x100cd5ba
cmp eax, 0x7b
je 0x100cd5ba
cmp eax, 0xf
je 0x100cd5ba
cmp eax, 0x15
je 0x100cd5ba
cmp eax, 0x57
je 0x100cd5ba
cmp eax, 0xa1
je 0x100cd5ba
cmp eax, 0x35
je 0x100cd5ba
call edi
jmp 0x100cd5bc
xor eax, eax
push 0x1004617c
push dword [esp + 0x18]
push esi
push eax
call fcn.100cccb0
add esp, 0x10
test al, al
je 0x100cd5d8
pop edi
xor al, al
pop esi
ret
pop edi
mov al, 1
pop esi
ret
Function at 0x100cd660
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101d11a5
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x10205ac8]
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 + 0xc]
mov eax, edi
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x2c], esi
cmp dword [edi + 0x14], 8
jb 0x100cd6a1
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x30], eax
cmp eax, 0xffffffff
jne 0x100cd6c0
push esi
push edi
push ebx
call fcn.100cd060
add esp, 0xc
jmp 0x100cd820
test eax, 0x400
je 0x100cd7ef
cmp dword [edi + 0x14], 8
mov edx, edi
jb 0x100cd6d5
mov edx, dword [edi]
mov ecx, edx
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100cd6f0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.100b3000
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push 0x2000000
push 3
push 0
push 7
push 0
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x34], esi
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x100cd77c
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 3
cmp edx, 0x1000
jb 0x100cd76e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100cd83e
push edx
push ecx
call fcn.101b44e7
add esp, 8
mov byte [ebp - 4], 2
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp esi, 0xffffffff
jne 0x100cd7a4
push dword [ebp - 0x2c]
push edi
push ebx
call fcn.100cd060
add esp, 0xc
jmp 0x100cd820
push edi
call fcn.100cce30
add esp, 4
test al, al
jne 0x100cd7d7
mov eax, dword [ebp - 0x30]
push eax
push edi
call fcn.100ccf30
add esp, 8
mov dword [ebx], 9
mov dword [ebx + 4], eax
push esi
mov dword [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100cd820
push esi
mov dword [ebp - 4], 6
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x100cd801
mov dword [esi], 0
call fcn.100c84a0
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x30]
mov esi, eax
push eax
push edi
call fcn.100ccf30
xor ecx, ecx
mov dword [ebx + 4], eax
add esp, 8
and esi, 0x10
setne cl
add ecx, 2
mov dword [ebx], ecx
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.101b4a00
mov esp, ebp
pop ebp
ret
call fcn.100ecc9c
int3
Function at 0x100ce490
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 0x100ce4f9
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 0x100ce4e0
pop edi
mov eax, esi
pop esi
pop ebx
ret

Function at 0x100ce5c0
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 0x100ce5fd
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 0x100ce620
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push ebx
push ebp
mov ebp, ecx
xor ecx, ecx
push esi
mov esi, 0x5a4d
push edi
mov edx, dword [ebp + 4]
mov eax, edx
mov edi, dword [esp + 0x14]
cmp si, word [edx]
mov esi, 0x20b
cmovne eax, ecx
mov ecx, dword [eax + 0x3c]
xor eax, eax
add ecx, edx
mov edx, 0x108
cmp dword [ecx], 0x4550
cmovne ecx, eax
mov eax, 0xf8
cmp si, word [ecx + 0x18]
movzx ebx, word [ecx + 6]
cmove eax, edx
xor esi, esi
add eax, ecx
test ebx, ebx
je 0x100ce688
nop
mov edx, dword [eax + 0x14]
cmp edi, edx
jb 0x100ce680
mov ecx, dword [eax + 0x10]
add ecx, edx
cmp edi, ecx
jb 0x100ce6a1
inc esi
add eax, 0x28
cmp esi, ebx
jl 0x100ce670
mov ecx, ebp
call fcn.100ce490
test eax, eax
je 0x100ce6af
cmp edi, dword [eax + 0xc]
jae 0x100ce6af
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret 4
mov eax, dword [eax + 0xc]
sub eax, edx
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 4
Function at 0x100cf960
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101d155b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x10205ac8]
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], 0x100446f8
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 0x100cf9e1
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 0x100cf9f0
sub ecx, edi
push ecx
push edx
lea ecx, [esi + 8]
call fcn.10074240
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 0x100d2dd0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
add ecx, 4
cmp dword [ecx + 0x14], 0x10
jb 0x100d2ddb
mov ecx, dword [ecx]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x100d2dee
test al, 0x10
je 0x100d2dee
mov al, 1
ret
xor al, al
ret

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

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

Disassembly:
push ebp
lea ebp, [esp - 0x214]
sub esp, 0x214
push 0xffffffffffffffff
push 0x101d1cb5
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x10205ac8]
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 0x100d399b
push 0x105
lea eax, [ebp + 4]
push 0
push eax
call fcn.101b66d0
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 0x100d3920
sub ecx, edx
lea eax, [ebp + 4]
push ecx
push eax
lea ecx, [ebp - 0x24]
call fcn.10074240
mov dword [ebp - 0x28], 0x100463e8
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.100d09d0
mov edx, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x28], 0x100446f8
cmp edx, 0x10
jb 0x100d3a6c
mov ecx, dword [ebp - 0x24]
inc edx
mov eax, ecx
mov dword [ebp - 4], 1
cmp edx, 0x1000
jb 0x100d3a62
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d3a8f
jmp 0x100d3a62
push 0x104
lea eax, [ebp + 0x10c]
push 0
push eax
call fcn.101b66d0
lea eax, [esi + 4]
mov dword [ebp], 0
add esp, 0xc
cmp dword [eax + 0x14], 0x10
jb 0x100d39c3
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 0x100d39f5
sub ecx, edx
lea eax, [ebp + 0x10c]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.10074240
mov dword [ebp - 0x44], 0x100463e8
lea eax, [ebp - 0x44]
mov dword [ebp - 4], 2
push eax
mov ecx, esi
call fcn.100d09d0
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x44], 0x100446f8
cmp edx, 0x10
jb 0x100d3a6c
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
mov dword [ebp - 4], 3
cmp edx, 0x1000
jb 0x100d3a62
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d3a94
push edx
push ecx
call fcn.101b44e7
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.101b4a00
lea esp, [ebp + 0x214]
pop ebp
ret
call fcn.100ecc9c
call fcn.100ecc9c
int3
Function at 0x100d3c10
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x10c]
sub esp, 0x10c
push 0xffffffffffffffff
push 0x101d1d2d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x10205ac8]
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.101b66d0
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 0x100d3c83
sub ecx, edx
lea eax, [ebp]
push ecx
push eax
lea ecx, [ebp - 0x24]
call fcn.10074240
mov dword [ebp - 0x28], 0x100463e8
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.100d09d0
mov edx, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x28], 0x100446f8
cmp edx, 0x10
jb 0x100d3cf7
mov ecx, dword [ebp - 0x24]
inc edx
mov eax, ecx
mov dword [ebp - 4], 1
cmp edx, 0x1000
jb 0x100d3ced
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d3d1a
push edx
push ecx
call fcn.101b44e7
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.101b4a00
lea esp, [ebp + 0x10c]
pop ebp
ret
call fcn.100ecc9c
int3

Function at 0x100d7a40
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x10c]
sub esp, 0x10c
push 0xffffffffffffffff
push 0x101d22d6
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10205ac8]
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 ecx, edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
call fcn.100d2470
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 0x100d7ab7
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 0x100d7ae1
sub ecx, edx
lea eax, [ebp]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.10074240
mov dword [ebp - 0x2c], 0x100446f8
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.10074010
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x100d7b57
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
mov dword [ebp - 4], 2
cmp edx, 0x1000
jb 0x100d7b4d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d7b7b
push edx
push ecx
call fcn.101b44e7
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.101b4a00
lea esp, [ebp + 0x10c]
pop ebp
ret
call fcn.100ecc9c
int3
Function at 0x100d7e90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101d2369
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x10205ac8]
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], 0x10044544
push eax
movq qword [eax], xmm0
lea eax, [esi + 4]
mov dword [ebp - 4], 0
push eax
call fcn.101b5ca5
add esp, 8
mov dword [edi], 0x1004653c
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], 0x100446f8
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0xf
mov byte [edi + 0x34], 0
mov dword [edi + 0x30], 0x100446f8
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0xf
mov byte [edi + 0x50], 0
mov dword [edi + 0x4c], 0x100446f8
mov dword [edi + 0x7c], 0
mov dword [edi + 0x80], 0xf
mov byte [edi + 0x6c], 0
mov dword [edi + 0x68], 0x100446f8
push esi
mov ecx, edi
mov byte [ebp - 4], 5
mov dword [edi + 0x84], 0
mov dword [edi + 0x88], 0
call fcn.100d8fb0
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 0x100d7fa0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101d23e1
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x10205ac8]
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], 0x1004653c
mov byte [edx + 0xc], 0
mov dword [ebp - 0x18], esi
call fcn.1006a900
mov dword [esi], 0x100446f8
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.1006a900
mov dword [esi], 0x100446f8
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.1006a900
mov dword [esi], 0x100446f8
mov dword [edi + 0x7c], 0
mov dword [edi + 0x80], 0xf
mov byte [edi + 0x6c], 0
mov dword [edi + 0x68], 0x100446f8
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 0x100d80d2
lea eax, [ebp - 0x38]
push eax
call fcn.100da2f0
add esp, 4
push eax
lea ecx, [edi + 0x68]
mov byte [ebp - 4], 5
call fcn.100d09d0
mov dword [ebp - 0x38], 0x100446f8
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 6
cmp ecx, 0x10
jb 0x100d8129
inc ecx
push ecx
push dword [ebp - 0x34]
lea ecx, [ebp - 0x34]
call fcn.10074460
jmp 0x100d8129
push 1
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
call fcn.100da100
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 7
push eax
call fcn.100da2f0
add esp, 4
push eax
lea ecx, [edi + 0x68]
mov byte [ebp - 4], 8
call fcn.100d09d0
mov dword [ebp - 0x38], 0x100446f8
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 9
cmp eax, 0x10
jb 0x100d8121
inc eax
lea ecx, [ebp - 0x34]
push eax
push dword [ebp - 0x34]
call fcn.10074460
lea ecx, [ebp - 0x14]
call fcn.100da210
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.101b4a00
mov esp, ebp
pop ebp
ret 0x14