Function at 0x455480
Capabilities:
Enumerate files on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4afab0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x678
mov eax, dword [0x4f0100]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x688], edi
mov esi, ecx
cmp word [esi], 0
je 0x4554fc
lea eax, [ebp - 0x680]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x4555bc
test byte [ebp - 0x680], 0x10
je 0x4555bc
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp word [esi], 0
mov dword [ebp - 0x684], 0
je 0x4555c4
lea ecx, [ebp - 0x218]
sub ecx, esi
nop dword [eax + eax]
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx + esi - 2], ax
test ax, ax
jne 0x455520
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x455540
sub ecx, edx
sar ecx, 1
cmp word [ebp + ecx*2 - 0x21a], 0x5c
je 0x455576
lea edi, [ebp - 0x218]
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x455563
mov eax, dword [0x4deb7c]
mov dword [edi], eax
xor ecx, ecx
nop dword [eax + eax]
movzx eax, word [ebp + ecx - 0x218]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x41a], ax
test ax, ax
jne 0x455580
lea edi, [ebp - 0x418]
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x4555a1
mov eax, dword [0x4d7f84]
mov dword [edi], eax
mov edi, dword [ebp - 0x688]
jmp 0x4555d7
or eax, 0xffffffff
jmp 0x455765
xor eax, eax
mov dword [ebp - 0x418], 0x2a
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x680]
push eax
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x45575f
nop word [eax + eax]
mov edx, 0x4deaf4
lea ecx, [ebp - 0x654]
nop dword [eax + eax]
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x455636
test ax, ax
je 0x455632
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
jne 0x455636
add ecx, 4
add edx, 4
test ax, ax
jne 0x455610
xor eax, eax
jmp 0x45563b
sbb eax, eax
or eax, 1
test eax, eax
je 0x455742
mov eax, 0x4deaf8
lea ecx, [ebp - 0x654]
nop
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x455676
test dx, dx
je 0x455672
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x455676
add ecx, 4
add eax, 4
test dx, dx
jne 0x455650
xor eax, eax
jmp 0x45567b
sbb eax, eax
or eax, 1
test eax, eax
je 0x455742
test edi, edi
je 0x45573c
xorps xmm0, xmm0
mov dword [ebp - 0x420], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x41c], 0
movups xmmword [ebp - 0x430], xmm0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4556b2
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x430]
call fcn.0041cad0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x654]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4556e4
sub ecx, edx
lea eax, [ebp - 0x654]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x430]
call fcn.004140b0
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x430]
push ecx
cmp eax, dword [edi + 8]
je 0x455722
mov ecx, eax
call fcn.004142a0
add dword [edi + 4], 0x18
jmp 0x45572a
push eax
mov ecx, edi
call fcn.00458070
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x430]
call fcn.00416820
inc dword [ebp - 0x684]
lea eax, [ebp - 0x680]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x455600
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x684]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0047b4e2
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret