Function at 0x41cf10
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x475663
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push ebp
push esi
mov esi, dword [esp + 0x54]
cmp esi, 0xffffffff
push edi
mov ebp, ecx
jne 0x41cf57
mov eax, dword [ebp + 0x5c4]
push 2
push esi
push 0x100c
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, eax
cmp esi, 0xffffffff
je 0x41d027
push 1
mov ecx, ebp
call fcn.00452741
lea edi, [ebp + 0x5a8]
push esi
mov ecx, edi
call fcn.0044d92b
lea ecx, [eax + eax*4]
lea edx, [ebp + 0x5e4]
push edx
lea esi, [eax + ecx*2]
mov eax, dword [ebp + 0x610]
shl esi, 2
lea ecx, [eax + esi + 8]
call fcn.00453f1d
mov ecx, dword [ebp + 0x610]
mov edx, dword [ebp + 0x600]
lea ebx, [ebp + 0x5e8]
mov dword [ecx + esi + 0x28], edx
mov eax, dword [ebp + 0x610]
mov ecx, dword [ebp + 0x604]
mov dword [eax + esi + 0xc], ecx
mov edx, dword [ebp + 0x610]
mov eax, dword [ebp + 0x608]
mov dword [edx + esi + 0x10], eax
mov eax, dword [ebx]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x41d03e
mov ecx, dword [0x496a90]
mov dword [esp + 0x58], ecx
push 0xf01a
lea ecx, [esp + 0x5c]
mov dword [esp + 0x54], 0
call fcn.004543fc
mov edx, dword [esp + 0x58]
push 0x30
push str.FTP_Server
push edx
mov ecx, ebp
call fcn.00451ac5
mov eax, dword [ebp + 0x67c]
push 3
push 3
push eax
mov ecx, edi
call fcn.0044d830
lea ecx, [esp + 0x58]
mov dword [esp + 0x50], 0xffffffff
call fcn.00453de4
xor eax, eax
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x44
ret 4
mov ecx, dword [ebp + 0x610]
xor edi, edi
lea eax, [ecx + esi]
mov ecx, dword [ecx + esi + 0x1c]
cmp ecx, edi
jle 0x41d0c1
mov ecx, dword [eax + 0x18]
push ebx
add ecx, 4
call fcn.00453f1d
mov edx, dword [ebp + 0x610]
mov ecx, dword [ebp + 0x5ec]
mov eax, dword [edx + esi + 0x18]
mov dword [eax + 0x1c], ecx
mov edx, dword [ebp + 0x610]
mov ecx, dword [ebp + 0x5f0]
mov eax, dword [edx + esi + 0x18]
mov dword [eax + 0x18], ecx
mov edx, dword [ebp + 0x610]
mov ecx, dword [ebp + 0x5fc]
mov eax, dword [edx + esi + 0x18]
mov dword [eax + 0xc], ecx
mov edx, dword [ebp + 0x610]
mov ecx, dword [ebp + 0x5f4]
mov eax, dword [edx + esi + 0x18]
mov dword [eax + 0x14], ecx
mov edx, dword [ebp + 0x610]
mov ecx, dword [ebp + 0x5f8]
mov eax, dword [edx + esi + 0x18]
mov dword [eax + 0x10], ecx
jmp 0x41d3a3
lea ecx, [esp + 0x24]
call fcn.0041f120
mov edx, dword [ebp + 0x5ec]
mov ecx, dword [ebp + 0x5f0]
mov dword [esp + 0x40], edx
mov edx, dword [ebp + 0x5fc]
mov dword [esp + 0x3c], ecx
mov ecx, dword [ebp + 0x5f4]
mov dword [esp + 0x30], edx
mov edx, dword [ebp + 0x5f8]
mov eax, 1
mov dword [esp + 0x38], ecx
push ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x54], eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x48], eax
call fcn.00453f1d
push 0x49c0d8
lea ecx, [esp + 0x30]
call fcn.00453f6d
mov eax, dword [ebp + 0x610]
lea esi, [eax + esi + 0x14]
mov dword [esp + 0x58], esi
mov eax, dword [esi + 8]
mov ebx, eax
mov dword [esp + 0x1c], ebx
inc ebx
cmp ebx, edi
jne 0x41d179
mov ebx, dword [esi + 4]
cmp ebx, edi
je 0x41d16e
mov ecx, eax
dec eax
test ecx, ecx
je 0x41d15f
lea edi, [eax + 1]
mov edx, dword [ebx]
push 0
mov ecx, ebx
call dword [edx + 4]
add ebx, 0x24
dec edi
jne 0x41d14e
xor edi, edi
mov eax, dword [esi + 4]
push eax
call fcn.004543f1
add esp, 4
mov dword [esi + 4], edi
mov dword [esi + 0xc], edi
mov dword [esi + 8], edi
jmp 0x41d37b
mov ecx, dword [esi + 4]
cmp ecx, edi
jne 0x41d1ec
lea edi, [ebx + ebx*8]
shl edi, 2
push edi
call fcn.004543c8
mov edx, eax
mov ecx, edi
mov dword [esi + 4], edx
mov dword [esp + 0x5c], edx
mov edi, edx
mov edx, ecx
xor eax, eax
add esp, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [ebx]
mov dword [esp + 0x10], eax
mov edi, dword [esp + 0x58]
mov dword [esp + 0x18], edi
test edi, edi
mov byte [esp + 0x50], 2
je 0x41d1ca
mov ecx, edi
call fcn.0041f120
mov eax, dword [esp + 0x10]
add edi, 0x24
dec eax
mov byte [esp + 0x50], 1
mov dword [esp + 0x58], edi
mov dword [esp + 0x10], eax
jne 0x41d1b2
mov dword [esi + 0xc], ebx
mov dword [esi + 8], ebx
jmp 0x41d37b
mov edi, dword [esi + 0xc]
cmp ebx, edi
jg 0x41d291
cmp eax, ebx
jge 0x41d25c
mov edx, ebx
sub edx, eax
lea eax, [eax + eax*8]
lea edi, [ecx + eax*4]
lea ecx, [edx + edx*8]
shl ecx, 2
mov esi, ecx
xor eax, eax
shr ecx, 2
mov dword [esp + 0x10], edi
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, edx
dec edx
test ecx, ecx
je 0x41d250
mov esi, dword [esp + 0x10]
lea edi, [edx + 1]
mov dword [esp + 0x18], esi
test esi, esi
mov byte [esp + 0x50], 3
je 0x41d241
mov ecx, esi
call fcn.0041f120
add esi, 0x24
dec edi
mov byte [esp + 0x50], 1
mov dword [esp + 0x10], esi
jne 0x41d22d
mov esi, dword [esp + 0x58]
mov dword [esi + 8], ebx
jmp 0x41d37b
jle 0x41d254
lea edx, [ebx + ebx*8]
sub eax, ebx
lea edi, [ecx + edx*4]
mov ecx, eax
dec eax
test ecx, ecx
je 0x41d254
inc eax
mov dword [esp + 0x58], eax
mov edx, dword [edi]
push 0
mov ecx, edi
call dword [edx + 4]
mov eax, dword [esp + 0x58]
add edi, 0x24
dec eax
mov dword [esp + 0x58], eax
jne 0x41d272
mov dword [esi + 8], ebx
jmp 0x41d37b
mov ecx, dword [esi + 0x10]
test ecx, ecx
jne 0x41d2bc
cdq
and edx, 7
add eax, edx
mov ecx, eax
sar ecx, 3
cmp ecx, 4
jge 0x41d2af
mov ecx, 4
jmp 0x41d2bc
cmp ecx, 0x400
jle 0x41d2bc
mov ecx, 0x400
lea eax, [edi + ecx]
cmp ebx, eax
jge 0x41d2c9
mov dword [esp + 0x10], eax
jmp 0x41d2cf
mov dword [esp + 0x10], ebx
mov eax, ebx
lea eax, [eax + eax*8]
shl eax, 2
push eax
call fcn.004543c8
mov ecx, dword [esi + 8]
mov esi, dword [esi + 4]
mov edi, eax
mov dword [esp + 0x1c], eax
lea ecx, [ecx + ecx*8]
add esp, 4
shl ecx, 2
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x58]
mov ecx, dword [ecx + 8]
sub edx, ecx
lea ecx, [ecx + ecx*8]
lea edi, [eax + ecx*4]
lea ecx, [edx + edx*8]
shl ecx, 2
mov esi, ecx
xor eax, eax
shr ecx, 2
mov dword [esp + 0x14], edi
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov eax, edx
dec edx
test eax, eax
je 0x41d35a
mov esi, dword [esp + 0x14]
lea edi, [edx + 1]
mov dword [esp + 0x20], esi
test esi, esi
mov byte [esp + 0x50], 4
je 0x41d34b
mov ecx, esi
call fcn.0041f120
add esi, 0x24
dec edi
mov byte [esp + 0x50], 1
mov dword [esp + 0x14], esi
jne 0x41d337
mov esi, dword [esp + 0x58]
mov eax, dword [esi + 4]
push eax
call fcn.004543f1
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
add esp, 4
mov dword [esi + 4], ecx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], edx
mov edx, dword [esi + 4]
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x20]
lea ecx, [eax + eax*8]
lea ecx, [edx + ecx*4]
call fcn.0041f490
lea ecx, [esp + 0x24]
mov dword [esp + 0x50], 0xffffffff
call fcn.0041f160
lea eax, [ebp + 0x60c]
lea ecx, [ebp + 0x620]
push eax
call fcn.00420080
mov eax, 1
jmp 0x41d029