joyce8/EMBER2024-capa huggingface dataset:
Function at 0x116aa800
Capabilities:
Get common file path

Disassembly:
sub esp, 0x208
push ebx
push esi
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], 0
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jbe 0x116aa8c0
lea ecx, [esp + 0xc]
push 0x5c
push ecx
call fcn.116bfee5
add esp, 8
test eax, eax
je 0x116aa84f
mov word [eax], 0
mov edi, dword [esp + 0x218]
test edi, edi
je 0x116aa8b9
mov ebx, dword [esp + 0x21c]
test ebx, ebx
je 0x116aa8b9
lea edx, [esp + 0xc]
test edx, edx
je 0x116aa8b9
mov eax, dword [esp + 0x220]
mov esi, 0x7a
test eax, eax
je 0x116aa896
push eax
lea eax, [esp + 0x10]
push eax
push 0x1178f20c
push ebx
push edi
call fcn.116c0020
add esp, 0x14
xor esi, esi
jmp 0x116aa8c8
lea ecx, [esp + 0xc]
push ecx
call fcn.116bf9b7
add esp, 4
cmp ebx, eax
jbe 0x116aa8c8
lea edx, [esp + 0xc]
push edx
push edi
call fcn.116bff4f
add esp, 8
xor esi, esi
jmp 0x116aa8c8
mov esi, 0x57
jmp 0x116aa8c8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
mov dword [0x117bebac], esi
je 0x116aa8d9
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop edi
test esi, esi
pop esi
pop ebx
sete al
add esp, 0x208
ret

Function at 0x116aa9f0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x208
push ebx
push esi
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], 0
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jbe 0x116aaab0
lea ecx, [esp + 0xc]
push 0x5c
push ecx
call fcn.116bfee5
add esp, 8
test eax, eax
je 0x116aaa3f
mov word [eax], 0
mov edi, dword [esp + 0x218]
test edi, edi
je 0x116aaaa9
mov ebx, dword [esp + 0x21c]
test ebx, ebx
je 0x116aaaa9
lea edx, [esp + 0xc]
test edx, edx
je 0x116aaaa9
mov eax, dword [esp + 0x220]
mov esi, 0x7a
test eax, eax
je 0x116aaa86
push eax
lea eax, [esp + 0x10]
push eax
push 0x1178f20c
push ebx
push edi
call fcn.116c0020
add esp, 0x14
xor esi, esi
jmp 0x116aaab8
lea ecx, [esp + 0xc]
push ecx
call fcn.116bf9b7
add esp, 4
cmp ebx, eax
jbe 0x116aaab8
lea edx, [esp + 0xc]
push edx
push edi
call fcn.116bff4f
add esp, 8
xor esi, esi
jmp 0x116aaab8
mov esi, 0x57
jmp 0x116aaab8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
mov dword [0x117bebac], esi
je 0x116aaac9
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop edi
test esi, esi
pop esi
pop ebx
sete al
add esp, 0x208
ret
Function at 0x116aaae0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x1176f665
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x418
mov eax, dword [0x11773dfc]
push ebx
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], eax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x21e]
mov word [esp + 0x21c], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x16]
mov word [esp + 0x14], bx
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
push 0x104
push ecx
mov dword [esp + 0x434], 1
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jbe 0x116aabf3
lea edx, [esp + 0x14]
push 0x5c
push edx
call fcn.116bfee5
add esp, 8
cmp eax, ebx
je 0x116aab74
mov word [eax], bx
lea eax, [esp + 0x21c]
test eax, eax
je 0x116aabec
lea ecx, [esp + 0x14]
test ecx, ecx
je 0x116aabec
mov eax, dword [esp + 0x438]
mov esi, 0x7a
cmp eax, ebx
je 0x116aabbd
lea edx, [esp + 0x14]
push eax
push edx
push 0x1178f20c
lea eax, [esp + 0x228]
push 0x104
push eax
call fcn.116c0020
add esp, 0x14
xor esi, esi
mov eax, esi
jmp 0x116aabf9
lea ecx, [esp + 0x14]
push ecx
call fcn.116bf9b7
add esp, 4
cmp eax, 0x104
jae 0x116aabe8
lea edx, [esp + 0x14]
lea eax, [esp + 0x21c]
push edx
push eax
call fcn.116bff4f
add esp, 8
xor esi, esi
mov eax, esi
jmp 0x116aabf9
mov eax, 0x57
jmp 0x116aabf9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
mov dword [0x117bebac], eax
je 0x116aac0b
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x116aac1c
lea ecx, [esp + 0x21c]
push ecx
lea ecx, [esp + 0x10]
call fcn.11685a10
mov esi, dword [esp + 0x434]
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call fcn.11684d90
mov dword [esp + 0x10], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x42c], bl
call fcn.11685790
mov ecx, dword [esp + 0x424]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x424
ret

