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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x645f21
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x270c
call fcn.00609d40
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
lea ecx, [ebp - 0x271c]
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], edi
call fcn.00554000
mov eax, dword [ebx + 0x448]
push edi
push eax
lea ecx, [ebp - 0x271c]
mov byte [ebp - 4], 1
call fcn.005547b0
cmp eax, edi
jne 0x4d7ec3
mov eax, dword [0x6fd81c]
mov ecx, dword [0x6fd6f4]
push 0x30
push eax
push ecx
push edi
call fcn.00457010
add esp, 0x10
jmp 0x4d815c
lea ecx, [ebp - 0xe8c]
call fcn.005c6b60
lea edx, [ebp - 0xe8c]
push 1
push edx
lea ecx, [ebp - 0x271c]
mov byte [ebp - 4], 2
call fcn.00555950
cmp eax, edi
je 0x4d7efe
mov eax, dword [0x6fd81c]
mov ecx, dword [0x6fd6f4]
push 0x30
push eax
push ecx
jmp 0x4d8144
push edi
push edi
lea ecx, [ebp - 0xe8c]
call fcn.005cf8f0
mov ecx, dword [0x6fcb2c]
lea edx, [ebp - 0xe8c]
push edx
call fcn.0051a290
push edi
lea ecx, [ebp - 0xe8c]
call fcn.005cf6a0
lea eax, [ebp - 0xe8c]
push eax
call fcn.004af700
mov eax, dword [ebx + 0x41c]
mov ecx, dword [0x6fcc10]
add esp, 4
cmp eax, edi
mov dword [ebp - 0xe8c], ecx
mov dword [ebp - 0xe88], 5
jne 0x4d7f5e
lea eax, [ebx + 0x420]
mov edx, str._smanuallogin.html
lea esi, [ebx + 0x460]
test edx, edx
je 0x4d8037
cmp eax, edi
je 0x4d8037
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x24], edi
mov word [ebp - 0x28], di
call fcn.00401f20
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.00401070
lea ecx, [ebp - 0x44]
call fcn.004027c0
push edi
push str._smanuallogin.html
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 4
call fcn.004027e0
mov edi, dword [ebp - 0x3c]
lea ecx, [ebp - 0x2c]
call fcn.00401f10
push eax
call fcn.00609a4e
lea eax, [eax + edi + 2]
mov dword [ebp - 0x18], eax
lea edi, [eax + eax]
push edi
call fcn.00622acb
mov edx, eax
add esp, 8
test edx, edx
mov dword [esi], edx
je 0x4d801d
mov ecx, edi
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [ebp - 0x2c]
call fcn.00401f10
push eax
lea ecx, [ebp - 0x44]
call fcn.00401f10
mov ecx, dword [esi]
push eax
mov eax, dword [ebp - 0x18]
push eax
push ecx
call fcn.006099de
mov edx, dword [esi]
push edx
call fcn.00609a4e
add esp, 0x14
mov dword [esi + 8], eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call fcn.00401070
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.00401070
xor edi, edi
mov eax, dword [esi]
cmp eax, edi
je 0x4d8041
mov esi, eax
jmp 0x4d8044
add esi, 4
push esi
lea ecx, [ebp - 0xe8c]
call fcn.005cfa80
mov al, byte [ebx + 0x2bb]
push 1
lea ecx, [ebp - 0xe8c]
mov byte [ebp - 0x3f9], al
call fcn.005cfb70
mov ecx, dword [ebx + 0x418]
push 7
push 0x1436
push 0x111
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x590]
cmp eax, 3
je 0x4d809d
cmp eax, edi
je 0x4d809d
push 0x64
call esi
jmp 0x4d8088
mov edx, dword [ebx + 0x418]
push edi
push 0x1437
push 0x111
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
cmp dword [ebp - 0x590], 3
je 0x4d80f4
mov eax, dword [0x6fd6f8]
lea ecx, [ebp - 0xe8c]
push eax
push edi
push 1
mov dword [ebp - 0xe88], edi
call fcn.005c96b0
mov ecx, dword [ebp - 0xe3c]
push ecx
call fcn.0060b6fb
add esp, 4
lea ecx, [ebp - 0xe8c]
call fcn.005d21a0
jmp 0x4d814d
mov eax, dword [ebx + 0x460]
mov dword [ebp - 0x20], edi
cmp eax, edi
jne 0x4d8107
lea eax, [ebx + 0x464]
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0xe6c]
push edx
push eax
call fcn.005e4a80
cmp dword [ebp - 0x20], edi
jne 0x4d817e
mov eax, dword [ebp - 0xda0]
push 0x6cc3d8
push eax
call fcn.0060a000
add esp, 8
test eax, eax
je 0x4d817e
mov ecx, dword [0x6fd81c]
mov edx, dword [0x6fd6f4]
push 0x30
push ecx
push edx
push edi
call fcn.00457010
add esp, 0x10
lea ecx, [ebp - 0xe8c]
mov byte [ebp - 4], 1
call fcn.005c6d50
lea ecx, [ebp - 0x271c]
mov byte [ebp - 4], 0
call fcn.00554050
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xdb0]
cmp eax, edi
je 0x4d819d
push eax
lea eax, [ebx + 0x46c]
push 0x6c910c
push eax
call fcn.0061fae1
add esp, 0xc
lea esi, [ebx + 0x44c]
push edi
push esi
lea ecx, [ebp - 0xe6c]
call fcn.0059de90
lea ecx, [ebp - 0xe8c]
call fcn.005d21a0
lea ecx, [ebp - 0x1b4]
call fcn.004a8b90
mov eax, dword [ebx + 0x460]
mov esi, dword [esi]
cmp eax, edi
mov byte [ebp - 4], 5
jne 0x4d81dc
lea eax, [ebx + 0x464]
push edi
push esi
push eax
lea ecx, [ebp - 0x1b4]
call fcn.004ac810
mov cl, byte [ebx + 0x2bb]
mov dword [ebp - 0x18], eax
test cl, cl
je 0x4d83d1
mov eax, dword [ebx + 0x45c]
xor esi, esi
cmp eax, esi
je 0x4d8239
xor edi, edi
cmp edi, dword [ebx + 0x454]
jge 0x4d822a
mov ecx, dword [ebx + 0x45c]
mov eax, dword [ecx + edi*4]
cmp eax, esi
je 0x4d8227
push eax
call fcn.00622af4
add esp, 4
inc edi
jmp 0x4d8209
mov eax, dword [ebx + 0x45c]
push eax
call fcn.00622af4
add esp, 4
mov dword [ebx + 0x45c], esi
mov dword [ebx + 0x454], esi
mov dword [ebx + 0x458], esi
push 0xc8
mov dword [ebx + 0x454], esi
mov dword [ebx + 0x458], 0x32
call fcn.00622acb
mov ecx, dword [ebx + 0x458]
mov edi, eax
shl ecx, 2
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x45c], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebx + 0x45c]
test eax, eax
jne 0x4d82a8
lea eax, [ebp - 0x38]
push 0x696350
push eax
mov dword [ebp - 0x38], 0xc0000017
call fcn.0060b76a
mov edi, dword [ebp - 0x18]
test edi, edi
mov dword [ebp - 0x1c], edi
je 0x4d83ce
mov edx, dword [edi]
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x14]
mov eax, dword [edx + 4]
push ecx
push eax
call fcn.005c9340
add esp, 8
test eax, eax
je 0x4d83c6
mov eax, dword [ebp - 0x14]
test byte [eax + 0xc], 1
je 0x4d83bd
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4d83ba
mov eax, dword [ebx + 0x458]
mov ecx, dword [ebx + 0x454]
mov edx, dword [ebp - 0x14]
cmp ecx, eax
mov dword [ebp - 0x34], edx
jne 0x4d8393
add eax, 0x32
mov dword [ebx + 0x458], eax
shl eax, 2
push eax
call fcn.00622acb
mov edx, eax
add esp, 4
test edx, edx
jne 0x4d8341
lea ecx, [ebp - 0x30]
push 0x696350
push ecx
mov dword [ebp - 0x30], 0xc0000017
call fcn.0060b76a
mov ecx, dword [ebx + 0x458]
xor eax, eax
shl ecx, 2
mov esi, ecx
mov edi, edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [ebx + 0x454]
mov esi, dword [ebx + 0x45c]
shl ecx, 2
mov eax, ecx
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 0x45c]
mov dword [ebx + 0x45c], edx
push eax
call fcn.00622af4
mov edi, dword [ebp - 0x1c]
add esp, 4
mov ecx, dword [ebx + 0x454]
mov edx, dword [ebx + 0x45c]
mov eax, dword [ebp - 0x34]
mov dword [edx + ecx*4], eax
mov eax, dword [ebx + 0x454]
inc eax
mov dword [ebx + 0x454], eax
mov edi, dword [edi + 0x1c]
jmp 0x4d82ab
mov eax, dword [ebp - 0x14]
push eax
call fcn.00622af4
add esp, 4
mov edi, dword [edi + 0x1c]
jmp 0x4d82ab
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4d83e1
push eax
lea ecx, [ebp - 0x1b4]
call fcn.004ac330
lea ecx, [ebp - 0x1b4]
mov byte [ebp - 4], 2
call fcn.004a9010
lea ecx, [ebp - 0xe8c]
mov byte [ebp - 4], 1
call fcn.005c6d50
lea ecx, [ebp - 0x271c]
mov byte [ebp - 4], 0
call fcn.00554050
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov al, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret