joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000b130
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fb198
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x1013f030]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], esi
mov byte [ebp - 0x28], 0
push esi
mov dword [ebp - 4], esi
mov eax, dword [ebx + 0x28]
push esi
push eax
mov dword [ebp - 0x30], esi
call fcn.1003170c
mov ecx, dword [ebx + 0x28]
add esp, 0xc
push ecx
push 0x10
lea edx, [ebp - 0x40]
push 1
push edx
call fcn.10031405
add esp, 0x10
cmp eax, 0x10
jne 0x1000b249
mov ax, word [ebp - 0x3e]
test ax, ax
jne 0x1000b1b3
movzx eax, word [ebp - 0x40]
mov ecx, dword [ebx + 0x28]
push 0
add esi, eax
push esi
push ecx
jmp 0x1000b173
mov ecx, dword [ebp - 0x18]
movzx eax, ax
cmp eax, ecx
ja 0x1000b1ca
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x2c]
call fcn.10008f70
jmp 0x1000b1d6
push 0
sub eax, ecx
lea edi, [ebp - 0x2c]
call fcn.100130e0
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x1000b1e2
lea eax, [ebp - 0x28]
movzx edi, word [ebp - 0x3e]
mov edx, dword [ebx + 0x28]
push edx
push edi
push 1
push eax
call fcn.10031405
add esp, 0x10
cmp eax, edi
jne 0x1000b249
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
xor eax, eax
mov dword [ebp - 0x50], ecx
push ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x48], eax
call fcn.1000f380
mov edi, eax
mov eax, dword [ebp - 0x30]
mov ecx, 8
lea esi, [ebp - 0x60]
rep movsd dword es:[edi], dword [esi]
movzx ecx, word [ebp - 0x40]
mov edx, dword [ebx + 0x28]
add eax, ecx
push 0
push eax
push edx
mov dword [ebp - 0x30], eax
call fcn.1003170c
mov esi, dword [ebp - 0x30]
jmp 0x1000b17b
cmp dword [ebp - 0x14], 0x10
jb 0x1000b25b
mov eax, dword [ebp - 0x28]
push eax
call fcn.10031f94
add esp, 4
mov al, 1
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.10030c80
mov esp, ebp
pop ebp
ret

Function at 0x1000b280
Capabilities:
Write file on windows

