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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45195f
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x46405c]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push esi
push edi
mov eax, dword [0x46405c]
xor eax, esp
push eax
lea eax, [esp + 0x258]
mov dword fs:[0], eax
mov edi, 0x46c62c
mov dword [esp + 0x34], edi
call fcn.00401c80
xor edi, edi
inc edi
mov dword [esp + 0x38], edi
xor ebx, ebx
mov dword [esp + 0x260], ebx
call fcn.0040bc6d
test eax, eax
jne 0x410cf7
lea esi, [esp + 0x34]
call fcn.00401be4
mov eax, edi
jmp 0x410f0f
call fcn.0042c4a9
push 0x46ba40
call fcn.0042a2ce
mov dword [esp], 0x46bb98
call fcn.0042ce33
pop ecx
mov esi, 0x46bc90
call fcn.0042ceee
call fcn.0042d520
mov ecx, str.ssl_client1
mov eax, ecx
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x410d2c
sub eax, edi
push eax
push ecx
push 0x46bdd8
push 0x42d72b
mov ecx, esi
call fcn.0042d385
add esp, 0x10
cmp eax, ebx
jne 0x410edd
call fcn.0040b9d1
push eax
lea esi, [esp + 0x148]
call fcn.0040b10e
pop ecx
mov eax, esi
push eax
push str._sconfigca_bundle.crt
lea eax, [esp + 0x44]
push 0x104
push eax
call sub.msvcrt.dll__snprintf
add esp, 0x10
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x410da3
test al, 0x10
jne 0x410da3
lea eax, [esp + 0x3c]
push eax
call fcn.00428e21
jmp 0x410ed3
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x268], 2
call fcn.00410b44
pop ecx
xor esi, esi
pop ecx
cmp dword [esp + 0x28], ebx
jbe 0x410dfe
mov eax, dword [esp + 0x24]
mov eax, dword [eax + esi*4]
push dword [eax]
push dword [eax + 4]
call fcn.00428d06
inc esi
pop ecx
pop ecx
cmp esi, dword [esp + 0x28]
jb 0x410de4
xor esi, esi
cmp dword [esp + 0x18], ebx
jbe 0x410e1f
mov eax, dword [esp + 0x14]
mov eax, dword [eax + esi*4]
push dword [eax + 4]
mov eax, dword [eax]
call fcn.0042cb11
inc esi
pop ecx
cmp esi, dword [esp + 0x18]
jb 0x410e06
mov esi, dword [sym.imp.msvcrt.dll_free]
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x28], ebx
jbe 0x410e61
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
lea edi, [eax + ecx*4]
mov eax, dword [edi]
push dword [eax + 4]
call esi
mov eax, dword [edi]
mov dword [eax + 4], ebx
mov eax, dword [edi]
pop ecx
cmp eax, ebx
je 0x410e53
push eax
call esi
pop ecx
mov dword [edi], ebx
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x28]
jb 0x410e2f
xor edi, edi
lea eax, [esp + 0x24]
call fcn.00401a25
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x18], ebx
jbe 0x410ea8
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
lea edi, [eax + ecx*4]
mov eax, dword [edi]
push dword [eax + 4]
call esi
mov eax, dword [edi]
mov dword [eax + 4], ebx
mov eax, dword [edi]
pop ecx
cmp eax, ebx
je 0x410e9a
push eax
call esi
pop ecx
mov dword [edi], ebx
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x18]
jb 0x410e76
xor edi, edi
lea eax, [esp + 0x14]
call fcn.00401a25
cmp dword [esp + 0x14], ebx
je 0x410ec0
push dword [esp + 0x14]
call esi
pop ecx
mov byte [esp + 0x260], bl
cmp dword [esp + 0x24], ebx
je 0x410ed4
push dword [esp + 0x24]
call esi
pop ecx
call fcn.0042c4be
test eax, eax
je 0x410eea
lea esi, [esp + 0x34]
call fcn.00401be4
xor eax, eax
jmp 0x410f0f
call fcn.0042c0b3
call fcn.0042c113
call fcn.0042c0d6
call fcn.0042c0eb
call fcn.0042c0c4
lea esi, [esp + 0x34]
call fcn.00401be4
xor eax, eax
inc eax
mov ecx, dword [esp + 0x258]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.0044f7e0
mov esp, ebp
pop ebp
ret