Function at 0x53e750
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x622dd6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
push edi
mov edi, ecx
xor esi, esi
mov dword [ebp - 0x10], esp
mov eax, dword [edi + 0x88]
mov dword [ebp - 0x18], edi
cmp eax, esi
jne 0x53e797
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [eax + 0x10], esi
jne 0x53e7b1
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 0x10]
push esi
push 0x8000080
push 4
mov dword [eax], esi
mov ecx, dword [edi + 0x88]
push esi
push esi
mov edx, dword [ecx + 0x10]
push bind
push edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [ebp - 0x2c], ebx
jne 0x53e7fa
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
push 0
push esi
push 0
push 2
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
test eax, eax
mov dword [ebp - 0x30], eax
je 0x53e8a2
push 0
push 0
push 0
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
mov dword [ebp - 0x28], edi
je 0x53e895
cmp dword [ebp + 8], 8
jne 0x53e8ed
push 0x40
call fcn.005f6c5c
mov ecx, eax
add esp, 4
mov dword [ebp - 0x28], ecx
test ecx, ecx
mov byte [ebp - 4], 1
je 0x53e861
call fcn.0054ff70
mov ecx, eax
jmp 0x53e863
xor ecx, ecx
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 0
test ecx, ecx
mov dword [eax + 0x18], ecx
je 0x53e88b
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push edx
push eax
push esi
push edi
call fcn.00550070
test eax, eax
je 0x53e88b
mov dword [ebp - 0x20], 1
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ebx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0x18]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x53e8d8
mov eax, dword [ebp + 0x10]
cmp dword [eax], 0
je 0x53e8c5
cmp dword [ebp + 8], 8
je 0x53e8d8
mov eax, dword [edi + 0xdc]
test eax, eax
je 0x53e8d8
mov ecx, dword [edi + 0x18]
push eax
call fcn.00550510
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 8]
mov ebx, 1
cmp eax, ebx
jne 0x53e88b
push 0x40
call fcn.005f6c5c
mov ecx, eax
add esp, 4
mov dword [ebp - 0x24], ecx
test ecx, ecx
mov byte [ebp - 4], 2
je 0x53e917
call fcn.0054ff70
jmp 0x53e919
xor eax, eax
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 0
test eax, eax
mov dword [ecx + 0x18], eax
je 0x53e88b
push 0x6d8588
push edi
mov byte [eax + 0xc], 1
call fcn.005de210
add esp, 8
test eax, eax
je 0x53e9ae
add eax, 0xb
mov cl, byte [eax]
cmp cl, 0x20
je 0x53eb7a
cmp cl, 9
je 0x53eb7a
cmp cl, 0xd
je 0x53eb7a
cmp cl, 0xa
je 0x53eb7a
cmp cl, 0x3a
jne 0x53e9ae
mov cl, byte [eax + 1]
inc eax
cmp cl, 0x20
je 0x53e96f
cmp cl, 9
je 0x53e96f
cmp cl, 0xd
je 0x53e96f
cmp cl, 0xa
je 0x53e96f
mov edx, dword [ebp - 0x18]
mov ecx, dword [edx + 0x18]
mov edx, edi
sub edx, eax
push ecx
add edx, esi
push edx
push eax
call fcn.0053cdb0
mov eax, dword [ebp - 0x18]
add esp, 0xc
mov ecx, dword [eax + 0x18]
mov eax, dword [ecx + 0x28]
test eax, eax
je 0x53e9ae
mov dword [ebp - 0x20], ebx
push 0x6d857c
push edi
call fcn.005de210
mov ebx, eax
mov eax, dword [ebp - 0x20]
add esp, 8
test eax, eax
je 0x53e88b
test ebx, ebx
je 0x53e88b
add ebx, 0xa
mov al, byte [ebx]
cmp al, 0x20
je 0x53eb80
cmp al, 9
je 0x53eb80
cmp al, 0xd
je 0x53eb80
cmp al, 0xa
je 0x53eb80
cmp al, 0x3a
jne 0x53e88b
mov al, byte [ebx + 1]
inc ebx
cmp al, 0x20
je 0x53e9fe
cmp al, 9
je 0x53e9fe
cmp al, 0xd
je 0x53e9fe
cmp al, 0xa
je 0x53e9fe
cmp al, 0x22
jne 0x53e88b
inc ebx
push 0x22
push ebx
call fcn.005de150
add esp, 8
cmp eax, ebx
mov dword [ebp - 0x24], eax
jbe 0x53e88b
mov edx, dword [0x6e7b6c]
mov dword [ebp - 0x1c], edx
mov esi, eax
lea ecx, [ebp - 0x1c]
sub esi, ebx
mov byte [ebp - 4], 3
lea eax, [esi + 1]
push eax
call fcn.005fac26
test eax, eax
je 0x53eb69
mov ecx, esi
mov esi, ebx
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
sub eax, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x24]
mov byte [eax + ecx], 0
mov edx, dword [0x6e7b6c]
mov dword [ebp - 0x14], edx
push 1
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.005fac26
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp + 0xc]
mov edi, dword [sym.imp.WININET.dll_InternetCombineUrlA]
lea ecx, [ebp - 0x24]
push 0x4000000
push ecx
push eax
push edx
push esi
mov dword [ebp - 0x24], 1
call edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [ebp - 0x24]
test eax, eax
jbe 0x53eb5a
cmp eax, 0x7d0
jae 0x53eb5a
push eax
lea ecx, [ebp - 0x14]
call fcn.005fac26
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x24]
push 0x4000000
push ecx
push eax
push edx
push esi
call edi
test eax, eax
je 0x53eb5a
mov eax, dword [ebp - 0x14]
push 0x25
push eax
call fcn.005de150
add esp, 8
test eax, eax
je 0x53eb09
push 0x6d8548
push 0x6d8018
lea ecx, [ebp - 0x14]
call fcn.005f30ae
mov ecx, dword [ebp - 0x14]
push 0x5c
push ecx
call fcn.005de150
add esp, 8
test eax, eax
je 0x53eb2d
push 0x6d5710
push 0x6bd984
lea ecx, [ebp - 0x14]
call fcn.005f30ae
push 0x6bc140
push 0x6d8570
lea ecx, [ebp - 0x14]
call fcn.005f30ae
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
push edx
push 0x6bc090
mov ecx, dword [eax + 0x18]
add ecx, 8
push ecx
call fcn.005f368b
add esp, 0xc
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.005fa859
mov edi, dword [ebp - 0x28]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call fcn.005fa859
jmp 0x53e88b
inc eax
jmp 0x53e944
inc ebx
jmp 0x53e9d4