joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44de67
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x7aa378]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
mov word [ebp - 8], 0x500
lea eax, [ebp - 0x14]
mov dword [ebp - 0xc], ebx
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x44deca
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
push dword [ebp - 0x14]
neg eax
sbb eax, eax
and dword [ebp - 0x10], eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 0x10]
test eax, eax
mov ecx, dword [ebp - 4]
setne al
xor ecx, ebp
pop ebx
call fcn.00642c5e
mov esp, ebp
pop ebp
ret
Function at 0x44e76f
Capabilities:
Parse credit card information

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x44e8d5
mov ebp, 0x10000000
cmp eax, 0x7c
je 0x44e8d5
cmp eax, 0x29
jne 0x44e7a8
cmp dword [esi + 0x10], 0
jne 0x44e8d5
test dword [esi + 0x50], ebp
je 0x44e8e3
cmp eax, 0x2e
jne 0x44e7c3
push 5
lea ecx, [esi + 0x24]
call fcn.00450c0e
mov ecx, esi
call fcn.00450c4e
jmp 0x44e8c0
cmp eax, 0x5c
jne 0x44e81e
mov ecx, esi
call fcn.00450c4e
mov eax, dword [esi + 0x50]
and eax, 0x80
je 0x44e7f5
cmp byte [esi + 0x48], 0x62
jne 0x44e7f5
push 4
lea ecx, [esi + 0x24]
call fcn.00450c0e
mov ecx, esi
call fcn.00450c4e
jmp 0x44e8c7
test eax, eax
je 0x44e812
cmp byte [esi + 0x48], 0x42
jne 0x44e812
push 4
lea ecx, [esi + 0x24]
call fcn.00450c0e
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x44e7e9
mov ecx, esi
call fcn.0044e8eb
jmp 0x44e8c0
cmp eax, 0x5b
jne 0x44e83e
mov ecx, esi
call fcn.00450c4e
mov ecx, esi
call fcn.0044ee0f
cmp dword [esi + 0x4c], 0x5d
je 0x44e7b7
push 4
jmp 0x44e8e5
cmp eax, 0x28
jne 0x44e866
mov ecx, esi
call fcn.00450c4e
mov ecx, esi
call fcn.0045139c
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x44e8e3
mov ecx, esi
call fcn.00450c4e
jmp 0x44e8bc
cmp eax, 0x5e
jne 0x44e872
push 2
jmp 0x44e7e1
cmp eax, 0x24
jne 0x44e87e
push 3
jmp 0x44e7e1
cmp eax, 0x2a
je 0x44e8df
cmp eax, 0x2b
je 0x44e8df
cmp eax, 0x3f
je 0x44e8df
cmp eax, 0x7b
je 0x44e8df
cmp eax, 0x7d
jne 0x44e89c
test dword [esi + 0x50], ebp
je 0x44e8db
cmp eax, 0x5d
jne 0x44e8a6
test dword [esi + 0x50], ebp
je 0x44e837
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.0044e144
mov ecx, esi
call fcn.00450c4e
mov bl, 1
test bl, bl
je 0x44e8c7
mov ecx, esi
call fcn.00450cac
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x44e787
pop esi
pop ebp
mov al, cl
pop ebx
ret
push 6
jmp 0x44e8e5
push 0xa
jmp 0x44e8e5
push 5
call fcn.0062d7a6
int3
Function at 0x44fb63
Capabilities:
Write file on windows

Disassembly:
push 0x20
mov eax, 0x6a0cb5
call fcn.00642cda
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x38], ebx
je 0x44fc5d
cmp byte [esi + 0x3d], bl
je 0x44fc5d
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x44fb9d
xor al, al
jmp 0x44fc5f
push ebx
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x28], bl
call fcn.004390e9
mov dword [ebp - 4], ebx
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
mov ebx, edi
cmp eax, 0x10
jae 0x44fbca
lea ebx, [ebp - 0x28]
mov edi, ebx
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x18]
add eax, ebx
mov edx, dword [ecx]
push eax
push edi
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x44fbf5
sub eax, 1
je 0x44fbf9
dec eax
sub eax, 1
je 0x44fc4b
xor bl, bl
jmp 0x44fc4d
mov byte [esi + 0x3d], 0
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x28]
mov ecx, edi
cmp eax, 0x10
jae 0x44fc09
lea ecx, [ebp - 0x28]
mov ebx, dword [ebp - 0x2c]
sub ebx, ecx
je 0x44fc31
cmp eax, 0x10
jae 0x44fc18
lea edi, [ebp - 0x28]
push dword [esi + 0x4c]
push ebx
push 1
push edi
call fcn.0066a30b
add esp, 0x10
cmp ebx, eax
jne 0x44fbf1
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x28]
cmp byte [esi + 0x3d], 0
je 0x44fc4b
test ebx, ebx
jne 0x44fbbe
push ebx
push 8
lea ecx, [ebp - 0x28]
call fcn.0040ea03
jmp 0x44fbb8
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.0040f95f
mov al, bl
jmp 0x44fc5f
mov al, 1
call fcn.00642c84
ret

