Function at 0x4259e0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a8acd
mov eax, dword fs:[0]
push eax
sub esp, 0x6d4
mov eax, dword [0x4ff5e4]
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.004256f0
push 0x208
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.004679d0
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 0x425aa0
xor esi, esi
jmp 0x425b93
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x680]
push 0x104
push eax
call fcn.00475d31
push eax
call fcn.004076d0
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 0x425ae7
xor esi, esi
jmp 0x425b93
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 0x425b38
mov dword [ebp - 0x24c], eax
mov eax, dword [ebp - 0x250]
test eax, eax
je 0x425b2c
cmp eax, 0xffffffff
je 0x425b2c
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 0x425b93
lea eax, [ebp - 0x45c]
push 0x5c
push eax
call fcn.004684bf
mov esi, eax
lea eax, [ebp - 0x45c]
push 0x2f
push eax
call fcn.004684bf
mov ecx, eax
add esp, 0x10
test ecx, ecx
jne 0x425b69
test esi, esi
je 0x425b84
lea ecx, [ebp - 0x45c]
test esi, esi
lea eax, [ebp - 0x45c]
cmovne eax, esi
cmp ecx, eax
jb 0x425b7f
xor eax, eax
mov word [ecx], ax
jmp 0x425b84
xor ecx, ecx
mov word [eax], cx
mov dword [ebp - 0x24c], 1
mov esi, 1
call fcn.00415b10
mov ecx, eax
call fcn.00407af0
mov dword [ebp - 0x6e0], eax
test esi, esi
je 0x42623c
mov edi, dword [ebp - 0x6d0]
nop dword [eax]
nop word [eax + eax]
mov eax, dword [ebp - 0x6dc]
cmp dword [eax + 4], 0
jne 0x42623c
cmp dword [ebp - 0x24c], 0
je 0x425c1d
mov eax, dword [ebp - 0x6ac]
shr eax, 4
and eax, 1
je 0x425c15
cmp word [ebp - 0x680], 0x2e
jne 0x425c15
mov cx, word [ebp - 0x67e]
test cx, cx
je 0x42620d
cmp cx, 0x2e
jne 0x425c15
cmp word [ebp - 0x67c], 0
je 0x42620d
test eax, eax
jne 0x42620d
lea eax, [ebp - 0x45c]
push eax
lea ecx, [ebp - 0x6b4]
call fcn.00405ce0
mov eax, dword [ebp - 0x6b4]
mov byte [ebp - 4], 1
mov esi, dword [eax - 0xc]
mov dword [ebp - 0x6c0], esi
test esi, esi
je 0x425e5c
lea edx, [esi - 1]
test edx, edx
js 0x42629f
cmp edx, esi
jg 0x42629f
cmp word [eax + edx*2], 0x5c
je 0x425ce2
test edx, edx
js 0x42629f
cmp edx, esi
jg 0x42629f
cmp word [eax + edx*2], 0x2f
je 0x425ce2
add esi, 1
movzx ecx, word [ebp - 0x254]
mov dword [ebp - 0x6c4], ecx
js 0x42629f
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, esi
or ecx, edx
jge 0x425cb4
push esi
lea ecx, [ebp - 0x6b4]
call fcn.00408730
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 0x42629f
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.00407d10
test eax, eax
je 0x4262ae
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 0x425d4a
lea ecx, [ebp - 0x680]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x425d22
sub ecx, edx
lea eax, [ebp - 0x680]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x6d8]
call fcn.00408c40
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 0x42629f
test esi, esi
jne 0x425d81
xor edx, edx
jmp 0x425d93
push edx
push esi
call fcn.0046b16b
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 0x42629f
mov ecx, dword [ebp - 0x6c8]
add ecx, edx
mov dword [ebp - 0x6c4], ecx
js 0x42629f
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, dword [ebp - 0x6c4]
or ecx, edx
jge 0x425dec
push dword [ebp - 0x6c4]
lea ecx, [ebp - 0x6b4]
call fcn.00408730
mov eax, dword [ebp - 0x6b4]
mov edx, dword [ebp - 0x6c8]
mov ecx, dword [ebp - 0x6d4]
cmp ecx, edx
ja 0x425dff
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.0040bd10
mov eax, dword [ebp - 0x6b4]
add esp, 0x10
mov ecx, dword [ebp - 0x6c4]
cmp ecx, dword [eax - 8]
jg 0x42629f
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 0x425e5c
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.00414d30
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 0x425e95
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 0x425f7f
jg 0x425ed9
lea eax, [ebp - 0x6cc]
push eax
lea ecx, [ebp - 0x6d0]
call fcn.00414d30
mov edi, dword [ebp - 0x6d0]
jmp 0x425f5d
mov ecx, dword [eax]
test ecx, ecx
je 0x425eea
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x425ef8
call fcn.00407d10
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 0x4262ae
test eax, eax
je 0x42629f
mov eax, dword [ecx]
push 2
push 4
call dword [eax]
test eax, eax
je 0x4262a9
cmp dword [eax + 8], 4
lea edi, [eax + 0x10]
mov dword [ebp - 0x6d0], edi
jl 0x42629f
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.0040bd10
add esp, 0x10
push 0x4cc86c
or ebx, 0x11
push edi
mov dword [ebp - 0x6bc], ebx
call fcn.00475b79
add esp, 8
mov byte [ebp - 0x6ad], 0
test eax, eax
je 0x425f86
mov byte [ebp - 0x6ad], 1
mov dword [ebp - 4], 4
test bl, 1
je 0x425fb3
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 0x425fb3
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 0x425fcd
mov edx, dword [ebp - 0x6c0]
jmp 0x4261f4
mov edx, dword [0x4ff4c0]
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 0x426000
sub ecx, dword [ebp - 0x6b8]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x230]
call fcn.0040a4d0
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.0044af20
test eax, eax
je 0x42605a
push str.MasterHeadline.tpi
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
mov byte [ebp - 0x6ad], 1
test eax, eax
jne 0x426061
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 0x4260b7
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4260ad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42629a
push edx
push ecx
call fcn.0043b3b2
add esp, 8
cmp byte [ebp - 0x6ad], 0
je 0x4260cb
mov edx, dword [ebp - 0x6c0]
jmp 0x4261f4
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 0x4260f0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x248]
call fcn.0040a4d0
push 0x10
push 0x4cc8a0
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.0040a3e0
push dword [ebp + 8]
mov ecx, dword [ebp - 0x6dc]
lea eax, [ebp - 0x248]
push 1
push eax
mov byte [ebp - 4], 8
call fcn.00423b40
mov edx, dword [ebp - 0x21c]
mov byte [ebp - 4], 4
cmp edx, 0x10
jb 0x426196
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42618c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42629a
push edx
push ecx
call fcn.0043b3b2
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 0x4261f1
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4261e7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42629a
push edx
push ecx
call fcn.0043b3b2
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 0x42620d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x250]
test eax, eax
je 0x42627c
cmp dword [ebp - 0x24c], 0
je 0x426242
lea ecx, [ebp - 0x6ac]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [ebp - 0x24c], eax
test eax, eax
jne 0x425bc0
mov eax, dword [ebp - 0x250]
mov esi, dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x24c], 0
test eax, eax
je 0x426266
cmp eax, 0xffffffff
je 0x426266
push eax
call esi
xor eax, eax
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x24c], 0
test eax, eax
je 0x42627c
cmp eax, 0xffffffff
je 0x42627c
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.0043b668
mov esp, ebp
pop ebp
ret 4
call fcn.0046af28
push 0x80070057
call fcn.00407770
call fcn.00408dd0
push 0x80004005
call fcn.00407770
int3