Function at 0x425d30
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aab8d
mov eax, dword fs:[0]
push eax
sub esp, 0x6d4
mov eax, dword [0x5026c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x6dc], eax
xor ebx, ebx
mov dword [ebp - 0x6bc], ebx
call fcn.00425a40
push 0x208
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.00469a40
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.plugin.tpi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov eax, 0x5c
mov dword [ebp - 0x250], ebx
mov word [ebp - 0x254], ax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], ebx
push eax
mov dword [ebp - 0x24c], ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x104
jl 0x425df0
xor esi, esi
jmp 0x425ee3
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x680]
push 0x104
push eax
call fcn.00477da1
push eax
call fcn.004079f0
add esp, 0x10
lea eax, [ebp - 0x6ac]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x250], eax
cmp eax, 0xffffffff
jne 0x425e37
xor esi, esi
jmp 0x425ee3
push 0
lea eax, [ebp - 0x45c]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
jne 0x425e88
mov dword [ebp - 0x24c], eax
mov eax, dword [ebp - 0x250]
test eax, eax
je 0x425e7c
cmp eax, 0xffffffff
je 0x425e7c
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x250], 0
push 0x7b
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
jmp 0x425ee3
lea eax, [ebp - 0x45c]
push 0x5c
push eax
call fcn.0046a531
mov esi, eax
lea eax, [ebp - 0x45c]
push 0x2f
push eax
call fcn.0046a531
mov ecx, eax
add esp, 0x10
test ecx, ecx
jne 0x425eb9
test esi, esi
je 0x425ed4
lea ecx, [ebp - 0x45c]
test esi, esi
lea eax, [ebp - 0x45c]
cmovne eax, esi
cmp ecx, eax
jb 0x425ecf
xor eax, eax
mov word [ecx], ax
jmp 0x425ed4
xor ecx, ecx
mov word [eax], cx
mov dword [ebp - 0x24c], 1
mov esi, 1
call fcn.00415e40
mov ecx, eax
call fcn.00407e10
mov dword [ebp - 0x6e0], eax
test esi, esi
je 0x42658c
mov edi, dword [ebp - 0x6d0]
nop dword [eax]
nop word [eax + eax]
mov eax, dword [ebp - 0x6dc]
cmp dword [eax + 4], 0
jne 0x42658c
cmp dword [ebp - 0x24c], 0
je 0x425f6d
mov eax, dword [ebp - 0x6ac]
shr eax, 4
and eax, 1
je 0x425f65
cmp word [ebp - 0x680], 0x2e
jne 0x425f65
mov cx, word [ebp - 0x67e]
test cx, cx
je 0x42655d
cmp cx, 0x2e
jne 0x425f65
cmp word [ebp - 0x67c], 0
je 0x42655d
test eax, eax
jne 0x42655d
lea eax, [ebp - 0x45c]
push eax
lea ecx, [ebp - 0x6b4]
call fcn.00406000
mov eax, dword [ebp - 0x6b4]
mov byte [ebp - 4], 1
mov esi, dword [eax - 0xc]
mov dword [ebp - 0x6c0], esi
test esi, esi
je 0x4261ac
lea edx, [esi - 1]
test edx, edx
js 0x4265ef
cmp edx, esi
jg 0x4265ef
cmp word [eax + edx*2], 0x5c
je 0x426032
test edx, edx
js 0x4265ef
cmp edx, esi
jg 0x4265ef
cmp word [eax + edx*2], 0x2f
je 0x426032
add esi, 1
movzx ecx, word [ebp - 0x254]
mov dword [ebp - 0x6c4], ecx
js 0x4265ef
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, esi
or ecx, edx
jge 0x426004
push esi
lea ecx, [ebp - 0x6b4]
call fcn.00408a50
mov eax, dword [ebp - 0x6b4]
mov ecx, dword [ebp - 0x6c0]
mov edx, dword [ebp - 0x6c4]
mov word [eax + ecx*2], dx
mov eax, dword [ebp - 0x6b4]
cmp esi, dword [eax - 8]
jg 0x4265ef
mov dword [eax - 0xc], esi
xor ecx, ecx
mov eax, dword [ebp - 0x6b4]
mov word [eax + esi*2], cx
mov byte [ebp - 4], 3
call fcn.00408030
test eax, eax
je 0x4265fe
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
or ebx, 8
mov byte [ebp - 4], 2
cmp dword [ebp - 0x24c], 0
mov dword [ebp - 0x6bc], ebx
lea esi, [eax + 0x10]
mov dword [ebp - 0x6d8], esi
je 0x42609a
lea ecx, [ebp - 0x680]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x426072
sub ecx, edx
lea eax, [ebp - 0x680]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x6d8]
call fcn.00408f60
mov esi, dword [ebp - 0x6d8]
mov edx, dword [esi - 0xc]
lea eax, [esi - 0x10]
mov dword [ebp - 0x6b8], eax
mov ecx, esi
mov eax, dword [ebp - 0x6b4]
sub ecx, eax
sar ecx, 1
mov dword [ebp - 0x6d4], ecx
mov ecx, dword [eax - 0xc]
mov dword [ebp - 0x6c8], ecx
test edx, edx
js 0x4265ef
test esi, esi
jne 0x4260d1
xor edx, edx
jmp 0x4260e3
push edx
push esi
call fcn.0046d1db
mov edx, eax
add esp, 8
mov eax, dword [ebp - 0x6b4]
mov ecx, SysReAllocString
mov dword [ebp - 0x6c0], edx
sub ecx, edx
cmp ecx, dword [ebp - 0x6c8]
jl 0x4265ef
mov ecx, dword [ebp - 0x6c8]
add ecx, edx
mov dword [ebp - 0x6c4], ecx
js 0x4265ef
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, dword [ebp - 0x6c4]
or ecx, edx
jge 0x42613c
push dword [ebp - 0x6c4]
lea ecx, [ebp - 0x6b4]
call fcn.00408a50
mov eax, dword [ebp - 0x6b4]
mov edx, dword [ebp - 0x6c8]
mov ecx, dword [ebp - 0x6d4]
cmp ecx, edx
ja 0x42614f
lea esi, [eax + ecx*2]
mov ecx, dword [ebp - 0x6c0]
lea eax, [eax + edx*2]
add ecx, ecx
push ecx
push esi
push ecx
push eax
call fcn.0040c030
mov eax, dword [ebp - 0x6b4]
add esp, 0x10
mov ecx, dword [ebp - 0x6c4]
cmp ecx, dword [eax - 8]
jg 0x4265ef
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [ebp - 0x6b4]
and ebx, 0xfffffff7
mov byte [ebp - 4], 1
mov word [eax + ecx*2], dx
or eax, 0xffffffff
mov edx, dword [ebp - 0x6b8]
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4261ac
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x6b4]
push eax
lea ecx, [ebp - 0x6cc]
call fcn.00415060
mov edx, dword [ebp - 0x6b4]
or ebx, 4
or eax, 0xffffffff
mov dword [ebp - 0x6bc], ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4261e5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x6cc]
mov ecx, dword [esi - 0xc]
lea eax, [esi - 0x10]
mov byte [ebp - 4], 4
mov dword [ebp - 0x6c0], eax
mov dword [ebp - 0x6b8], ecx
cmp ecx, 4
jl 0x4262cf
jg 0x426229
lea eax, [ebp - 0x6cc]
push eax
lea ecx, [ebp - 0x6d0]
call fcn.00415060
mov edi, dword [ebp - 0x6d0]
jmp 0x4262ad
mov ecx, dword [eax]
test ecx, ecx
je 0x42623a
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x426248
call fcn.00408030
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
mov eax, dword [ebp - 0x6b8]
add eax, 0xfffffffc
lea eax, [esi + eax*2]
mov dword [ebp - 0x6b8], eax
test ecx, ecx
je 0x4265fe
test eax, eax
je 0x4265ef
mov eax, dword [ecx]
push 2
push 4
call dword [eax]
test eax, eax
je 0x4265f9
cmp dword [eax + 8], 4
lea edi, [eax + 0x10]
mov dword [ebp - 0x6d0], edi
jl 0x4265ef
push 8
push dword [ebp - 0x6b8]
xor eax, eax
mov dword [edi - 0xc], 4
push 8
push edi
mov word [edi + 8], ax
call fcn.0040c030
add esp, 0x10
push 0x4ce97c
or ebx, 0x11
push edi
mov dword [ebp - 0x6bc], ebx
call fcn.00477be9
add esp, 8
mov byte [ebp - 0x6ad], 0
test eax, eax
je 0x4262d6
mov byte [ebp - 0x6ad], 1
mov dword [ebp - 4], 4
test bl, 1
je 0x426303
and ebx, 0xfffffffe
lea edx, [edi - 0x10]
mov dword [ebp - 0x6bc], ebx
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x426303
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x6ad], 0
mov dword [ebp - 0x6d4], ebx
je 0x42631d
mov edx, dword [ebp - 0x6c0]
jmp 0x426544
mov edx, dword [0x5025a0]
xor eax, eax
mov ecx, edx
mov word [ebp - 0x230], ax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
lea eax, [ecx + 2]
mov dword [ebp - 0x6b8], eax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x426350
sub ecx, dword [ebp - 0x6b8]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x230]
call fcn.0040a7f0
mov ecx, dword [ebp - 0x6e0]
lea eax, [ebp - 0x230]
or ebx, 2
mov byte [ebp - 4], 6
push eax
mov dword [ebp - 0x6bc], ebx
call fcn.0044b250
test eax, eax
je 0x4263aa
push str.MasterHeadline.tpi
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
mov byte [ebp - 0x6ad], 1
test eax, eax
jne 0x4263b1
mov byte [ebp - 0x6ad], 0
mov ebx, dword [ebp - 0x6d4]
mov edx, dword [ebp - 0x21c]
and ebx, 0xfffffffd
mov dword [ebp - 4], 4
mov dword [ebp - 0x6bc], ebx
cmp edx, 8
jb 0x426407
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4263fd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4265ea
push edx
push ecx
call fcn.0043b702
add esp, 8
cmp byte [ebp - 0x6ad], 0
je 0x42641b
mov edx, dword [ebp - 0x6c0]
jmp 0x426544
mov ecx, esi
mov dword [ebp - 0x238], 0
xor eax, eax
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x426440
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x248]
call fcn.0040a7f0
push 0x10
push 0x4ce9b0
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 7
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.0040a700
push dword [ebp + 8]
mov ecx, dword [ebp - 0x6dc]
lea eax, [ebp - 0x248]
push 1
push eax
mov byte [ebp - 4], 8
call fcn.00423e90
mov edx, dword [ebp - 0x21c]
mov byte [ebp - 4], 4
cmp edx, 0x10
jb 0x4264e6
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4264dc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4265ea
push edx
push ecx
call fcn.0043b702
add esp, 8
mov edx, dword [ebp - 0x234]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
cmp edx, 8
jb 0x426541
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x426537
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4265ea
push edx
push ecx
call fcn.0043b702
add esp, 8
lea edx, [esi - 0x10]
mov byte [ebp - 4], 0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42655d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x250]
test eax, eax
je 0x4265cc
cmp dword [ebp - 0x24c], 0
je 0x426592
lea ecx, [ebp - 0x6ac]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [ebp - 0x24c], eax
test eax, eax
jne 0x425f10
mov eax, dword [ebp - 0x250]
mov esi, dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x24c], 0
test eax, eax
je 0x4265b6
cmp eax, 0xffffffff
je 0x4265b6
push eax
call esi
xor eax, eax
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x24c], 0
test eax, eax
je 0x4265cc
cmp eax, 0xffffffff
je 0x4265cc
push eax
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043b9b8
mov esp, ebp
pop ebp
ret 4
call fcn.0046cf98
push 0x80070057
call fcn.00407a90
call fcn.004090f0
push 0x80004005
call fcn.00407a90
int3