Function at 0x100366b0
Capabilities:
Enumerate files on windows
Get file size
Get file system object information
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7ac
mov eax, dword [0x101a49d4]
xor eax, esp
mov dword [esp + 0x7a8], eax
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x14], edx
mov ecx, dword [edx + 0x10]
xor ebx, ebx
mov eax, 0x7ffffffe
mov dword [esp + 0xc], esi
sub eax, ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x28c], ebx
mov dword [esp + 0x29c], ebx
mov dword [esp + 0x2a0], 7
push edi
cmp eax, 2
jb 0x100370a9
cmp dword [edx + 0x14], 8
mov eax, edx
jb 0x10036713
mov eax, dword [edx]
push 2
push 0x1018fe74
push ecx
push eax
push ecx
push dword [esp + 0x24]
lea ecx, [esp + 0x260]
call fcn.1005dba0
cmp dword [esp + 0x25c], 8
lea ecx, [esp + 0x2a8]
lea eax, [esp + 0x248]
cmovae eax, dword [esp + 0x248]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edx, dword [esp + 0x25c]
mov edi, eax
mov dword [esp + 0x14], edi
cmp edx, 8
jb 0x1003679b
mov ecx, dword [esp + 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10036791
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100370ae
push edx
push ecx
call fcn.1011a823
add esp, 8
xor eax, eax
mov dword [esp + 0x258], ebx
mov dword [esp + 0x25c], 7
mov word [esp + 0x248], ax
cmp edi, 0xffffffff
jne 0x100367d0
mov dword [esi], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
jmp 0x1003707a
lea eax, [esp + 0x2d4]
mov dword [esp + 0x1e8], 0
mov dword [esp + 0x1f8], 0
lea edx, [eax + 2]
mov dword [esp + 0x1fc], 7
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10036800
sub eax, edx
lea ecx, [esp + 0x1e8]
sar eax, 1
push eax
lea eax, [esp + 0x2d8]
push eax
call fcn.10051fd0
mov edi, dword [esp + 0x1fc]
lea ecx, [esp + 0x1e8]
mov esi, dword [esp + 0x1e8]
cmp edi, 8
mov eax, dword [esp + 0x1f8]
cmovae ecx, esi
cmp eax, 1
jne 0x10036868
push eax
mov edx, 0x1018e20c
call fcn.10056450
add esp, 4
test eax, eax
je 0x10037010
mov eax, dword [esp + 0x1f8]
cmp edi, 8
lea ecx, [esp + 0x1e8]
cmovae ecx, esi
cmp eax, 2
jne 0x10036890
push eax
mov edx, 0x1018e210
call fcn.10056450
add esp, 4
test eax, eax
je 0x10037010
test byte [esp + 0x2a8], 0x10
jne 0x10037010
mov edx, dword [esp + 0x18]
mov eax, 0x7ffffffe
mov ecx, dword [edx + 0x10]
sub eax, ecx
cmp eax, 1
jb 0x100370a9
cmp dword [edx + 0x14], 8
mov eax, edx
jb 0x100368bf
mov eax, dword [edx]
push 1
push 0x1018f43c
push ecx
push eax
push ecx
push dword [esp + 0x24]
lea ecx, [esp + 0x230]
call fcn.1005dba0
cmp dword [esp + 0x1fc], 8
lea eax, [esp + 0x1e8]
push dword [esp + 0x1f8]
cmovae eax, dword [esp + 0x1ec]
lea ecx, [esp + 0x21c]
push eax
call fcn.100520e0
mov esi, eax
mov dword [esp + 0x200], 0
push 0x18
lea eax, [esp + 0x204]
mov dword [esp + 0x214], 0
push esi
push eax
mov dword [esp + 0x220], 0
call fcn.1011b630
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
add esp, 0xc
mov word [esi], ax
mov edx, dword [esp + 0x22c]
cmp edx, 8
jb 0x1003698f
mov ecx, dword [esp + 0x218]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10036985
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100370ae
push edx
push ecx
call fcn.1011a823
add esp, 8
cmp dword [esp + 0x214], 8
lea eax, [esp + 0x200]
push 0
cmovae eax, dword [esp + 0x204]
push 0x80
push 3
push 0
push 1
push connect
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x10036fc0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x20]
push eax
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
lea eax, [esp + 0x1d8]
push eax
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
lea ecx, [esp + 0x7c]
call fcn.10050070
mov eax, dword [esp + 0x88]
mov ecx, 0x30
mov eax, dword [eax + 4]
mov word [esp + eax + 0xc8], cx
lea ecx, [esp + 0x88]
push dword [esp + 0x1d8]
call fcn.100507d0
mov edx, 0x1018e190
mov ecx, eax
call fcn.10059140
push 0
mov esi, eax
lea eax, [esp + 0x2c]
push 2
push eax
call fcn.101080a6
mov ecx, dword [esi]
add esp, 0xc
push dword [eax + 0xc]
mov ecx, dword [ecx + 4]
push dword [eax + 8]
mov eax, dword [eax]
add ecx, esi
push ecx
call eax
add esp, 0xc
mov ecx, esi
push dword [esp + 0x1da]
call fcn.100507d0
mov edx, 0x1018e190
mov ecx, eax
call fcn.10059140
push 0
mov esi, eax
lea eax, [esp + 0x3c]
push 2
push eax
call fcn.101080a6
mov ecx, dword [esi]
add esp, 0xc
push dword [eax + 0xc]
mov ecx, dword [ecx + 4]
push dword [eax + 8]
mov eax, dword [eax]
add ecx, esi
push ecx
call eax
add esp, 0xc
mov ecx, esi
push dword [esp + 0x1de]
call fcn.100507d0
mov edx, 0x1018e18c
mov ecx, eax
call fcn.10059140
push 0
mov esi, eax
lea eax, [esp + 0x4c]
push 2
push eax
call fcn.101080a6
add esp, 0xc
mov ecx, dword [esi]
push dword [eax + 0xc]
push dword [eax + 8]
mov ecx, dword [ecx + 4]
mov eax, dword [eax]
add ecx, esi
push ecx
call eax
add esp, 0xc
mov ecx, esi
push dword [esp + 0x1e0]
call fcn.100507d0
mov edx, 0x1018e188
mov ecx, eax
call fcn.10059140
push 0
mov esi, eax
lea eax, [esp + 0x5c]
push 2
push eax
call fcn.101080a6
mov ecx, dword [esi]
add esp, 0xc
push dword [eax + 0xc]
mov ecx, dword [ecx + 4]
push dword [eax + 8]
mov eax, dword [eax]
add ecx, esi
push ecx
call eax
add esp, 0xc
mov ecx, esi
push dword [esp + 0x1e2]
call fcn.100507d0
mov edx, 0x1018e188
mov ecx, eax
call fcn.10059140
push 0
mov esi, eax
lea eax, [esp + 0x6c]
push 2
push eax
call fcn.101080a6
mov ecx, dword [esi]
add esp, 0xc
push dword [eax + 0xc]
mov ecx, dword [ecx + 4]
push dword [eax + 8]
mov eax, dword [eax]
add ecx, esi
push ecx
call eax
add esp, 0xc
mov ecx, esi
push dword [esp + 0x1e4]
call fcn.100507d0
push 0x2b4
lea eax, [esp + 0x4fc]
push 0
push eax
call fcn.1011ce00
add esp, 0xc
lea ecx, [esp + 0x4f8]
cmp dword [esp + 0x214], 8
lea eax, [esp + 0x200]
cmovae eax, dword [esp + 0x200]
push 0x410
push 0x2b4
push ecx
push 0
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push ecx
lea ecx, [esp + 0x12c]
call fcn.10050070
cmp dword [esp + 0x1fc], 8
lea edi, [esp + 0x1e8]
mov esi, dword [esp + 0x1f8]
cmovae edi, dword [esp + 0x1e8]
test esi, esi
je 0x10036c22
mov eax, esi
xor edx, edx
mov ecx, edi
test eax, eax
je 0x10036c18
cmp word [edi], 0x2e
je 0x10036c16
cmp eax, 1
je 0x10036c18
add ecx, 2
dec eax
cmp word [ecx], 0x2e
jne 0x10036c07
mov edx, ecx
test edx, edx
je 0x10036c22
sub edx, edi
sar edx, 1
jmp 0x10036c25
or edx, 0xffffffff
inc edx
mov dword [esp + 0x230], 0
mov dword [esp + 0x240], 0
mov dword [esp + 0x244], 7
cmp esi, edx
jb 0x100370a4
sub esi, edx
lea eax, [esp + 0x1e8]
or ecx, 0xffffffff
cmp esi, 0xffffffff
cmovb ecx, esi
cmp dword [esp + 0x1fc], 8
push ecx
cmovae eax, dword [esp + 0x1ec]
lea ecx, [esp + 0x234]
lea eax, [eax + edx*2]
push eax
call fcn.10051fd0
cmp dword [esp + 0x244], 8
lea ecx, [esp + 0x230]
cmovae ecx, dword [esp + 0x230]
cmp dword [esp + 0x240], 3
jne 0x10036cd9
push 3
mov edx, 0x1018ffc0
call fcn.10056450
add esp, 4
test eax, eax
jne 0x10036cd9
sub esp, 0x18
lea eax, [esp + 0x218]
mov ecx, esp
or ebx, 2
push eax
call fcn.10052530
lea ecx, [esp + 0x290]
call fcn.100350c0
jmp 0x10036cfa
sub esp, 0x18
lea eax, [esp + 0x218]
mov ecx, esp
or ebx, 1
push eax
call fcn.10052530
lea ecx, [esp + 0x230]
call fcn.10034a80
add esp, 0x18
lea ecx, [esp + 0x78]
mov esi, eax
lea eax, [esp + 0x260]
push eax
call fcn.1004ffd0
cmp dword [esp + 0x1fc], 8
lea edx, [esp + 0x1e8]
push dword [esp + 0x1f8]
cmovae edx, dword [esp + 0x1ec]
lea ecx, [esp + 0x13c]
mov edi, eax
call fcn.1005eac0
add esp, 4
mov edx, 0x1018f8a4
mov ecx, eax
call fcn.10059140
push dword [esp + 0x1c]
mov ecx, eax
call fcn.100504d0
mov edx, 0x1018f8a4
mov ecx, eax
call fcn.10059140
cmp dword [esi + 0x14], 8
mov ecx, dword [esi + 0x10]
jb 0x10036d6d
mov esi, dword [esi]
push ecx
mov edx, esi
mov ecx, eax
call fcn.1005eac0
add esp, 4
mov edx, 0x1018ffbc
mov ecx, eax
call fcn.10059350
cmp dword [edi + 0x14], 8
mov ecx, dword [edi + 0x10]
jb 0x10036d91
mov edi, dword [edi]
push ecx
mov edx, edi
mov ecx, eax
call fcn.1005eac0
add esp, 4
mov edx, 0x1018f8a4
mov ecx, eax
call fcn.10059140
lea edx, [esp + 0x70c]
mov ecx, eax
call fcn.10059140
mov edx, 0x1018f8a8
mov ecx, eax
call fcn.10059140
mov edx, dword [esp + 0x274]
cmp edx, 8
jb 0x10036e06
mov ecx, dword [esp + 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10036dfc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100370ae
push edx
push ecx
call fcn.1011a823
add esp, 8
xor eax, eax
mov dword [esp + 0x270], 0
mov dword [esp + 0x274], 7
mov word [esp + 0x260], ax
test bl, 2
je 0x10036e90
mov edx, dword [esp + 0x28c]
and ebx, 0xfffffffd
cmp edx, 8
jb 0x10036e70
mov ecx, dword [esp + 0x278]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10036e66
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100370ae
push edx
push ecx
call fcn.1011a823
add esp, 8
xor eax, eax
mov dword [esp + 0x288], 0
mov dword [esp + 0x28c], 7
mov word [esp + 0x278], ax
test bl, 1
je 0x10036efa
mov edx, dword [esp + 0x22c]
and ebx, 0xfffffffe
cmp edx, 8
jb 0x10036eda
mov ecx, dword [esp + 0x218]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10036ed0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100370ae
push edx
push ecx
call fcn.1011a823
add esp, 8
xor eax, eax
mov dword [esp + 0x228], 0
mov dword [esp + 0x22c], 7
mov word [esp + 0x218], ax
mov edx, dword [esp + 0x244]
cmp edx, 8
jb 0x10036f3c
mov ecx, dword [esp + 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10036f32
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100370ae
push edx
push ecx
call fcn.1011a823
add esp, 8
lea eax, [esp + 0x218]
push eax
lea ecx, [esp + 0x12c]
call fcn.1004ffd0
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x10036f5b
mov eax, dword [eax]
push ecx
push eax
lea ecx, [esp + 0x298]
call fcn.100520e0
mov edx, dword [esp + 0x22c]
cmp edx, 8
jb 0x10036fab
mov ecx, dword [esp + 0x218]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10036fa1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100370ae
push edx
push ecx
call fcn.1011a823
add esp, 8
lea ecx, [esp + 0x128]
call fcn.10024230
lea ecx, [esp + 0x78]
call fcn.10024230
mov edx, dword [esp + 0x214]
cmp edx, 8
jb 0x10037002
mov ecx, dword [esp + 0x200]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10036ff8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100370ae
push edx
push ecx
call fcn.1011a823
add esp, 8
mov esi, dword [esp + 0x1e8]
mov edi, dword [esp + 0x1fc]
cmp edi, 8
jb 0x10037040
lea edi, [edi*2 + 2]
mov eax, esi
cmp edi, 0x1000
jb 0x10037036
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100370ae
push edi
push esi
call fcn.1011a823
add esp, 8
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x2a8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x100367d0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [esp + 0x10]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
push 0x18
lea eax, [esp + 0x294]
push eax
push esi
call fcn.1011b630
mov ecx, dword [esp + 0x7c0]
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1011a2e1
mov esp, ebp
pop ebp
ret
call fcn.10058770
call fcn.10021260
call fcn.10125fc5
int3