Disassembly:
mov ecx, dword [eax + 0x28]
push ecx
push esi
push 1
push edx
call fcn.10031afe
add esp, 0x10
cmp eax, esi
sete al
ret
Function at 0x1000b550
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fa940
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x1013f030]
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, ecx
lea eax, [ebx + 0x3c]
push eax
mov edi, edx
mov dword [ebp - 0x34], vtable.ProtocolFilters::AutoLock.0
mov dword [ebp - 0x30], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, edi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.10009840
mov byte [ebp - 4], 1
cmp dword [edi + 0x14], 0
jne 0x1000b5e3
cmp dword [ebp - 0x14], 0x10
jb 0x1000b5c0
mov eax, dword [ebp - 0x28]
push eax
call fcn.10031f94
add esp, 4
mov ecx, dword [ebp - 0x30]
push ecx
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor al, al
jmp 0x1000b725
mov edx, dword [ebx + 0x18]
mov eax, dword [ebx]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x38], edx
push ecx
lea edx, [ebp - 0x48]
push edx
mov esi, ebx
mov dword [ebp - 0x3c], eax
call fcn.1000f9c0
mov esi, eax
mov eax, dword [esi]
test eax, eax
je 0x1000b60a
cmp eax, dword [ebp - 0x3c]
je 0x1000b60f
call fcn.10031672
mov eax, dword [ebp - 0x38]
cmp dword [esi + 4], eax
je 0x1000b63d
cmp dword [ebp - 0x14], 0x10
jb 0x1000b629
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.10031f94
add esp, 4
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
push edx
jmp 0x1000b716
cmp dword [ebx + 0x38], 8
jb 0x1000b648
mov eax, dword [ebx + 0x24]
jmp 0x1000b64b
lea eax, [ebx + 0x24]
push 0x101386d8
push eax
call fcn.1003114e
mov esi, eax
add esp, 8
test esi, esi
jne 0x1000b69a
cmp dword [ebx + 0x38], 8
jb 0x1000b66a
mov eax, dword [ebx + 0x24]
jmp 0x1000b66d
lea eax, [ebx + 0x24]
push 0x101386e0
push eax
call fcn.1003114e
mov esi, eax
add esp, 8
test esi, esi
jne 0x1000b69a
lea ecx, [ebp - 0x2c]
call fcn.100093d0
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor al, al
jmp 0x1000b725
push 2
push 0
push esi
call fcn.1003170c
mov ecx, dword [edi + 0x14]
add esp, 0xc
push esi
push 4
lea edx, [ebp - 0x40]
push 1
push edx
mov dword [ebp - 0x40], ecx
call fcn.10031afe
add esp, 0x10
mov edi, 0x10
cmp eax, 4
jne 0x1000b6e3
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x14], edi
jae 0x1000b6d3
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
push esi
push ecx
push 1
push eax
call fcn.10031afe
add esp, 0x10
push esi
call fcn.10031499
add esp, 4
lea edx, [ebp - 0x2c]
push edx
push ebx
lea ebx, [ebp - 0x4c]
call fcn.1000f870
cmp dword [ebp - 0x14], edi
jb 0x1000b70a
mov eax, dword [ebp - 0x28]
push eax
call fcn.10031f94
add esp, 4
mov ecx, dword [ebp - 0x30]
xor eax, eax
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
push ecx
mov dword [ebp - 0x14], 0xf
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
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.10030c80
mov esp, ebp
pop ebp
ret
Function at 0x1000b830
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fb168
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x1013f030]
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, ecx
xor edi, edi
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], edi
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], edi
cmp dword [ebx + 0x38], 8
mov byte [ebp - 0x2d], 1
jb 0x1000b882
mov eax, dword [ebx + 0x24]
jmp 0x1000b885
lea eax, [ebx + 0x24]
push 0x101386d8
push eax
call fcn.1003114e
mov esi, eax
add esp, 8
cmp esi, edi
jne 0x1000b8b2
cmp dword [ebp - 0x14], 0x10
jb 0x1000b8ab
mov eax, dword [ebp - 0x28]
push eax
call fcn.10031f94
add esp, 4
xor al, al
jmp 0x1000b965
push esi
push 4
lea ecx, [ebp - 0x34]
push 1
push ecx
call fcn.10031405
add esp, 0x10
cmp eax, 4
jne 0x1000b947
jmp 0x1000b8d3
mov ebx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x34]
cmp eax, 0x7d0
ja 0x1000b943
mov ecx, dword [ebp - 0x18]
cmp eax, ecx
ja 0x1000b8f1
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x2c]
call fcn.10008f70
jmp 0x1000b8fd
push 0
sub eax, ecx
lea edi, [ebp - 0x2c]
call fcn.100130e0
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x1000b909
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x34]
push esi
push edx
push 1
push eax
call fcn.10031405
add esp, 0x10
cmp eax, dword [ebp - 0x34]
jne 0x1000b943
lea eax, [ebp - 0x2c]
push eax
push ebx
lea ebx, [ebp - 0x44]
call fcn.1000f870
push esi
push 4
lea ecx, [ebp - 0x34]
push 1
push ecx
call fcn.10031405
add esp, 0x10
cmp eax, 4
je 0x1000b8d0
jmp 0x1000b947
mov byte [ebp - 0x2d], 0
push esi
call fcn.10031499
add esp, 4
cmp dword [ebp - 0x14], 0x10
jb 0x1000b962
mov edx, dword [ebp - 0x28]
push edx
call fcn.10031f94
add esp, 4
mov al, byte [ebp - 0x2d]
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.10030c80
mov esp, ebp
pop ebp
ret
Function at 0x1000ce00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f9d78
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push edi
mov eax, dword [0x1013f030]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], vtable.ProtocolFilters::FileStream.0
mov dword [ebp - 0x14], 0xffffffff
xor edi, edi
push edi
push 0x80
push 4
push edi
push edi
mov dword [ebp - 4], edi
mov eax, dword [ebp + 8]
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x14], eax
cmp eax, 0xffffffff
je 0x1000ceaa
push edi
push edi
push edi
lea ecx, [ebp - 0x18]
call fcn.10013450
mov ecx, dword [ebp - 0x14]
mov eax, dword [esi + 8]
mov edx, dword [esi + 4]
cmp ecx, 0xffffffff
jne 0x1000ce77
xor eax, eax
jmp 0x1000ce92
push edi
mov dword [ebp + 8], edi
lea edi, [ebp + 8]
push edi
push eax
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 0x14]
neg eax
sbb eax, eax
and eax, dword [ebp + 8]
cmp eax, dword [esi + 8]
je 0x1000cebe
mov dword [ebp - 0x18], vtable.ProtocolFilters::FileStream.0
cmp ecx, 0xffffffff
je 0x1000ceaa
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x18]
call fcn.10013720
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], vtable.ProtocolFilters::FileStream.0
cmp eax, 0xffffffff
je 0x1000cedc
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x1000dab0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100fa7d0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x1013f030]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [edi + 0x22c]
push eax
mov dword [esp + 0xc], vtable.ProtocolFilters::AutoLock.0
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x38], 0
test esi, esi
jne 0x1000db08
mov eax, dword [esp + 0xc]
push eax
jmp 0x1000db63
mov eax, esi
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000db22
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x18]
call fcn.10008e50
lea esi, [edi + 0xa4]
lea eax, [esp + 0x10]
mov byte [esp + 0x38], 1
call fcn.1000fb40
cmp dword [esp + 0x28], 0x10
jb 0x1000db5e
mov ecx, dword [esp + 0x14]
push ecx
call fcn.10031f94
add esp, 4
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1000db80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100fa7d0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x1013f030]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [edi + 0x22c]
push eax
mov dword [esp + 0xc], vtable.ProtocolFilters::AutoLock.0
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x38], 0
test esi, esi
jne 0x1000dbd8
mov eax, dword [esp + 0xc]
push eax
jmp 0x1000dc33
mov eax, esi
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000dbf2
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x18]
call fcn.10008e50
lea esi, [edi + 0xc4]
lea eax, [esp + 0x10]
mov byte [esp + 0x38], 1
call fcn.1000fb40
cmp dword [esp + 0x28], 0x10
jb 0x1000dc2e
mov ecx, dword [esp + 0x14]
push ecx
call fcn.10031f94
add esp, 4
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000e170
Capabilities:
Create thread

