joyce8/EMBER2024-capa huggingface dataset:
Function at 0x116969c0
Capabilities:
Terminate thread

Disassembly:
sub esp, 8
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
jne 0x116969d4
xor eax, eax
pop esi
add esp, 8
ret
mov eax, dword [esi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 8]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 8]
push 0
push ecx
push 2
mov dword [esp + 0x18], edx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov edx, dword [esi + 0x1c]
mov eax, dword [esi + 8]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x11696a20
mov ecx, dword [esi + 8]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [esi + 0x10]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ResetEvent]
push edx
call edi
mov eax, dword [esi + 0x14]
push eax
call edi
mov dword [esi + 0xc], 0
pop edi
mov eax, 1
pop esi
add esp, 8
ret

Function at 0x1169a3e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1176efef
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x11773dfc]
push esi
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x14], 1
mov cl, byte [eax + 0xf]
mov dl, byte [eax + 0xe]
push ecx
push edx
xor ecx, ecx
xor edx, edx
mov cl, byte [eax + 0xd]
mov dl, byte [eax + 0xc]
push ecx
push edx
xor ecx, ecx
xor edx, edx
mov cl, byte [eax + 0xb]
mov dl, byte [eax + 0xa]
push ecx
push edx
xor ecx, ecx
xor edx, edx
mov cl, byte [eax + 9]
mov dl, byte [eax + 8]
push ecx
push edx
xor ecx, ecx
xor edx, edx
mov cx, word [eax + 6]
mov dx, word [eax + 4]
mov eax, dword [eax]
push ecx
push edx
push eax
lea ecx, [esp + 0x30]
push str._08lX__04lX__04lX__02lX_02lX__02lX_02lX_02lX_02lX_02lX_02lX
push ecx
call fcn.116884f0
mov esi, dword [esp + 0x50]
add esp, 0x34
lea edx, [esp + 4]
mov ecx, esi
push edx
call fcn.11684b70
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call fcn.11685570
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x1169a780
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x1169a78b
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
push edi
mov edi, dword [esp + 0x18]
cmp edi, 8
mov esi, edi
not eax
jb 0x1169a88d
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x11773ef0]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x11773ef0]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x11773ef0]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x11773ef0]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x11773ef0]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x11773ef0]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x11773ef0]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x11773ef0]
xor eax, edx
inc ecx
dec edi
jne 0x1169a7a6
test esi, esi
je 0x1169a8af
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x11773ef0]
xor eax, edx
inc ecx
dec esi
jne 0x1169a891
pop edi
pop esi
not eax
pop ebx
ret
Function at 0x116a7610
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1176f830
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebp
push esi
push edi
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], 0
call fcn.11692960
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0
call fcn.1168ae90
mov esi, dword [esp + 0x44]
mov byte [esp + 0x38], 1
cmp esi, 0xffffffff
jne 0x116a7660
mov esi, 0xfffffffe
mov edi, dword [esp + 0x40]
push 0x5c
push edi
call fcn.116c0ce0
mov ebp, eax
lea eax, [esp + 0x18]
push esi
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.1169f630
mov eax, dword [esp + 0x28]
add esp, 0x14
xor esi, esi
test eax, eax
jle 0x116a76ed
test ebp, ebp
je 0x116a76a6
mov edx, dword [esp + 0x10]
push edi
mov eax, dword [edx + esi*4]
push eax
call fcn.116c01f5
add esp, 8
test eax, eax
je 0x116a76cc
jmp 0x116a76c1
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + esi*4]
push eax
call fcn.116a84a0
push eax
push edi
call fcn.116c01f5
add esp, 0xc
test eax, eax
je 0x116a76d5
mov eax, dword [esp + 0x14]
inc esi
cmp esi, eax
jl 0x116a768b
jmp 0x116a76ed
mov edx, dword [esp + 0x20]
mov esi, dword [edx + esi*4]
jmp 0x116a76dc
mov eax, dword [esp + 0x20]
mov esi, dword [eax + esi*4]
test esi, esi
je 0x116a76ed
push esi
call fcn.116a7510
add esp, 4
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 0
call fcn.1168aea0
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0xffffffff
call fcn.11692970
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x30
ret

