Function at 0x407327
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42e49e
mov eax, dword fs:[0]
push eax
mov eax, 0x13e4
call fcn.0040a090
mov eax, dword [0x43e054]
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 dword [ebp - 0x13c0], ecx
xor ebx, ebx
lea ecx, [ebp - 0x13bc]
mov dword [ebp - 0x13bc], ebx
mov dword [ebp - 0x13b8], ebx
call fcn.00407c93
mov dword [ebp - 0x13bc], eax
mov esi, ebx
mov dword [ebp - 4], ebx
mov edi, ebx
mov dword [ebp - 0x13e0], esi
mov dword [ebp - 0x13dc], edi
mov dword [ebp - 0x13d8], ebx
mov dword [ebp - 0x13d4], ebx
mov dword [ebp - 0x13d0], ebx
mov dword [ebp - 0x13cc], ebx
push 0x208
lea eax, [ebp - 0x6f0]
mov byte [ebp - 4], 2
push ebx
push eax
call fcn.00417110
mov ecx, dword [0x442a00]
add esp, 0xc
push str.DictTemp_
call fcn.0040642b
mov ecx, eax
call fcn.0040162f
push eax
lea eax, [ebp - 0x6f0]
push 0x42f438
push eax
call fcn.0040342b
lea eax, [ebp - 0x6f0]
push eax
lea eax, [ebp - 0x1118]
push str._s.
push eax
call fcn.0040342b
add esp, 0x1c
lea eax, [ebp - 0x13b0]
push eax
lea eax, [ebp - 0x1118]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x13b4], eax
push 5
pop ebx
cmp eax, 0xffffffff
je 0x407684
push 0x2e
pop esi
lea ecx, [ebp - 0x13b0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
mov eax, dword [ebp - 0x13b4]
je 0x407678
cmp word [ebp - 0x1384], si
je 0x40742f
cmp word [ebp - 0x1382], 0
je 0x40742f
cmp word [ebp - 0x1382], si
jne 0x407471
cmp word [ebp - 0x1380], 0
je 0x40742f
test byte [ebp - 0x13b0], 0x10
mov eax, dword [ebp - 0x13b4]
jne 0x40742f
lea eax, [ebp - 0x1384]
push str..dcel
push eax
call fcn.0041774f
pop ecx
pop ecx
test eax, eax
jne 0x4074b2
lea eax, [ebp - 0x1384]
push str..dcel
push eax
call fcn.0041774f
pop ecx
pop ecx
test eax, eax
je 0x4075c0
lea eax, [ebp - 0x1384]
push eax
lea eax, [ebp - 0x218]
push 0x42f848
push eax
call fcn.0040342b
xor eax, eax
mov dword [ebp - 0x111c], 7
xor esi, esi
mov word [ebp - 0x1130], ax
add esp, 0xc
mov dword [ebp - 0x1120], esi
cmp word [ebp - 0x218], ax
je 0x4074fe
lea eax, [ebp - 0x218]
push eax
call fcn.00419744
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x1130]
call fcn.004032c0
lea eax, [ebp - 0x1130]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x13e0]
call fcn.00404498
xor edi, edi
mov byte [ebp - 4], 2
push esi
inc edi
lea ecx, [ebp - 0x1130]
push edi
call fcn.0040306a
xor eax, eax
mov dword [ebp - 0x111c], 7
mov dword [ebp - 0x1120], esi
mov word [ebp - 0x1130], ax
cmp word [ebp - 0x218], ax
jne 0x407561
mov eax, esi
jmp 0x40756e
lea eax, [ebp - 0x218]
push eax
call fcn.00419744
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x1130]
call fcn.004032c0
lea eax, [ebp - 0x1130]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x13ec]
push eax
lea ecx, [ebp - 0x13bc]
call fcn.004069f7
mov ecx, dword [ebp - 0x13ec]
mov eax, dword [ebp - 0x1390]
push esi
push edi
mov dword [ecx + 0x28], eax
lea ecx, [ebp - 0x1130]
mov byte [ebp - 4], 2
call fcn.0040306a
jmp 0x4075c5
xor edi, edi
xor esi, esi
inc edi
lea eax, [ebp - 0x1384]
push str..xml
push eax
call fcn.0041774f
pop ecx
test eax, eax
mov eax, dword [ebp - 0x13b4]
pop ecx
je 0x40742c
lea eax, [ebp - 0x1384]
push eax
lea eax, [ebp - 0xb00]
push 0x42f848
push eax
call fcn.0040342b
xor eax, eax
mov dword [ebp - 0x111c], 7
add esp, 0xc
mov dword [ebp - 0x1120], esi
mov word [ebp - 0x1130], ax
cmp word [ebp - 0xb00], ax
jne 0x407627
mov eax, esi
jmp 0x407634
lea eax, [ebp - 0xb00]
push eax
call fcn.00419744
pop ecx
push eax
lea eax, [ebp - 0xb00]
push eax
lea ecx, [ebp - 0x1130]
call fcn.004032c0
lea eax, [ebp - 0x1130]
mov byte [ebp - 4], bl
push eax
lea ecx, [ebp - 0x13d4]
call fcn.00404498
push esi
push edi
lea ecx, [ebp - 0x1130]
mov byte [ebp - 4], 2
call fcn.0040306a
mov eax, dword [ebp - 0x13b4]
jmp 0x40742c
mov esi, dword [ebp - 0x13e0]
mov edi, dword [ebp - 0x13dc]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp esi, edi
sete al
test al, al
jne 0x407a4b
push 0x208
lea eax, [ebp - 0x8f8]
push 0
push eax
call fcn.00417110
push 0x208
lea eax, [ebp - 0xf10]
push 0
push eax
call fcn.00417110
xor eax, eax
and dword [ebp - 0x13b4], 0
add esp, 0x18
mov dword [ebp - 0x13c4], eax
mov dword [ebp - 0x13c8], eax
mov eax, edi
sub eax, esi
cdq
push 0x18
pop ecx
idiv ecx
xor ecx, ecx
inc ecx
cmp eax, ecx
jbe 0x4076f0
mov eax, dword [ebp - 0x13c0]
mov dword [eax + 0x10], ecx
cmp esi, edi
je 0x407a49
sub esp, 0x18
mov ecx, esp
push esi
call fcn.00406aea
push dword [ebp - 0x13d0]
lea eax, [ebp - 0x13e4]
push dword [ebp - 0x13d4]
push eax
call fcn.00406a66
mov edi, dword [ebp - 0x13e4]
add esp, 0x24
cmp edi, dword [ebp - 0x13d0]
jne 0x40773c
xor eax, eax
lea edi, [eax + 1]
mov dword [ebp - 0x13b4], edi
jmp 0x407a19
cmp dword [esi + 0x14], 8
jb 0x407746
mov eax, dword [esi]
jmp 0x407748
mov eax, esi
push eax
lea eax, [ebp - 0x6f0]
push eax
lea eax, [ebp - 0x8f8]
push 0x42f438
push eax
call fcn.0040342b
add esp, 0x10
cmp dword [edi + 0x14], 8
jb 0x40776c
mov edi, dword [edi]
push edi
lea eax, [ebp - 0x6f0]
push eax
lea eax, [ebp - 0xf10]
push 0x42f438
push eax
call fcn.0040342b
and dword [ebp - 0x1120], 0
xor eax, eax
add esp, 0x10
mov dword [ebp - 0x111c], 7
mov word [ebp - 0x1130], ax
mov edi, dword [ebp - 0x13c0]
lea eax, [ebp - 0x1130]
push eax
lea eax, [ebp - 0xf10]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x8f8]
mov ecx, edi
push eax
call fcn.00406d00
push 0
test eax, eax
jne 0x4077dc
inc eax
mov edi, eax
mov dword [ebp - 0x13b4], edi
jmp 0x407a09
lea eax, [ebp - 0x8f8]
mov ecx, edi
push eax
call fcn.00406ead
cmp eax, 4
jne 0x407815
xor eax, eax
inc eax
mov dword [ebp - 0x13c4], eax
push 0
push eax
lea ecx, [ebp - 0x1130]
mov byte [ebp - 4], 2
call fcn.0040306a
mov edi, dword [ebp - 0x13b4]
jmp 0x407a19
cmp eax, ebx
jne 0x407824
xor eax, eax
inc eax
mov dword [ebp - 0x13c8], eax
jmp 0x4077f8
mov edi, dword [ebp - 0x13b4]
test eax, eax
push 1
pop ecx
cmovne edi, ecx
mov dword [ebp - 0x13b4], edi
jne 0x407a04
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00417110
push 0x208
lea eax, [ebp - 0xd08]
push 0
push eax
call fcn.00417110
and dword [ebp - 0x1138], 0
xor eax, eax
add esp, 0x18
mov dword [ebp - 0x1134], 7
mov word [ebp - 0x1148], ax
mov ecx, dword [0x442a00]
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x8f8]
mov byte [ebp - 4], 7
push eax
call fcn.0040642f
mov ecx, eax
call fcn.004063a4
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x1160]
push eax
call fcn.00403f0d
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x1148]
call fcn.00403500
xor eax, eax
lea ecx, [ebp - 0x1160]
push 0
inc eax
push eax
call fcn.0040306a
mov ecx, dword [0x442a00]
push str.dict.conf
call fcn.0040642b
mov ecx, eax
call fcn.0040162f
push eax
lea eax, [ebp - 0xd08]
push str._sDict_s
push eax
call fcn.0040342b
add esp, 0x10
lea ecx, [ebp - 0x1130]
cmp dword [ebp - 0x111c], 8
lea edx, [ebp - 0xd08]
lea eax, [ebp - 0x1148]
cmovae ecx, dword [ebp - 0x1130]
cmp dword [ebp - 0x1134], 8
push edx
cmovae eax, dword [ebp - 0x1148]
push ecx
push eax
push 0x42fbe4
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
and dword [ebp - 0x1150], 0
xor eax, eax
mov dword [ebp - 0x114c], 7
mov word [ebp - 0x1160], ax
cmp word [ebp - 0x420], ax
je 0x40796f
lea eax, [ebp - 0x420]
push eax
call fcn.00419744
pop ecx
push eax
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x1160]
call fcn.004032c0
lea eax, [ebp - 0x1160]
push eax
lea eax, [ebp - 0x13e8]
push eax
lea ecx, [ebp - 0x13bc]
call fcn.004080b3
mov eax, dword [eax]
push dword [eax + 0x28]
lea eax, [ebp - 0x4e8]
push 0x42f6a8
push eax
call fcn.0040342b
add esp, 0xc
lea ecx, [ebp - 0x1160]
xor eax, eax
inc eax
push 0
push eax
call fcn.0040306a
cmp dword [ebp - 0x1134], 8
lea ecx, [ebp - 0xd08]
push ecx
lea ecx, [ebp - 0x4e8]
lea eax, [ebp - 0x1148]
cmovae eax, dword [ebp - 0x1148]
push ecx
push eax
push str.size
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
xor eax, eax
lea ecx, [ebp - 0x1148]
push 0
inc eax
push eax
call fcn.0040306a
xor eax, eax
push 0
inc eax
push eax
lea ecx, [ebp - 0x1130]
mov byte [ebp - 4], 2
call fcn.0040306a
add esi, 0x18
cmp esi, dword [ebp - 0x13dc]
jne 0x4076f8
mov eax, dword [ebp - 0x13c4]
test eax, eax
je 0x407a36
push 4
jmp 0x407a46
mov eax, dword [ebp - 0x13c8]
test eax, eax
jne 0x407a4b
test edi, edi
je 0x407a49
push 3
pop ebx
jmp 0x407a4b
xor ebx, ebx
lea ecx, [ebp - 0x13d4]
call fcn.004043c3
lea ecx, [ebp - 0x13e0]
call fcn.004043c3
lea ecx, [ebp - 0x13bc]
call fcn.00406b71
mov eax, ebx
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.00409ec6
mov esp, ebp
pop ebp
ret