joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40fd10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x436558
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x401800]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x401800]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x40fe64
cmp byte [ebx + 0x45], 0
je 0x40fe64
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x40fd70
xor al, al
jmp 0x40fe66
mov ecx, 0xf
mov byte [esp + 0x18], 0
xorps xmm0, xmm0
mov dword [esp + 0x2c], ecx
cmp ecx, 0x10
movq qword [esp + 0x18], xmm0
lea eax, [esp + 0x18]
mov dword [esp + 0x28], 8
cmovae eax, dword [esp + 0x18]
mov byte [eax + 8], 0
mov dword [esp + 0x40], 0
jmp 0x40fdb0
cmp dword [esp + 0x2c], 0x10
lea eax, [esp + 0x14]
mov ecx, dword [ebx + 0x40]
lea edi, [esp + 0x18]
cmovae edi, dword [esp + 0x18]
lea esi, [esp + 0x18]
cmovae esi, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x2c]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x40fdf1
dec eax
je 0x40fdf5
sub eax, 2
je 0x40fe4b
xor bl, bl
jmp 0x40fe4d
mov byte [ebx + 0x45], 0
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x18]
cmp ecx, 0x10
mov esi, dword [esp + 0x14]
cmovae eax, edx
sub esi, eax
je 0x40fe2c
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [esp + 0x1c]
push esi
cmovae eax, edx
push 1
push eax
call fcn.0041d582
add esp, 0x10
cmp esi, eax
jne 0x40fded
cmp byte [ebx + 0x45], 0
je 0x40fe4b
test esi, esi
jne 0x40fdb0
push esi
push 8
lea ecx, [esp + 0x20]
call fcn.0040f2e0
jmp 0x40fdb0
mov bl, 1
cmp dword [esp + 0x2c], 0x10
jb 0x40fe60
push dword [esp + 0x18]
call fcn.0041ba66
add esp, 4
mov al, bl
jmp 0x40fe66
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0041b2ad
mov esp, ebp
pop ebp
ret
Function at 0x4136d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x401800]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
xor ecx, ecx
call fcn.0040c0f0
mov esi, eax
test esi, esi
je 0x41374e
cmp dword [esi], 1
ja 0x41374e
lea eax, [ebp - 0x28]
push eax
call fcn.0041c85f
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.0041c41d
lea eax, [ebp - 0x4c]
push eax
push 0x40954c
lea eax, [ebp - 0x18]
push 0x14
push eax
call fcn.0041c842
movzx eax, word [ebp - 0x20]
add esp, 0x1c
push dword [edi + 4]
push 0x409cec
push eax
lea eax, [ebp - 0x18]
push eax
push 0x40953c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0x409d08
push esi
call fcn.0040c200
add esp, 0x20
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 0
push eax
push 0xf013f
push 0
push 0x409d34
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x413814
mov edx, dword [edi + 4]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x413780
sub ecx, esi
lea eax, [ecx + 1]
push eax
push edx
push 1
push 0
push 0x409d74
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x41380b
xor ecx, ecx
call fcn.0040c0f0
mov esi, eax
test esi, esi
je 0x41380b
cmp dword [esi], 3
ja 0x41380b
lea eax, [ebp - 0x28]
push eax
call fcn.0041c85f
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.0041c41d
lea eax, [ebp - 0x4c]
push eax
push 0x40954c
lea eax, [ebp - 0x18]
push 0x14
push eax
call fcn.0041c842
movzx eax, word [ebp - 0x20]
add esp, 0x1c
push 0x409cec
push eax
lea eax, [ebp - 0x18]
push eax
push 0x409544
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0x409d8c
push esi
call fcn.0040c200
add esp, 0x1c
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0041b2ad
mov esp, ebp
pop ebp
ret
Function at 0x4317c9
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x401800]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.004204b8
mov dword [ebp - 0x14], eax
cmp dword [0x43a0dc], esi
jne 0x4318bc
push 0x800
push esi
push 0x409350
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x431849
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x43199c
push esi
push esi
push 0x409350
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x43199c
push 0x409368
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43199c
push eax
call ebx
push 0x409374
push edi
mov dword [0x43a0dc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x409384
push edi
mov dword [0x43a0e0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x409398
push edi
mov dword [0x43a0e4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43a0ec], eax
test eax, eax
je 0x4318b9
push 0x4093b4
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43a0e8], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4318e1
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4318d4
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x4318f6
push 4
pop eax
jmp 0x43199e
cmp dword [ebp - 0x14], esi
je 0x4318f6
push dword [0x43a0dc]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4318db
mov eax, dword [0x43a0e8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x431954
cmp dword [0x43a0ec], edi
je 0x431954
push eax
call ebx
push dword [0x43a0ec]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x431954
test eax, eax
je 0x431954
call ecx
test eax, eax
je 0x431949
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x431949
test byte [ebp - 8], 1
jne 0x431954
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x431984
mov eax, dword [0x43a0e0]
cmp eax, edi
je 0x431981
push eax
call ebx
test eax, eax
je 0x431981
call eax
mov esi, eax
test esi, esi
je 0x431981
mov eax, dword [0x43a0e4]
cmp eax, edi
je 0x431981
push eax
call ebx
test eax, eax
je 0x431981
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x43a0dc]
call ebx
test eax, eax
je 0x43199c
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x43199e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041b2ad
mov esp, ebp
pop ebp
ret
Function at 0x432005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43200c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43201e
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219

Function at 0x40153f
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
lea eax, [ebp - 0x134]
sub esp, 0x154
mov dword [ebp - 0x134], 0
mov dword [esp], eax
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x118], 6
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x120], 0
call dword [sym.imp.USER32.dll_RegisterClassA]
push ecx
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push ebx
lea ebx, [ebp - 0x10c]
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.USER32.dll_LoadAcceleratorsA]
push eax
push eax
mov dword [esp + 4], ebx
mov dword [esp], 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push eax
push eax
mov dword [esp], ebx
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x80000000
call dword [sym.imp.KERNEL32.dll_CreateFileA]
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [ebp - 4]
leave
sub eax, 3
ret

