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

Disassembly:
push 0xffffffffffffffff
push 0x68e300
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [esp + 0x1c]
push ebx
push ebp
mov edx, ecx
push esi
push edi
lea esi, [eax + 0xe]
mov eax, dword [0x6961b4]
lea edi, [edx + 4]
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
lea ebx, [esi + 0x14]
lea ebp, [edi + 0x14]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x14], eax
mov ecx, 0x17a
xor eax, eax
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, dword [edx + 0x648]
mov dword [edx + 0x5f0], 0
push ecx
lea edx, [esp + 0x18]
push 0x696154
push edx
mov byte [esp + 0x30], 1
call fcn.1001646c
mov eax, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [eax - 8]
push eax
push ecx
lea eax, [esp + 0x34]
push 0x6960d8
push eax
call fcn.1001646c
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
add edx, 4
mov ecx, 5
mov edi, edx
add esp, 0x10
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0x10]
mov esi, ebx
mov dword [edx + 0xc], ecx
mov ecx, dword [eax + 0xc]
mov dword [edx + 0x10], ecx
mov ecx, 5
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov dx, word [ebx + 2]
mov word [ebp], dx
mov cx, word [ebx]
mov word [ebp + 2], cx
mov edx, dword [ebx + 8]
xor ecx, ecx
mov dword [ebp + 4], edx
mov ch, byte [ebx + 4]
xor edx, edx
mov cl, byte [ebx + 5]
mov dl, byte [ebx + 6]
shl ecx, 8
or ecx, edx
xor edx, edx
mov dl, byte [ebx + 7]
shl ecx, 8
or ecx, edx
xor edx, edx
mov dh, byte [eax + 2]
mov dl, byte [eax + 3]
xor eax, eax
mov al, byte [ebx + 0xc]
add ecx, edx
shr eax, 4
shl eax, 2
sub ecx, eax
sub ecx, 0x14
mov eax, ecx
push eax
call fcn.10015d28
mov esi, dword [esp + 0x2c]
mov dword [ebp + 8], eax
xor ecx, ecx
mov word [ebp + 0x10], 0
mov cl, byte [ebp + 0xc]
shr ecx, 4
lea edi, [ebp + ecx*4]
mov ecx, dword [esi - 8]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
xor edx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x2c]
mov dl, byte [ebp + 0xc]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax - 8]
shr edx, 4
lea esi, [ecx + 4]
lea eax, [eax + edx*4]
push esi
push eax
push ebp
call fcn.100084f0
mov dl, byte [ebp + 0xc]
mov ecx, dword [esp + 0x38]
mov word [ebp + 0x10], ax
xor ax, ax
mov edi, dword [ecx - 8]
lea ecx, [esi + 2]
shr dl, 4
mov al, dl
push ecx
lea edi, [edi + eax*4 + 0x14]
and edi, 0xffff
push edi
call fcn.10008480
lea ebx, [esi + 0xa]
push 0x14
push esi
mov word [ebx], 0
call fcn.10008490
mov edx, dword [esp + 0x2c]
add esp, 0x1c
mov word [ebx], ax
lea ecx, [esp + 0x14]
mov dword [edx + 0x5f0], edi
mov byte [esp + 0x24], 0
call fcn.10016b4f
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0xffffffff
call fcn.10016b4f
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 4
Function at 0x401180
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b572e
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x621d30]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 2
mov eax, dword [esi + 0x44]
push eax
xor ebx, ebx
push ebx
lea ecx, [esi + 0x3c]
mov dword [esi + 0x3c], vtable.CBaseRecordVector.0
call dword [0x5eb9b8]
mov eax, dword [esi + 0x48]
push eax
call fcn.00489718
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov byte [ebp - 4], 1
mov ecx, dword [esi + 0x30]
add esp, 4
push ecx
push ebx
lea ecx, [esi + 0x28]
mov dword [esi + 0x28], vtable.CBaseRecordVector.0
call dword [0x5eb9b8]
mov eax, dword [esi + 0x34]
push eax
call fcn.00489718
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov byte [ebp - 4], bl
mov edx, dword [esi + 0x1c]
add esp, 4
push edx
push ebx
lea ecx, [esi + 0x14]
mov dword [esi + 0x14], vtable.CBaseRecordVector.0
call dword [0x5eb9b8]
mov eax, dword [esi + 0x20]
push eax
call fcn.00489718
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi + 8]
add esp, 4
push eax
push ebx
mov ecx, esi
mov dword [esi], vtable.CBaseRecordVector.0
call dword [0x5eb9b8]
mov ecx, dword [esi + 0xc]
push ecx
call fcn.00489718
add esp, 4
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x403f30
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b6805
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x621d30]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], 4
mov dword [edi], vtable.CObjectVector_struct_NArchive::N7z::CMethodFull_.0
mov dword [ebp - 4], eax
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], 0x10
mov dword [edi + 0x14], vtable.CRecordVector_struct_NArchive::N7z::CBind_.0
mov ecx, 1
mov byte [ebp - 4], cl
lea esi, [edi + 0x30]
mov dword [edi + 0x28], ecx
mov byte [edi + 0x2c], al
call fcn.00406460
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 0x405770
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b7b14
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x621d30]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [edi + 4], ebx
mov dword [ebp - 4], ebx
mov ecx, 4
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], ecx
mov dword [edi + 8], vtable.CObjectVector_struct_NArchive::N7z::CCoderInfo_.0
lea eax, [edi + 0x1c]
mov dword [ebp - 0x10], eax
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ecx
mov dword [eax], vtable.CObjectVector_struct_NArchive::N7z::CMethodFull_.0
mov dword [eax + 0x18], ebx
mov dword [eax + 0x1c], ebx
mov dword [eax + 0x20], ebx
mov dword [eax + 0x24], 0x10
mov dword [eax + 0x14], vtable.CRecordVector_struct_NArchive::N7z::CBind_.0
mov byte [ebp - 4], 3
lea esi, [eax + 0x30]
mov dword [eax + 0x28], 1
mov byte [eax + 0x2c], bl
call fcn.00406460
mov dword [edi + 0x5c], ebx
mov dword [edi + 0x60], ebx
mov dword [edi + 0x64], ebx
mov dword [edi + 0x58], vtable.CRecordVector_struct_NCoderMixer::CCoderStreamsInfo_.0
mov eax, 8
mov dword [edi + 0x68], eax
mov dword [edi + 0x70], ebx
mov dword [edi + 0x74], ebx
mov dword [edi + 0x78], ebx
mov dword [edi + 0x7c], eax
mov esi, vtable.CRecordVector_struct_NCoderMixer::CBindPair_.0
mov dword [edi + 0x6c], esi
mov dword [edi + 0x84], ebx
mov dword [edi + 0x88], ebx
mov dword [edi + 0x8c], ebx
mov ecx, 4
mov dword [edi + 0x90], ecx
mov edx, vtable.CRecordVector_unsigned_int_.0
mov dword [edi + 0x80], edx
mov dword [edi + 0x98], ebx
mov dword [edi + 0x9c], ebx
mov dword [edi + 0xa0], ebx
mov dword [edi + 0xa4], ecx
mov dword [edi + 0x94], edx
mov dword [edi + 0xac], ebx
mov dword [edi + 0xb0], ebx
mov dword [edi + 0xb4], ebx
mov dword [edi + 0xb8], eax
mov dword [edi + 0xa8], vtable.CRecordVector_struct_NCoderMixer::CCoderStreamsInfo_.0
mov dword [edi + 0xc0], ebx
mov dword [edi + 0xc4], ebx
mov dword [edi + 0xc8], ebx
mov dword [edi + 0xcc], eax
mov dword [edi + 0xbc], esi
mov dword [edi + 0xd4], ebx
mov dword [edi + 0xd8], ebx
mov dword [edi + 0xdc], ebx
mov dword [edi + 0xe0], ecx
mov dword [edi + 0xd0], edx
mov dword [edi + 0xe8], ebx
mov dword [edi + 0xec], ebx
mov dword [edi + 0xf0], ebx
mov dword [edi + 0xf4], ecx
mov dword [edi + 0xe4], edx
mov dword [edi + 0xf8], ebx
mov dword [edi + 0x100], ebx
mov dword [edi + 0x104], ebx
mov dword [edi + 0x108], ebx
mov dword [edi + 0x10c], eax
mov dword [edi + 0xfc], vtable.CRecordVector_unsigned_long_long_unsigned___int64__.0
mov byte [ebp - 4], 7
mov eax, dword [ebp + 0xc]
mov byte [edi + 0x110], bl
cmp dword [eax + 8], ebx
jne 0x405940
cmp byte [eax + 0x2c], bl
jne 0x405940
push 0x611024
lea eax, [ebp + 0xc]
push eax
mov dword [ebp + 0xc], 1
call fcn.00594281
push eax
lea ebx, [edi + 0x1c]
call fcn.00405a40
mov dword [edi], 0
mov eax, edi
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 0x405970
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b569d
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x621d30]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 1
mov eax, dword [esi + 0x30]
push eax
call fcn.00489718
xor ebx, ebx
mov byte [ebp - 4], bl
mov eax, dword [esi + 0x1c]
add esp, 4
push eax
push ebx
lea ecx, [esi + 0x14]
mov dword [esi + 0x14], vtable.CBaseRecordVector.0
call dword [0x5eb9b8]
mov eax, dword [esi + 0x20]
push eax
call fcn.00489718
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
add esp, 4
mov dword [esi], vtable.CObjectVector_struct_NArchive::N7z::CMethodFull_.0
mov dword [ebp - 4], 2
mov ecx, dword [esi + 8]
push ecx
push ebx
mov ecx, esi
call dword [0x5ebb30]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [esi + 8]
push edx
push ebx
mov ecx, esi
mov dword [esi], vtable.CBaseRecordVector.0
call dword [0x5eb9b8]
mov eax, dword [esi + 0xc]
push eax
call fcn.00489718
add esp, 4
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4092c0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
xor ebx, ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], 4
mov dword [esi + 8], vtable.CObjectVector_struct_NArchive::COneMethodInfo_.0
lea eax, [ebp - 0x24]
push eax
mov byte [esi + 0x1c], bl
mov dword [esi + 0x32], 1
mov word [esi + 0x36], pe_nt_image_headers32
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x10]
or eax, 0xffffffff
mov byte [esi + 0x40], bl
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov word [esi + 0x30], bx
mov dword [esi], ecx
mov dword [esi + 0x3c], 5
mov byte [esi + 0x38], 1
mov dword [esi + 4], 4
mov eax, esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40bd90
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b64a8
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x621d30]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 2
mov eax, dword [esi + 0x44]
push eax
xor ebx, ebx
push ebx
lea ecx, [esi + 0x3c]
mov dword [esi + 0x3c], vtable.CBaseRecordVector.0
call dword [0x5eb9b8]
mov eax, dword [esi + 0x48]
push eax
call fcn.00489718
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov byte [ebp - 4], 1
mov ecx, dword [esi + 0x30]
add esp, 4
push ecx
push ebx
lea ecx, [esi + 0x28]
mov dword [esi + 0x28], vtable.CBaseRecordVector.0
call dword [0x5eb9b8]
mov eax, dword [esi + 0x34]
push eax
call fcn.00489718
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov byte [ebp - 4], bl
mov edx, dword [esi + 0x1c]
add esp, 4
push edx
push ebx
lea ecx, [esi + 0x14]
mov dword [esi + 0x14], vtable.CBaseRecordVector.0
call dword [0x5eb9b8]
mov eax, dword [esi + 0x20]
push eax
call fcn.00489718
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
add esp, 4
mov dword [esi], vtable.CObjectVector_struct_NArchive::N7z::CCoderInfo_.0
mov dword [ebp - 4], 3
mov eax, dword [esi + 8]
push eax
push ebx
mov ecx, esi
call dword [0x5ebb54]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [esi + 8]
push ecx
push ebx
mov ecx, esi
mov dword [esi], vtable.CBaseRecordVector.0
call dword [0x5eb9b8]
mov edx, dword [esi + 0xc]
push edx
call fcn.00489718
add esp, 4
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x41a760
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b62af
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x621d30]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, edi
call fcn.00406460
lea esi, [edi + 0xc]
mov dword [ebp - 4], 0
call fcn.00406460
lea esi, [edi + 0x18]
mov byte [ebp - 4], 1
call fcn.00406460
lea esi, [edi + 0x24]
mov byte [ebp - 4], 2
call fcn.00406460
lea esi, [edi + 0x30]
mov byte [ebp - 4], 3
call fcn.00406460
mov byte [ebp - 4], 4
lea esi, [edi + 0x40]
mov byte [edi + 0x3c], 0
call fcn.00406460
lea esi, [edi + 0x4c]
mov byte [ebp - 4], 5
call fcn.00406460
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 0x41a800
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b531f
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x621d30]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 5
mov eax, dword [esi + 0x4c]
push eax
call fcn.00489718
mov byte [ebp - 4], 4
mov eax, dword [esi + 0x40]
push eax
call fcn.00489718
mov byte [ebp - 4], 3
mov eax, dword [esi + 0x30]
push eax
call fcn.00489718
mov byte [ebp - 4], 2
mov eax, dword [esi + 0x24]
push eax
call fcn.00489718
mov byte [ebp - 4], 1
mov eax, dword [esi + 0x18]
push eax
call fcn.00489718
mov byte [ebp - 4], 0
mov eax, dword [esi + 0xc]
push eax
call fcn.00489718
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi]
push eax
call fcn.00489718
add esp, 0x1c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x41c810
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b52c0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x621d30]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
lea edi, [esi + 0x3c]
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.CObjectVector_struct_CDirItem_.0
mov byte [ebp - 4], 3
mov eax, dword [edi + 8]
push eax
push ebx
mov ecx, edi
call dword [0x5ecae8]
mov byte [ebp - 4], 2
mov ecx, dword [edi + 8]
push ecx
push ebx
mov ecx, edi
mov dword [edi], vtable.CBaseRecordVector.0
call dword [0x5eb9b8]
mov eax, dword [edi + 0xc]
push eax
call fcn.00489718
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov byte [ebp - 4], 1
mov edx, dword [esi + 0x30]
add esp, 4
push edx
push ebx
lea ecx, [esi + 0x28]
mov dword [esi + 0x28], vtable.CBaseRecordVector.0
call dword [0x5eb9b8]
mov eax, dword [esi + 0x34]
push eax
call fcn.00489718
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov byte [ebp - 4], bl
mov eax, dword [esi + 0x1c]
add esp, 4
push eax
push ebx
lea ecx, [esi + 0x14]
mov dword [esi + 0x14], vtable.CBaseRecordVector.0
call dword [0x5eb9b8]
mov eax, dword [esi + 0x20]
push eax
call fcn.00489718
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
add esp, 4
mov dword [esi], vtable.CObjectVector_class_CStringBase_wchar_t__.0
mov dword [ebp - 4], 4
mov ecx, dword [esi + 8]
push ecx
push ebx
mov ecx, esi
call dword [0x5ecab8]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [esi + 8]
push edx
push ebx
mov ecx, esi
mov dword [esi], vtable.CBaseRecordVector.0
call dword [0x5eb9b8]
mov eax, dword [esi + 0xc]
push eax
call fcn.00489718
add esp, 4
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x41dd10
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b62af
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x621d30]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
push edi
mov ecx, esi
call fcn.00407160
lea eax, [edi + 0xc]
push eax
lea ecx, [esi + 0xc]
mov dword [ebp - 4], 0
call fcn.00407160
lea ecx, [edi + 0x18]
push ecx
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.00407160
lea edx, [edi + 0x24]
push edx
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 2
call fcn.00407160
lea eax, [edi + 0x30]
push eax
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 3
call fcn.00407160
mov byte [ebp - 4], 4
mov cl, byte [edi + 0x3c]
lea edx, [edi + 0x40]
mov byte [esi + 0x3c], cl
push edx
lea ecx, [esi + 0x40]
call fcn.00407160
add edi, 0x4c
push edi
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 5
call fcn.00407160
mov eax, esi
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 0x41e5e0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
add eax, 0x24
mov esi, ecx
push eax
call fcn.004064e0
mov ecx, dword [ebp + 8]
xor ebx, ebx
cmp dword [ecx + 8], ebx
jle 0x41e671
push edi
jmp 0x41e600
test ebx, ebx
jle 0x41e62a
mov eax, 1
call fcn.0040bec0
mov edx, dword [esi + 4]
mov eax, dword [esi]
mov ecx, 0x5c
mov word [eax + edx*2], cx
inc dword [esi + 4]
mov eax, dword [esi + 4]
mov edx, dword [esi]
xor ecx, ecx
mov word [edx + eax*2], cx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
mov edi, dword [eax + ebx*4]
mov eax, dword [edi + 4]
call fcn.0040bec0
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov edx, dword [edi]
lea ecx, [eax + ecx*2]
movzx eax, word [edx]
mov word [ecx], ax
add ecx, 2
add edx, 2
test ax, ax
jne 0x41e645
mov edx, dword [esi]
mov ecx, dword [edi + 4]
add dword [esi + 4], ecx
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, dword [ebp + 8]
inc ebx
cmp ebx, dword [eax + 8]
jl 0x41e600
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x41fb70
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b76e0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x621d30]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp eax, ebx
jl 0x41fd35
cmp eax, 3
jg 0x41fd35
mov edi, dword [ebp + 8]
cmp dword [edi + 0xa0], ebx
je 0x41fbff
mov eax, dword [edi + 0x9c]
mov ecx, dword [eax + 0x18]
not ecx
add dword [edi + 0xf0], ecx
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [edi + 0x88], ecx
mov dword [edi + 0x8c], eax
mov byte [edi + 0x90], 1
mov eax, dword [edi + 0xa0]
cmp eax, ebx
je 0x41fbff
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [edi + 0xa0], ebx
cmp dword [edi + 0x98], ebx
je 0x41fca2
cmp byte [edi + 0x5c], bl
je 0x41fc1a
cmp byte [edi + 0x7e], bl
je 0x41fc1a
lea esi, [edi + 0x70]
jmp 0x41fc29
mov eax, dword [edi + 0x10]
cmp byte [eax + 0x2c], bl
je 0x41fc27
lea esi, [eax + 0x24]
jmp 0x41fc29
xor esi, esi
cmp byte [edi + 0x5b], bl
je 0x41fc38
cmp byte [edi + 0x7d], bl
je 0x41fc38
lea edx, [edi + 0x68]
jmp 0x41fc3a
xor edx, edx
cmp byte [edi + 0x5a], bl
je 0x41fc49
cmp byte [edi + 0x7c], bl
je 0x41fc49
lea ecx, [edi + 0x60]
jmp 0x41fc4b
xor ecx, ecx
mov eax, dword [edi + 0x94]
push esi
push edx
push ecx
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov esi, dword [edi + 0x94]
mov edx, dword [esi + 0x10]
mov dword [edi + 0x88], edx
mov eax, dword [esi + 0x14]
mov dword [edi + 0x8c], eax
mov byte [edi + 0x90], 1
call fcn.00428020
cmp eax, ebx
jne 0x41fd55
mov eax, dword [edi + 0x98]
cmp eax, ebx
je 0x41fca2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [edi + 0x98], ebx
cmp byte [edi + 0x90], bl
jne 0x41fcb9
mov esi, edi
call fcn.0041e890
cmp byte [edi + 0x90], bl
je 0x41fcd1
mov eax, dword [edi + 0x88]
add dword [edi + 0xe8], eax
mov ecx, dword [edi + 0x8c]
adc dword [edi + 0xec], ecx
cmp byte [edi + 0x80], bl
je 0x41fce8
add dword [edi + 0xd8], 1
adc dword [edi + 0xdc], ebx
jmp 0x41fcf5
add dword [edi + 0xe0], 1
adc dword [edi + 0xe4], ebx
cmp byte [edi + 0x59], bl
je 0x41fd0d
cmp byte [edi + 0x7f], bl
je 0x41fd0d
mov ecx, dword [edi + 0x78]
mov eax, dword [edi + 0x38]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
movzx ecx, byte [edi + 0x5d]
mov eax, dword [edi + 0x18]
mov edx, dword [eax]
mov edx, dword [edx + 0x20]
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
push eax
call edx
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
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x98]
cmp eax, ebx
je 0x41fd50
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esi + 0x98], ebx
mov eax, 0x80004005
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 0x420940
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0
push ecx
push 0x4335c0
push 0
push 0
call fcn.00591a81
mov edx, dword [ebp + 8]
add esp, 0x18
mov dword [edx], eax
test eax, eax
je 0x42096d
xor eax, eax
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x42097c
mov eax, 1
mov esp, ebp
pop ebp
ret 4

