Function at 0x40da80
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55eb8b
mov eax, dword fs:[0]
push eax
sub esp, 0xa70
mov eax, dword [0x5d1858]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0xa7c], edi
xor eax, eax
push 0xffffffffffffffff
push eax
mov word [ebp - 0x828], ax
lea eax, [edi + 4]
push eax
lea ecx, [ebp - 0x828]
mov dword [ebp - 0x814], 7
mov dword [ebp - 0x818], 0
call fcn.0040e180
xor eax, eax
push 0x1fe
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
mov dword [ebp - 4], 0
call fcn.00543da0
xor eax, eax
push 0x1fe
push eax
mov word [ebp - 0x410], ax
lea eax, [ebp - 0x40e]
push eax
call fcn.00543da0
xor eax, eax
push 0x1fe
push eax
mov word [ebp - 0x610], ax
lea eax, [ebp - 0x60e]
push eax
call fcn.00543da0
add esp, 0x24
cmp dword [ebp - 0x814], 8
lea ecx, [ebp - 0x828]
cmovae ecx, dword [ebp - 0x828]
lea edx, [ebp - 0x610]
lea ebx, [ebx]
movzx eax, word [ecx]
mov word [edx], ax
lea ecx, [ecx + 2]
lea edx, [edx + 2]
test ax, ax
jne 0x40db60
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x573cd8
lea eax, [ebp - 0x610]
push eax
call esi
lea eax, [ebp - 0xa78]
push eax
lea eax, [ebp - 0x610]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40dce1
lea eax, [ebp - 0xa78]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov edi, eax
lea eax, [ebp - 0xa78]
push eax
call fcn.00414a20
add esp, 4
test eax, eax
jne 0x40dcd3
lea eax, [ebp - 0x810]
push eax
push 0
push 0
lea eax, [ebp - 0xa4c]
push 0
push eax
call fcn.005442f0
lea eax, [ebp - 0x810]
push str..cpt
push eax
call fcn.00544907
add esp, 0x1c
test eax, eax
jne 0x40dc2c
cmp dword [ebp - 0x814], 8
lea ecx, [ebp - 0x828]
cmovae ecx, dword [ebp - 0x828]
lea edx, [ebp - 0x210]
movzx eax, word [ecx]
mov word [edx], ax
lea ecx, [ecx + 2]
lea edx, [edx + 2]
test ax, ax
jne 0x40dc16
jmp 0x40dcc3
lea eax, [ebp - 0x810]
push str..xml
push eax
call fcn.00544907
add esp, 8
test eax, eax
jne 0x40dc80
cmp dword [ebp - 0x814], 8
lea ecx, [ebp - 0x828]
cmovae ecx, dword [ebp - 0x828]
lea edx, [ebp - 0x410]
mov edi, edi
movzx eax, word [ecx]
mov word [edx], ax
lea ecx, [ecx + 2]
lea edx, [edx + 2]
test ax, ax
jne 0x40dc60
lea eax, [ebp - 0xa4c]
push eax
lea eax, [ebp - 0x410]
jmp 0x40dcd0
lea eax, [ebp - 0x810]
push str..clt
push eax
call fcn.00544907
add esp, 8
test eax, eax
jne 0x40dcd3
cmp dword [ebp - 0x814], 8
lea ecx, [ebp - 0x828]
cmovae ecx, dword [ebp - 0x828]
lea edx, [ebp - 0x210]
movzx eax, word [ecx]
mov word [edx], ax
lea ecx, [ecx + 2]
lea edx, [edx + 2]
test ax, ax
jne 0x40dcb2
lea eax, [ebp - 0xa4c]
push eax
lea eax, [ebp - 0x210]
push eax
call esi
test edi, edi
jne 0x40dba4
mov edi, dword [ebp - 0xa7c]
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40dcf1
sub ecx, edx
sar ecx, 1
je 0x40de2c
lea ecx, [ebp - 0x410]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40dd10
sub ecx, edx
sar ecx, 1
je 0x40de2c
lea eax, [ebp - 0x210]
push eax
push str._EffectExtractor__CYouCamConverter::Convert_Succeed____script_file_is_found:__s
push 0xac
call fcn.00401d90
lea eax, [ebp - 0x410]
push eax
push str._EffectExtractor__CYouCamConverter::Convert_Succeed__xml_file_is_found:__s
push 0xad
call fcn.00401d90
lea eax, [ebp - 0x810]
push eax
push 0
push 0
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.005442f0
lea eax, [ebp - 0x810]
push str..clt
push eax
call fcn.00544907
add esp, 0x34
test eax, eax
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x210]
mov ecx, 0x5d3318
push eax
jne 0x40dd99
push 0
jmp 0x40dd9b
push 2
call fcn.0041a590
test eax, eax
jns 0x40ddb3
push str._EffectExtractor__CYouCamConverter::Convert_Failed_to_import_effect_script_to_converter.
push 0xb9
jmp 0x40de36
push str._EffectExtractor__CYouCamConverter::Convert_Succeed_to_import_effect_script_to_converter.
push 0xbd
call fcn.00401d90
lea ecx, [edi + 0x1c]
add esp, 8
cmp dword [ecx + 0x14], 8
jb 0x40ddd0
mov ecx, dword [ecx]
lea edx, [ebp - 0x610]
movzx eax, word [ecx]
mov word [edx], ax
lea ecx, [ecx + 2]
lea edx, [edx + 2]
test ax, ax
jne 0x40ddd6
push str.Effect.cfd
lea eax, [ebp - 0x610]
push eax
call esi
lea eax, [ebp - 0x610]
push eax
mov ecx, 0x5d3318
call fcn.0041a740
test eax, eax
jns 0x40de16
push str._EffectExtractor__CYouCamConverter::Convert_Failed_to_Save_xml_file.
push 0xc7
jmp 0x40de36
push str._EffectExtractor__CYouCamConverter::Convert_Succeed_to_Save_xml_file.
push 0xcb
call fcn.00401d90
add esp, 8
mov bl, 1
jmp 0x40de40
push str._EffectExtractor__CYouCamConverter::Convert_Failed__cant_find_the_script_or_xml_file_under_the_unzipped_effect_folder.
push 0xa8
call fcn.00401d90
add esp, 8
xor bl, bl
cmp dword [ebp - 0x814], 8
jb 0x40de57
push dword [ebp - 0x828]
call fcn.00420400
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00543154
mov esp, ebp
pop ebp
ret