Function at 0x40162d
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0xa4
mov dword [ebp - 0x88], 0
call fcn.0040153f
test eax, eax
jne 0x4016c7
lea eax, [ebp - 0x8c]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], eax
mov eax, 0x40215e
sub eax, 0x4016fc
mov dword [esp], 0x4016fc
mov dword [esp + 4], eax
mov dword [ebp - 0x8c], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
cmp dword [ebp - 0x8c], 0
je 0x4016c7
lea ebx, [ebp - 0x88]
mov dword [esp], 0
call fcn.00401442
mov dword [esp + 4], ebx
mov dword [esp], 0
call fcn.004014c9
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1b600
mov dword [esp], 0x40300c
call fcn.00401e61
xor eax, eax
mov ebx, dword [ebp - 4]
leave
ret
Function at 0x4087f0
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448f3d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x464
push ebx
push esi
push edi
mov dword [ebp - 4], 0
push dword [ebp + 8]
push ecx
mov esi, esp
mov dword [ebp - 0x18], esi
call fcn.00401620
mov ecx, eax
test ecx, ecx
je 0x4089a0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
push str.OVZM1URwhpPw0TFeGY
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.004038c0
test al, al
jne 0x40885c
push 0x13
push str.OVZM1URwhpPw0TFeGY
mov ecx, esi
call fcn.00403de0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.004023d0
add esp, 4
push dword [eax]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov edx, dword [ebp - 0x14]
or ebx, 0xffffffff
add esp, 0xc
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40889a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x46c]
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x408970
lea esp, [esp]
lea eax, [ebp - 0x440]
push eax
push dword [ebp + 8]
push ecx
mov esi, esp
mov dword [ebp - 0x18], esi
call fcn.00401620
test eax, eax
je 0x4089a0
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi], eax
push str.bTFCPSkhGWMRZIcRjE
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.004038c0
test al, al
jne 0x40890b
push 0x13
push str.bTFCPSkhGWMRZIcRjE
mov ecx, esi
call fcn.00403de0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.004023d0
add esp, 4
push dword [eax]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov edx, dword [ebp - 0x14]
add esp, 0x10
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x408946
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x46c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4088c0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x40898f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004013f0
int3
Function at 0x1000aed0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, dword [esp + 0x18]
xor ecx, ecx
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x28]
mov eax, edi
cdq
xor eax, edx
sub eax, edx
mov dword [esp + 0x24], eax
lea ebp, [eax + 1]
cmp ebp, dword [esp + 0x18]
jle 0x1000aeff
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x20
test edi, edi
js 0x1000af2f
jle 0x1000af22
mov edx, edi
movzx eax, word [ebx]
test ax, ax
jne 0x1000af16
mov eax, 0x30
jmp 0x1000af19
add ebx, 2
mov word [esi], ax
add esi, 2
dec edx
jne 0x1000af07
mov eax, 0x2e
mov word [esi], ax
add esi, 2
jmp 0x1000af63
mov edx, dword [esp + 0x14]
mov esi, 0x2e
mov word [edx], si
lea esi, [edx + 2]
test eax, eax
jle 0x1000af5d
mov ecx, eax
mov edi, esi
shr ecx, 1
mov eax, 0x300030
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov eax, dword [esp + 0x24]
xor ecx, ecx
lea esi, [esi + eax*2]
xor edi, edi
mov dword [esp + 0x28], edi
movzx edx, word [ebx]
test dx, dx
je 0x1000af8e
sub ebx, esi
lea ecx, [ecx]
inc ebp
cmp ebp, dword [esp + 0x18]
jg 0x1000aef6
mov word [esi], dx
inc ecx
movzx eax, word [ebx + esi + 2]
add esi, 2
mov edx, eax
test ax, ax
jne 0x1000af70
mov ebx, dword [esp + 0x20]
xor eax, eax
mov word [esi], ax
cmp ecx, ebx
jge 0x1000afe6
mov edx, ebx
sub edx, ecx
add ebp, edx
cmp ebp, dword [esp + 0x18]
jg 0x1000aef6
mov esi, dword [esp + 0x14]
mov ecx, esi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000afb4
sub ecx, edi
sar ecx, 1
lea esi, [esi + ecx*2]
test edx, edx
jle 0x1000afdf
mov ecx, edx
mov edi, esi
shr ecx, 1
lea esi, [esi + edx*2]
mov eax, 0x300030
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
xor eax, eax
mov word [esi], ax
jmp 0x1000affc
jle 0x1000affc
push ebx
push ecx
push dword [esp + 0x1c]
call fcn.1000b1f0
test eax, eax
je 0x1000affc
inc edi
mov dword [esp + 0x28], edi
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
mov dword [ecx], 0
cmp eax, esi
jge 0x1000b076
sub esi, eax
lea eax, [esi + ebp]
cmp eax, dword [esp + 0x18]
jg 0x1000aef6
mov ebp, dword [esp + 0x14]
mov ecx, ebp
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000b030
sub ecx, edx
sar ecx, 1
lea eax, [ecx + esi]
lea edx, [ebp + eax*2]
lea edi, [ebp + ecx*2]
js 0x1000b05e
sub edi, edx
inc ecx
nop
mov ax, word [edi + edx]
lea edx, [edx - 2]
mov word [edx + 2], ax
dec ecx
jne 0x1000b050
test esi, esi
jle 0x1000b080
mov ecx, esi
mov eax, 0x300030
shr ecx, 1
mov edi, ebp
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
jmp 0x1000b080
mov ebp, dword [esp + 0x14]
jle 0x1000b080
sub eax, esi
mov dword [ecx], eax
mov ecx, ebp
xor edx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000b087
sub ecx, esi
sar ecx, 1
lea eax, [ecx*2 - 2]
movzx ecx, word [eax + ebp]
add eax, ebp
cmp ecx, 0x2e
je 0x1000b0c2
jmp 0x1000b0b0
lea eax, [eax - 2]
cmp cx, 0x30
jne 0x1000b0c2
movzx ecx, word [eax]
inc edx
cmp ecx, 0x2e
jne 0x1000b0b0
mov eax, dword [esp + 0x30]
sub ebx, edx
pop edi
pop esi
pop ebp
mov dword [eax], ebx
mov eax, 1
pop ebx
ret 0x20
Function at 0x10021720
Capabilities:
Delete file

