Function at 0x10038c80
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x1007cf27
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1a0
mov eax, dword [0x10098a04]
push ebp
push edi
mov ecx, 0x10098a04
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 8], eax
mov edx, dword [0x10098a04]
mov ecx, 0x10098a04
mov dword [esp + 0x1b0], 0
call dword [edx + 0xc]
lea ebp, [eax + 0x10]
mov dword [esp + 0x10], ebp
mov eax, dword [0x10098a04]
mov ecx, 0x10098a04
mov byte [esp + 0x1b0], 1
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1b0], 2
call fcn.10051d20
mov ecx, 0x10096d7c
mov byte [esp + 0x1b0], 3
call fcn.1002c4b0
mov edi, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov ecx, 1
sub ecx, edi
sub eax, 0x104
or eax, ecx
jge 0x10038d38
push 0x104
lea ecx, [esp + 0x14]
call fcn.100029f0
mov ebp, dword [esp + 0x10]
mov ecx, dword [0x10098990]
push 0x104
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test ebp, ebp
jne 0x10038d53
xor eax, eax
jmp 0x10038d67
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10038d58
sub eax, edx
js 0x10038f8f
cmp eax, dword [ebp - 8]
jg 0x10038f8f
push 0x5c
mov dword [ebp - 0xc], eax
push ebp
mov byte [eax + ebp], 0
call fcn.10069f52
add esp, 8
test eax, eax
jne 0x10038d8b
or eax, 0xffffffff
jmp 0x10038d8d
sub eax, ebp
push eax
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x18]
call fcn.10008ae0
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x10]
push str._s_theme
push ecx
mov byte [esp + 0x1bc], 4
call fcn.10004e20
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 0xc
mov byte [esp + 0x1b0], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10038ddf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0xc]
push ebx
push 0x10083a58
push eax
lea ecx, [esp + 0x14]
push 0x10083a50
push ecx
call fcn.10004e20
mov eax, dword [esp + 0x1c]
add esp, 0x10
lea edx, [esp + 0x6c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x10038ef0
push esi
mov edi, 0x10082cc0
lea esi, [esp + 0x9c]
mov ecx, 2
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x10038e69
mov edi, 0x10083a4c
lea esi, [esp + 0x9c]
mov ecx, 3
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x10038e69
push eax
push 1
lea ecx, [esp + 0xa4]
push ecx
lea ecx, [esp + 0x2c]
call fcn.10051f40
lea edx, [esp + 0x20]
push edx
mov ecx, 0x10096d7c
call fcn.10038bf0
lea eax, [esp + 0x70]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x10038ee8
lea esp, [esp]
mov edi, 0x10082cc0
lea esi, [esp + 0x9c]
mov ecx, 2
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x10038ed8
mov edi, 0x10083a4c
lea esi, [esp + 0x9c]
mov ecx, 3
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x10038ed8
test byte [esp + 0x70], 0x10
je 0x10038ed8
push edx
push 1
lea ecx, [esp + 0xa4]
push ecx
lea ecx, [esp + 0x2c]
call fcn.10051f40
lea edx, [esp + 0x20]
push edx
mov ecx, 0x10096d7c
call fcn.10038bf0
lea eax, [esp + 0x70]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10038e80
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
pop esi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1b4], 2
call fcn.10051b40
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x1b4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop ebx
jg 0x10038f28
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebp - 0x10]
mov byte [esp + 0x1b0], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10038f4a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 8]
add eax, 0xfffffff0
mov dword [esp + 0x1b0], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10038f73
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x1a8]
pop edi
mov eax, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0x1ac
ret
push 0x80070057
call fcn.10001330
int3