Function at 0x446480
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x60fdf4
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x7161c0]
xor eax, esp
mov dword [esp + 0x220], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x7161c0]
xor eax, esp
push eax
lea eax, [esp + 0x238]
mov dword fs:[0], eax
mov esi, dword [esp + 0x248]
mov ebx, dword [esp + 0x24c]
mov dword [esp + 0x48], ecx
lea ecx, [esp + 0x5c]
call fcn.00440af0
mov dword [esp + 0x240], 0
mov ebp, dword [esi]
test ebp, ebp
je 0x4465c4
xor eax, eax
test ebp, ebp
setne al
test eax, eax
je 0x44667b
mov eax, ebp
mov esi, dword [eax + 8]
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
mov ebp, dword [ebp]
sub esi, 0x10
call edx
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x446529
cmp eax, dword [esi]
jne 0x446529
mov edi, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x44655f
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x446685
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
add eax, 1
push eax
add esi, 0x10
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.005d8f18
add esp, 0x10
add edi, 0x10
mov dword [esp + 0x14], edi
mov byte [esp + 0x240], 2
lea ecx, [esp + 0x14]
call fcn.00407f30
mov ecx, eax
call fcn.00407e90
mov edx, dword [eax]
cmp dword [edx - 0xc], 0
je 0x446594
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x70]
call fcn.0040b2f0
mov byte [esp + 0x240], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4465bc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebp, ebp
jne 0x4464eb
test ebx, ebx
je 0x446661
mov esi, dword [ebx]
test esi, esi
je 0x446661
mov bl, 5
xor eax, eax
test esi, esi
setne al
test eax, eax
je 0x44667b
mov eax, esi
mov eax, dword [eax + 8]
mov esi, dword [esi]
sub eax, 0x10
push eax
call fcn.00402800
add eax, 0x10
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x240], bl
lea ecx, [esp + 0x14]
call fcn.00407f30
mov ecx, eax
call fcn.00407e90
mov ecx, dword [eax]
cmp dword [ecx - 0xc], 0
je 0x446631
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x88]
call fcn.0040b2f0
mov byte [esp + 0x240], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x446659
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
jne 0x4465d8
cmp dword [esp + 0x74], 0
je 0x446bb8
mov eax, dword [esp + 0x6c]
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x44668a
push 0x80004005
call fcn.00401470
call fcn.00418c70
add eax, 8
push eax
lea ecx, [esp + 0x20]
call fcn.00402bc0
mov byte [esp + 0x240], 7
mov ecx, dword [esp + 0x1c]
cmp dword [ecx - 0xc], 0
jl 0x4466c7
push 0x635f30
push ecx
call fcn.005d9339
mov ecx, dword [esp + 0x24]
add esp, 8
test eax, eax
je 0x4466c7
sub eax, ecx
jns 0x4469f6
push 0x2e
push ecx
call fcn.005d940c
add esp, 8
test eax, eax
je 0x4469f6
sub eax, dword [esp + 0x1c]
mov esi, eax
test esi, esi
jle 0x4469f6
call fcn.005bc35c
mov eax, dword [eax + 4]
lea ecx, [esi + 1]
push ecx
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x24]
lea edi, [eax + 0x838]
call fcn.00407f80
mov byte [esp + 0x240], 8
mov ecx, eax
call fcn.00407e30
push eax
lea ecx, [esp + 0x1c]
call fcn.00402bc0
mov byte [esp + 0x240], 0xa
lea ecx, [esp + 0x20]
call fcn.00401a50
push 1
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call fcn.00402bc0
mov byte [esp + 0x248], 0xb
mov byte [esp + 0x248], 0xa
mov ecx, edi
call fcn.004343e0
test al, al
jne 0x4469e5
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x18]
call fcn.00402bc0
mov byte [esp + 0x240], 0xc
push 0x5c
push 0x2f
lea ecx, [esp + 0x1c]
call fcn.00440a30
push 0x5c
lea ecx, [esp + 0x18]
call fcn.00402710
add eax, 1
push eax
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x1c]
call fcn.004048d0
mov byte [esp + 0x240], 0xd
push eax
lea ecx, [esp + 0x18]
call fcn.00403020
mov byte [esp + 0x240], 0xc
lea ecx, [esp + 0x20]
call fcn.00401a50
push 0x13c
lea eax, [esp + 0xfc]
push 0
push eax
mov dword [esp + 0x100], 0
call fcn.005d9e90
add esp, 0xc
push esi
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x24]
call fcn.004048d0
mov bl, 0xe
mov byte [esp + 0x240], bl
push 0x637ce0
push eax
lea edx, [esp + 0x4c]
push edx
call fcn.00403170
add esp, 0xc
mov byte [esp + 0x240], 0xf
mov eax, dword [eax]
lea ecx, [esp + 0xf4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
mov byte [esp + 0x240], bl
lea ecx, [esp + 0x44]
call fcn.00401a50
mov byte [esp + 0x240], 0xc
lea ecx, [esp + 0x30]
call fcn.00401a50
cmp esi, 0xffffffff
je 0x4469d4
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov bl, 0x13
test byte [esp + 0xf4], 0x10
jne 0x4469ba
lea edx, [esp + 0x120]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.00403170
mov byte [esp + 0x24c], 0x10
mov edx, dword [esp + 0x30]
push 0x2e
push edx
call fcn.005d940c
add esp, 0x14
test eax, eax
jne 0x4468a6
or eax, 0xffffffff
jmp 0x4468aa
sub eax, dword [esp + 0x24]
add eax, 1
push eax
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x2c]
call fcn.00407f80
mov byte [esp + 0x240], 0x11
mov ecx, eax
call fcn.00407e30
push eax
lea ecx, [esp + 0x24]
call fcn.00402bc0
mov byte [esp + 0x240], bl
lea ecx, [esp + 0x2c]
call fcn.00401a50
push ecx
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.00402bc0
mov byte [esp + 0x244], 0x14
lea eax, [esp + 0x70]
push eax
mov byte [esp + 0x248], bl
call fcn.00444500
add esp, 8
test al, al
jne 0x446998
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.0040ca70
add esp, 8
test al, al
je 0x446998
push 1
push ecx
lea eax, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.00402bc0
mov byte [esp + 0x248], 0x15
mov byte [esp + 0x248], bl
mov ecx, edi
call fcn.004343e0
test al, al
je 0x446998
push 0
push ecx
lea edx, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.00402bc0
mov byte [esp + 0x248], 0x16
mov byte [esp + 0x248], bl
mov ecx, edi
call fcn.00436720
test al, al
je 0x446998
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x70]
call fcn.0040b2f0
mov byte [esp + 0x240], 0x10
lea ecx, [esp + 0x20]
call fcn.00401a50
mov byte [esp + 0x240], 0xc
lea ecx, [esp + 0x24]
call fcn.00401a50
lea ecx, [esp + 0xf4]
push ecx
push esi
call ebp
test eax, eax
jne 0x446861
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [esp + 0x240], 0xa
lea ecx, [esp + 0x14]
call fcn.00401a50
mov byte [esp + 0x240], 7
lea ecx, [esp + 0x18]
call fcn.00401a50
call fcn.005bc35c
mov eax, dword [eax + 4]
cmp byte [eax + 0x8d4], 0
je 0x446b93
lea ecx, [esp + 0x4c]
call fcn.0049c800
mov byte [esp + 0x240], 0x17
push 0x636dc8
lea ecx, [esp + 0x1c]
call fcn.00401eb0
mov byte [esp + 0x240], 0x18
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x50]
call fcn.00445090
mov byte [esp + 0x240], 0x17
lea ecx, [esp + 0x18]
call fcn.00401a50
push str.._subtitles
lea ecx, [esp + 0x1c]
call fcn.00401eb0
mov byte [esp + 0x240], 0x19
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x50]
call fcn.00445090
mov byte [esp + 0x240], 0x17
lea ecx, [esp + 0x18]
call fcn.00401a50
push str.c:_subtitles
lea ecx, [esp + 0x1c]
call fcn.00401eb0
mov byte [esp + 0x240], 0x1a
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x50]
call fcn.00445090
mov byte [esp + 0x240], 0x17
lea ecx, [esp + 0x18]
call fcn.00401a50
lea ecx, [esp + 0x34]
call fcn.0049c800
mov bl, 0x1b
mov byte [esp + 0x240], bl
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x50]
push eax
push ecx
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call fcn.00402bc0
mov byte [esp + 0x24c], 0x1c
mov byte [esp + 0x24c], bl
call fcn.004a6810
mov eax, dword [esp + 0x44]
add esp, 0xc
xor esi, esi
test eax, eax
jbe 0x446b71
cmp esi, eax
jae 0x446bf6
mov eax, dword [esp + 0x34]
push ecx
lea eax, [eax + esi*4]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.00402bc0
mov byte [esp + 0x244], 0x1d
lea ecx, [esp + 0x88]
push ecx
mov byte [esp + 0x248], bl
call fcn.00444500
add esp, 8
test al, al
jne 0x446b66
cmp esi, dword [esp + 0x38]
jae 0x446bf6
mov edx, dword [esp + 0x34]
lea eax, [edx + esi*4]
push eax
lea ecx, [esp + 0x88]
call fcn.0040b2f0
mov eax, dword [esp + 0x38]
add esi, 1
cmp esi, eax
jb 0x446b11
mov byte [esp + 0x240], 0x17
lea ecx, [esp + 0x34]
call fcn.00445d00
mov byte [esp + 0x240], 7
lea ecx, [esp + 0x4c]
call fcn.00445420
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0x5c]
push eax
add ecx, 0x170
call fcn.004416f0
mov byte [esp + 0x240], 0
lea ecx, [esp + 0x1c]
call fcn.00401a50
mov dword [esp + 0x240], 0xffffffff
lea ecx, [esp + 0x5c]
call fcn.00440c40
mov ecx, dword [esp + 0x238]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.005d8d34
add esp, 0x230
ret 8
push 0x80070057
call fcn.00401470
int3