Function at 0x478f70
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c5d6c
mov eax, dword fs:[0]
push eax
sub esp, 0x364
mov eax, dword [0x67c3c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x320], esi
push 0
lea ecx, [esi + 0x188]
push 0x5d5a64
call fcn.00469260
push 0
lea ecx, [esi + 0x1a0]
push 0x5d5a64
call fcn.00469260
mov eax, dword [esi + 0x1b8]
lea edi, [esi + 0x1b8]
mov ecx, dword [edi + 4]
cmp eax, ecx
je 0x478fec
push edi
push ecx
push eax
call fcn.00469ee0
mov eax, dword [edi]
add esp, 0xc
mov dword [edi + 4], eax
mov eax, dword [esi + 0x1c4]
add esi, 0x1c4
mov ecx, dword [esi + 4]
cmp eax, ecx
je 0x47900f
push esi
push ecx
push eax
call fcn.00469ee0
mov eax, dword [esi]
add esp, 0xc
mov dword [esi + 4], eax
xorps xmm0, xmm0
mov dword [ebp - 0x60], 0
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
xor eax, eax
mov dword [ebp - 4], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 1
push eax
push 0x5d5f78
call fcn.004662b0
cmp dword [ebp - 0x5c], 0xf
lea eax, [ebp - 0x70]
push 0xfde9
cmova eax, dword [ebp - 0x70]
push eax
lea eax, [ebp - 0x358]
push eax
call fcn.00544480
add esp, 0x14
lea ecx, [ebp - 0x28]
call fcn.004443f0
movups xmm0, xmmword [ebp - 0x358]
mov esi, dword [ebp - 0x320]
lea eax, [ebp - 0x28]
push eax
movups xmmword [ebp - 0x28], xmm0
mov ecx, esi
movq xmm0, qword [ebp - 0x348]
movq qword [ebp - 0x18], xmm0
call fcn.00479680
test al, al
jne 0x479140
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x328], 0
push 0x5cba4c
lea ecx, [ebp - 0x338]
mov dword [ebp - 0x324], 0
movups xmmword [ebp - 0x338], xmm0
call fcn.004427c0
lea eax, [ebp - 0x338]
mov byte [ebp - 4], 2
push eax
push 0x5d5f78
call fcn.00466710
mov ecx, dword [ebp - 0x324]
add esp, 8
cmp ecx, 0xf
jbe 0x479134
mov edx, dword [ebp - 0x338]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x47912a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47966d
push ecx
push edx
call fcn.0059a744
add esp, 8
mov byte [ebp - 0x311], 0
jmp 0x4795e6
lea eax, [ebp - 0x28]
lea ecx, [esi + 0x188]
cmp ecx, eax
je 0x47915e
cmp dword [ebp - 0x14], 7
push dword [ebp - 0x18]
cmova eax, dword [ebp - 0x28]
push eax
call fcn.00469260
mov ecx, esi
call fcn.00478d70
push str.config
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0045dab0
add esp, 0xc
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 3
push eax
mov ecx, esi
call fcn.00478820
test al, al
jne 0x4791bf
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmova eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x40]
push eax
call fcn.00469260
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call fcn.00478820
test al, al
jne 0x4791bf
mov byte [ebp - 0x311], 1
jmp 0x4795de
lea eax, [ebp - 0x40]
lea ecx, [esi + 0x1a0]
cmp ecx, eax
je 0x4791dd
cmp dword [ebp - 0x2c], 7
push dword [ebp - 0x30]
cmova eax, dword [ebp - 0x40]
push eax
call fcn.00469260
push str..js
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.0045dab0
add esp, 0xc
cmp dword [ebp - 0x74], 7
lea ecx, [ebp - 0x310]
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 4
cmova eax, dword [ebp - 0x88]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x318], esi
cmp esi, 0xffffffff
je 0x4795cc
nop dword [eax]
test byte [ebp - 0x310], 0x10
jne 0x47959b
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0x2e4]
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x58], xmm0
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x479260
sub ecx, edx
lea eax, [ebp - 0x2e4]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.00442860
push 0x5d5a4c
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x358]
push eax
call fcn.0045dab0
add esp, 0xc
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 6
push ecx
push eax
push dword [ebp - 0x31c]
lea ecx, [ebp - 0x370]
call fcn.00460730
lea ecx, [ebp - 0x88]
call fcn.004443f0
movups xmm0, xmmword [ebp - 0x370]
mov ecx, dword [ebp - 0x344]
mov byte [ebp - 4], 5
movups xmmword [ebp - 0x88], xmm0
movq xmm0, qword [ebp - 0x360]
movq qword [ebp - 0x78], xmm0
cmp ecx, 7
jbe 0x47931f
mov edx, dword [ebp - 0x358]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x479315
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47966d
push ecx
push edx
call fcn.0059a744
add esp, 8
mov ecx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x348], 0
mov dword [ebp - 0x344], 7
mov word [ebp - 0x358], ax
mov byte [ebp - 4], 4
cmp ecx, 7
jbe 0x47937a
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x479370
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47966d
push ecx
push edx
call fcn.0059a744
add esp, 8
lea eax, [ebp - 0x33c]
push eax
lea eax, [ebp - 0x340]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.00472ac0
add esp, 0xc
test al, al
je 0x47959b
push 0x38
lea eax, [ebp - 0xc0]
push 0
push eax
call fcn.0059c4a0
add esp, 0xc
lea ecx, [ebp - 0xc0]
push 0
push 0x400
push 0
call fcn.00442cc0
mov eax, dword [ebp - 0x33c]
lea ecx, [ebp - 0xc0]
mov esi, dword [ebp - 0x340]
inc eax
push eax
push esi
mov byte [ebp - 4], 7
call fcn.0045e2b0
cmp dword [eax + 0x30], 0
jne 0x47957d
xorps xmm0, xmm0
lea ecx, [ebp - 0xc0]
movups xmmword [ebp - 0x50], xmm0
mov eax, 0x405
mov dword [ebp - 0x48], str.patches
mov word [ebp - 0x42], ax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x31c]
mov dword [ebp - 0x50], 7
push eax
call fcn.00441410
mov eax, dword [ebp - 0xc0]
shl eax, 5
add eax, dword [ebp - 0xb8]
cmp dword [ebp - 0x31c], eax
je 0x47957d
push str.patches
lea ecx, [ebp - 0xc0]
call fcn.004404e0
cmp word [eax + 0xe], 4
jne 0x47957d
push str.patches
lea ecx, [ebp - 0xc0]
call fcn.004404e0
cmp dword [eax], 0
je 0x47957d
push str.patches
lea ecx, [ebp - 0xc0]
call fcn.004404e0
mov ecx, dword [eax + 8]
mov eax, dword [eax]
shl eax, 4
add eax, ecx
cmp ecx, eax
je 0x4794a2
nop
cmp word [ecx + 0xe], 3
jne 0x47957d
add ecx, 0x10
cmp ecx, eax
jne 0x479490
push esi
call fcn.005aaea9
add esp, 4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xc0]
call fcn.004442c0
push 0xfde9
lea eax, [ebp - 0x2e4]
push eax
lea eax, [ebp - 0x338]
push eax
call fcn.00544550
add esp, 0xc
mov eax, dword [edi + 4]
mov byte [ebp - 4], 8
cmp eax, dword [edi + 8]
je 0x47952e
xorps xmm0, xmm0
mov ecx, 0xf
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
movups xmm0, xmmword [ebp - 0x338]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x328]
movq qword [eax + 0x10], xmm0
add dword [edi + 4], 0x18
mov dword [ebp - 0x328], 0
mov dword [ebp - 0x324], ecx
mov byte [ebp - 0x338], 0
jmp 0x479543
lea ecx, [ebp - 0x338]
push ecx
push eax
mov ecx, edi
call fcn.0046a8d0
mov ecx, dword [ebp - 0x324]
mov byte [ebp - 4], 4
cmp ecx, 0xf
jbe 0x479595
mov edx, dword [ebp - 0x338]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x479571
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47966d
push ecx
push edx
call fcn.0059a744
add esp, 8
jmp 0x479595
push esi
call fcn.005aaea9
add esp, 4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xc0]
call fcn.004442c0
mov esi, dword [ebp - 0x318]
lea eax, [ebp - 0x310]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x479230
push dword [ebp - 0x318]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x320]
lea eax, [ebp - 0x40]
push eax
call fcn.00478950
lea ecx, [ebp - 0x88]
mov byte [ebp - 0x311], 1
call fcn.004443f0
lea ecx, [ebp - 0x40]
call fcn.004443f0
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x47961c
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x479612
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x479672
push ecx
push edx
call fcn.0059a744
add esp, 8
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0xf
jbe 0x47964c
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x479642
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x479672
push ecx
push edx
call fcn.0059a744
add esp, 8
mov al, byte [ebp - 0x311]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0059a5ad
mov esp, ebp
pop ebp
ret
call fcn.005ad975
call fcn.005ad975
int3