Disassembly:
jmp 0x10025780
sub esp, 0x218
mov eax, dword [0x10037d20]
xor eax, esp
mov dword [esp + 0x214], eax
cmp dword [0x10039504], 0
mov eax, dword [esp + 0x21c]
je 0x100257c2
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.10026ae6
add esp, 0x218
ret 4
push esi
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.10025330
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esi, eax
lea ecx, [esp + 0xc]
mov eax, dword [esp + 8]
cmp eax, ecx
je 0x10025810
mov ecx, eax
shr ecx, 0x10
test ecx, ecx
je 0x10025810
cmp dword [esp + 4], 0xffffffff
je 0x10025810
push eax
call fcn.1002943b
add esp, 4
mov ecx, dword [esp + 0x218]
mov eax, esi
pop esi
xor ecx, esp
call fcn.10026ae6
add esp, 0x218
ret 4
Function at 0x100255c0
Capabilities:
Create directory

Disassembly:
sub esp, 0x218
mov eax, dword [0x10037d20]
xor eax, esp
mov dword [esp + 0x214], eax
cmp dword [0x10039504], 0
mov eax, dword [esp + 0x21c]
push esi
mov esi, dword [esp + 0x224]
je 0x1002560c
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop esi
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.10026ae6
add esp, 0x218
ret 8
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.10025330
cmp dword [esp + 0x214], 0x104
jl 0x10025644
push 0xa1
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
jmp 0x10025651
push esi
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov esi, eax
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
cmp edx, eax
je 0x10025676
mov ecx, edx
shr ecx, 0x10
test ecx, ecx
je 0x10025676
cmp dword [esp + 4], 0xffffffff
je 0x10025676
push edx
call fcn.1002943b
add esp, 4
mov ecx, dword [esp + 0x218]
mov eax, esi
pop esi
xor ecx, esp
call fcn.10026ae6
add esp, 0x218
ret 8