Function at 0x450251
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
xor edx, edx
mov ecx, 0x811c9dc5
cmp dword [esp + 8], edx
jbe 0x450277
push esi
mov esi, dword [esp + 8]
movzx eax, byte [edx + esi]
xor eax, ecx
imul ecx, eax, 0x1000193
inc edx
cmp edx, dword [esp + 0xc]
jb 0x450263
pop esi
mov eax, ecx
ret 8
Function at 0x453691
Capabilities:
Create directory

Disassembly:
push 0x4a0
mov eax, 0x6a11b3
call fcn.00642d48
mov edi, ecx
mov eax, dword [edi + 0x40]
mov dword [ebp - 0x374], edi
test eax, eax
jne 0x4537fc
xor ebx, ebx
lea eax, [ebp - 0x30]
push ebx
push eax
call fcn.00454419
mov edx, dword [eax]
lea ecx, [ebp - 0x64]
push str.HTA_
push ecx
mov ecx, eax
mov dword [ebp - 4], ebx
call dword [edx + 0x34]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.0044803c
cmp dword [ebp - 0x4c], 8
mov eax, dword [ebp - 0x60]
jae 0x4536ea
lea eax, [ebp - 0x60]
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
test eax, eax
jne 0x453718
push ebx
push str.failCreateHtaDir
lea ecx, [ebp - 0xe4]
call fcn.00457c55
push 0x753cbc
lea eax, [ebp - 0xe4]
push eax
call fcn.0065ab74
push 1
push 2
lea ecx, [ebp - 0x4ac]
call fcn.00441b16
push ebx
mov byte [ebp - 4], 3
call fcn.0066b9ff
mov dword [esp], 0x6ce69c
push edx
push eax
push str.install.
lea eax, [ebp - 0x4ac]
push eax
call fcn.0044910c
mov ecx, eax
call fcn.0044d125
push eax
call fcn.0044910c
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x370]
call fcn.00447ed3
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x4ac]
call fcn.00444896
push eax
mov eax, dword [ebp - 0x370]
lea ecx, [ebp - 0x370]
mov byte [ebp - 4], 5
call dword [eax + 0x28]
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040f95f
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x370]
mov ecx, edi
push eax
call fcn.0045255b
mov dword [ebp - 4], 4
push 0x1c
call fcn.00642424
pop ecx
mov dword [ebp - 0x378], eax
mov byte [ebp - 4], 0xf
test eax, eax
je 0x4537d9
lea ecx, [ebp - 0x64]
push ecx
mov ecx, eax
call fcn.00447ed3
mov ebx, eax
lea ecx, [ebp - 0x370]
mov dword [edi + 0x40], ebx
call fcn.0044803c
lea ecx, [ebp - 0x4ac]
call fcn.00441f78
lea ecx, [ebp - 0x64]
call fcn.0044803c
mov eax, ebx
call fcn.00642c95
ret
Function at 0x455d7b
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.DLL_GetNativeSystemInfo]
cmp word [ebp - 0x24], 6
je 0x455d9d
cmp word [ebp - 0x24], 9
je 0x455d9d
xor al, al
jmp 0x455d9f
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x455da3
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
mov eax, dword [0x7aa378]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, 0x104
lea eax, [ebp - 0x61c]
push esi
push eax
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
test eax, eax
je 0x455e68
push esi
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.DLL_GetLongPathNameW]
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x455e02
sub ecx, edx
sar ecx, 1
cmp ecx, 0xa
jbe 0x455e68
push ecx
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
push eax
call fcn.006680d4
add esp, 0xc
test eax, eax
je 0x455e64
lea ecx, [ebp - 0x414]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x455e3a
sub ecx, edx
lea eax, [ebp - 0x414]
sar ecx, 1
push ecx
push eax
lea eax, [ebp - 0x61c]
push eax
call fcn.006680d4
add esp, 0xc
test eax, eax
jne 0x455e68
mov al, 1
jmp 0x455e6a
xor al, al
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00642c5e
mov esp, ebp
pop ebp
ret
Function at 0x458374
Capabilities:
Hash data using sha1