Function at 0x420fe0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b60bf
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x621d30]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xor eax, eax
mov dword [ebx], eax
mov dword [ebp - 4], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], ecx
lea esi, [ebx + 0x10]
mov dword [ebx + 0xc], edx
mov ecx, 8
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ecx
mov dword [esi], vtable.CRecordVector_unsigned_long_long_unsigned___int64__.0
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x34], ecx
mov dword [ebx + 0x24], vtable.CRecordVector_unsigned_long_long_unsigned___int64__.0
mov ecx, 4
mov dword [ebx + 0x3c], eax
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x44], eax
mov dword [ebx + 0x48], ecx
mov dword [ebx + 0x38], vtable.CRecordVector_unsigned_long_long_unsigned___int64__const__.0
mov dword [ebx + 0x50], eax
mov dword [ebx + 0x54], eax
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x5c], ecx
mov dword [ebx + 0x4c], vtable.CRecordVector_unsigned_long_long_unsigned___int64__const__.0
mov byte [ebp - 4], 5
mov edi, dword [ebx + 8]
call fcn.0042e900
mov edi, dword [ebx + 8]
lea esi, [ebx + 0x38]
call fcn.0042e900
mov edi, dword [ebx + 0xc]
lea esi, [ebx + 0x24]
call fcn.0042e900
mov edi, dword [ebx + 0xc]
lea esi, [ebx + 0x4c]
call fcn.0042e900
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4