Function at 0x416d80
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66d287
mov eax, dword fs:[0]
push eax
sub esp, 0x31c
mov eax, dword [0x726100]
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, dword [ebp + 0x18]
mov dword [ebp - 0x288], eax
mov dword [ebp - 0x26c], 0
mov eax, dword [ebp + 0x14]
sub esp, 8
mov edi, esp
mov dword [ebp - 4], 3
add eax, 0xfffffff0
mov dword [ebp - 0x264], edi
push eax
lea esi, [edi + 4]
mov dword [ebp - 0x264], esi
call fcn.00404750
add eax, 0x10
lea ecx, [ebp + 8]
add esp, 4
mov dword [esi], eax
lea eax, [ebp - 0x280]
mov dword [edi], vtable.CISPath.0
push eax
call fcn.0040ea30
mov eax, dword [ebp - 0x27c]
sub esp, 8
mov edi, esp
mov byte [ebp - 4], 4
add eax, 0xfffffff0
mov dword [ebp - 0x264], edi
push eax
lea esi, [edi + 4]
mov dword [ebp - 0x264], esi
call fcn.00404750
add eax, 0x10
add esp, 4
mov dword [esi], eax
lea eax, [ebp - 0x2d0]
mov dword [edi], vtable.CPathEx.0
push eax
call fcn.00417b50
add esp, 0xc
mov byte [ebp - 4], 5
test eax, eax
je 0x416e56
add eax, 4
jmp 0x416e58
xor eax, eax
push eax
lea ecx, [ebp - 0x27c]
call fcn.00409750
lea ecx, [ebp - 0x2d0]
mov byte [ebp - 4], 4
call fcn.004117a0
mov eax, dword [ebp - 0x27c]
or edi, 0xffffffff
cmp dword [eax - 0xc], 0
je 0x416ec0
sub esp, 8
add eax, 0xfffffff0
mov ebx, esp
mov dword [ebp - 0x264], ebx
push eax
lea esi, [ebx + 4]
mov dword [ebp - 0x264], esi
call fcn.00404750
add esp, 4
add eax, 0x10
mov dword [esi], eax
mov dword [ebx], vtable.CPathEx.0
call fcn.00414f20
add esp, 8
test al, al
jne 0x416ec0
xor bl, bl
jmp 0x41760c
mov eax, dword [ebp + 0x20]
add eax, 0xfffffff0
push eax
call fcn.00404750
add eax, 0x10
mov dword [ebp - method.CStringEx.virtual_0], vtable.CStringEx.0
add esp, 4
mov dword [ebp - 0x2b4], eax
push 0xa
lea ecx, [ebp - 0x30c]
mov byte [ebp - 4], 6
call fcn.0042aec5
push 1
push ecx
mov ecx, esp
mov byte [ebp - 4], 7
push 0x691db4
call fcn.00403070
lea eax, [ebp - 0x30c]
push eax
lea ecx, [ebp - 0x2b8]
call fcn.004234f0
mov eax, dword [ebp + 0x28]
add eax, 0xfffffff0
push eax
call fcn.00404750
add eax, 0x10
mov dword [ebp - method.CStringEx.virtual_0], vtable.CStringEx.0
add esp, 4
mov dword [ebp - 0x2ac], eax
push 0xa
lea ecx, [ebp - 0x328]
mov byte [ebp - 4], 8
call fcn.0042aec5
push 1
push ecx
mov ecx, esp
mov byte [ebp - 4], 9
push 0x691db4
call fcn.00403070
lea eax, [ebp - 0x328]
push eax
lea ecx, [ebp - 0x2b0]
call fcn.004234f0
mov ecx, dword [ebp - 0x308]
test ecx, ecx
je 0x41759e
nop
mov dword [ebp - 0x2d4], ecx
mov eax, ecx
test ecx, ecx
je 0x4176ef
mov eax, dword [eax + 8]
mov ecx, dword [ecx]
lea esi, [eax - 0x10]
mov dword [ebp - 0x264], ecx
mov ecx, dword [esi]
mov dword [ebp - 0x268], eax
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi + 0xc], 0
mov ecx, eax
lea eax, [esi + 0xc]
jl 0x416fbf
cmp ecx, dword [esi]
jne 0x416fbf
lock inc dword [eax]
jmp 0x416ffd
mov eax, dword [ecx]
lea ebx, [esi + 4]
push 2
push dword [ebx]
call dword [eax]
mov esi, eax
test esi, esi
je 0x4176ea
mov ecx, dword [ebx]
mov dword [esi + 4], ecx
mov eax, dword [ebx]
lea ecx, [eax*2 + 2]
push ecx
push dword [ebp - 0x268]
lea eax, [eax*2 + 2]
push eax
lea eax, [esi + 0x10]
push eax
call fcn.00420890
add esp, 0x10
add esi, 0x10
mov dword [ebp - 0x2ec], esi
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 0xa
push eax
lea eax, [esi - 0x10]
mov bl, 1
push ecx
mov ecx, dword [eax]
mov dword [ebp - 0x274], eax
mov dword [ebp - 0x28c], esp
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi - 4], 0
lea edx, [esi - 4]
mov ecx, eax
jl 0x417047
cmp ecx, dword [esi - 0x10]
jne 0x417047
mov esi, dword [ebp - 0x274]
mov eax, esi
lock inc dword [edx]
jmp 0x417092
mov eax, dword [ecx]
push 2
push dword [esi - 0xc]
call dword [eax]
mov edx, eax
mov dword [ebp - 0x268], edx
test edx, edx
je 0x4176ea
mov ecx, dword [esi - 0xc]
mov dword [edx + 4], ecx
mov eax, dword [esi - 0xc]
lea ecx, [eax*2 + 2]
push ecx
lea eax, [eax*2 + 2]
push esi
push eax
lea eax, [edx + 0x10]
push eax
call fcn.00420890
mov eax, dword [ebp - 0x268]
add esp, 0x10
mov esi, dword [ebp - 0x274]
mov ecx, dword [ebp - 0x28c]
add eax, 0x10
mov dword [ecx], eax
lea eax, [ebp - 0x2e0]
push eax
lea ecx, [ebp - 0x280]
call fcn.0040eae0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edx, dword [ebp - 0x2dc]
mov ecx, edi
mov dword [ebp - 0x278], eax
add edx, 0xfffffff0
mov dword [ebp - method.CStringEx.virtual_0], vtable.CStringEx.0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x4170eb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x278]
cmp eax, 0xffffffff
je 0x417571
test bl, bl
je 0x417565
mov ecx, dword [ebp - 0x260]
mov eax, dword [ebp + 0x2c]
and ecx, dword [ebp + 0x30]
and eax, dword [ebp + 0x30]
cmp ecx, eax
jne 0x417548
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x270]
call fcn.00403110
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 0xb
push 0x6913ac
push eax
call fcn.0040e650
add esp, 8
test al, al
jne 0x417527
lea eax, [ebp - 0x270]
push 0x691aac
push eax
call fcn.0040e650
add esp, 8
test al, al
jne 0x417527
mov eax, dword [ebp - 0x2d4]
cmp eax, dword [ebp - 0x308]
je 0x4171a5
mov eax, dword [ebp - 0x270]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
mov dword [ebp - 0x268], esi
call fcn.00404750
add esp, 4
add eax, 0x10
mov dword [esi], eax
push dword [ebp - 0x288]
call fcn.00424fd0
add esp, 8
test eax, eax
jne 0x417527
lea eax, [ebp - 0x328]
push eax
mov eax, dword [ebp - 0x270]
sub esp, 8
mov ebx, esp
add eax, 0xfffffff0
mov dword [ebp - 0x268], ebx
push eax
lea esi, [ebx + 4]
mov dword [ebp - 0x268], esi
call fcn.00404750
add esp, 4
add eax, 0x10
mov dword [esi], eax
mov dword [ebx], vtable.CISPath.0
call fcn.004157c0
add esp, 0xc
test al, al
jne 0x417527
cmp byte [ebp + 0x38], al
je 0x417229
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
push eax
call fcn.00404750
add eax, 0x10
mov dword [ebp - method.CISPath.virtual_0], vtable.CISPath.0
add esp, 4
mov dword [ebp - 0x2a4], eax
mov ebx, dword [ebp - 0x26c]
lea eax, [ebp - 0x2a8]
mov byte [ebp - 4], 0xc
or ebx, 1
jmp 0x417259
push 0x6910b0
lea ecx, [ebp - 0x2c4]
call fcn.00403110
mov dword [ebp - method.CISPath.virtual_0], vtable.CISPath.0
mov ebx, dword [ebp - 0x26c]
lea eax, [ebp - 0x2c8]
mov dword [ebp - 4], 0xd
or ebx, 2
cmp byte [ebp + 0x34], 0
mov dword [ebp - 0x26c], ebx
mov dword [ebp - 0x284], eax
je 0x41729f
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
push eax
call fcn.00404750
add eax, 0x10
mov dword [ebp - method.CISPath.virtual_0], vtable.CISPath.0
add esp, 4
mov dword [ebp - 0x29c], eax
lea eax, [ebp - 0x2a0]
mov dword [ebp - 4], 0xe
or ebx, 4
jmp 0x4172c9
push 0x6910b0
lea ecx, [ebp - 0x2bc]
call fcn.00403110
mov dword [ebp - method.CISPath.virtual_0], vtable.CISPath.0
lea eax, [ebp - 0x2c0]
mov dword [ebp - 4], 0xf
or ebx, 8
push ecx
mov esi, esp
mov dword [ebp - 0x268], eax
mov dword [ebp - 0x2d8], esi
mov eax, dword [ebp - 0x270]
add eax, 0xfffffff0
mov dword [ebp - 0x2f0], esp
push eax
mov dword [ebp - 0x26c], ebx
call fcn.00404750
add eax, 0x10
add esp, 4
mov dword [esi], eax
lea eax, [ebp - 0x2e8]
mov dword [ebp - 4], 0x10
push eax
mov eax, dword [ebp - 0x284]
sub esp, 8
mov ebx, esp
mov dword [ebp - 0x2d8], esp
mov dword [ebp - 0x290], ebx
mov eax, dword [eax + 4]
sub eax, 0x10
lea esi, [ebx + 4]
push eax
mov dword [ebp - 0x290], esi
call fcn.00404750
add eax, 0x10
mov dword [esi], eax
mov dword [ebx], vtable.CISPath.0
mov eax, dword [ebp - 0x268]
mov byte [ebp - 4], 0x11
mov eax, dword [eax + 4]
sub eax, 0x10
push eax
call fcn.00404750
add eax, 0x10
mov dword [ebp - method.CISPath.virtual_0], vtable.CISPath.0
add esp, 8
mov dword [ebp - 0x294], eax
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x2d0]
mov byte [ebp - 4], 0x13
push eax
lea ecx, [ebp - 0x298]
call fcn.0040ea30
mov byte [ebp - 4], 0x14
mov ecx, eax
mov byte [ebp - 4], 0x16
call fcn.0040eae0
mov byte [ebp - 4], 0x17
test eax, eax
je 0x4173a2
add eax, 4
jmp 0x4173a4
xor eax, eax
mov ecx, dword [ebp - 0x288]
push eax
call fcn.0042b072
mov edx, dword [ebp - 0x2e4]
mov eax, edi
mov byte [ebp - 4], 0x16
add edx, 0xfffffff0
mov dword [ebp - method.CStringEx.virtual_0], vtable.CStringEx.0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4173db
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x2cc]
mov eax, edi
mov byte [ebp - 4], 0x15
add edx, 0xfffffff0
mov dword [ebp - method.CStringEx.virtual_0], vtable.CStringEx.0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x417406
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x294]
mov eax, edi
mov byte [ebp - 4], 0xf
add edx, 0xfffffff0
mov dword [ebp - method.CStringEx.virtual_0], vtable.CStringEx.0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x417431
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x26c]
mov dword [ebp - 4], 0xe
test bl, 8
je 0x417473
mov edx, dword [ebp - 0x2bc]
and ebx, 0xfffffff7
mov dword [ebp - 0x26c], ebx
add edx, 0xfffffff0
mov dword [ebp - method.CStringEx.virtual_0], vtable.CStringEx.0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x417473
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xd
test bl, 4
je 0x4174af
mov edx, dword [ebp - 0x29c]
and ebx, 0xfffffffb
mov dword [ebp - 0x26c], ebx
add edx, 0xfffffff0
mov dword [ebp - method.CStringEx.virtual_0], vtable.CStringEx.0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4174af
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xc
test bl, 2
je 0x4174eb
mov edx, dword [ebp - 0x2c4]
and ebx, 0xfffffffd
mov dword [ebp - 0x26c], ebx
add edx, 0xfffffff0
mov dword [ebp - method.CStringEx.virtual_0], vtable.CStringEx.0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4174eb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xb
test bl, 1
je 0x417527
mov edx, dword [ebp - 0x2a4]
and ebx, 0xfffffffe
mov dword [ebp - 0x26c], ebx
add edx, 0xfffffff0
mov dword [ebp - method.CStringEx.virtual_0], vtable.CStringEx.0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x417527
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x270]
mov eax, edi
mov byte [ebp - 4], 0xa
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x417548
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x278]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
setne bl
jmp 0x4170f4
mov esi, dword [ebp - 0x274]
mov eax, dword [ebp - 0x278]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 9
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x417590
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x264]
test ecx, ecx
jne 0x416f80
lea ecx, [ebp - 0x328]
mov bl, 1
call fcn.0042aeeb
mov edx, dword [ebp - 0x2ac]
mov eax, edi
mov byte [ebp - 4], 7
add edx, 0xfffffff0
mov dword [ebp - method.CStringEx.virtual_0], vtable.CStringEx.0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4175d6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x30c]
call fcn.0042aeeb
mov edx, dword [ebp - 0x2b4]
mov eax, edi
mov byte [ebp - 4], 4
add edx, 0xfffffff0
mov dword [ebp - method.CStringEx.virtual_0], vtable.CStringEx.0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41760c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x27c]
mov eax, edi
mov byte [ebp - 4], 3
add edx, 0xfffffff0
mov dword [ebp - method.CStringEx.virtual_0], vtable.CStringEx.0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x417637
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0xc]
mov eax, edi
mov byte [ebp - 4], 2
add edx, 0xfffffff0
mov dword [ebp + 8], vtable.CStringEx.0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41765c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0x14]
mov eax, edi
mov byte [ebp - 4], 1
add edx, 0xfffffff0
mov dword [ebp + 0x10], vtable.CStringEx.0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x417681
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0x20]
mov eax, edi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
mov dword [ebp + 0x1c], vtable.CStringEx.0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4176a6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 0x28]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
mov dword [ebp + 0x24], vtable.CStringEx.0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x4176cc
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
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.005f4722
mov esp, ebp
pop ebp
ret
call fcn.00404b10
call fcn.00425820
int3