Function at 0x10025780
Capabilities:
Delete file

Disassembly:
jmp 0x10025780
sub esp, 0x218
mov eax, dword [0x10037d20]
xor eax, esp
mov dword [esp + 0x214], eax
cmp dword [0x10039504], 0
mov eax, dword [esp + 0x21c]
je 0x100257c2
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.10026ae6
add esp, 0x218
ret 4
push esi
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.10025330
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esi, eax
lea ecx, [esp + 0xc]
mov eax, dword [esp + 8]
cmp eax, ecx
je 0x10025810
mov ecx, eax
shr ecx, 0x10
test ecx, ecx
je 0x10025810
cmp dword [esp + 4], 0xffffffff
je 0x10025810
push eax
call fcn.1002943b
add esp, 4
mov ecx, dword [esp + 0x218]
mov eax, esi
pop esi
xor ecx, esp
call fcn.10026ae6
add esp, 0x218
ret 4

Function at 0x100259f0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x21c
mov eax, dword [0x10037d20]
xor eax, esp
mov dword [esp + 0x218], eax
cmp dword [0x10039504], 0
mov eax, dword [esp + 0x220]
mov ecx, dword [esp + 0x224]
je 0x10025a3a
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.10026ae6
add esp, 0x21c
ret 8
push esi
push eax
push ecx
lea ecx, [esp + 0xc]
call fcn.10025120
mov eax, dword [esp + 0x218]
push dword [esp + 8]
add eax, eax
shr eax, 1
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [esp + 4]
mov esi, eax
call fcn.100252c0
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
cmp edx, eax
je 0x10025a8c
mov ecx, edx
shr ecx, 0x10
test ecx, ecx
je 0x10025a8c
cmp dword [esp + 4], 0xffffffff
je 0x10025a8c
push edx
call fcn.1002943b
add esp, 4
mov ecx, dword [esp + 0x21c]
mov eax, esi
pop esi
xor ecx, esp
call fcn.10026ae6
add esp, 0x21c
ret 8
Function at 0x10025ab0
Capabilities:
Get file attributes