Function at 0x116aad20
Capabilities:
Get common file path

Disassembly:
sub esp, 0x208
push ebx
push esi
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], 0
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jbe 0x116aadc4
mov edi, dword [esp + 0x218]
test edi, edi
je 0x116aadbd
mov ebx, dword [esp + 0x21c]
test ebx, ebx
je 0x116aadbd
lea ecx, [esp + 0xc]
test ecx, ecx
je 0x116aadbd
mov eax, dword [esp + 0x220]
mov esi, 0x7a
test eax, eax
je 0x116aad9a
lea edx, [esp + 0xc]
push eax
push edx
push 0x1178f20c
push ebx
push edi
call fcn.116c0020
add esp, 0x14
xor esi, esi
jmp 0x116aadcc
lea eax, [esp + 0xc]
push eax
call fcn.116bf9b7
add esp, 4
cmp ebx, eax
jbe 0x116aadcc
lea ecx, [esp + 0xc]
push ecx
push edi
call fcn.116bff4f
add esp, 8
xor esi, esi
jmp 0x116aadcc
mov esi, 0x57
jmp 0x116aadcc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
mov dword [0x117bebac], esi
je 0x116aaddd
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop edi
test esi, esi
pop esi
pop ebx
sete al
add esp, 0x208
ret
Function at 0x116aaee0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x208
push ebx
push esi
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], 0
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jbe 0x116aaf84
mov edi, dword [esp + 0x218]
test edi, edi
je 0x116aaf7d
mov ebx, dword [esp + 0x21c]
test ebx, ebx
je 0x116aaf7d
lea ecx, [esp + 0xc]
test ecx, ecx
je 0x116aaf7d
mov eax, dword [esp + 0x220]
mov esi, 0x7a
test eax, eax
je 0x116aaf5a
lea edx, [esp + 0xc]
push eax
push edx
push 0x1178f20c
push ebx
push edi
call fcn.116c0020
add esp, 0x14
xor esi, esi
jmp 0x116aaf8c
lea eax, [esp + 0xc]
push eax
call fcn.116bf9b7
add esp, 4
cmp ebx, eax
jbe 0x116aaf8c
lea ecx, [esp + 0xc]
push ecx
push edi
call fcn.116bff4f
add esp, 8
xor esi, esi
jmp 0x116aaf8c
mov esi, 0x57
jmp 0x116aaf8c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
mov dword [0x117bebac], esi
je 0x116aaf9d
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop edi
test esi, esi
pop esi
pop ebx
sete al
add esp, 0x208
ret

Function at 0x116aafb0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x1176f6b5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x418
mov eax, dword [0x11773dfc]
push ebx
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], eax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x21e]
mov word [esp + 0x21c], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x16]
mov word [esp + 0x14], bx
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
push 0x104
push ecx
mov dword [esp + 0x434], 1
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jbe 0x116ab0a9
lea edx, [esp + 0x21c]
test edx, edx
je 0x116ab0a2
lea eax, [esp + 0x14]
test eax, eax
je 0x116ab0a2
mov eax, dword [esp + 0x438]
mov esi, 0x7a
cmp eax, ebx
je 0x116ab073
lea ecx, [esp + 0x14]
push eax
push ecx
push 0x1178f20c
lea edx, [esp + 0x228]
push 0x104
push edx
call fcn.116c0020
add esp, 0x14
xor esi, esi
mov eax, esi
jmp 0x116ab0af
lea eax, [esp + 0x14]
push eax
call fcn.116bf9b7
add esp, 4
cmp eax, 0x104
jae 0x116ab09e
lea ecx, [esp + 0x14]
lea edx, [esp + 0x21c]
push ecx
push edx
call fcn.116bff4f
add esp, 8
xor esi, esi
mov eax, esi
jmp 0x116ab0af
mov eax, 0x57
jmp 0x116ab0af
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
mov dword [0x117bebac], eax
je 0x116ab0c1
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x116ab0d2
lea eax, [esp + 0x21c]
lea ecx, [esp + 0xc]
push eax
call fcn.11685a10
mov esi, dword [esp + 0x434]
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.11684d90
mov dword [esp + 0x10], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x42c], bl
call fcn.11685790
mov ecx, dword [esp + 0x424]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x424
ret
Function at 0x116b09e0
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
push edi
jne 0x116b0a01
push 0x57
mov dword [0x117bebac], 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
xor eax, eax
pop esi
ret
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
call edi
test eax, eax
jne 0x116b0a32
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x116b0a32
test al, 0x10
jne 0x116b0a32
test al, 1
je 0x116b09fc
and al, 0xfe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call edi
pop edi
pop esi
ret
pop edi
mov eax, 1
pop esi
ret

