Function at 0x459b70
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 0x52b6f9
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x498
mov eax, dword [0x566090]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4a4], ecx
mov edx, dword [ebx + 8]
mov dword [ebp - 0x4a0], edx
cmp word [edx], 0
mov eax, dword [edx + 0x2000]
mov dword [ebp - 0x4a8], eax
jne 0x459bf4
mov al, 1
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.004fc7af
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
mov dword [ebp - 0x2c], 0
mov ecx, edx
mov dword [ebp - 0x1c], 0
xor eax, eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], 0xffffffff
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x459c20
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.00445880
mov dword [ebp - 4], 1
lea eax, [ebp - 0x2c]
mov edi, dword [ebp - 0x18]
cmp edi, 8
mov ecx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x1c]
cmovae eax, ecx
setae dl
cmp word [eax + esi*2 - 2], 0x5c
je 0x459d7d
cmp esi, edi
jae 0x459c82
lea eax, [esi + 1]
test dl, dl
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x2c]
cmovne eax, ecx
mov dword [eax + esi*2], 0x5c
mov ecx, dword [ebp - 0x2c]
jmp 0x459d77
mov eax, SysReAllocString
sub eax, esi
cmp eax, 1
jb 0x45a4ae
lea ecx, [esi + 1]
or ecx, 7
cmp ecx, 0x7ffffffe
jbe 0x459ca7
mov ecx, SysReAllocString
jmp 0x459cc5
mov edx, edi
mov eax, SysReAllocString
shr edx, 1
sub eax, edx
cmp edi, eax
jbe 0x459cbd
mov ecx, SysReAllocString
jmp 0x459cc5
lea eax, [edx + edi]
cmp ecx, eax
cmovb ecx, eax
lea eax, [ecx + 1]
mov dword [ebp - 0x494], ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.004457f0
mov ecx, eax
lea eax, [esi + 1]
mov dword [ebp - 0x30], ecx
lea ecx, [esi + esi]
mov esi, dword [ebp - 0x30]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x494]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x48c], ecx
push ecx
cmp edi, 8
jb 0x459d54
mov eax, dword [ebp - 0x2c]
push eax
push esi
mov dword [ebp - 0x494], eax
call fcn.004fe5a0
mov eax, dword [ebp - 0x48c]
lea edi, [edi*2 + 2]
add esp, 0xc
mov dword [esi + eax], 0x5c
mov eax, dword [ebp - 0x494]
cmp edi, 0x1000
jb 0x459d48
mov ecx, dword [eax - 4]
add edi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45a4b3
mov eax, ecx
push edi
push eax
call fcn.004fc7e0
add esp, 8
jmp 0x459d71
lea eax, [ebp - 0x2c]
push eax
push esi
call fcn.004fe5a0
mov eax, dword [ebp - 0x48c]
add esp, 0xc
mov dword [ebp - 0x30], esi
mov dword [esi + eax], 0x5c
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x2c], esi
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x50], 0
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
cmp edi, 8
mov byte [ebp - 4], 3
lea eax, [ebp - 0x2c]
cmovae eax, ecx
mov dword [ebp - 0x494], eax
cmp esi, 7
ja 0x459dcc
mov dword [ebp - 0x40], esi
add esi, esi
push esi
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.004fe5a0
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x50], ax
jmp 0x459e2e
cmp esi, 0x7ffffffe
ja 0x45a4ae
mov eax, esi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x459deb
mov eax, SysReAllocString
jmp 0x459df5
mov ecx, 0xa
cmp eax, ecx
cmovb eax, ecx
mov dword [ebp - 0x48c], eax
lea ecx, [ebp - 0x50]
inc eax
push eax
call fcn.004457f0
mov dword [ebp - 0x40], esi
mov edi, eax
mov eax, dword [ebp - 0x48c]
add esi, esi
push esi
push dword [ebp - 0x494]
mov dword [ebp - 0x3c], eax
push edi
call fcn.004fe5a0
add esp, 0xc
xor eax, eax
mov word [esi + edi], ax
mov dword [ebp - 0x50], edi
mov edx, dword [ebp - 0x4a0]
add edx, 0x1000
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x459e40
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x50]
call fcn.00445020
cmp dword [ebp - 0x3c], 8
lea ecx, [ebp - 0x370]
lea eax, [ebp - 0x50]
cmovae eax, dword [ebp - 0x50]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x494], eax
cmp eax, 0xffffffff
jne 0x45a0f7
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [ebp - 0xb0]
mov dword [ebp - 0x4a0], eax
lea ecx, [ebp - 0x100]
mov dword [ebp - 0xb0], 0x80728045
mov dword [ebp - 0xac], 0x806f8072
mov dword [ebp - 0xa8], 0x802c8072
mov dword [ebp - 0xa4], 0x80638020
mov dword [ebp - 0xa0], 0x806c8061
mov dword [ebp - 0x9c], 0x8069806c
mov dword [ebp - 0x98], 0x8067806e
mov dword [ebp - 0x94], 0x80468020
mov dword [ebp - 0x90], 0x806e8069
mov dword [ebp - 0x8c], 0x80468064
mov dword [ebp - 0x88], 0x80728069
mov dword [ebp - 0x84], 0x80748073
mov dword [ebp - 0x80], 0x80698046
mov dword [ebp - 0x7c], 0x8065806c
mov dword [ebp - 0x78], 0x8020803a
mov dword [ebp - 0x74], 0x807d807b
mov dword [ebp - 0x70], 0x8000
call fcn.00419a70
mov byte [ebp - 4], 4
lea eax, [ebp - 0x100]
cmp dword [ebp - 0xec], 8
lea edx, [ebp - 0x48c]
lea ecx, [ebp - 0xe8]
cmovae eax, dword [ebp - 0x100]
mov dword [ebp - 0x48c], eax
lea eax, [ebp - 0x4a0]
push eax
call fcn.0041d930
add esp, 4
push eax
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 5
call fcn.00444e70
mov byte [ebp - 4], 6
lea edi, [ebp - 0x68]
cmp dword [ebp - 0x54], 8
lea ecx, [ebp - 0x3b8]
mov edx, str.CArchiveMgr::AddFolderToCrashInfo
mov dword [ebp - 0x38], 0x290028
cmovae edi, dword [ebp - 0x68]
mov dword [ebp - 0x34], 0x2d0020
mov dword [ebp - 0x30], 0x20
call fcn.00426ad0
mov edx, str._BDREINIT__::
lea ecx, [ebp - 0x120]
mov esi, eax
call fcn.00419450
push esi
mov edx, eax
lea ecx, [ebp - 0x418]
call fcn.00426be0
add esp, 4
lea ecx, [ebp - 0x38]
mov edx, eax
push ecx
lea ecx, [ebp - 0x488]
call fcn.00426d70
add esp, 4
mov esi, eax
call fcn.00441aa0
push edi
push 0
push esi
push 8
push eax
call fcn.0043ebb0
mov edx, dword [ebp - 0x54]
add esp, 0x14
cmp edx, 8
jb 0x45a03a
mov ecx, dword [ebp - 0x68]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45a030
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45a4b3
push edx
push ecx
call fcn.004fc7e0
add esp, 8
mov edx, dword [ebp - 0xd4]
xor eax, eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
cmp edx, 8
jb 0x45a08e
mov ecx, dword [ebp - 0xe8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45a084
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45a4b3
push edx
push ecx
call fcn.004fc7e0
add esp, 8
mov edx, dword [ebp - 0xec]
xor eax, eax
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 7
mov word [ebp - 0xe8], ax
cmp edx, 8
jb 0x45a0eb
mov ecx, dword [ebp - 0x100]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45a0e1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45a4b3
push edx
push ecx
call fcn.004fc7e0
add esp, 8
mov byte [ebp - 0x48d], 0
jmp 0x45a465
push 0x30
mov dword [ebp - 0x49c], 0
mov dword [ebp - 0x498], 0
call fcn.004fc7f3
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x49c], eax
mov byte [ebp - 4], 7
nop dword [eax]
test byte [ebp - 0x370], 0x10
jne 0x45a2cc
lea ecx, [ebp - 0x344]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45a146
sub ecx, edx
mov eax, SysReAllocString
mov edx, dword [ebp - 0x1c]
sub eax, edx
sar ecx, 1
cmp eax, ecx
jb 0x45a4ae
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push ecx
cmovae eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x344]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x4a4]
lea ecx, [ebp - 0x68]
call fcn.00423e40
mov byte [ebp - 4], 8
xor esi, esi
mov ecx, dword [ebp - 0x49c]
mov edi, ecx
mov edx, dword [ebp - 0x358]
mov dword [ebp - 0x4a0], ecx
mov eax, dword [ecx + 4]
mov dword [ebp - 0x48c], eax
cmp byte [eax + 0xd], 0
jne 0x45a1e5
mov dword [ebp - 0x48c], eax
cmp dword [eax + 0x14], edx
jne 0x45a1c8
mov ecx, dword [ebp - 0x35c]
cmp dword [eax + 0x10], ecx
setb cl
test cl, cl
je 0x45a1d6
mov eax, dword [eax + 8]
xor esi, esi
jmp 0x45a1df
mov edi, eax
mov esi, 1
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x45a1b4
cmp byte [edi + 0xd], 0
jne 0x45a204
cmp edx, dword [edi + 0x14]
jne 0x45a1f9
mov eax, dword [ebp - 0x35c]
cmp eax, dword [edi + 0x10]
setb al
test al, al
je 0x45a289
cmp dword [ebp - 0x498], 0x5555555
je 0x45a4b8
lea eax, [ebp - 0x49c]
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 9
push 0x30
mov dword [ebp - 0x30], 0
call fcn.004fc7f3
mov ecx, dword [ebp - 0x35c]
add esp, 4
mov edx, dword [ebp - 0x358]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
mov dword [eax + 0x18], 0
mov ecx, dword [ebp - 0x4a0]
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 7
mov dword [eax], ecx
push eax
mov dword [eax + 4], ecx
push esi
push dword [ebp - 0x48c]
mov dword [eax + 8], ecx
lea ecx, [ebp - 0x49c]
mov word [eax + 0xc], 0
mov dword [ebp - 0x30], 0
call fcn.00423b30
mov edi, eax
add edi, 0x18
lea eax, [ebp - 0x68]
cmp edi, eax
je 0x45a2c0
mov ecx, edi
call fcn.00445ad0
movups xmm0, xmmword [ebp - 0x68]
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x58]
movq qword [edi + 0x10], xmm0
xor eax, eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
nop
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 7
call fcn.00445ad0
lea eax, [ebp - 0x370]
push eax
push dword [ebp - 0x494]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x45a130
mov edi, dword [ebp - 0x4a8]
test edi, edi
je 0x45a437
nop word [eax + eax]
dec edi
cmp dword [ebp - 0x498], 0
je 0x45a437
push 0x546f88
lea ecx, [ebp - 0xcc]
mov dword [ebp - 0xd0], 0
call fcn.00445990
mov dword [ebp - 0xb4], 0xffffffff
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x48c]
mov eax, dword [ebp - 0x49c]
mov dword [ebp - 0xd0], 1
mov dword [ebp - 0x48c], eax
call fcn.0045c380
mov eax, dword [ebp - 0x48c]
lea ecx, [ebp - 0xcc]
add eax, 0x18
cmp ecx, eax
je 0x45a382
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x45a375
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0xcc]
call fcn.00445880
mov esi, dword [ebp - 0x4a4]
lea eax, [ebp - 0xd0]
push eax
mov edx, dword [esi + 4]
cmp edx, dword [esi + 8]
je 0x45a3a5
call fcn.0045cd30
add esp, 4
add dword [esi + 4], 0x20
jmp 0x45a3ad
push edx
mov ecx, esi
call fcn.0045cdb0
mov eax, dword [ebp - 0x49c]
cmp byte [eax + 0xd], 0
je 0x45a3be
mov eax, dword [eax + 8]
jmp 0x45a3ff
mov ecx, dword [eax]
cmp byte [ecx + 0xd], 0
je 0x45a3e9
mov ecx, dword [eax + 4]
cmp byte [ecx + 0xd], 0
jne 0x45a3df
nop
cmp eax, dword [ecx]
jne 0x45a3df
mov eax, ecx
mov ecx, dword [ecx + 4]
cmp byte [ecx + 0xd], 0
je 0x45a3d0
cmp byte [eax + 0xd], 0
jne 0x45a3ff
mov eax, ecx
jmp 0x45a3ff
mov eax, ecx
mov ecx, dword [eax + 8]
cmp byte [ecx + 0xd], 0
jne 0x45a3ff
mov eax, ecx
mov ecx, dword [eax + 8]
cmp byte [ecx + 0xd], 0
je 0x45a3f4
push eax
lea ecx, [ebp - 0x49c]
call fcn.00431c60
mov esi, eax
lea ecx, [esi + 0x18]
call fcn.00445ad0
push 0x30
push esi
call fcn.004fc7e0
add esp, 8
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xcc]
call fcn.00445ad0
test edi, edi
jne 0x45a300
mov eax, dword [ebp - 0x49c]
mov byte [ebp - 0x48d], 1
push dword [eax + 4]
lea eax, [ebp - 0x49c]
push eax
mov ecx, eax
call fcn.0045d020
push 0x30
push dword [ebp - 0x49c]
call fcn.004fc7e0
add esp, 8
mov eax, dword [ebp - 0x3c]
cmp eax, 8
jb 0x45a47a
inc eax
lea ecx, [ebp - 0x50]
push eax
push dword [ebp - 0x50]
call fcn.00445a90
mov ecx, dword [ebp - 0x18]
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
cmp ecx, 8
jb 0x45a4a3
inc ecx
push ecx
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x2c]
call fcn.00445a90
mov al, byte [ebp - 0x48d]
jmp 0x459bd4
call fcn.004456a0
call fcn.0050175f
call fcn.0043c7a0
int3