Function at 0x41d074
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x378
push edi
mov dword [ebp - 0x378], 0
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x268], 0
mov dword [ebp - 4], 0
mov byte [ebp - 0x110], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x10f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [str.KAV00000.DAT]
mov dword [ebp - 0x374], eax
mov ecx, dword [0x437fcc]
mov dword [ebp - 0x370], ecx
mov edx, dword [0x437fd0]
mov dword [ebp - 0x36c], edx
mov al, byte [0x437fd4]
mov byte [ebp - 0x368], al
mov ecx, 0x3d
xor eax, eax
lea edi, [ebp - 0x367]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x270], 0xffffffff
mov dword [ebp - 0x260], 0
mov ecx, 0x4f
xor eax, eax
lea edi, [ebp - 0x25c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x264], 0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x118], 0
mov dword [ebp - 8], 0
lea ecx, [ebp - 0x110]
push ecx
push 0x104
push str.KAEDaily.DAT
call fcn.00405071
add esp, 0xc
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
jne 0x41d18c
jmp 0x41d4df
push 0
push 0xa7
push 3
push 0
push 1
push 0x80000000
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x270], eax
cmp dword [ebp - 0x270], 0xffffffff
je 0x41d1e8
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x118]
push ecx
lea edx, [ebp - 0x120]
push edx
lea eax, [ebp - 0x110]
push eax
call fcn.0041c9f6
add esp, 0x10
mov ecx, dword [ebp - 0x270]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [ebp - 0x110]
push edx
push 0x104
push str.KAV_____.DAT
call fcn.00405071
add esp, 0xc
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
jne 0x41d215
jmp 0x41d4dd
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x41d298
mov edx, dword [ebp - 0x260]
and edx, 0x10
test edx, edx
je 0x41d241
jmp 0x41d272
lea eax, [ebp - 0x374]
push eax
lea ecx, [ebp - 0x234]
push ecx
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
jle 0x41d272
lea edx, [ebp - 0x234]
push edx
lea eax, [ebp - 0x374]
push eax
call sub.MSVCRT.dll_strcpy
add esp, 8
lea ecx, [ebp - 0x260]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x41d232
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0xc], 0xffffffff
lea ecx, [ebp - 0x110]
push ecx
push 0x104
lea edx, [ebp - 0x374]
push edx
call fcn.00405071
add esp, 0xc
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
jne 0x41d2c7
jmp 0x41d4db
mov byte [ebp - 0x36c], 0
lea eax, [ebp - 0x371]
push eax
call fcn.0041fe90
add esp, 4
mov dword [ebp - 0x268], eax
mov byte [ebp - 0x36c], 0x2e
mov ecx, dword [ebp - 0x268]
mov dword [ebp - 4], ecx
mov edx, 1
test edx, edx
je 0x41d36c
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x110]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.0041cbd4
add esp, 8
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
jne 0x41d36a
mov eax, dword [ebp - 4]
sub eax, 1
cmp eax, dword [ebp - 0x268]
jne 0x41d352
lea ecx, [ebp - 0x110]
push ecx
push 0x104
lea edx, [ebp - 0x374]
push edx
call fcn.00405071
add esp, 0xc
jmp 0x41d368
lea eax, [ebp - 0x110]
push eax
mov ecx, dword [ebp - 4]
sub ecx, 1
push ecx
call fcn.0041cbd4
add esp, 8
jmp 0x41d36c
jmp 0x41d2f3
lea edx, [ebp - 0x26c]
push edx
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x264]
push ecx
lea edx, [ebp - 0x110]
push edx
call fcn.0041c9f6
add esp, 0x10
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x264]
cmp eax, dword [ebp - 0x120]
jae 0x41d3ca
mov ecx, dword [ebp - 0x120]
mov dword [ebp - 0x264], ecx
mov edx, dword [ebp - 0x118]
mov dword [ebp - 0x11c], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x26c], eax
jmp 0x41d451
mov ecx, dword [ebp - 0x264]
cmp ecx, dword [ebp - 0x120]
jne 0x41d409
mov edx, dword [ebp - 0x11c]
cmp edx, dword [ebp - 0x118]
jae 0x41d409
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x264], eax
mov ecx, dword [ebp - 0x118]
mov dword [ebp - 0x11c], ecx
mov edx, dword [ebp - 8]
mov dword [ebp - 0x26c], edx
jmp 0x41d451
mov eax, dword [ebp - 0x264]
cmp eax, dword [ebp - 0x120]
jne 0x41d451
mov ecx, dword [ebp - 0x11c]
cmp ecx, dword [ebp - 0x118]
jne 0x41d451
mov edx, dword [ebp - 0x26c]
cmp edx, dword [ebp - 8]
jae 0x41d451
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x264], eax
mov ecx, dword [ebp - 0x118]
mov dword [ebp - 0x11c], ecx
mov edx, dword [ebp - 8]
mov dword [ebp - 0x26c], edx
mov eax, dword [ebp - 0x26c]
push eax
mov ecx, dword [ebp - 0x11c]
shr ecx, 0x10
push ecx
mov edx, dword [ebp - 0x264]
and edx, 0xffff
push edx
mov eax, dword [ebp - 0x264]
shr eax, 0x10
push eax
push str._d._d._d._d
push 0x439c7c
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x18
mov dword [0x439cec], 1
cmp dword [ebp + 8], 0
je 0x41d4a7
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x264]
mov dword [ecx], edx
cmp dword [ebp + 0xc], 0
je 0x41d4b8
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x11c]
mov dword [eax], ecx
cmp dword [ebp + 0x10], 0
je 0x41d4c9
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x26c]
mov dword [edx], eax
mov dword [ebp - 0x378], 1
mov eax, dword [ebp - 0x378]
jmp 0x41d4e1
jmp 0x41d4d3
jmp 0x41d4d3
jmp 0x41d4d3
pop edi
mov esp, ebp
pop ebp
ret