Disassembly:
sub esp, 0x218
mov eax, dword [0x10037d20]
xor eax, esp
mov dword [esp + 0x214], eax
cmp dword [0x10039504], 0
mov eax, dword [esp + 0x21c]
je 0x10025af2
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.10026ae6
add esp, 0x218
ret 4
push esi
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.10025330
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov esi, eax
lea ecx, [esp + 0xc]
mov eax, dword [esp + 8]
cmp eax, ecx
je 0x10025b40
mov ecx, eax
shr ecx, 0x10
test ecx, ecx
je 0x10025b40
cmp dword [esp + 4], 0xffffffff
je 0x10025b40
push eax
call fcn.1002943b
add esp, 4
mov ecx, dword [esp + 0x218]
mov eax, esi
pop esi
xor ecx, esp
call fcn.10026ae6
add esp, 0x218
ret 4

Function at 0x10025fe0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x21c
mov eax, dword [0x10037d20]
xor eax, esp
mov dword [esp + 0x218], eax
cmp dword [0x10039504], 0
mov eax, dword [esp + 0x220]
mov ecx, dword [esp + 0x224]
je 0x1002602a
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.10026ae6
add esp, 0x21c
ret 8
push esi
push eax
push ecx
lea ecx, [esp + 0xc]
call fcn.10025120
mov eax, dword [esp + 0x218]
push dword [esp + 8]
add eax, eax
shr eax, 1
push eax
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [esp + 4]
call fcn.100252c0
mov esi, eax
test esi, esi
jle 0x1002605c
dec esi
lea ecx, [esp + 4]
call fcn.100252c0
mov eax, dword [esp + 8]
lea ecx, [esp + 0xc]
cmp eax, ecx
je 0x1002608a
mov ecx, eax
shr ecx, 0x10
test ecx, ecx
je 0x1002608a
cmp dword [esp + 4], 0xffffffff
je 0x1002608a
push eax
call fcn.1002943b
add esp, 4
mov ecx, dword [esp + 0x21c]
mov eax, esi
pop esi
xor ecx, esp
call fcn.10026ae6
add esp, 0x21c
ret 8

Function at 0x10026470
Capabilities:
Delete directory

Disassembly:
sub esp, 0x218
mov eax, dword [0x10037d20]
xor eax, esp
mov dword [esp + 0x214], eax
cmp dword [0x10039504], 0
mov eax, dword [esp + 0x21c]
je 0x100264b2
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.10026ae6
add esp, 0x218
ret 4
push esi
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.10025330
cmp dword [esp + 0x214], 0x104
jl 0x100264eb
push 0xa1
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
jmp 0x100264f7
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov esi, eax
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
cmp edx, eax
je 0x1002651c
mov ecx, edx
shr ecx, 0x10
test ecx, ecx
je 0x1002651c
cmp dword [esp + 4], 0xffffffff
je 0x1002651c
push edx
call fcn.1002943b
add esp, 4
mov ecx, dword [esp + 0x218]
mov eax, esi
pop esi
xor ecx, esp
call fcn.10026ae6
add esp, 0x218
ret 4
Function at 0x10026540
Capabilities:
Set current directory

Disassembly:
sub esp, 0x218
mov eax, dword [0x10037d20]
xor eax, esp
mov dword [esp + 0x214], eax
cmp dword [0x10039504], 0
mov eax, dword [esp + 0x21c]
je 0x10026582
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.10026ae6
add esp, 0x218
ret 4
push esi
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.10025330
cmp dword [esp + 0x214], 0x104
jl 0x100265bb
push 0xa1
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
jmp 0x100265c7
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov esi, eax
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
cmp edx, eax
je 0x100265ec
mov ecx, edx
shr ecx, 0x10
test ecx, ecx
je 0x100265ec
cmp dword [esp + 4], 0xffffffff
je 0x100265ec
push edx
call fcn.1002943b
add esp, 4
mov ecx, dword [esp + 0x218]
mov eax, esi
pop esi
xor ecx, esp
call fcn.10026ae6
add esp, 0x218
ret 4