Function at 0x116b0aa0
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
push edi
jne 0x116b0ac1
push 0x57
mov dword [0x117bebac], 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
xor eax, eax
pop esi
ret
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
call edi
test eax, eax
jne 0x116b0af2
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x116b0af2
test al, 0x10
jne 0x116b0af2
test al, 1
je 0x116b0abc
and al, 0xfe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call edi
pop edi
pop esi
ret
pop edi
mov eax, 1
pop esi
ret
Function at 0x116b2bb0
Capabilities:
Check if file exists
Create directory
Delete file
Get file attributes
Set file attributes

Disassembly:
sub esp, 0x208
push ebx
mov ebx, dword [esp + 0x210]
test ebx, ebx
jne 0x116b2bcc
xor eax, eax
pop ebx
add esp, 0x208
ret
push ebp
push esi
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x11]
mov byte [esp + 0x10], 0
push 0x207
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x14]
push ebx
push eax
mov ebp, 1
call fcn.116c0630
lea ecx, [esp + 0x1c]
push 0x5c
push ecx
call fcn.116c0770
mov esi, eax
lea edi, [esp + 0x24]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 2
jbe 0x116b2c50
cmp byte [esp + 0x10], 0x5c
jne 0x116b2c50
cmp byte [esp + 0x11], 0x5c
jne 0x116b2c50
lea edx, [esp + 0x12]
push 0x5c
push edx
call fcn.116c0770
add esp, 8
test eax, eax
je 0x116b2cce
inc eax
push 0x5c
push eax
call fcn.116c0770
add esp, 8
mov esi, eax
test esi, esi
je 0x116b2cce
lea eax, [esp + 0x10]
mov byte [esi], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
mov edi, ebx
and edi, 0x10
jne 0x116b2c92
test bl, 1
je 0x116b2c81
mov ecx, ebx
lea edx, [esp + 0x10]
and ecx, 0xfffffffe
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ebp, eax
test ebp, ebp
je 0x116b2d04
cmp ebx, 0xffffffff
je 0x116b2c9b
test edi, edi
jne 0x116b2caa
lea ecx, [esp + 0x10]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ebp, eax
test ebp, ebp
je 0x116b2d04
mov byte [esi], 0x5c
inc esi
push 0x5c
push esi
call fcn.116c0770
mov esi, eax
add esp, 8
test esi, esi
jne 0x116b2c54
test ebp, ebp
je 0x116b2d04
mov ebx, dword [esp + 0x21c]
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x116b2cf9
test al, 0x10
jne 0x116b2d04
test al, 1
je 0x116b2cec
and al, 0xfe
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ebp, eax
test ebp, ebp
je 0x116b2d04
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ebp, eax
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x208
ret
Function at 0x116b2d20
Capabilities:
Check if file exists
Create directory
Delete file
Get file attributes
Set file attributes