Function at 0x116a79c0
Capabilities:
Get user security identifier

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x14]
lea eax, [esp + 0x18]
push edi
mov edi, dword [esp + 0x1c]
lea ecx, [esp + 0xc]
xor ebx, ebx
push eax
push ecx
lea edx, [esp + 0x18]
push ebx
push edx
push ebx
push ebp
push ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
mov dword [edi], ebx
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
jne 0x116a7a0b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x116a7a0b
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0x10]
push esi
push eax
call fcn.116bf8c8
mov ecx, dword [esp + 0x14]
mov dword [edi], eax
lea edx, [ecx + ecx]
push edx
call fcn.116bf8c8
mov esi, eax
mov eax, dword [edi]
add esp, 8
test eax, eax
je 0x116a7a50
test esi, esi
je 0x116a7a61
lea ecx, [esp + 0x20]
lea edx, [esp + 0x10]
push ecx
push edx
lea ecx, [esp + 0x1c]
push esi
push ecx
push eax
push ebp
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
mov ebx, eax
test esi, esi
je 0x116a7a5d
push esi
call fcn.116bf860
add esp, 4
test ebx, ebx
jne 0x116a7a70
mov edi, dword [edi]
test edi, edi
je 0x116a7a70
push edi
call fcn.116bf860
add esp, 4
pop esi
pop edi
mov eax, ebx
pop ebp
pop ebx
add esp, 8
ret
Function at 0x116aa5c0
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 0x116aa680
lea ecx, [esp + 0xc]
push 0x5c
push ecx
call fcn.116c0315
add esp, 8
test eax, eax
je 0x116aa60f
mov word [eax], 0
mov edi, dword [esp + 0x218]
test edi, edi
je 0x116aa679
mov ebx, dword [esp + 0x21c]
test ebx, ebx
je 0x116aa679
lea edx, [esp + 0xc]
test edx, edx
je 0x116aa679
mov eax, dword [esp + 0x220]
mov esi, 0x7a
test eax, eax
je 0x116aa656
push eax
lea eax, [esp + 0x10]
push eax
push 0x1178f20c
push ebx
push edi
call fcn.116c0450
add esp, 0x14
xor esi, esi
jmp 0x116aa688
lea ecx, [esp + 0xc]
push ecx
call fcn.116bfde7
add esp, 4
cmp ebx, eax
jbe 0x116aa688
lea edx, [esp + 0xc]
push edx
push edi
call fcn.116c037f
add esp, 8
xor esi, esi
jmp 0x116aa688
mov esi, 0x57
jmp 0x116aa688
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
mov dword [0x117bea3c], esi
je 0x116aa699
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 0x116aa7b0
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 0x116aa870
lea ecx, [esp + 0xc]
push 0x5c
push ecx
call fcn.116c0315
add esp, 8
test eax, eax
je 0x116aa7ff
mov word [eax], 0
mov edi, dword [esp + 0x218]
test edi, edi
je 0x116aa869
mov ebx, dword [esp + 0x21c]
test ebx, ebx
je 0x116aa869
lea edx, [esp + 0xc]
test edx, edx
je 0x116aa869
mov eax, dword [esp + 0x220]
mov esi, 0x7a
test eax, eax
je 0x116aa846
push eax
lea eax, [esp + 0x10]
push eax
push 0x1178f20c
push ebx
push edi
call fcn.116c0450
add esp, 0x14
xor esi, esi
jmp 0x116aa878
lea ecx, [esp + 0xc]
push ecx
call fcn.116bfde7
add esp, 4
cmp ebx, eax
jbe 0x116aa878
lea edx, [esp + 0xc]
push edx
push edi
call fcn.116c037f
add esp, 8
xor esi, esi
jmp 0x116aa878
mov esi, 0x57
jmp 0x116aa878
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
mov dword [0x117bea3c], esi
je 0x116aa889
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 0x116aa8a0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x1176fa45
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 0x116aa9b3
lea edx, [esp + 0x14]
push 0x5c
push edx
call fcn.116c0315
add esp, 8
cmp eax, ebx
je 0x116aa934
mov word [eax], bx
lea eax, [esp + 0x21c]
test eax, eax
je 0x116aa9ac
lea ecx, [esp + 0x14]
test ecx, ecx
je 0x116aa9ac
mov eax, dword [esp + 0x438]
mov esi, 0x7a
cmp eax, ebx
je 0x116aa97d
lea edx, [esp + 0x14]
push eax
push edx
push 0x1178f20c
lea eax, [esp + 0x228]
push 0x104
push eax
call fcn.116c0450
add esp, 0x14
xor esi, esi
mov eax, esi
jmp 0x116aa9b9
lea ecx, [esp + 0x14]
push ecx
call fcn.116bfde7
add esp, 4
cmp eax, 0x104
jae 0x116aa9a8
lea edx, [esp + 0x14]
lea eax, [esp + 0x21c]
push edx
push eax
call fcn.116c037f
add esp, 8
xor esi, esi
mov eax, esi
jmp 0x116aa9b9
mov eax, 0x57
jmp 0x116aa9b9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
mov dword [0x117bea3c], eax
je 0x116aa9cb
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x116aa9dc
lea ecx, [esp + 0x21c]
push ecx
lea ecx, [esp + 0x10]
call fcn.116857f0
mov esi, dword [esp + 0x434]
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call fcn.11684b70
mov dword [esp + 0x10], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x42c], bl
call fcn.11685570
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 0x116aaae0
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 0x116aab84
mov edi, dword [esp + 0x218]
test edi, edi
je 0x116aab7d
mov ebx, dword [esp + 0x21c]
test ebx, ebx
je 0x116aab7d
lea ecx, [esp + 0xc]
test ecx, ecx
je 0x116aab7d
mov eax, dword [esp + 0x220]
mov esi, 0x7a
test eax, eax
je 0x116aab5a
lea edx, [esp + 0xc]
push eax
push edx
push 0x1178f20c
push ebx
push edi
call fcn.116c0450
add esp, 0x14
xor esi, esi
jmp 0x116aab8c
lea eax, [esp + 0xc]
push eax
call fcn.116bfde7
add esp, 4
cmp ebx, eax
jbe 0x116aab8c
lea ecx, [esp + 0xc]
push ecx
push edi
call fcn.116c037f
add esp, 8
xor esi, esi
jmp 0x116aab8c
mov esi, 0x57
jmp 0x116aab8c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
mov dword [0x117bea3c], esi
je 0x116aab9d
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 0x116aaca0
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 0x116aad44
mov edi, dword [esp + 0x218]
test edi, edi
je 0x116aad3d
mov ebx, dword [esp + 0x21c]
test ebx, ebx
je 0x116aad3d
lea ecx, [esp + 0xc]
test ecx, ecx
je 0x116aad3d
mov eax, dword [esp + 0x220]
mov esi, 0x7a
test eax, eax
je 0x116aad1a
lea edx, [esp + 0xc]
push eax
push edx
push 0x1178f20c
push ebx
push edi
call fcn.116c0450
add esp, 0x14
xor esi, esi
jmp 0x116aad4c
lea eax, [esp + 0xc]
push eax
call fcn.116bfde7
add esp, 4
cmp ebx, eax
jbe 0x116aad4c
lea ecx, [esp + 0xc]
push ecx
push edi
call fcn.116c037f
add esp, 8
xor esi, esi
jmp 0x116aad4c
mov esi, 0x57
jmp 0x116aad4c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
mov dword [0x117bea3c], esi
je 0x116aad5d
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 0x116aad70
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x1176fa95
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 0x116aae69
lea edx, [esp + 0x21c]
test edx, edx
je 0x116aae62
lea eax, [esp + 0x14]
test eax, eax
je 0x116aae62
mov eax, dword [esp + 0x438]
mov esi, 0x7a
cmp eax, ebx
je 0x116aae33
lea ecx, [esp + 0x14]
push eax
push ecx
push 0x1178f20c
lea edx, [esp + 0x228]
push 0x104
push edx
call fcn.116c0450
add esp, 0x14
xor esi, esi
mov eax, esi
jmp 0x116aae6f
lea eax, [esp + 0x14]
push eax
call fcn.116bfde7
add esp, 4
cmp eax, 0x104
jae 0x116aae5e
lea ecx, [esp + 0x14]
lea edx, [esp + 0x21c]
push ecx
push edx
call fcn.116c037f
add esp, 8
xor esi, esi
mov eax, esi
jmp 0x116aae6f
mov eax, 0x57
jmp 0x116aae6f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
mov dword [0x117bea3c], eax
je 0x116aae81
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x116aae92
lea eax, [esp + 0x21c]
lea ecx, [esp + 0xc]
push eax
call fcn.116857f0
mov esi, dword [esp + 0x434]
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.11684b70
mov dword [esp + 0x10], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x42c], bl
call fcn.11685570
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 0x116b07a0
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 0x116b07c1
push 0x57
mov dword [0x117bea3c], 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 0x116b07f2
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x116b07f2
test al, 0x10
jne 0x116b07f2
test al, 1
je 0x116b07bc
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 0x116b0860
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 0x116b0881
push 0x57
mov dword [0x117bea3c], 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 0x116b08b2
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x116b08b2
test al, 0x10
jne 0x116b08b2
test al, 1
je 0x116b087c
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 0x116b2970
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 0x116b298c
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.116c0a60
lea ecx, [esp + 0x1c]
push 0x5c
push ecx
call fcn.116c0ba0
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 0x116b2a10
cmp byte [esp + 0x10], 0x5c
jne 0x116b2a10
cmp byte [esp + 0x11], 0x5c
jne 0x116b2a10
lea edx, [esp + 0x12]
push 0x5c
push edx
call fcn.116c0ba0
add esp, 8
test eax, eax
je 0x116b2a8e
inc eax
push 0x5c
push eax
call fcn.116c0ba0
add esp, 8
mov esi, eax
test esi, esi
je 0x116b2a8e
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 0x116b2a52
test bl, 1
je 0x116b2a41
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 0x116b2ac4
cmp ebx, 0xffffffff
je 0x116b2a5b
test edi, edi
jne 0x116b2a6a
lea ecx, [esp + 0x10]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ebp, eax
test ebp, ebp
je 0x116b2ac4
mov byte [esi], 0x5c
inc esi
push 0x5c
push esi
call fcn.116c0ba0
mov esi, eax
add esp, 8
test esi, esi
jne 0x116b2a14
test ebp, ebp
je 0x116b2ac4
mov ebx, dword [esp + 0x21c]
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x116b2ab9
test al, 0x10
jne 0x116b2ac4
test al, 1
je 0x116b2aac
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 0x116b2ac4
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 0x116b2ae0
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 0x116b2afc
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.116c03a4
mov edi, 0x5c
lea ecx, [esp + 0x1c]
push edi
push ecx
call fcn.116c0ce0
lea edx, [esp + 0x24]
mov esi, eax
push edx
call fcn.116bfde7
add esp, 0x18
cmp eax, 2
jbe 0x116b2b81
cmp word [esp + 0x10], di
jne 0x116b2b81
cmp word [esp + 0x12], di
jne 0x116b2b81
lea eax, [esp + 0x14]
push edi
push eax
call fcn.116c0ce0
add esp, 8
test eax, eax
je 0x116b2c09
add eax, 2
push edi
push eax
call fcn.116c0ce0
add esp, 8
mov esi, eax
test esi, esi
je 0x116b2c09
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 0x116b2bc9
test bl, 1
je 0x116b2bb8
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 0x116b2c3f
cmp ebx, 0xffffffff
je 0x116b2bd2
test edi, edi
jne 0x116b2be1
lea edx, [esp + 0x10]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ebp, eax
test ebp, ebp
je 0x116b2c3f
mov word [esi], 0x5c
add esi, 2
push 0x5c
push esi
call fcn.116c0ce0
mov esi, eax
add esp, 8
test esi, esi
jne 0x116b2b89
test ebp, ebp
je 0x116b2c3f
mov ebx, dword [esp + 0x424]
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x116b2c34
test al, 0x10
jne 0x116b2c3f
test al, 1
je 0x116b2c27
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 0x116b2c3f
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 0x116b3640
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 0x116b3689
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 0x116b37f9
cmp word [ebx + 0x2c], 0x2e
lea ecx, [ebx + 0x2c]
jne 0x116b36c5
mov ax, word [ebx + 0x2e]
test ax, ax
je 0x116b37c9
cmp ax, 0x2e
jne 0x116b36c5
cmp word [ebx + 0x30], 0
je 0x116b37c9
push ecx
call fcn.116bfde7
mov ecx, dword [esp + 0x1c]
mov ebx, eax
add esp, 4
lea eax, [ebx + 1]
cmp ecx, eax
jb 0x116b37c2
mov ecx, dword [esp + 0x278]
mov word [esi + ebp*2 - 2], 0
lea eax, [ecx + 0x2c]
push eax
push esi
call fcn.116c0355
mov al, byte [esp + 0x284]
add esp, 8
test al, 0x10
je 0x116b371e
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 0x116b3785
test byte [esp + 0x27c], 0x40
jne 0x116b3785
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.116b3640
add esp, 0x18
mov edi, eax
test byte [esp + 0x27c], 0x20
je 0x116b37b5
test edi, edi
je 0x116b37b5
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 0x116b37e1
mov eax, dword [esp + 0x10]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x116b368f
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 0x116b37c9