Function at 0x5767c108
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x15
push 0
push 0
dec ecx
jne 0x5767c111
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5767c638
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x48]
mov eax, 0x5767b66c
call fcn.5766b930
lea edx, [ebp - 0x48]
mov eax, esi
mov ecx, dword [0x576691ac]
call fcn.57665f78
lea edx, [ebp - 0x88]
mov eax, 0x5767bb60
call fcn.5766b930
lea edx, [ebp - 0x88]
mov eax, dword [ebp - 4]
mov ecx, dword [0x576691ac]
call fcn.57665f78
mov eax, ebx
mov edx, 0x149
call fcn.57666dd4
mov eax, dword [esi + 0xc]
add eax, 0x149
mov edx, dword [ebp - 4]
add eax, dword [edx + 0xc]
mov dword [ebx], eax
mov dl, 1
mov eax, dword [0x5768ec48]
call fcn.5766bb90
mov edi, eax
mov dword [ebx + 0x20], edi
mov eax, dword [edi]
mov dword [ebx + 0x24], eax
mov eax, dword [edi + 4]
mov dword [ebx + 0x28], eax
mov eax, dword [0x5768f278]
call fcn.57665998
lea edx, [ebx + 0x2c]
mov ecx, 0x10
call fcn.576645ec
mov dl, 1
mov eax, dword [0x5768ec2c]
call fcn.5766bb90
mov dword [ebx + 0x6f], eax
mov dl, 1
mov eax, dword [0x5768ec34]
call fcn.5766bb90
mov dword [ebx + 0x73], eax
call fcn.5766b950
mov dword [ebx + 0x77], eax
mov dl, 1
mov eax, dword [0x5768ec3c]
call fcn.5766bb90
mov dword [ebx + 0x7b], eax
mov dl, 1
mov eax, dword [0x5768ec54]
call fcn.5766bb90
mov dword [ebx + 0x7f], eax
mov dl, 1
mov eax, dword [0x5768ec6c]
call fcn.5766bb90
mov dword [ebx + 0x83], eax
mov dl, 1
mov eax, dword [0x5768ec70]
call fcn.5766bb90
mov dword [ebx + 0x87], eax
mov dl, 1
mov eax, dword [0x5768ec74]
call fcn.5766bb90
mov dword [ebx + 0x8b], eax
mov dl, 1
mov eax, dword [0x5768ec78]
call fcn.5766bb90
mov dword [ebx + 0x8f], eax
lea edx, [ebp - 0x94]
mov eax, dword [0x5768ed7c]
call fcn.57667e90
push dword [ebp - 0x94]
lea edx, [ebp - 0x98]
mov eax, dword [0x5768edcc]
call fcn.57667e90
push dword [ebp - 0x98]
push 0x5767c650
lea eax, [ebp - 0x90]
mov edx, 3
call fcn.57665858
mov eax, dword [ebp - 0x90]
lea ecx, [ebp - 0x8c]
mov dl, 1
call fcn.57667ec4
mov eax, dword [ebp - 0x8c]
lea edx, [ebx + 0x93]
mov ecx, 0x38
call fcn.576645ec
mov dl, 1
mov eax, dword [0x5768ec30]
call fcn.5766bb90
mov dword [ebx + 0xed], eax
lea edx, [ebp - 0xa4]
mov eax, dword [0x5768ed74]
call fcn.57667e90
push dword [ebp - 0xa4]
lea edx, [ebp - 0xa8]
mov eax, dword [0x5768edcc]
call fcn.57667e90
push dword [ebp - 0xa8]
push 0x5767c650
lea eax, [ebp - 0xa0]
mov edx, 3
call fcn.57665858
mov eax, dword [ebp - 0xa0]
lea ecx, [ebp - 0x9c]
mov dl, 1
call fcn.57667ec4
mov eax, dword [ebp - 0x9c]
lea edx, [ebx + 0xcb]
mov ecx, 0x22
call fcn.576645ec
lea edx, [ebp - 0xac]
mov eax, dword [0x5768edcc]
call fcn.57667e90
mov eax, dword [ebp - 0xac]
lea edx, [ebx + 0xf1]
mov ecx, 8
call fcn.576645ec
mov dl, 1
mov eax, dword [0x5768ecc8]
call fcn.5766ba7c
mov dword [ebx + 0xf9], eax
mov dl, 1
mov eax, dword [0x5768ec20]
call fcn.5766bb90
mov dword [ebx + 0xfd], eax
mov dl, 1
mov eax, dword [0x5768ec68]
call fcn.5766bb90
mov dword [ebx + 0x101], eax
mov dl, 1
mov eax, dword [0x5768ec7c]
call fcn.5766bb90
mov dword [ebx + 0x105], eax
mov dl, 1
mov eax, dword [0x5768ec80]
call fcn.5766bb90
mov dword [ebx + 0x109], eax
mov dl, 1
mov eax, dword [0x5768eccc]
call fcn.5766ba7c
mov dword [ebx + 0x10d], eax
mov dl, 1
mov eax, dword [0x5768ece0]
call fcn.5766ba7c
mov dword [ebx + 0x111], eax
mov dl, 1
mov eax, dword [0x5768ecd4]
call fcn.5766ba7c
mov dword [ebx + 0x115], eax
mov dl, 1
mov eax, dword [0x5768ecfc]
call fcn.5766ba7c
mov dword [ebx + 0x119], eax
mov dl, 1
mov eax, dword [0x5768ece4]
call fcn.5766ba7c
mov dword [ebx + 0x11d], eax
mov eax, dword [0x5768f2c8]
mov eax, dword [eax]
mov dl, 1
call fcn.5766ba7c
mov dword [ebx + 0x121], eax
mov eax, dword [0x5768f2f0]
mov eax, dword [eax]
mov dl, 1
call fcn.5766ba7c
mov dword [ebx + 0x129], eax
mov eax, dword [0x5768f2ac]
mov eax, dword [eax]
mov dl, 1
call fcn.5766ba7c
mov dword [ebx + 0x125], eax
mov dl, 1
mov eax, dword [0x5768ec50]
call fcn.5766bb90
mov dword [ebx + 0x12d], eax
mov dl, 1
mov eax, dword [0x5768ec58]
call fcn.5766bb90
mov dword [ebx + 0x131], eax
mov dl, 1
mov eax, dword [0x5768ec5c]
call fcn.5766bb90
mov dword [ebx + 0x135], eax
mov dl, 1
mov eax, dword [0x5768ec60]
call fcn.5766bb90
mov dword [ebx + 0x139], eax
mov dl, 1
mov eax, dword [0x5768ec64]
call fcn.5766bb90
mov dword [ebx + 0x13d], eax
call fcn.57670f3c
mov eax, dword [ebx + 0x135]
call fcn.5767c05c
mov dword [ebx + 4], eax
mov eax, dword [ebx + 0x139]
call fcn.5767c05c
mov dword [ebx + 8], eax
mov eax, dword [ebx + 0x13d]
call fcn.5767c05c
mov dword [ebx + 0xc], eax
call fcn.57671144
lea eax, [ebx + 0x2c]
sub eax, ebx
mov dword [ebx + 0x10], eax
mov eax, dword [0x5768f2d0]
mov eax, dword [eax]
mov dl, 1
call fcn.5766ba7c
mov dword [ebx + 0x141], eax
call fcn.5767c0dc
mov dword [ebx + 0x145], eax
mov eax, dword [0x5768f27c]
call fcn.57665998
lea edx, [ebx + 0x3c]
mov ecx, 0x33
call fcn.576645ec
mov eax, ebx
add eax, 0x149
lea edx, [ebx + 0x38]
sub eax, edx
sub eax, 4
lea edx, [ebx + 0x38]
mov dword [edx], eax
mov eax, ebx
add eax, 0x149
add eax, dword [esi + 0xc]
lea edx, [ebx + 0x51]
sub eax, edx
sub eax, 4
lea edx, [ebx + 0x51]
mov dword [edx], eax
lea eax, [ebx + 0xed]
sub eax, ebx
lea edx, [ebx + 0x5f]
mov dword [edx], eax
mov eax, dword [ebx]
push eax
lea edx, [ebp - 0xb0]
mov eax, dword [0x5768edc4]
call fcn.57667e90
mov eax, dword [ebp - 0xb0]
call fcn.57665998
push eax
call fcn.57670028
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0xf001f
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.dll_MapViewOfFile
mov edi, eax
mov edx, edi
mov eax, ebx
mov ecx, 0x149
call fcn.576645ec
mov ecx, dword [esi + 0xc]
mov edx, edi
add edx, 0x149
mov eax, dword [esi + 4]
call fcn.576645ec
mov edx, edi
add edx, 0x149
add edx, dword [esi + 0xc]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.576645ec
push edi
call sub.KERNEL32.dll_UnmapViewOfFile
cmp dword [ebx + 4], 0
je 0x5767c5eb
cmp dword [ebx + 8], 0
je 0x5767c5eb
cmp dword [ebx + 0xc], 0
je 0x5767c5eb
call fcn.57678924
test al, al
jne 0x5767c5ef
xor eax, eax
jmp 0x5767c5f1
mov al, 1
mov ebx, eax
mov eax, dword [ebp - 8]
call fcn.5766ca10
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5767c63f
lea eax, [ebp - 0xb0]
mov edx, 0xa
call fcn.5766552c
lea eax, [ebp - 0x88]
mov edx, dword [0x576691ac]
mov ecx, 2
call fcn.57665e68
ret