Function at 0x411ea0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42ea9f
mov eax, dword fs:[0]
push eax
sub esp, 0x520
mov eax, dword [0x43c3f4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
fldz
mov esi, edx
fstp qword [ebp - 0x4ec]
mov edx, dword [0x43d174]
mov dword [ebp - 0x4c4], eax
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x4d8], ecx
mov ecx, 0x43d174
mov dword [ebp - 0x4f0], esi
call eax
add eax, 0x10
mov dword [ebp - 0x4c0], eax
xor ecx, ecx
mov dword [ebp - 4], ecx
mov eax, dword [esi + 4]
mov dword [ebp - 0x4e0], ecx
cmp eax, ecx
jbe 0x412946
lea esp, [esp]
mov ecx, dword [ebp - 0x4e0]
cmp ecx, eax
jae case.0x412291.22
mov edx, dword [ebp - 0x4f0]
mov eax, dword [edx]
mov esi, dword [eax + ecx*4]
lea eax, [eax + ecx*4]
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi - 4], 0
lea ecx, [esi - 4]
jl 0x411f62
cmp eax, dword [esi - 0x10]
jne 0x411f62
lea ebx, [esi - 0x10]
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x411f9a
mov ecx, dword [esi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x41297d
mov eax, dword [esi - 0xc]
mov dword [ebx + 4], eax
mov eax, dword [esi - 0xc]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [ebx + 0x10]
push eax
call fcn.0041a904
add esp, 0x10
lea edi, [ebx + 0x10]
mov dword [ebp - 0x514], edi
lea ecx, [ebp - 0x4b4]
push ecx
push edi
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x510], eax
cmp eax, 0xffffffff
jne 0x411fc6
push eax
jmp 0x4128f1
test byte [ebp - 0x4b4], 0x10
je 0x412786
xor ebx, ebx
mov dword [ebp - 0x4d4], ebx
mov dword [ebp - 0x4d0], ebx
mov dword [ebp - 0x4cc], ebx
mov dword [ebp - 0x4c8], ebx
mov byte [ebp - 4], 2
lea eax, [ebx + 1]
lea esi, [ebp - 0x4d4]
mov dword [ebp - 0x4b8], ebx
call fcn.00415560
test al, al
je case.0x412291.12
mov eax, dword [ebp - 0x4d4]
mov dword [ebp - 0x4bc], eax
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x412029
push eax
mov ecx, edi
call fcn.0040d440
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x4d0]
mov edx, dword [0x43d174]
mov eax, dword [edx + 0xc]
inc esi
mov ecx, 0x43d174
mov dword [ebp - 0x4d0], esi
call eax
lea ebx, [eax + 0x10]
mov dword [ebp - 0x4bc], ebx
mov byte [ebp - 4], 4
mov edx, dword [0x43d174]
mov eax, dword [edx + 0xc]
mov ecx, 0x43d174
call eax
add eax, 0x10
mov dword [ebp - 0x4b8], eax
mov byte [ebp - 4], 5
test esi, esi
je 0x41271c
lea esp, [esp]
cmp dword [ebp - 0x4d0], 0
jbe case.0x412291.22
mov ecx, dword [ebp - 0x4d4]
mov eax, dword [ecx]
lea esi, [eax - 0x10]
lea edi, [ebx - 0x10]
cmp esi, edi
je 0x41214d
cmp dword [edi + 0xc], 0
jl 0x412137
mov ecx, dword [esi]
cmp ecx, dword [edi]
jne 0x412137
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x4120d8
cmp eax, dword [esi]
jne 0x4120d8
mov ebx, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x412113
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x41297d
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [ebx + 0x10]
push eax
call fcn.0041a904
add esp, 0x10
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41212c
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
add ebx, 0x10
mov dword [ebp - 0x4bc], ebx
jmp 0x412147
mov ebx, dword [eax - 0xc]
push eax
lea ecx, [ebp - 0x4bc]
push ecx
call fcn.0040d810
mov ebx, dword [ebp - 0x4bc]
mov edi, dword [ebp - 0x4b8]
lea esi, [ebx - 0x10]
add edi, 0xfffffff0
cmp esi, edi
je 0x412205
cmp dword [edi + 0xc], 0
jl 0x4121f5
mov ecx, dword [esi]
cmp ecx, dword [edi]
jne 0x4121f5
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x412196
cmp eax, dword [esi]
jne 0x412196
mov ebx, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x4121d1
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x41297d
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [ebx + 0x10]
push eax
call fcn.0041a904
add esp, 0x10
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4121ea
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
add ebx, 0x10
mov dword [ebp - 0x4b8], ebx
jmp 0x412205
push ebx
mov ebx, dword [ebx - 0xc]
lea ecx, [ebp - 0x4b8]
push ecx
call fcn.0040d810
push 4
push str..
lea ebx, [ebp - 0x4bc]
call fcn.00415200
mov eax, dword [ebp - 0x4bc]
lea edx, [ebp - 0x264]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, dword [ebp - 0x4d0]
mov ebx, eax
mov dword [ebp - 0x4f4], ebx
cmp esi, 1
jb case.0x412291.22
mov edi, dword [ebp - 0x4d4]
mov eax, dword [edi]
sub eax, 0x10
dec esi
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412267
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je case.0x412291.0
lea eax, [esi*4]
push eax
lea ecx, [edi + 4]
push ecx
push eax
push edi
call fcn.0041a698
add esp, 0x10
cmp eax, 0x50
ja case.0x412291.1
movzx ecx, byte [eax + 0x4129f4]
jmp dword [ecx*4 + 0x4129e4]
mov dword [ebp - 0x4d0], esi
cmp ebx, 0xffffffff
je 0x41270e
jmp 0x4122b0
test byte [ebp - 0x264], 0x10
je 0x412403
cmp word [ebp - 0x238], 0x2e
je 0x4126ec
lea edx, [ebp - 0x4b8]
push edx
lea eax, [ebp - 0x518]
push eax
mov ebx, 0x4347dc
call fcn.0040d580
push eax
lea ecx, [ebp - 0x508]
push ecx
lea ebx, [ebp - 0x238]
mov byte [ebp - 4], 6
call fcn.0040d580
add esp, 0x10
mov byte [ebp - 4], 7
mov edi, dword [eax]
mov ebx, esi
mov dword [ebp - 0x500], ebx
cmp esi, dword [ebp - 0x4cc]
jb 0x412329
lea eax, [esi + 1]
lea esi, [ebp - 0x4d4]
call fcn.00415560
test al, al
je case.0x412291.12
mov edx, dword [ebp - 0x4d4]
lea ebx, [edx + ebx*4]
mov dword [ebp - 0x4dc], ebx
mov byte [ebp - 4], 8
test ebx, ebx
je 0x4123a8
mov eax, dword [0x43d174]
mov edx, dword [eax + 0xc]
mov ecx, 0x43d174
call edx
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 9
test edi, edi
je 0x412380
test edi, 0xffff0000
jne 0x412384
movzx esi, di
push esi
call fcn.0040cde0
add esp, 4
test eax, eax
je 0x4123a8
push eax
mov eax, esi
mov edi, ebx
call fcn.0040d6c0
jmp 0x4123a8
xor eax, eax
jmp 0x41239f
mov eax, edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x412390
sub eax, edx
sar eax, 1
push edi
push ebx
mov ebx, eax
call fcn.0040d810
inc dword [ebp - 0x4d0]
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x508]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4123d4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x518]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4126ec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4126ec
lea ecx, [ebp - 0x4b8]
push ecx
lea edx, [ebp - 0x504]
push edx
mov ebx, 0x4347dc
call fcn.0040d580
push eax
lea eax, [ebp - 0x50c]
push eax
lea ebx, [ebp - 0x238]
mov byte [ebp - 4], 0xa
call fcn.0040d580
add esp, 0x10
mov byte [ebp - 4], 0xb
mov eax, dword [eax]
mov edi, dword [ebp - 0x4c0]
lea ebx, [eax - 0x10]
add edi, 0xfffffff0
cmp ebx, edi
je 0x4124f3
cmp dword [edi + 0xc], 0
jl 0x4124e3
mov ecx, dword [ebx]
cmp ecx, dword [edi]
jne 0x4124e3
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [ebx + 0xc], 0
lea ecx, [ebx + 0xc]
jl 0x412484
cmp eax, dword [ebx]
jne 0x412484
mov esi, ebx
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x4124bf
mov ecx, dword [ebx + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov esi, eax
test esi, esi
je 0x41297d
mov eax, dword [ebx + 4]
mov dword [esi + 4], eax
mov eax, dword [ebx + 4]
lea ecx, [eax + eax + 2]
push ecx
add ebx, 0x10
lea edx, [eax + eax + 2]
push ebx
push edx
lea eax, [esi + 0x10]
push eax
call fcn.0041a904
add esp, 0x10
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4124d8
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
add esi, 0x10
mov dword [ebp - 0x4c0], esi
jmp 0x4124f3
mov ebx, dword [eax - 0xc]
push eax
lea ecx, [ebp - 0x4c0]
push ecx
call fcn.0040d810
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x50c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x412519
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x504]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41253f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [ebp - 0x4c0]
push 0
push ecx
mov ecx, dword [ebx - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x4dc], esp
mov edi, esp
call eax
cmp dword [ebx - 4], 0
lea ecx, [ebx - 4]
jl 0x412576
cmp eax, dword [ebx - 0x10]
jne 0x412576
lea esi, [ebx - 0x10]
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x4125ae
mov ecx, dword [ebx - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov esi, eax
test esi, esi
je 0x41297d
mov eax, dword [ebx - 0xc]
mov dword [esi + 4], eax
mov eax, dword [ebx - 0xc]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [eax + eax + 2]
push ebx
push edx
lea eax, [esi + 0x10]
push eax
call fcn.0041a904
add esp, 0x10
add esi, 0x10
mov dword [edi], esi
call fcn.00413b80
test eax, eax
je 0x4126ec
mov edx, dword [ebp - 0x248]
xor ecx, ecx
xor esi, esi
add ecx, dword [ebp - 0x244]
adc edx, esi
mov dword [ebp - 0x52c], ecx
mov dword [ebp - 0x528], edx
fild qword [ebp - 0x52c]
fst qword [ebp - 0x4fc]
fldz
fcompp
fnstsw ax
test ah, 5
jp 0x4126ec
mov esi, dword [ebp - 0x4c4]
mov edi, dword [esi + 4]
mov dword [ebp - 0x4dc], edi
cmp edi, dword [esi + 8]
jb 0x41261d
lea eax, [edi + 1]
call fcn.00415560
test al, al
je case.0x412291.12
mov ecx, dword [esi]
lea edi, [ecx + edi*4]
mov dword [ebp - 0x500], edi
mov byte [ebp - 4], 0xc
test edi, edi
je 0x41269c
mov edx, dword [0x43d174]
mov eax, dword [edx + 0xc]
mov ecx, 0x43d174
call eax
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x4c0]
test edx, edx
je 0x41267b
test edx, 0xffff0000
jne 0x41267f
movzx ebx, dx
push ebx
call fcn.0040cde0
add esp, 4
test eax, eax
je 0x41269c
push eax
mov eax, ebx
call fcn.0040d6c0
mov esi, dword [ebp - 0x4c4]
jmp 0x41269c
xor eax, eax
jmp 0x412693
mov eax, edx
lea ebx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x412684
sub eax, ebx
sar eax, 1
push edx
push edi
mov ebx, eax
call fcn.0040d810
fld qword [ebp - 0x4fc]
mov byte [ebp - 4], 5
fadd qword [ebp - 0x4ec]
mov edi, 1
add dword [esi + 4], edi
mov esi, dword [ebp - 0x4d8]
mov ebx, dword [esi + 4]
fstp qword [ebp - 0x4ec]
cmp ebx, dword [esi + 8]
jb 0x4126d8
lea eax, [ebx + 1]
call fcn.00415630
test al, al
je case.0x412291.12
mov ecx, dword [esi]
lea ebx, [ecx + ebx*8]
test ebx, ebx
je 0x4126e9
fld qword [ebp - 0x4fc]
fstp qword [ebx]
add dword [esi + 4], edi
mov eax, dword [ebp - 0x4f4]
lea edx, [ebp - 0x264]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov esi, dword [ebp - 0x4d0]
test eax, eax
jne 0x4122b0
mov ebx, dword [ebp - 0x4bc]
test esi, esi
jne 0x412080
mov ecx, dword [ebp - 0x4f4]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x4b8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41274f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebx, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41276f
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
lea eax, [ebp - 0x4d4]
push eax
call fcn.00415360
mov edi, dword [ebp - 0x514]
jmp 0x4128ea
push 0
push ecx
mov ecx, dword [edi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
lea esi, [edi - 0x10]
mov dword [ebp - 0x4dc], esp
mov dword [ebp - 0x4b8], esp
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x4127bc
cmp eax, dword [esi]
jne 0x4127bc
mov ebx, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x4127f7
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x41297d
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [ebx + 0x10]
push eax
call fcn.0041a904
add esp, 0x10
mov ecx, dword [ebp - 0x4b8]
add ebx, 0x10
mov dword [ecx], ebx
call fcn.00413b80
test eax, eax
je 0x4128ea
mov eax, dword [ebp - 0x498]
xor edx, edx
xor esi, esi
add edx, dword [ebp - 0x494]
adc eax, esi
mov dword [ebp - 0x520], eax
mov dword [ebp - 0x524], edx
fild qword [ebp - 0x524]
fst qword [ebp - 0x4fc]
fldz
fcompp
fnstsw ax
test ah, 5
jp 0x4128ea
mov eax, dword [ebp - 0x4c4]
mov ebx, dword [eax + 4]
mov dword [ebp - 0x4dc], ebx
cmp ebx, dword [eax + 8]
jb 0x412872
mov esi, dword [ebp - 0x4c4]
lea eax, [ebx + 1]
call fcn.00415560
test al, al
je case.0x412291.12
mov esi, dword [ebp - 0x4c4]
mov edx, dword [esi]
lea eax, [edx + ebx*4]
mov dword [ebp - 0x500], eax
mov byte [ebp - 4], 0xe
test eax, eax
je 0x412893
push eax
mov ecx, edi
call fcn.0040d440
mov eax, dword [ebp - 0x4d8]
mov byte [ebp - 4], 1
inc dword [esi + 4]
mov ebx, dword [eax + 4]
cmp ebx, dword [eax + 8]
jb 0x4128be
mov esi, dword [ebp - 0x4d8]
lea eax, [ebx + 1]
call fcn.00415630
test al, al
je case.0x412291.12
mov ecx, dword [ebp - 0x4d8]
mov eax, dword [ecx]
lea eax, [eax + ebx*8]
test eax, eax
je 0x4128d5
fld qword [ebp - 0x4fc]
fstp qword [eax]
fld qword [ebp - 0x4fc]
inc dword [ecx + 4]
fadd qword [ebp - 0x4ec]
fstp qword [ebp - 0x4ec]
mov ecx, dword [ebp - 0x510]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [edi - 0x10]
or ecx, 0xffffffff
lea edx, [eax + 0xc]
mov byte [ebp - 4], 0
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x412917
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x4e0]
mov edx, dword [ebp - 0x4f0]
mov eax, dword [edx + 4]
inc ecx
mov dword [ebp - 0x4e0], ecx
cmp ecx, eax
jb 0x411f20
fld qword [ebp - 0x4ec]
fldz
fucompp
fnstsw ax
test ah, 0x44
jp 0x412996
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x4c0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41296f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
fldz
jmp 0x4129c5
push 0x80070057
call fcn.0040cd60
call fcn.0040d800
push 0x8007000e
call fcn.0040cd60
push 0x80004005
call fcn.0040cd60
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x4c0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4129bf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
fld qword [ebp - 0x4ec]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00419bd7
mov esp, ebp
pop ebp
ret 4