Function at 0x1008db35
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
sub esp, 0x250
lea ebp, [esp - 4]
mov eax, dword [0x1019c8c8]
xor eax, ebp
mov dword [ebp + 0x250], eax
push 0x68
mov eax, 0x10141ed9
call fcn.101018b2
lea eax, [ebp - 0x1c]
xor edi, edi
push eax
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x10], edi
call fcn.10040a9f
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], edi
mov dword [esp], 0x10156f70
call fcn.1000587e
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x60]
push eax
mov byte [ebp - 4], 1
call fcn.1000c751
mov eax, dword [eax]
lea ecx, [ebp]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x40], eax
sete bl
call fcn.100015d9
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0
call fcn.100015d9
test bl, bl
jne 0x1008df44
mov ecx, 0x101594f0
lea eax, [ebp + 0x2c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1008dbee
cmp dx, di
je 0x1008dbea
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1008dbee
add eax, 4
add ecx, 4
cmp dx, di
jne 0x1008dbc8
xor eax, eax
jmp 0x1008dbf3
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x1008df26
mov ecx, 0x101594e8
lea eax, [ebp + 0x2c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1008dc29
cmp dx, di
je 0x1008dc25
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1008dc29
add eax, 4
add ecx, 4
cmp dx, di
jne 0x1008dc03
xor eax, eax
jmp 0x1008dc2e
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x1008df26
lea eax, [ebp + 0x2c]
push eax
lea ecx, [ebp - 0x14]
call fcn.1000587e
push 4
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.1000e753
or dword [ebp - 0x10], 1
push 0x101594dc
push dword [eax]
call fcn.10002de4
test eax, eax
pop ecx
pop ecx
jne 0x1008dc94
push str.custom.xml
push dword [ebp - 0x14]
call fcn.10101e50
test eax, eax
pop ecx
pop ecx
je 0x1008dc94
push str.hao123.xml
push dword [ebp - 0x14]
call fcn.10101e50
test eax, eax
pop ecx
pop ecx
je 0x1008dc94
xor bl, bl
jmp 0x1008dc96
mov bl, 1
test byte [ebp - 0x10], 1
je 0x1008dca8
and dword [ebp - 0x10], 0xfffffffe
lea ecx, [ebp - 0x5c]
call fcn.100015d9
test bl, bl
jne 0x1008df1a
mov dword [ebp - 0x18], edi
lea eax, [ebp + 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x58]
push eax
mov byte [ebp - 4], 3
call fcn.100058db
mov eax, dword [eax]
or dword [ebp - 0x10], 2
lea ecx, [ebp - 0x18]
push ecx
push eax
mov byte [ebp - 4], 4
call fcn.100e70df
pop ecx
test eax, eax
mov eax, dword [ebp - 0x18]
pop ecx
jl 0x1008dce9
cmp eax, edi
jne 0x1008dceb
mov bl, 1
test byte [ebp - 0x10], 2
mov dword [ebp - 4], 3
je 0x1008dd07
and dword [ebp - 0x10], 0xfffffffd
lea ecx, [ebp - 0x58]
call fcn.100015d9
mov eax, dword [ebp - 0x18]
test bl, bl
jne 0x1008df0c
mov dword [ebp - 0x28], edi
mov ecx, dword [eax]
lea edx, [ebp - 0x28]
push edx
push 0x10158d3c
push eax
mov byte [ebp - 4], 5
call dword [ecx + 0x94]
cmp dword [ebp - 0x28], edi
je 0x1008df09
push dword [ebp - 0x28]
lea ecx, [ebp - 0x38]
call fcn.1003bd40
lea eax, [ebp + 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x4c]
push eax
mov byte [ebp - 4], 6
call fcn.100058db
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 7
call fcn.100408fa
pop ecx
pop ecx
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 9
call fcn.100015d9
lea eax, [ebp - 0x30]
push eax
push 0x1019e10c
lea eax, [ebp - 0x48]
push eax
call fcn.1000c751
push 0x10152f84
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
call fcn.1000587e
mov dword [ebp - 0x20], edi
mov esi, dword [ebp - 0x18]
push 0x10158d18
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xc
call fcn.100164bd
mov eax, dword [eax]
mov ecx, dword [esi]
lea edx, [ebp - 0x20]
push edx
push eax
push esi
mov byte [ebp - 4], 0xd
call dword [ecx + 0x94]
push dword [ebp - 0x68]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
cmp dword [ebp - 0x20], edi
je 0x1008de24
push dword [ebp - 0x20]
lea ecx, [ebp - 0x3c]
call fcn.1003bd40
mov dword [ebp - 0x34], edi
mov eax, dword [ebp - 0x3c]
cmp eax, edi
mov byte [ebp - 4], 0xf
je 0x1008de0e
mov ecx, dword [eax]
lea edx, [ebp - 0x34]
push edx
push eax
call dword [ecx + 0x68]
push dword [ebp - 0x34]
lea ecx, [ebp - 0x50]
call fcn.1000587e
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x10
call fcn.10005459
lea ecx, [ebp - 0x50]
call fcn.100015d9
push dword [ebp - 0x34]
call esi
mov eax, dword [ebp - 0x3c]
cmp eax, edi
mov byte [ebp - 4], 0xc
je 0x1008de24
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x24], edi
push edi
push ecx
lea eax, [ebp - 0x2c]
mov ecx, esp
mov dword [ebp - 0x6c], esp
push eax
mov byte [ebp - 4], 0x11
call fcn.1000584b
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x38]
lea eax, [ebp - 0x30]
push ecx
mov ecx, esp
mov dword [ebp - 0x74], esp
push eax
mov byte [ebp - 4], 0x12
call fcn.1000584b
push ecx
lea eax, [ebp - 0x48]
mov ecx, esp
mov dword [ebp - 0x70], esp
push eax
mov byte [ebp - 4], 0x13
call fcn.1000584b
mov byte [ebp - 4], 0x11
call fcn.10040b3b
add esp, 0x18
cmp dword [ebp - 0x24], edi
je 0x1008dead
push dword [ebp - 0x24]
lea ecx, [ebp - 0x44]
call fcn.1000b131
mov ecx, dword [ebp - 0x44]
cmp ecx, edi
mov byte [ebp - 4], 0x14
je 0x1008de9f
mov eax, dword [ebp - 0x54]
add eax, 8
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x14]
mov ecx, dword [ebp - 0x44]
cmp ecx, edi
mov byte [ebp - 4], 0x11
je 0x1008dead
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x24]
cmp eax, edi
mov byte [ebp - 4], 0xc
je 0x1008debe
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
cmp eax, edi
mov byte [ebp - 4], 0xb
je 0x1008decf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x2c]
call fcn.100015d9
lea ecx, [ebp - 0x48]
call fcn.100015d9
lea ecx, [ebp - 0x30]
call fcn.100015d9
mov eax, dword [ebp - 0x38]
cmp eax, edi
mov byte [ebp - 4], 5
je 0x1008def8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x28]
cmp eax, edi
mov byte [ebp - 4], 3
je 0x1008df09
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
cmp eax, edi
mov byte [ebp - 4], 2
je 0x1008df1a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.100015d9
lea eax, [ebp]
push eax
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1008dbc0
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x1c]
call fcn.100015d9
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x250]
xor ecx, ebp
call fcn.101018a3
add ebp, 0x254
leave
ret