Function at 0x49bb20
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d85d8
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
mov eax, dword [0x517ba0]
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 ebx, ecx
mov dword [ebp - 0x278], ebx
mov esi, dword [ebx]
mov edi, dword [ebp + 8]
push dword [esi + 4]
push ebx
call fcn.0041eed0
push 0x5c
mov dword [esi + 4], esi
mov dword [esi], esi
mov dword [esi + 8], esi
push edi
mov dword [ebx + 4], 0
call fcn.004a861e
add esp, 8
test eax, eax
je 0x49bb8d
add eax, 2
mov dword [ebp - 0x264], eax
jmp 0x49bbaf
push 0x2f
push edi
call fcn.004a861e
add esp, 8
test eax, eax
je 0x49bba7
add eax, 2
mov dword [ebp - 0x264], eax
jmp 0x49bbaf
mov eax, edi
mov dword [ebp - 0x264], edi
push 0x2e
push eax
call fcn.004a861e
add esp, 8
mov dword [ebp - 0x270], eax
mov esi, eax
test eax, eax
je 0x49bc07
cmp eax, edi
jbe 0x49bbee
mov ebx, edi
nop dword [eax]
movzx eax, word [esi - 2]
push eax
call fcn.004b7f8a
add esp, 4
test eax, eax
je 0x49bbe8
add esi, 0xfffffffe
cmp esi, ebx
ja 0x49bbd0
mov ebx, dword [ebp - 0x278]
cmp word [esi - 2], 0x2d
lea eax, [esi - 2]
mov ecx, dword [ebp - 0x270]
cmove ecx, eax
mov dword [ebp - 0x26c], ecx
jmp 0x49bc25
push 0
push dword [ebp - 0x264]
call fcn.004a861e
add esp, 8
mov dword [ebp - 0x270], eax
mov ecx, eax
mov dword [ebp - 0x26c], eax
sub ecx, edi
sar ecx, 1
mov eax, ecx
neg eax
sbb eax, eax
and eax, 2
push eax
push 0x4e1a9c
lea eax, [ecx + ecx]
push eax
push edi
call fcn.0049fd00
mov dword [ebp - 0x27c], eax
push 0x4e8e70
mov dword [ebp - 4], 0
call fcn.0049fbd0
push eax
push 0x4e8e70
call fcn.0049fd60
add esp, 0x1c
mov dword [ebp - 0x280], eax
lea eax, [ebp - 0x280]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x288]
push eax
lea ecx, [ebp - 0x27c]
call fcn.0049f8a0
mov esi, eax
mov edi, dword [ebp - 0x270]
push edi
mov byte [ebp - 4], 2
call fcn.0049fbd0
push eax
push edi
call fcn.0049fd60
add esp, 0xc
mov dword [ebp - 0x268], eax
lea eax, [ebp - 0x268]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x284]
mov ecx, esi
push eax
call fcn.0049f8a0
mov ecx, dword [ebp - 0x268]
mov byte [ebp - 4], 6
test ecx, ecx
je 0x49bcd8
call fcn.0049fda0
mov ecx, dword [ebp - 0x288]
mov byte [ebp - 4], 8
test ecx, ecx
je 0x49bceb
call fcn.0049fda0
mov ecx, dword [ebp - 0x280]
mov byte [ebp - 4], 0xa
test ecx, ecx
je 0x49bcfe
call fcn.0049fda0
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x284]
call fcn.0049f770
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x290], eax
cmp eax, 0xffffffff
je 0x49bf15
mov eax, dword [ebp - 0x26c]
lea edi, [ebp - 0x234]
sub eax, dword [ebp - 0x264]
sar eax, 1
lea edi, [edi + eax*2]
mov dword [ebp - 0x28c], edi
mov esi, edi
cmp word [esi], 0x2d
jne 0x49bd77
movzx eax, word [esi + 2]
add esi, 2
push eax
call fcn.004b7f8a
add esp, 4
test eax, eax
je 0x49bd77
movzx eax, word [esi + 2]
add esi, 2
push eax
call fcn.004b7f8a
add esp, 4
test eax, eax
jne 0x49bd63
push dword [ebp - 0x270]
push esi
call fcn.004abd57
add esp, 8
test eax, eax
jne 0x49bef2
push edi
call fcn.0049fbd0
push eax
push edi
call fcn.0049fd60
add esp, 0xc
mov dword [ebp - 0x26c], eax
lea eax, [ebp - 0x26c]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x27c]
call fcn.0049f8a0
mov ecx, dword [ebp - 0x26c]
mov byte [ebp - 4], 0xe
test ecx, ecx
je 0x49bdd4
call fcn.0049fda0
mov eax, dword [ebx]
xor edi, edi
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x274], eax
mov ecx, dword [eax + 4]
mov dword [ebp - 0x278], ecx
cmp byte [ecx + 0xd], 0
jne 0x49be31
mov esi, ecx
lea ecx, [ebp - 0x264]
mov dword [ebp - 0x278], esi
push ecx
lea eax, [esi + 0x10]
mov ecx, ebx
push eax
call fcn.00499f60
test al, al
je 0x49be1c
mov esi, dword [esi + 8]
xor edi, edi
mov eax, dword [ebp - 0x274]
jmp 0x49be2b
mov eax, esi
mov edi, 1
mov esi, dword [esi]
mov dword [ebp - 0x274], eax
cmp byte [esi + 0xd], 0
je 0x49bdf3
cmp byte [eax + 0xd], 0
jne 0x49be51
add eax, 0x10
mov ecx, ebx
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.00499f60
test al, al
je 0x49bed5
cmp dword [ebx + 4], 0xccccccc
je 0x49bf5c
mov eax, dword [ebx]
mov dword [ebp - 0x274], eax
mov dword [ebp - 0x298], ebx
push 0x14
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x294], 0
call fcn.004a4441
mov esi, eax
add esp, 4
mov dword [ebp - 0x294], esi
mov ecx, dword [ebp - 0x264]
mov dword [esi + 0x10], ecx
mov ecx, dword [ebp - 0x264]
mov byte [ebp - 4], 0x10
test ecx, ecx
je 0x49bea8
call fcn.0049fad0
mov eax, dword [ebp - 0x274]
mov ecx, ebx
push esi
mov dword [esi], eax
push edi
push dword [ebp - 0x278]
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov word [esi + 0xc], 0
mov dword [ebp - 0x294], 0
call fcn.004200b0
mov ecx, dword [ebp - 0x264]
mov byte [ebp - 4], 0x12
test ecx, ecx
je 0x49bee8
call fcn.0049fda0
mov edi, dword [ebp - 0x28c]
mov byte [ebp - 4], 9
mov esi, dword [ebp - 0x290]
lea eax, [ebp - 0x260]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x49bd47
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x284]
mov byte [ebp - 4], 0x13
test ecx, ecx
je 0x49bf28
call fcn.0049fda0
mov ecx, dword [ebp - 0x27c]
mov dword [ebp - 4], 0x14
test ecx, ecx
je 0x49bf3e
call fcn.0049fda0
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.004a4433
mov esp, ebp
pop ebp
ret 4
call fcn.004202a0
int3