Function at 0x438560
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x5f30e4
mov eax, dword fs:[0]
push eax
sub esp, 0x1f4
mov eax, dword [0x6f1550]
xor eax, esp
mov dword [esp + 0x1f0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6f1550]
xor eax, esp
push eax
lea eax, [esp + 0x208]
mov dword fs:[0], eax
mov esi, dword [esp + 0x218]
mov ebx, dword [esp + 0x21c]
mov dword [esp + 0x48], ecx
lea ecx, [esp + 0x5c]
call fcn.00433380
mov dword [esp + 0x210], 0
mov ebp, dword [esi]
test ebp, ebp
je 0x4386a4
xor eax, eax
test ebp, ebp
setne al
test eax, eax
je 0x43875b
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 0x438609
cmp eax, dword [esi]
jne 0x438609
mov edi, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x43863f
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 0x438765
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.005bf888
add esp, 0x10
add edi, 0x10
mov dword [esp + 0x14], edi
mov byte [esp + 0x210], 2
lea ecx, [esp + 0x14]
call fcn.004045b0
mov ecx, eax
call fcn.004043c0
mov edx, dword [eax]
cmp dword [edx - 0xc], 0
je 0x438674
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x70]
call fcn.004048b0
mov byte [esp + 0x210], 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 0x43869c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebp, ebp
jne 0x4385cb
test ebx, ebx
je 0x438741
mov esi, dword [ebx]
test esi, esi
je 0x438741
mov bl, 5
xor eax, eax
test esi, esi
setne al
test eax, eax
je 0x43875b
mov eax, esi
mov eax, dword [eax + 8]
mov esi, dword [esi]
sub eax, 0x10
push eax
call fcn.00403f80
add eax, 0x10
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x210], bl
lea ecx, [esp + 0x14]
call fcn.004045b0
mov ecx, eax
call fcn.004043c0
mov ecx, dword [eax]
cmp dword [ecx - 0xc], 0
je 0x438711
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x88]
call fcn.004048b0
mov byte [esp + 0x210], 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 0x438739
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
jne 0x4386b8
cmp dword [esp + 0x74], 0
je 0x438c98
mov eax, dword [esp + 0x6c]
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x43876a
push 0x80004005
call fcn.00401480
call fcn.00401810
add eax, 8
push eax
lea ecx, [esp + 0x20]
call fcn.00404170
mov byte [esp + 0x210], 7
mov ecx, dword [esp + 0x1c]
cmp dword [ecx - 0xc], 0
jl 0x4387a7
push 0x616f80
push ecx
call fcn.005c0219
mov ecx, dword [esp + 0x24]
add esp, 8
test eax, eax
je 0x4387a7
sub eax, ecx
jns 0x438ad6
push 0x2e
push ecx
call fcn.005c282c
add esp, 8
test eax, eax
je 0x438ad6
sub eax, dword [esp + 0x1c]
mov esi, eax
test esi, esi
jle 0x438ad6
call fcn.005a2d4d
mov eax, dword [eax + 4]
lea ecx, [esi + 1]
push ecx
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x24]
lea edi, [eax + 0x828]
call fcn.00404540
mov byte [esp + 0x210], 8
mov ecx, eax
call fcn.00418620
push eax
lea ecx, [esp + 0x1c]
call fcn.00404170
mov byte [esp + 0x210], 0xa
lea ecx, [esp + 0x20]
call fcn.00401aa0
push 1
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call fcn.00404170
mov byte [esp + 0x218], 0xb
mov byte [esp + 0x218], 0xa
mov ecx, edi
call fcn.00429920
test al, al
jne 0x438ac5
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x18]
call fcn.00404170
mov byte [esp + 0x210], 0xc
push 0x5c
push 0x2f
lea ecx, [esp + 0x1c]
call fcn.00432e60
push 0x5c
lea ecx, [esp + 0x18]
call fcn.00430310
add eax, 1
push eax
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x1c]
call fcn.0042ebc0
mov byte [esp + 0x210], 0xd
push eax
lea ecx, [esp + 0x18]
call fcn.004044c0
mov byte [esp + 0x210], 0xc
lea ecx, [esp + 0x20]
call fcn.00401aa0
push 0x13c
lea eax, [esp + 0xcc]
push 0
push eax
mov dword [esp + 0xd0], 0
call fcn.005c0060
add esp, 0xc
push esi
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x24]
call fcn.0042ebc0
mov bl, 0xe
mov byte [esp + 0x210], bl
push 0x618e38
push eax
lea edx, [esp + 0x4c]
push edx
call fcn.00418de0
add esp, 0xc
mov byte [esp + 0x210], 0xf
mov eax, dword [eax]
lea ecx, [esp + 0xc4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
mov byte [esp + 0x210], bl
lea ecx, [esp + 0x44]
call fcn.00401aa0
mov byte [esp + 0x210], 0xc
lea ecx, [esp + 0x30]
call fcn.00401aa0
cmp esi, 0xffffffff
je 0x438ab4
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov bl, 0x13
test byte [esp + 0xc4], 0x10
jne 0x438a9a
lea edx, [esp + 0xf0]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.00418de0
mov byte [esp + 0x21c], 0x10
mov edx, dword [esp + 0x30]
push 0x2e
push edx
call fcn.005c282c
add esp, 0x14
test eax, eax
jne 0x438986
or eax, 0xffffffff
jmp 0x43898a
sub eax, dword [esp + 0x24]
add eax, 1
push eax
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x2c]
call fcn.00404540
mov byte [esp + 0x210], 0x11
mov ecx, eax
call fcn.00418620
push eax
lea ecx, [esp + 0x24]
call fcn.00404170
mov byte [esp + 0x210], bl
lea ecx, [esp + 0x2c]
call fcn.00401aa0
push ecx
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.00404170
mov byte [esp + 0x214], 0x14
lea eax, [esp + 0x70]
push eax
mov byte [esp + 0x218], bl
call fcn.00436720
add esp, 8
test al, al
jne 0x438a78
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.00435b80
add esp, 8
test al, al
je 0x438a78
push 1
push ecx
lea eax, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.00404170
mov byte [esp + 0x218], 0x15
mov byte [esp + 0x218], bl
mov ecx, edi
call fcn.00429920
test al, al
je 0x438a78
push 0
push ecx
lea edx, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.00404170
mov byte [esp + 0x218], 0x16
mov byte [esp + 0x218], bl
mov ecx, edi
call fcn.0042bd50
test al, al
je 0x438a78
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x70]
call fcn.004048b0
mov byte [esp + 0x210], 0x10
lea ecx, [esp + 0x20]
call fcn.00401aa0
mov byte [esp + 0x210], 0xc
lea ecx, [esp + 0x24]
call fcn.00401aa0
lea ecx, [esp + 0xc4]
push ecx
push esi
call ebp
test eax, eax
jne 0x438941
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [esp + 0x210], 0xa
lea ecx, [esp + 0x14]
call fcn.00401aa0
mov byte [esp + 0x210], 7
lea ecx, [esp + 0x18]
call fcn.00401aa0
call fcn.005a2d4d
mov eax, dword [eax + 4]
cmp byte [eax + 0x8c4], 0
je 0x438c73
lea ecx, [esp + 0x4c]
call fcn.00433fe0
mov byte [esp + 0x210], 0x17
push 0x617f48
lea ecx, [esp + 0x1c]
call fcn.00401f00
mov byte [esp + 0x210], 0x18
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x50]
call fcn.004372b0
mov byte [esp + 0x210], 0x17
lea ecx, [esp + 0x18]
call fcn.00401aa0
push str.._subtitles
lea ecx, [esp + 0x1c]
call fcn.00401f00
mov byte [esp + 0x210], 0x19
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x50]
call fcn.004372b0
mov byte [esp + 0x210], 0x17
lea ecx, [esp + 0x18]
call fcn.00401aa0
push str.c:_subtitles
lea ecx, [esp + 0x1c]
call fcn.00401f00
mov byte [esp + 0x210], 0x1a
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x50]
call fcn.004372b0
mov byte [esp + 0x210], 0x17
lea ecx, [esp + 0x18]
call fcn.00401aa0
lea ecx, [esp + 0x34]
call fcn.00433fe0
mov bl, 0x1b
mov byte [esp + 0x210], 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.00404170
mov byte [esp + 0x21c], 0x1c
mov byte [esp + 0x21c], bl
call fcn.004958d0
mov eax, dword [esp + 0x44]
add esp, 0xc
xor esi, esi
test eax, eax
jbe 0x438c51
cmp esi, eax
jae 0x438cd6
mov eax, dword [esp + 0x34]
push ecx
lea eax, [eax + esi*4]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.00404170
mov byte [esp + 0x214], 0x1d
lea ecx, [esp + 0x88]
push ecx
mov byte [esp + 0x218], bl
call fcn.00436720
add esp, 8
test al, al
jne 0x438c46
cmp esi, dword [esp + 0x38]
jae 0x438cd6
mov edx, dword [esp + 0x34]
lea eax, [edx + esi*4]
push eax
lea ecx, [esp + 0x88]
call fcn.004048b0
mov eax, dword [esp + 0x38]
add esi, 1
cmp esi, eax
jb 0x438bf1
mov byte [esp + 0x210], 0x17
lea ecx, [esp + 0x34]
call fcn.00437f10
mov byte [esp + 0x210], 7
lea ecx, [esp + 0x4c]
call fcn.00437630
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0x5c]
push eax
add ecx, 0x170
call fcn.00433780
mov byte [esp + 0x210], 0
lea ecx, [esp + 0x1c]
call fcn.00401aa0
mov dword [esp + 0x210], 0xffffffff
lea ecx, [esp + 0x5c]
call fcn.00433420
mov ecx, dword [esp + 0x208]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1f0]
xor ecx, esp
call fcn.005bf6a4
add esp, 0x200
ret 8
push 0x80070057
call fcn.00401480
int3