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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64f521
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 ecx, ecx
mov dword [ebp - 0x10], esp
mov eax, dword [edi + 0x88]
mov dword [ebp - 0x18], edi
cmp eax, ecx
jne 0x55e0d7
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], ecx
jne 0x55e0f1
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 ecx
push 0x8000080
push 4
push ecx
mov dword [ebp - 0x1c], ecx
mov dword [eax], ecx
mov dword [ebp - 4], ecx
push ecx
mov ecx, dword [edi + 0x88]
push 0x80000000
mov edx, dword [ecx + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [ebp - 0x30], ebx
jne 0x55e13a
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 0
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 - 0x28], eax
je 0x55e1e5
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 - 0x2c], edi
je 0x55e1d8
mov eax, dword [ebp + 8]
cmp eax, 8
jne 0x55e230
push 0x40
call fcn.00622acb
mov ecx, eax
add esp, 4
mov dword [ebp - 0x2c], ecx
test ecx, ecx
mov byte [ebp - 4], 1
je 0x55e1a4
call fcn.00570b20
mov ecx, eax
jmp 0x55e1a6
xor ecx, ecx
mov edx, dword [ebp - 0x18]
mov byte [ebp - 4], 0
test ecx, ecx
mov dword [edx + 0x18], ecx
je 0x55e1ce
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push eax
push edx
push esi
push edi
call fcn.00570e20
test eax, eax
je 0x55e1ce
mov dword [ebp - 0x1c], 1
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ebx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x28]
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 - 0x1c]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x55e21b
mov eax, dword [ebp + 0x10]
cmp dword [eax], 0
je 0x55e208
cmp dword [ebp + 8], 8
je 0x55e21b
mov eax, dword [edi + 0xdc]
test eax, eax
je 0x55e21b
mov ecx, dword [edi + 0x18]
push eax
call fcn.005712c0
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
cmp eax, 0x200
jne 0x55e27b
push 0x40
call fcn.00622acb
mov ecx, eax
add esp, 4
mov dword [ebp - 0x2c], ecx
test ecx, ecx
mov byte [ebp - 4], 2
je 0x55e257
call fcn.00570b20
mov ecx, eax
jmp 0x55e259
xor ecx, ecx
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 0
test ecx, ecx
mov dword [eax + 0x18], ecx
je 0x55e1ce
mov edx, dword [ebp + 0xc]
push edx
push esi
push edi
call fcn.00570c20
jmp 0x55e1c3
cmp eax, 1
jne 0x55e1ce
push 0x40
call fcn.00622acb
mov ecx, eax
add esp, 4
mov dword [ebp - 0x24], ecx
test ecx, ecx
mov byte [ebp - 4], 3
je 0x55e2a2
call fcn.00570b20
jmp 0x55e2a4
xor eax, eax
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 0
test eax, eax
mov dword [ecx + 0x18], eax
je 0x55e1ce
push str._fragments_
push edi
mov byte [eax + 0xc], 1
call fcn.00609cc0
add esp, 8
test eax, eax
je 0x55e33a
add eax, 0xb
mov cl, byte [eax]
cmp cl, 0x20
je 0x55e506
cmp cl, 9
je 0x55e506
cmp cl, 0xd
je 0x55e506
cmp cl, 0xa
je 0x55e506
cmp cl, 0x3a
jne 0x55e33a
mov cl, byte [eax + 1]
inc eax
cmp cl, 0x20
je 0x55e2fa
cmp cl, 9
je 0x55e2fa
cmp cl, 0xd
je 0x55e2fa
cmp cl, 0xa
je 0x55e2fa
mov ebx, dword [ebp - 0x18]
mov ecx, edi
sub ecx, eax
mov edx, dword [ebx + 0x18]
add ecx, esi
push edx
push ecx
push eax
call fcn.0055c6f0
mov edx, dword [ebx + 0x18]
add esp, 0xc
mov eax, dword [edx + 0x28]
test eax, eax
je 0x55e33a
mov dword [ebp - 0x1c], 1
push str._template_
push edi
call fcn.00609cc0
mov ebx, eax
mov eax, dword [ebp - 0x1c]
add esp, 8
test eax, eax
je 0x55e1ce
test ebx, ebx
je 0x55e1ce
add ebx, 0xa
mov al, byte [ebx]
cmp al, 0x20
je 0x55e50c
cmp al, 9
je 0x55e50c
cmp al, 0xd
je 0x55e50c
cmp al, 0xa
je 0x55e50c
cmp al, 0x3a
jne 0x55e1ce
mov al, byte [ebx + 1]
inc ebx
cmp al, 0x20
je 0x55e38a
cmp al, 9
je 0x55e38a
cmp al, 0xd
je 0x55e38a
cmp al, 0xa
je 0x55e38a
cmp al, 0x22
jne 0x55e1ce
inc ebx
push 0x22
push ebx
call fcn.00609c00
add esp, 8
cmp eax, ebx
mov dword [ebp - 0x24], eax
jbe 0x55e1ce
mov ecx, dword [0x6f7b78]
mov dword [ebp - 0x20], ecx
mov esi, eax
lea ecx, [ebp - 0x20]
sub esi, ebx
mov byte [ebp - 4], 4
lea edx, [esi + 1]
push edx
call fcn.00623157
test eax, eax
je 0x55e4f5
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 [0x6f7b78]
mov dword [ebp - 0x14], edx
push 1
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.00623157
mov edx, dword [ebp - 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [0x6fc2e0]
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 0x55e4e6
cmp eax, 0x7d0
jae 0x55e4e6
push eax
lea ecx, [ebp - 0x14]
call fcn.00623157
mov edx, dword [ebp - 0x20]
lea ecx, [ebp - 0x24]
push 0x4000000
push ecx
push eax
push edx
push esi
call edi
test eax, eax
je 0x55e4e6
mov eax, dword [ebp - 0x14]
push 0x25
push eax
call fcn.00609c00
add esp, 8
test eax, eax
je 0x55e495
push 0x6d2f34
push 0x6d2f30
lea ecx, [ebp - 0x14]
call fcn.0061f504
mov ecx, dword [ebp - 0x14]
push 0x5c
push ecx
call fcn.00609c00
add esp, 8
test eax, eax
je 0x55e4b9
push 0x6e4af8
push 0x6cae80
lea ecx, [ebp - 0x14]
call fcn.0061f504
push 0x6c91b4
push str._fragment_
lea ecx, [ebp - 0x14]
call fcn.0061f504
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
push edx
push 0x6c910c
mov ecx, dword [eax + 0x18]
add ecx, 8
push ecx
call fcn.0061fae1
add esp, 0xc
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x55
push ebp
add dh, bl
movsd dword es:[edi], dword [esi]