Disassembly:
and dword [ecx + 0x14], 0
and dword [ecx + 0x18], 0
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x10], 0xc3d2e1f0
ret
Function at 0x45c61f
Capabilities:
Initialize winsock library

Disassembly:
push ebp
sub esp, 0x34c
lea ebp, [esp - 4]
mov eax, dword [0x7aa378]
xor eax, ebp
mov dword [ebp + 0x34c], eax
push 0xbc
mov eax, 0x6a234a
call fcn.00642d11
mov esi, ecx
lea eax, [ebp + 0x1c]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x45c67e
push 0
push str.WSAStartup_failed
lea ecx, [ebp + 0x2e4]
call fcn.00457c55
push 0x753cbc
lea eax, [ebp + 0x2e4]
push eax
call fcn.0065ab74
xor edi, edi
mov dword [ebp - 4], edi
cmp dword [esi + 0xac], edi
jne 0x45c698
push edi
mov ecx, esi
call fcn.0045bae9
jmp 0x45c74d
lea eax, [esi + 0x9c]
cmp dword [eax + 0x14], 8
jb 0x45c6a6
mov eax, dword [eax]
push 1
push 0x40
push 0x22
push eax
lea ecx, [ebp - 0xc8]
call fcn.0045b36b
mov eax, dword [ebp - 0xc8]
mov byte [ebp - 4], 1
mov eax, dword [eax + 4]
cmp dword [ebp + eax - 0xbc], 0
je 0x45c71e
push str.Cannot_open__
lea ecx, [ebp]
call fcn.00447f6e
lea eax, [esi + 0x98]
mov byte [ebp - 4], 2
push eax
mov eax, dword [ebp]
lea ecx, [ebp]
call dword [eax + 0x2c]
mov eax, dword [ebp]
lea ecx, [ebp]
push 0x747394
call dword [eax + 0x24]
push edi
lea eax, [ebp]
push eax
lea ecx, [ebp + 0x27c]
call fcn.00457b65
push 0x753cbc
lea eax, [ebp + 0x27c]
jmp 0x45c678
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 3
push eax
mov ecx, esi
call fcn.0045bae9
lea ecx, [ebp - 0xc8]
mov dword [ebp - 4], 1
call fcn.004517cb
lea ecx, [ebp - 0xc8]
call fcn.0044d3e2
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x34c]
xor ecx, ebp
call fcn.00642c5e
lea esp, [ebp + 0x350]
pop ebp
ret

Function at 0x45d738
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x6a939b
call fcn.006426c4
push ecx
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
push edi
mov dword [esi + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 8], eax
push dword [ebp + 0xc]
xor edi, edi
mov dword [esi], 0x6cf438
lea ecx, [esi + 0x20]
mov dword [ebp - 4], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
call fcn.0049c65c
mov ecx, dword [ebp - 0xc]
mov eax, esi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x45d746
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x6a939b
call fcn.006426c4
push ecx
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
push edi
mov dword [esi + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 8], eax
push dword [ebp + 0xc]
xor edi, edi
mov dword [esi], 0x6cf438
lea ecx, [esi + 0x20]
mov dword [ebp - 4], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
call fcn.0049c65c
mov ecx, dword [ebp - 0xc]
mov eax, esi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x45d79e
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x6a2503
call fcn.006426c4
push ecx
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 8], eax
xor eax, eax
mov dword [esi], 0x6cf438
lea ecx, [esi + 0x20]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [ebp - 4], eax
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
lea eax, [ebp + 0xc]
push eax
mov byte [ebp - 4], 1
call fcn.0045fc9f
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x460621
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push esi
mov esi, dword [ebp + 8]
mov eax, esi
shr eax, 0x1f
test al, 1
je 0x46063b
and dword [0], 0
test esi, esi
jne 0x460646
xor eax, eax
jmp 0x4606c9
push edi
xor edi, edi
push esi
call fcn.0066ade0
pop ecx
test eax, eax
jne 0x4606c8
push esi
call fcn.0046f407
inc edi
cmp edi, 3
jl 0x460649
push 0x40
pop esi
push esi
lea eax, [ebp - 0x68]
push 0
push eax
call fcn.0065d010
add esp, 0xc
mov dword [ebp - 0x68], esi
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.DLL_GlobalMemoryStatusEx]
mov esi, dword [sym.imp.KERNEL32.DLL_GetLastError]
test eax, eax
jne 0x46068e
call esi
mov dword [ebp - 0x64], eax
push 0xa
pop ecx
xor eax, eax
lea edi, [ebp - 0x28]
push 0x28
rep stosd dword es:[edi], eax
pop eax
push eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
call sub.KERNEL32.DLL_K32GetProcessMemoryInfo
test eax, eax
jne 0x4606b8
call esi
mov dword [ebp - 0x24], eax
call esi
mov dword [0x7b4ee0], eax
and dword [0], 0
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x460dc6
Capabilities:
Delete file
Get common file path

