Function at 0x414880
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48eb9f
mov eax, dword fs:[0]
push eax
sub esp, 0x294
mov eax, dword [0x4bf1d0]
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 + 8]
mov esi, ecx
mov dword [ebp - 0x278], eax
mov dword [ebp - 0x27c], esi
mov dword [ebp - 4], 0
mov eax, dword [0x4c9b2c]
add eax, 0xfffffff0
push eax
call fcn.004015d0
lea edi, [eax + 0x10]
add esp, 4
mov dword [ebp - 0x268], edi
push edi
mov byte [ebp - 4], 1
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea ecx, [ebp - 0x26c]
call fcn.00401c40
mov byte [ebp - 4], 2
mov ebx, dword [esi + 4]
mov eax, dword [esi]
lea ecx, [ebp - 0x26c]
call fcn.00415e20
cmp dword [esi + 4], eax
je 0x414919
mov ecx, dword [ebp + 0xc]
cmp dword [ecx - 0xc], 0
jne 0x41492a
lea edi, [ebp - 0x268]
call fcn.00414e30
mov edi, dword [ebp - 0x268]
push 0x24c
lea edx, [ebp - 0x25c]
push 0
push edx
mov dword [ebp - 0x260], 0
call fcn.0046bab0
add esp, 0xc
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x284]
push ecx
mov ebx, 0x49d1c0
call fcn.00406650
mov eax, dword [eax]
add esp, 8
lea edx, [ebp - 0x260]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov eax, dword [ebp - 0x284]
add eax, 0xfffffff0
mov dword [ebp - 0x280], esi
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41499c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, 0xffffffff
jne 0x414a13
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x26c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4149c6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4149e6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414a0c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x414c94
xor eax, eax
mov dword [ebp - 0x294], eax
mov dword [ebp - 0x290], eax
mov dword [ebp - 0x28c], eax
lea edi, [ebp - 0x234]
shr edi, 0x10
mov byte [ebp - 4], 3
mov dword [ebp - 0x274], edi
jmp 0x414a46
mov edi, dword [ebp - 0x274]
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x264], esi
mov byte [ebp - 4], 4
test edi, edi
jne 0x414a8e
lea ecx, [ebp - 0x234]
movzx edi, cx
push 0
push edi
call fcn.00401690
add esp, 8
test eax, eax
je 0x414abf
push edi
push eax
lea ecx, [ebp - 0x264]
call fcn.00401850
jmp 0x414ab9
lea eax, [ebp - 0x234]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x414a97
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x234]
push edx
lea ecx, [ebp - 0x264]
call fcn.00401b40
mov esi, dword [ebp - 0x264]
mov byte [ebp - 4], 5
mov ecx, 0x49cd7c
mov eax, esi
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x414af6
test dx, dx
je 0x414af2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x414af6
add eax, 4
add ecx, 4
test dx, dx
jne 0x414ad0
xor eax, eax
jmp 0x414afb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
jne 0x414b7f
mov ecx, 0x49d1c8
mov eax, esi
jmp 0x414b10
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x414b36
test dx, dx
je 0x414b32
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x414b36
add eax, 4
add ecx, 4
test dx, dx
jne 0x414b10
xor eax, eax
jmp 0x414b3b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
jne 0x414b7f
mov edi, dword [ebp - 0x27c]
mov ebx, dword [edi + 4]
mov eax, dword [edi]
lea ecx, [ebp - 0x264]
call fcn.00415e20
cmp dword [edi + 4], eax
jne 0x414b7f
test byte [ebp - 0x260], 0x10
je 0x414b7f
lea ecx, [ebp - 0x264]
lea edi, [ebp - 0x294]
call fcn.00404210
mov esi, dword [ebp - 0x264]
lea eax, [esi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [ebp - 4], 3
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414b9f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x280]
lea ecx, [ebp - 0x260]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x414a40
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, dword [ebp - 0x290]
mov ebx, dword [ebp - 0x294]
sub esp, 0xc
mov eax, esp
lea ecx, [ebp + 0xc]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x278]
lea edx, [ebp - 0x270]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
lea edx, [ebp - 0x2a0]
push edi
push edx
mov ecx, ebx
mov dword [ebp - 0x270], 1
call fcn.00415e80
mov esi, dword [ebp - 0x270]
add esp, 0x14
test ebx, ebx
je 0x414c20
mov eax, ebx
call fcn.00404560
push ebx
call fcn.004682f0
add esp, 4
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x26c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414c46
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x268]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414c6c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414c92
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 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.004682fb
mov esp, ebp
pop ebp
ret 8