Function at 0x429270
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x534f90
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x5bc684]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x14], edi
xor esi, esi
mov dword [ebp - 0x1c], esi
call fcn.004284a0
mov dword [ebp - 4], esi
cmp dword [edi + 0x14], esi
jne 0x429557
cmp dword [edi + 0x364], esi
je 0x429557
cmp dword [edi + 0x360], esi
je 0x429557
lea ecx, [edi + 0x368]
call fcn.00498870
mov ebx, dword [ebp + 8]
test eax, eax
je 0x429390
lea ecx, [edi + 0x368]
call fcn.00498870
mov esi, eax
add esi, dword [ebx + 8]
imul esi, esi, 0x54
push esi
call fcn.004fc6be
mov edi, eax
push esi
push 0
push edi
call fcn.004ff6f0
mov eax, dword [ebx + 8]
imul eax, eax, 0x54
push eax
mov ecx, dword [ebx]
push ecx
push edi
call fcn.004fe210
mov eax, dword [ebx + 4]
push eax
call fcn.004808a0
add esp, 0x20
mov dword [ebx + 4], edi
mov dword [ebx], edi
mov ecx, dword [ebp - 0x14]
add ecx, 0x368
call fcn.00498900
mov edi, eax
mov dword [ebp + 8], edi
lea esp, [esp]
test edi, edi
je 0x42937c
mov ecx, edi
call fcn.00497c50
test eax, eax
je 0x429366
mov edi, dword [ebx + 8]
imul edi, edi, 0x54
add edi, dword [ebx]
mov ecx, 0x15
mov esi, eax
rep movsd dword es:[edi], dword [esi]
inc dword [ebx + 8]
mov edi, dword [ebp + 8]
push edi
mov ecx, dword [ebp - 0x14]
add ecx, 0x368
call fcn.00498910
mov dword [ebp + 8], eax
mov edi, eax
jmp 0x429340
mov eax, dword [ebp - 0x14]
add eax, 0x368
push eax
call fcn.00428360
add esp, 4
mov edi, dword [ebp - 0x14]
push 0
push 0
push 0
push 0x8000004
push 0
mov edx, dword [edi + 0x360]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [ebp + 8], eax
test eax, eax
je 0x4294d3
push 0
push 0
push 0
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
lea esi, [edi + 0x10]
mov dword [ebp - 0x18], esi
test edi, edi
je 0x429499
mov eax, dword [edi + 0xc]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x344], eax
xor edx, edx
mov dword [ebp - 0x24], edx
cmp edx, dword [ebx + 8]
jae 0x42944a
mov esi, edx
imul esi, esi, 0x54
add esi, dword [ebx]
cmp dword [esi + 0x44], 0xffffffff
jne 0x429411
mov eax, dword [ecx + 0x344]
test eax, eax
je 0x429441
dec eax
mov dword [ecx + 0x344], eax
inc edx
mov dword [ebp - 0x24], edx
mov esi, dword [ebp - 0x18]
jmp 0x4293e5
mov eax, dword [esi + 0x48]
add eax, edi
mov ecx, dword [ebp - 0x18]
cmp ecx, eax
je 0x429431
mov edx, dword [esi + 0x4c]
push edx
push eax
push ecx
call fcn.004fe580
add esp, 0xc
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x18]
mov eax, ecx
sub eax, edi
mov dword [esi + 0x48], eax
add ecx, dword [esi + 0x4c]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x14]
inc edx
mov dword [ebp - 0x24], edx
mov esi, dword [ebp - 0x18]
jmp 0x4293e5
mov ecx, dword [ecx + 0x344]
mov dword [edi + 0xc], ecx
push 0xc
lea edx, [edi + 4]
push edx
push 0xffffffffffffffff
call fcn.0048a5a0
add esp, 0xc
mov dword [edi], eax
mov ecx, eax
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x350], ecx
mov edx, dword [edi + 4]
mov dword [eax + 0x354], edx
mov ecx, dword [edi + 8]
mov dword [eax + 0x358], ecx
mov edx, dword [edi + 0xc]
mov dword [eax + 0x35c], edx
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [ebp - 0x1c], 1
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x1c], 0
je 0x429554
push 0
push 0
sub esi, edi
push esi
mov esi, dword [ebp - 0x14]
mov ecx, dword [esi + 0x360]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edx, dword [esi + 0x360]
push edx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov edi, esi
xor ecx, ecx
cmp dword [ebp - 0x1c], ecx
je 0x429557
mov dword [ebp - 0x28], ecx
mov eax, dword [ebx]
mov dword [ebp - 0x2c], eax
mov edx, eax
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x20], ecx
lea ebx, [ebx]
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [ebx + 8]
jae 0x42952b
cmp dword [edx + 0x44], 0xffffffff
je 0x429520
cmp eax, edx
je 0x429510
mov ecx, 0x15
mov esi, edx
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
mov dword [eax + 0x44], ecx
inc ecx
mov dword [ebp - 0x28], ecx
add eax, 0x54
mov dword [ebp - 0x2c], eax
add edx, 0x54
mov dword [ebp - 0x30], edx
inc dword [ebp - 0x20]
jmp 0x4294f0
sub eax, dword [ebx]
mov ecx, eax
mov eax, 0x30c30c31
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebx + 8], eax
push ebx
mov ecx, edi
call fcn.00428ff0
mov dword [ebp - 4], 0xffffffff
jmp 0x429581
mov edi, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
jmp 0x429581
mov ecx, edi
call fcn.00428520
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4