Disassembly:
mov eax, 0x6a2fd5
call fcn.006426c4
sub esp, 0x444
mov eax, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
mov esi, 0x104
mov dword [ebp - 0x10], edi
test eax, eax
jne 0x460dfd
lea eax, [ebp - 0x450]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
lea eax, [ebp - 0x450]
lea ecx, [ebp - 0x248]
push ecx
push edi
push 0x6cf484
push eax
call dword [sym.imp.KERNEL32.DLL_GetTempFileNameW]
test eax, eax
jne 0x460e36
call fcn.0066c265
push eax
call fcn.0066c265
push eax
push str.c:_u_u.tmp
lea eax, [ebp - 0x248]
push esi
push eax
call fcn.004651b2
add esp, 0x14
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x28]
call fcn.00429d77
mov esi, dword [ebp + 0x10]
mov dword [ebp - 4], edi
test esi, esi
je 0x460eb3
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x460e61
sub ecx, edx
mov eax, 0x103
sar ecx, 1
sub eax, ecx
lea ecx, [ebp - 0x28]
push eax
push edi
lea eax, [ebp - 0x40]
push eax
call fcn.00440c52
push esi
mov byte [ebp - 4], 1
call fcn.00428864
pop ecx
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.004286d2
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x40]
push eax
call fcn.00427f9c
push edi
push 1
lea ecx, [ebp - 0x40]
call fcn.004285f6
jmp 0x460ebf
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x28]
push eax
call fcn.00427f9c
push edi
push 1
lea ecx, [ebp - 0x28]
call fcn.004285f6
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x460f52
Capabilities:
Create directory