Disassembly:
sub esp, 0x410
push ebx
mov ebx, dword [esp + 0x418]
test ebx, ebx
jne 0x116b2d3c
xor eax, eax
pop ebx
add esp, 0x410
ret
push ebp
push esi
push edi
mov ecx, 0x103
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], 0
push 0x207
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x14]
push ebx
push eax
mov ebp, 1
call fcn.116bff74
mov edi, 0x5c
lea ecx, [esp + 0x1c]
push edi
push ecx
call fcn.116c08b0
lea edx, [esp + 0x24]
mov esi, eax
push edx
call fcn.116bf9b7
add esp, 0x18
cmp eax, 2
jbe 0x116b2dc1
cmp word [esp + 0x10], di
jne 0x116b2dc1
cmp word [esp + 0x12], di
jne 0x116b2dc1
lea eax, [esp + 0x14]
push edi
push eax
call fcn.116c08b0
add esp, 8
test eax, eax
je 0x116b2e49
add eax, 2
push edi
push eax
call fcn.116c08b0
add esp, 8
mov esi, eax
test esi, esi
je 0x116b2e49
lea ecx, [esp + 0x10]
mov word [esi], 0
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
mov edi, ebx
and edi, 0x10
jne 0x116b2e09
test bl, 1
je 0x116b2df8
mov edx, ebx
lea eax, [esp + 0x10]
and edx, 0xfffffffe
push edx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebp, eax
test ebp, ebp
je 0x116b2e7f
cmp ebx, 0xffffffff
je 0x116b2e12
test edi, edi
jne 0x116b2e21
lea edx, [esp + 0x10]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ebp, eax
test ebp, ebp
je 0x116b2e7f
mov word [esi], 0x5c
add esi, 2
push 0x5c
push esi
call fcn.116c08b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x116b2dc9
test ebp, ebp
je 0x116b2e7f
mov ebx, dword [esp + 0x424]
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x116b2e74
test al, 0x10
jne 0x116b2e7f
test al, 1
je 0x116b2e67
and al, 0xfe
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebp, eax
test ebp, ebp
je 0x116b2e7f
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ebp, eax
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x410
ret
Function at 0x116b3880
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
sub esp, 0x25c
push ebx
mov ebx, dword [esp + 0x26c]
push ebp
mov ebp, dword [esp + 0x26c]
push esi
mov esi, dword [esp + 0x26c]
mov eax, 0x1f3
push ebx
sub eax, ebp
push esi
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x116b38c9
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x25c
ret
push edi
mov edi, 1
mov eax, dword [ebx]
test al, 0x10
mov dword [esp + 0x14], eax
je 0x116b3a39
cmp word [ebx + 0x2c], 0x2e
lea ecx, [ebx + 0x2c]
jne 0x116b3905
mov ax, word [ebx + 0x2e]
test ax, ax
je 0x116b3a09
cmp ax, 0x2e
jne 0x116b3905
cmp word [ebx + 0x30], 0
je 0x116b3a09
push ecx
call fcn.116bf9b7
mov ecx, dword [esp + 0x1c]
mov ebx, eax
add esp, 4
lea eax, [ebx + 1]
cmp ecx, eax
jb 0x116b3a02
mov ecx, dword [esp + 0x278]
mov word [esi + ebp*2 - 2], 0
lea eax, [ecx + 0x2c]
push eax
push esi
call fcn.116bff25
mov al, byte [esp + 0x284]
add esp, 8
test al, 0x10
je 0x116b395e
mov edx, dword [esp + 0x284]
mov eax, dword [esp + 0x14]
push edx
push eax
push 0
push esi
call dword [esp + 0x290]
mov edi, eax
test edi, edi
je 0x116b39c5
test byte [esp + 0x27c], 0x40
jne 0x116b39c5
lea ecx, [ebx + ebp]
lea edi, [esp + 0x20]
mov dword [esp + 0x1c], 0
lea edx, [ebx + ebp + 1]
lea eax, [esi + ecx*2]
mov ecx, 0x93
mov word [eax - 2], 0x5c
mov word [eax], 0x2a
xor eax, eax
mov word [esi + edx*2], 0
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x284]
mov ecx, dword [esp + 0x280]
push eax
mov eax, dword [esp + 0x280]
push ecx
lea ecx, [esp + 0x24]
push eax
push ecx
push edx
push esi
call fcn.116b3880
add esp, 0x18
mov edi, eax
test byte [esp + 0x27c], 0x20
je 0x116b39f5
test edi, edi
je 0x116b39f5
mov edx, dword [esp + 0x284]
mov eax, dword [esp + 0x14]
push edx
add ebx, ebp
push eax
push 0
push esi
mov word [esi + ebx*2 - 2], 0
call dword [esp + 0x290]
mov edi, eax
mov word [esi + ebp*2 - 2], 0x2a
mov word [esi + ebp*2], 0
mov ebx, dword [esp + 0x278]
test edi, edi
je 0x116b3a21
mov eax, dword [esp + 0x10]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x116b38cf
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x25c
ret
mov ecx, dword [esp + 0x284]
lea edx, [ebx + 0x2c]
push ecx
push eax
push edx
push esi
mov word [esi + ebp*2 - 4], 0
call dword [esp + 0x290]
mov word [esi + ebp*2 - 4], 0x5c
mov edi, eax
mov word [esi + ebp*2 - 2], 0x2a
jmp 0x116b3a09
Function at 0x116b4b40
Capabilities:
Delete directory
Get file attributes
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
jne 0x116b4b5f
push 0x57
mov dword [0x117bebac], 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop esi
ret
push 0
push 0x116b4a90
push 0x20
push esi
call fcn.116b3780
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and al, 0xfe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov esi, eax
test esi, esi
jne 0x116b4ba5
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov dword [0x117bebac], eax
je 0x116b4ba5
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
pop esi
ret
Function at 0x116b94c0
Capabilities:
Get file size

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1176fdc8
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov eax, dword [esi + 0x20]
xor edi, edi
xor ebp, ebp
cmp eax, ebx
je 0x116b94f2
call fcn.116a8680
mov ebp, eax
mov eax, dword [esi + 0x18]
mov ecx, 0xc0000000
cmp eax, ebx
je 0x116b9503
mov ecx, 0x80000000
mov eax, dword [esi + 0x24]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebx
cmp dword [eax - 8], ebx
je 0x116b9558
push ebx
push 0x80
push 3
push ebp
push 3
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [esi + 4], eax
je 0x116b953e
lea ecx, [esp + 0x18]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esp + 0x14], eax
cmp dword [esi + 4], 0xffffffff
je 0x116b9684
cmp dword [esp + 0x18], ebx
jne 0x116b9558
cmp dword [esp + 0x14], ebx
je 0x116b9684
mov eax, dword [esi + 0x18]
mov edi, 4
cmp eax, ebx
je 0x116b9569
mov edi, 2
lea ebx, [esi + 0x28]
lea ecx, [esp + 0x10]
push ebx
call fcn.11684d90
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x24], 0
test eax, eax
je 0x116b95af
mov edx, dword [ebx]
mov eax, dword [edx - 8]
test eax, eax
je 0x116b95af
call fcn.116d2b70
test eax, eax
je 0x116b95af
push 0x11794098
lea ecx, [esp + 0x14]
call fcn.11685a10
push ebx
lea ecx, [esp + 0x14]
call fcn.11686440
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
neg eax
sbb eax, eax
and eax, ecx
mov ecx, dword [esi + 4]
push eax
mov eax, dword [esi + 0x10]
push eax
push 0
push edi
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
test eax, eax
mov dword [esi + 8], eax
je 0x116b965e
mov edx, dword [esi + 0x18]
mov ecx, 6
test edx, edx
je 0x116b95eb
mov ecx, 4
mov edx, dword [esi + 0x10]
push edx
mov edx, dword [esi + 0x14]
push edx
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
mov dword [esi + 0xc], eax
je 0x116b965e
mov eax, dword [esi + 0x10]
mov ebp, 1
test eax, eax
jne 0x116b9639
mov eax, dword [esi + 4]
or ebx, 0xffffffff
cmp eax, ebx
je 0x116b963c
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0x14]
mov eax, dword [esp + 0x18]
xor edi, edi
sub ecx, edx
sbb eax, edi
test eax, eax
jle 0x116b9634
mov dword [esi + 0x10], ebx
jmp 0x116b963c
mov dword [esi + 0x10], ecx
jmp 0x116b963c
or ebx, 0xffffffff
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], ebx
call fcn.11685790
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call fcn.11685790
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0x1c]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x116b9b50
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor ebx, ebx
lea ebp, [esi + 0x42c]
lea edi, [esi + 0x2c]
mov ecx, 0x100
xor eax, eax
mov dword [esi], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [ebp], ebx
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x14]
lea ecx, [esi + 0xc]
lea edi, [esi + 0x14]
cmp eax, 0xffffffff
mov dword [esi + 8], ebx
mov dword [ecx], ebx
mov dword [esi + 0x10], ebx
mov dword [edi], ebx
mov dword [esi + 4], eax
mov dword [esi + 0x18], ebx
je 0x116b9bf0
cmp eax, ebx
je 0x116b9bf0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esi + 8], eax
mov eax, dword [esi + 4]
push 1
push edi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, ebx
mov dword [esi + 0x10], eax
jne 0x116b9bc2
cmp dword [edi], ebx
je 0x116b9bcf
mov ecx, dword [esi + 4]
push ebx
push ebx
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edx, dword [esi + 4]
push ebx
push ebp
lea eax, [esi + 0x2c]
push 0x400
push eax
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x116b9bf0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x116b9c00
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea ebp, [esi + 0x42c]
lea edi, [esi + 0x2c]
mov ecx, 0x100
xor eax, eax
push ebx
mov dword [esi], ebx
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [ebp], ebx
push 0x80
push 3
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x20]
push ebx
lea edi, [esi + 0xc]
push 7
push 0x80000000
push eax
mov dword [esi + 8], ebx
mov dword [edi], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], 1
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esi + 4], eax
je 0x116b9c92
cmp eax, ebx
je 0x116b9c92
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esi + 4]
mov dword [esi + 8], eax
push ebx
push ebp
lea eax, [esi + 0x2c]
push 0x400
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x116b9c9a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4