Function at 0x404c80
Capabilities:
Enumerate files on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45e45d
mov eax, dword fs:[0]
push eax
sub esp, 0x1f0
mov eax, dword [0x46e074]
xor eax, esp
mov dword [esp + 0x1e8], eax
push ebx
push esi
push edi
mov eax, dword [0x46e074]
xor eax, esp
push eax
lea eax, [esp + 0x200]
mov dword fs:[0], eax
mov esi, ecx
push str.______FindDmpFileAndSend_______
push 0x4618f0
mov dword [esp + 0x20], esi
call fcn.00446332
add esp, 8
mov ecx, esi
call fcn.004047e0
push esi
call fcn.00404380
push 0x461928
push str.ResourceUseingLog.txt
call fcn.00445c21
xor ebx, ebx
add esp, 8
cmp eax, ebx
je 0x404d62
push eax
call fcn.00445caf
add esp, 4
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
mov byte [esp + 0x58], bl
push 0x15
push str.ResourceUseingLog.txt
lea ecx, [esp + 0x44]
mov dword [esp + 0x210], ebx
call fcn.004017b0
mov byte [esp + 0x58], bl
lea edi, [esi + 0x74]
lea ebx, [esp + 0x3c]
call fcn.004065a0
mov dword [esp + 0x208], 0xffffffff
cmp dword [esp + 0x54], 0x10
jb 0x404d60
mov eax, dword [esp + 0x40]
push eax
call fcn.00445523
add esp, 4
xor ebx, ebx
push 0xffffffffffffffff
lea eax, [esi + 0x58]
push ebx
mov edi, 0xf
push eax
lea ecx, [esp + 0xa4]
mov dword [esp + 0x28], eax
mov dword [esp + 0xbc], edi
mov dword [esp + 0xb8], ebx
mov byte [esp + 0xa8], bl
call fcn.004016d0
mov dword [esp + 0x208], 1
push ebx
push 0x461377
lea ecx, [esp + 0x84]
mov dword [esp + 0x9c], edi
mov dword [esp + 0x98], ebx
mov byte [esp + 0x88], bl
call fcn.004017b0
mov ecx, 0x461377
lea edi, [esp + 0x98]
mov byte [esp + 0x208], 2
call fcn.00407540
test al, al
je 0x404df7
push 5
push str..dmp
lea ecx, [esp + 0x84]
call fcn.004017b0
jmp 0x404e21
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0xa0]
push ecx
lea ecx, [esp + 0x88]
call fcn.004016d0
push 5
push str..dmp
lea eax, [esp + 0x84]
call fcn.00401d30
cmp dword [esp + 0x94], 0x10
mov eax, dword [esp + 0x80]
jae 0x404e39
lea eax, [esp + 0x80]
lea edx, [esp + 0xb4]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
mov eax, dword [0x470564]
mov edx, dword [eax + 0xc]
mov ecx, 0x470564
mov dword [esp + 0x20], edi
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
xor eax, eax
mov byte [esp + 0x208], 4
mov word [esp + 0x24], ax
mov dword [esp + 0x26], eax
mov dword [esp + 0x2a], eax
mov dword [esp + 0x2e], eax
mov word [esp + 0x32], ax
cmp edi, 0xffffffff
je 0x404fea
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0xbc]
push edx
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
je 0x404fea
lea eax, [esp + 0x34]
push eax
call fcn.004459b8
add esp, 4
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x40]
push edx
call fcn.004456d9
mov ecx, dword [esp + 0x54]
movzx eax, word [esp + 0x2e]
inc ecx
sub eax, ecx
cdq
xor eax, edx
add esp, 8
sub eax, edx
jne 0x405147
lea edx, [esp + 0xe0]
lea ebx, [esp + 0x14]
call fcn.00406510
mov edi, dword [esp + 0x14]
mov ecx, dword [edi - 0xc]
mov eax, dword [edi - 8]
mov edx, 1
sub edx, dword [edi - 4]
sub eax, ecx
or eax, edx
jge 0x404f21
mov eax, ebx
call fcn.00406b10
mov edi, dword [esp + 0x14]
push 1
push 0x461960
lea ecx, [esp + 0x68]
call fcn.004017b0
xor ebx, ebx
push ebx
lea eax, [esp + 0x9c]
push eax
or eax, 0xffffffff
lea esi, [esp + 0x68]
call fcn.00401c40
mov eax, edi
lea ecx, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x404f50
sub eax, ecx
push eax
push edi
lea eax, [esp + 0x68]
call fcn.00401d30
push 1
push 0x461960
lea eax, [esp + 0x68]
call fcn.00401d30
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
mov byte [esp + 0x58], bl
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esp + 0x48]
mov byte [esp + 0x214], 5
call fcn.004016d0
mov edi, dword [esp + 0x1c]
mov ecx, 0x461377
call fcn.00407540
mov edi, dword [esp + 0x18]
test al, al
sete dl
add edi, 0x74
lea ebx, [esp + 0x3c]
mov byte [esp + 0x58], dl
call fcn.004065a0
mov byte [esp + 0x208], 4
cmp dword [esp + 0x54], 0x10
jb 0x404fe4
mov eax, dword [esp + 0x40]
push eax
call fcn.00445523
add esp, 4
mov esi, dword [esp + 0x18]
xor ebx, ebx
mov eax, dword [esp + 0x20]
lea edx, [esp + 0xb4]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x4051cb
jmp 0x405010
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0xbc]
push edx
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
je 0x4051b0
lea eax, [esp + 0x34]
push eax
call fcn.004459b8
add esp, 4
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x40]
push edx
call fcn.004456d9
mov ecx, dword [esp + 0x54]
movzx eax, word [esp + 0x2e]
inc ecx
sub eax, ecx
cdq
xor eax, edx
add esp, 8
sub eax, edx
jne 0x40528e
lea eax, [esp + 0xe0]
lea edx, [eax + 1]
jmp 0x405070
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x405070
sub eax, edx
lea ecx, [esp + 0xe0]
mov edi, eax
push ecx
lea eax, [esp + 0x18]
call fcn.00407390
mov edi, dword [esp + 0x14]
mov ecx, dword [edi - 0xc]
mov eax, dword [edi - 8]
mov edx, 1
sub edx, dword [edi - 4]
sub eax, ecx
or eax, edx
jge 0x4050b1
lea eax, [esp + 0x14]
call fcn.00406b10
mov edi, dword [esp + 0x14]
push 1
push 0x461960
lea ecx, [esp + 0x68]
call fcn.004017b0
push ebx
lea edx, [esp + 0x9c]
push edx
or eax, 0xffffffff
lea esi, [esp + 0x68]
call fcn.00401c40
mov eax, edi
lea esi, [eax + 1]
jmp 0x4050e0
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4050e0
sub eax, esi
push eax
push edi
lea eax, [esp + 0x68]
call fcn.00401d30
push 1
push 0x461960
lea eax, [esp + 0x68]
call fcn.00401d30
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
mov byte [esp + 0x58], bl
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x214], 6
call fcn.004016d0
mov eax, dword [esp + 0x1c]
mov edi, dword [eax + 0x14]
mov esi, 0x10
cmp dword [eax + 0x18], esi
jb 0x40515c
mov edx, dword [eax + 4]
jmp 0x40515f
lea ecx, [esp + 0x60]
push ecx
lea ebx, [esi + 0x8c]
call fcn.00406670
jmp 0x404fe8
lea edx, [eax + 4]
xor eax, eax
mov ecx, 0x461377
call fcn.00403550
cmp eax, ebx
jne 0x405178
xor eax, eax
cmp edi, ebx
setne al
cmp eax, ebx
mov edi, dword [esp + 0x18]
setne cl
add edi, 0x74
lea ebx, [esp + 0x3c]
mov byte [esp + 0x58], cl
call fcn.004065a0
mov byte [esp + 0x208], 4
cmp dword [esp + 0x54], esi
jb 0x4051aa
mov edx, dword [esp + 0x40]
push edx
call fcn.00445523
add esp, 4
mov esi, dword [esp + 0x18]
xor ebx, ebx
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0xb4]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x405010
mov ecx, esi
call fcn.00405b10
mov edi, 0x10
cmp dword [esp + 0x78], edi
jb 0x4051ea
mov eax, dword [esp + 0x64]
push eax
call fcn.00445523
add esp, 4
mov byte [esp + 0x208], 2
mov eax, dword [esp + 0x14]
mov esi, 0xf
add eax, 0xfffffff0
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405223
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x94], edi
jb 0x40523c
mov ecx, dword [esp + 0x80]
push ecx
call fcn.00445523
add esp, 4
mov dword [esp + 0x94], esi
mov dword [esp + 0x90], ebx
mov byte [esp + 0x80], bl
cmp dword [esp + 0xb0], edi
jb 0x40526a
mov edx, dword [esp + 0x9c]
push edx
call fcn.00445523
add esp, 4
mov ecx, dword [esp + 0x200]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1e8]
xor ecx, esp
call fcn.004453f2
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x60]
push eax
lea ebx, [esi + 0x8c]
call fcn.00406670
jmp 0x4051ae