Disassembly:
mov eax, 0x6a2775
call fcn.006426c4
sub esp, 0x30
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 8
pop ebx
cmp dword [esi + 0x14], ebx
jb 0x460f71
mov eax, dword [esi]
jmp 0x460f73
mov eax, esi
push 0x5c
push eax
call fcn.0065d51b
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x460fa2
cmp dword [esi + 0x14], ebx
jb 0x460f8c
mov eax, dword [esi]
jmp 0x460f8e
mov eax, esi
push 0x2f
push eax
call fcn.0065d51b
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x461024
cmp dword [esi + 0x14], ebx
jb 0x460fab
mov eax, dword [esi]
jmp 0x460fad
mov eax, esi
sub edi, eax
sar edi, 1
cmp dword [esi + 0x14], ebx
jb 0x460fba
mov eax, dword [esi]
jmp 0x460fbc
mov eax, esi
push eax
lea ecx, [ebp - 0x3c]
call fcn.00429d77
xor ecx, ecx
mov dword [ebp - 0x10], 7
xor eax, eax
mov dword [ebp - 4], ecx
push edi
mov word [ebp - 0x24], ax
lea eax, [ebp - 0x3c]
push ecx
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x24]
push eax
call fcn.00428762
push 1
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 1
push eax
call fcn.00460f52
xor edi, edi
lea ecx, [ebp - 0x24]
push edi
push 1
call fcn.004285f6
push edi
push 1
lea ecx, [ebp - 0x3c]
call fcn.004285f6
cmp byte [ebp + 0xc], 0
je 0x461024
cmp dword [esi + 0x14], ebx
jb 0x46101c
mov esi, dword [esi]
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x461675
Capabilities:
Delete directory
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov eax, 0x6a2775
call fcn.006426c4
sub esp, 0x280
push ebx
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x3c]
push str._s.
push eax
call fcn.00465d7f
add esp, 0xc
mov eax, dword [ebp - 0x3c]
xor ebx, ebx
cmp dword [ebp - 0x28], 8
mov dword [ebp - 4], ebx
jae 0x4616ac
lea eax, [ebp - 0x3c]
lea ecx, [ebp - 0x28c]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x461768
lea eax, [ebp - 0x260]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x24]
push 0x6c9e48
push eax
call fcn.00465d7f
add esp, 0x10
test byte [ebp - 0x28c], 0x10
mov byte [ebp - 4], 1
jne 0x461701
cmp dword [ebp - 0x10], 8
mov eax, dword [ebp - 0x24]
jae 0x4616f9
lea eax, [ebp - 0x24]
push eax
call fcn.00470a33
jmp 0x46173d
push 0x6cf4ac
lea eax, [ebp - 0x260]
push eax
call fcn.00492e86
test eax, eax
je 0x46173d
push 0x6cf4a4
lea eax, [ebp - 0x260]
push eax
call fcn.00492e86
test eax, eax
je 0x46173d
cmp dword [ebp - 0x10], 8
mov eax, dword [ebp - 0x24]
jae 0x461737
lea eax, [ebp - 0x24]
push eax
call fcn.00461675
push ebx
push 1
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], bl
call fcn.004285f6
lea eax, [ebp - 0x28c]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x4616c5
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryW]
push ebx
push 1
lea ecx, [ebp - 0x3c]
call fcn.004285f6
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x461891
test al, 0x10
je 0x461891
xor eax, eax
inc eax
jmp 0x461893
xor eax, eax
ret 4

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

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4618c3
test al, 0x10
jne 0x4618c3
xor eax, eax
inc eax
jmp 0x4618c5
xor eax, eax
ret 4
Function at 0x461988
Capabilities:
Enumerate files on windows

Disassembly:
mov eax, 0x6aa7bd
call fcn.006426c4
sub esp, 0x29c
push ebx
push esi
push edi
push 0x6cf5d4
lea ecx, [ebp - 0x40]
call fcn.00429d77
push 1
lea eax, [ebp - 0x40]
xor edi, edi
push eax
sub esp, 0x18
mov dword [ebp - 4], edi
mov eax, esp
push dword [ebp + 0xc]
push eax
call fcn.00429756
lea eax, [ebp - 0x28]
push eax
call fcn.00460bac
push edi
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.004285f6
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x4619e5
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x2a8]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x461a52
mov bl, byte [ebp + 0x10]
test bl, bl
jne 0x461a0b
cmp word [ebp - 0x27c], 0x2e
je 0x461a39
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x58]
call fcn.00429d77
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x58]
push eax
mov byte [ebp - 4], 3
call fcn.0043fe4e
push edi
push 1
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.004285f6
lea eax, [ebp - 0x2a8]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x4619fd
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
push edi
push 1
lea ecx, [ebp - 0x28]
call fcn.004285f6
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x461a7e
Capabilities:
Enumerate files on windows

Disassembly:
mov eax, 0x6aa7bd
call fcn.006426c4
mov eax, dword [ebp + 0x10]
sub esp, 0x29c
push ebx
push esi
xor esi, esi
cmp dword [ebp + 0x10], esi
jne 0x461a9f
mov eax, 0x6cf5d4
push eax
lea ecx, [ebp - 0x40]
call fcn.00429d77
and dword [ebp - 4], 0
lea eax, [ebp - 0x40]
push 1
push eax
sub esp, 0x18
mov eax, esp
push dword [ebp + 0xc]
push eax
call fcn.00429756
lea eax, [ebp - 0x28]
push eax
call fcn.00460bac
push 0
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.004285f6
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x461ae5
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x2a8]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x461afe
xor esi, esi
jmp 0x461b59
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00429756
mov ecx, dword [ebp + 8]
push eax
mov byte [ebp - 4], 3
call fcn.0043fe4e
push 0
push 1
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.004285f6
lea eax, [ebp - 0x2a8]
inc esi
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x461afe
push ebx
call dword [sym.imp.KERNEL32.DLL_FindClose]
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push esi
push str.Found__d_entries_using_filter__s_in_directory__s
call fcn.0040e6e4
add esp, 0x10
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.004285f6
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc