Function at 0x100014f0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10008a9c
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x1000c070]
xor eax, esp
mov dword [esp + 0x270], eax
push ebx
push esi
push edi
mov eax, dword [0x1000c070]
xor eax, esp
push eax
lea eax, [esp + 0x288]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x24], eax
mov eax, dword [0x1000d8f0]
mov dword [eax], 0
mov edx, dword [section..data]
mov dword [esp + 0x20], eax
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x18], edi
mov dword [esp + 0x290], 0
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x14], ebx
mov byte [esp + 0x290], 1
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov byte [esp + 0x290], 2
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, 0x104
or eax, ecx
jge 0x100015cc
mov eax, 0x104
lea ecx, [esp + 0x18]
call fcn.10001dc0
mov edi, dword [esp + 0x18]
push 0x104
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [edi - 8]
push eax
push edi
call fcn.100029a7
add esp, 8
test eax, eax
js 0x100019db
cmp eax, dword [edi - 8]
jg 0x100019db
xor ecx, ecx
push 0x5c
mov dword [edi - 0xc], eax
push edi
mov word [edi + eax*2], cx
call fcn.10002901
add esp, 8
test eax, eax
jne 0x10001615
or eax, 0xffffffff
jmp 0x10001619
sub eax, edi
sar eax, 1
inc eax
lea ecx, [esp + 0x28]
lea edx, [esp + 0x18]
call fcn.10001af0
mov byte [esp + 0x290], 3
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea edi, [ebx - 0x10]
cmp eax, edi
je 0x10001681
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x10001670
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x10001670
call fcn.10001e20
mov esi, eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x10001667
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
lea ebx, [esi + 0x10]
mov dword [esp + 0x14], ebx
jmp 0x10001681
mov edi, dword [ecx - 0xc]
push ecx
lea ebx, [esp + 0x18]
call fcn.10001cb0
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
lea eax, [ebx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x100016d1
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x100016c4
mov ecx, dword [eax]
cmp ecx, dword [esi]
jne 0x100016c4
call fcn.10001e20
mov ebx, eax
or edx, 0xffffffff
lock xadd dword [edi], edx
dec edx
test edx, edx
jg 0x100016bb
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
add ebx, 0x10
mov dword [esp + 0x10], ebx
jmp 0x100016d1
mov edi, dword [ebx - 0xc]
push ebx
lea ebx, [esp + 0x14]
call fcn.10001cb0
mov byte [esp + 0x290], 2
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100016f9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, str.ComDLL.dll
lea esi, [esp + 0x14]
call fcn.100019f0
mov ecx, str.ComDLL_
lea esi, [esp + 0x10]
call fcn.100019f0
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x2c]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0x1c], eax
cmp eax, 0xffffffff
je 0x100018b0
lea eax, [esp + 0x58]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10001740
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x5c]
push edx
lea ebx, [esp + 0x18]
call fcn.10001e90
mov esi, dword [esp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, dword [esp + 0x20]
mov dword [edi], eax
test eax, eax
je 0x10001872
push 0x1000b0e4
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10001796
mov ecx, dword [esp + 0x24]
push ecx
call eax
test eax, eax
jne 0x1000194f
mov edx, dword [edi]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp word [esp + 0x58], 0
mov dword [edi], 0
je 0x1000181e
xor ebx, ebx
mov edi, esi
cmp word [esi], bx
je 0x1000181e
movzx eax, word [edi]
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.1000292f
add esp, 8
test eax, eax
je 0x100017d3
test ebx, ebx
jne 0x100017d5
mov ebx, edi
jmp 0x100017d5
xor ebx, ebx
add edi, 2
cmp word [edi], 0
jne 0x100017b6
test ebx, ebx
je 0x1000181e
sub ebx, esi
sar ebx, 1
js 0x100019db
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, ebx
or eax, ecx
jge 0x1000180c
mov eax, ebx
lea ecx, [esp + 0x10]
call fcn.10001dc0
mov esi, dword [esp + 0x10]
cmp ebx, dword [esi - 8]
jg 0x100019db
xor ecx, ecx
mov dword [esi - 0xc], ebx
mov word [esi + ebx*2], cx
mov edi, dword [esp + 0x1c]
lea edx, [esp + 0x2c]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10001732
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
add esi, 0xfffffff0
or edx, 0xffffffff
lea ecx, [esi + 0xc]
mov byte [esp + 0x290], 1
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10001861
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov byte [esp + 0x290], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
jmp 0x100018e3
cmp word [esp + 0x58], 0
je 0x1000181e
xor ebx, ebx
mov edi, esi
cmp word [esi], bx
je 0x1000181e
movzx eax, word [edi]
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.1000292f
add esp, 8
test eax, eax
je 0x100018a0
test ebx, ebx
jne 0x100018a2
mov ebx, edi
jmp 0x100018a2
xor ebx, ebx
add edi, 2
cmp word [edi], 0
jne 0x10001883
jmp 0x100017de
mov byte [esp + 0x290], 1
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100018d8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x290], 0
lea eax, [esi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100018fc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x290], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10001927
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x288]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x270]
xor ecx, esp
call fcn.100028f2
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
add esi, 0xfffffff0
mov byte [esp + 0x290], 1
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x1000197e
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov byte [esp + 0x290], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100019a6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x290], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100019d1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x10001929
push 0x80070057
call fcn.100022c0
int3