Disassembly:
cmp dword [esi + 0x5c], 0xffffffff
je 0x1000e1a2
mov eax, dword [esi + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [esi + 0x5c]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi + 0x5c]
cmp eax, 0xffffffff
je 0x1000e1a2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x5c], 0xffffffff
mov edx, dword [esi + 0x58]
push edi
push edx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0
push 0
push esi
push 0x1000e1f0
push 0
push 0
call fcn.1003273e
mov edi, eax
add esp, 0x18
test edi, edi
je 0x1000e1e2
mov eax, dword [esi + 0x5c]
cmp eax, 0xffffffff
je 0x1000e1df
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x5c], 0xffffffff
mov dword [esi + 0x5c], edi
pop edi
ret

Function at 0x1000edb0
Capabilities:
Create thread

Disassembly:
push esi
push edi
mov edi, eax
call fcn.1000ee00
mov eax, dword [edi + 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0
push 0
push edi
push 0x1000f110
push 0
push 0
call fcn.1003273e
mov esi, eax
add esp, 0x18
test esi, esi
je 0x1000edf8
mov eax, dword [edi + 0x68]
cmp eax, 0xffffffff
je 0x1000edf5
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x68], 0xffffffff
mov dword [edi + 0x68], esi
pop edi
pop esi
ret

Function at 0x10013530
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx + 4]
sub esp, 8
cmp eax, 0xffffffff
jne 0x10013546
xor eax, eax
xor edx, edx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x10013ee0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x1013f030]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov ecx, dword [esi + 4]
push edi
xor edi, edi
cmp ecx, edi
je 0x10013f07
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov dword [esi + 4], edi
push 0x28
call fcn.10031dbc
add esp, 4
cmp eax, edi
je 0x10013f85
mov dword [eax], vtable.ProtocolFilters::MemoryStream.0
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], vtable.ProtocolFilters::IOB.0
mov dword [eax + 0x14], edi
mov dword [eax + 0x18], edi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], 0x6400000
mov dword [eax + 0x24], 1
mov dword [esi + 4], eax
mov dword [esi + 8], 0x40000
xor eax, eax
add esi, 0xe
mov word [esi], ax
call fcn.10019540
lea ecx, [ebp - 0x20]
call fcn.100196d0
cmp dword [ebp - 0xc], edi
je 0x10013f97
cmp dword [ebp - 8], 8
mov eax, dword [ebp - 0x1c]
jae 0x10013f6f
lea eax, [ebp - 0x1c]
push eax
push 0x101388fc
push esi
mov edx, 0x104
call fcn.10014240
add esp, 0xc
jmp 0x10013fa3
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10030c80
mov esp, ebp
pop ebp
ret
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp dword [ebp - 8], 8
jb 0x10013fb5
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.10031f94
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.10030c80
mov esp, ebp
pop ebp
ret
Function at 0x10014030
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x224
mov eax, dword [0x1013f030]
xor eax, esp
mov dword [esp + 0x220], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
test ecx, ecx
jne 0x10014072
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.10030c80
mov esp, ebp
pop ebp
ret 8
mov esi, dword [ebp + 0xc]
mov edx, dword [ecx]
push esi
push eax
mov eax, dword [edx + 0x10]
call eax
mov ebx, eax
mov dword [esp + 0xc], ebx
test ebx, ebx
je 0x10014059
cmp byte [edi + 0xc], 0
jne 0x100141a0
mov ecx, dword [edi + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
mov esi, dword [edi + 8]
xor ecx, ecx
cmp edx, ecx
jb 0x100141a0
ja 0x100140b3
cmp eax, esi
jbe 0x100141a0
lea ecx, [esp + 0x20]
push ecx
push 0
push 0x10138904
lea edx, [edi + 0xe]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x100141a0
push 8
call fcn.10031dbc
mov esi, eax
add esp, 4
test esi, esi
je 0x100141a0
push 0x4000100
push 2
lea eax, [esp + 0x28]
push eax
mov dword [esi], vtable.ProtocolFilters::FileStream.0
mov dword [esi + 4], 0xffffffff
call fcn.10013400
push 1
test al, al
jne 0x10014116
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
jmp 0x100141a0
mov ecx, dword [edi + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push 0
push 0
call eax
mov ecx, dword [edi + 4]
mov dword [esp + 0x14], edx
mov edx, dword [ecx]
mov dword [esp + 0x10], eax
mov eax, dword [edx + 0x18]
push esi
call eax
mov ecx, dword [edi + 4]
mov dword [esp + 0x1c], edx
mov edx, dword [ecx]
mov ebx, eax
mov eax, dword [edx + 0x14]
call eax
cmp ebx, eax
jne 0x10014151
cmp dword [esp + 0x1c], edx
je 0x10014176
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.10030c80
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [edi + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push 0
mov dword [edi + 4], esi
mov edx, dword [esi]
mov edx, dword [edx + 8]
push eax
push ecx
mov ecx, esi
call edx
mov ebx, dword [esp + 0xc]
mov byte [edi + 0xc], 1
mov ecx, dword [esp + 0x22c]
pop edi
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.10030c80
mov esp, ebp
pop ebp
ret 8
Function at 0x100190d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100fc938
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x1013f030]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 0xc], vtable.ProtocolFilters::IOB.0
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], 0x6400000
mov dword [esp + 0x20], 1
mov dword [esp + 0x30], esi
mov ebx, 0xa
lea ebx, [ebx]
add ebx, ebx
cmp ebx, 0x2002
jbe 0x10019130
cmp ebx, 0x6400000
jb 0x10019147
mov ebx, 0x2002
push ebx
call fcn.10030d6c
add esp, 4
test eax, eax
je 0x10019170
mov dword [esp + 0x18], ebx
mov esi, eax
mov ebx, 0x2001
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], ebx
mov byte [eax + 0x2001], 0
jmp 0x10019174
mov ebx, dword [esp + 0x14]
mov eax, dword [edi]
mov edx, dword [eax + 0x14]
mov ecx, edi
call edx
or eax, edx
je 0x100191c3
mov eax, dword [edi]
mov edx, dword [eax + 8]
push 0
push 0
push 0
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push ebx
push esi
mov ecx, edi
call edx
test eax, eax
je 0x100191c3
nop
mov ecx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x10]
push esi
push eax
push 1
push ecx
mov ecx, dword [ebp + 8]
call fcn.10017fa0
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
push ebx
push esi
mov ecx, edi
call eax
test eax, eax
jne 0x100191a0
mov dword [esp + 0x30], 0xffffffff
test esi, esi
je 0x100191d8
push esi
call fcn.10030c8f
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100195b0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x1013f030]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov dword [ebp - 0x214], edx
push edi
mov eax, esi
sub edx, esi
nop
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x100195d0
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
push 0x10
push 3
push 0
push 0
push 0x40000000
push esi
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp eax, 0xffffffff
je 0x1001960b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10019610
push 0
push esi
call ebx
lea edx, [ebp - 0x210]
mov eax, esi
sub edx, esi
lea ebx, [ebx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x10019620
lea eax, [ebp - 0x210]
add eax, 0xfffffffe
jmp 0x10019640
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x10019640
mov ecx, dword [str.SSL]
mov edx, dword [0x10138a10]
push 0
push 0x10
push 3
push 0
mov dword [eax], ecx
mov cx, word [0x10138a14]
push 0
mov dword [eax + 4], edx
push 0x40000000
lea edx, [ebp - 0x210]
push edx
mov word [eax + 8], cx
call edi
cmp eax, 0xffffffff
je 0x1001968e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10019699
push 0
lea eax, [ebp - 0x210]
push eax
call ebx
mov ecx, dword [ebp - 0x214]
add ecx, 0x208
push ecx
lea ecx, [ebp - 0x210]
call fcn.1000c000
mov ecx, dword [ebp - 4]
test al, al
setne al
pop edi
xor ecx, ebp
pop ebx
call fcn.10030c80
mov esp, ebp
pop ebp
ret
Function at 0x1001a330
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fa6dc
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x1013f030]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x7c], eax
mov byte [ebx + 4], 0
mov byte [ebx + 5], 1
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebx + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0xc], eax
mov dword [ebx], vtable.ProtocolFilters::FTPFilter.0
mov ecx, vtable.ProtocolFilters::IOB.0
mov eax, 0x6400000
mov edx, 1
mov dword [ebx + 0x14], ecx
mov dword [ebx + 0x18], edi
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x20], edi
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x28], edx
mov dword [ebx + 0x2c], ecx
mov dword [ebx + 0x30], edi
mov dword [ebx + 0x34], edi
mov dword [ebx + 0x38], edi
mov dword [ebx + 0x3c], eax
mov dword [ebx + 0x40], edx
lea esi, [ebx + 0x44]
mov dword [ebp - 0x80], esi
mov byte [ebp - 4], 3
push 4
mov dword [esi], vtable.ProtocolFilters::PFObjectImpl.0
mov dword [esi + 4], 0x2bc
mov dword [esi + 0xc], edx
mov byte [esi + 0x11], dl
call fcn.10030d6c
add esp, 4
mov dword [esi + 8], eax
cmp eax, edi
je 0x1001a3e5
mov dword [eax], edi
mov byte [esi + 0x10], 0
lea esi, [ebx + 0x58]
mov dword [ebp - 0x80], esi
mov byte [ebp - 4], 5
push 4
mov dword [esi], vtable.ProtocolFilters::PFObjectImpl.0
mov dword [esi + 4], 0x2bd
mov dword [esi + 0xc], 1
mov byte [esi + 0x11], 1
call fcn.10030d6c
add esp, 4
mov dword [esi + 8], eax
cmp eax, edi
je 0x1001a41e
mov dword [eax], edi
mov byte [esi + 0x10], 0
push fcn.100093d0
push 0x10013270
push 6
push 0x1c
lea ecx, [ebx + 0x70]
push ecx
mov byte [ebp - 4], 6
call fcn.10032b55
lea eax, [ebx + 0x118]
mov byte [ebp - 4], 7
mov ecx, dword [ebx + 8]
cmp eax, edi
je 0x1001a45f
lea esi, [ecx + 0x10]
mov ecx, 0x10
mov edi, eax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
xor edi, edi
mov eax, dword [ebp - 0x7c]
mov dword [ebx + 0x10], edi
mov byte [ebx + 0x6c], 0
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 8]
push edx
push eax
push 0x10138ad0
lea ecx, [ebp - 0x78]
push 0x64
push ecx
call fcn.1003258e
lea eax, [ebp - 0x78]
add esp, 0x14
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1001a490
sub eax, edx
push eax
lea edx, [ebp - 0x78]
push edx
lea ecx, [ebx + 0xfc]
call fcn.10008e50
mov byte [ebx + 5], 0
mov eax, ebx
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.10030c80
mov esp, ebp
pop ebp
ret 8