Function at 0x482fcc
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x15
push 0
push 0
dec ecx
jne 0x482fd5
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 0x4834a8
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x48]
mov eax, 0x482560
call fcn.00476b7c
lea edx, [ebp - 0x48]
mov eax, esi
mov ecx, dword [0x47467c]
call fcn.004053e0
lea edx, [ebp - 0x88]
mov eax, 0x482a58
call fcn.00476b7c
lea edx, [ebp - 0x88]
mov eax, dword [ebp - 4]
mov ecx, dword [0x47467c]
call fcn.004053e0
mov eax, ebx
mov edx, 0x149
call fcn.004079a4
mov eax, dword [esi + 0xc]
add eax, 0x149
mov edx, dword [ebp - 4]
add eax, dword [edx + 0xc]
mov dword [ebx], eax
mov eax, 0x4834c0
call fcn.00476d34
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, 0x4834d4
call fcn.00404b7c
lea edx, [ebx + 0x2c]
mov ecx, 0x10
call fcn.00402a58
mov eax, 0x4834f0
call fcn.00476d34
mov dword [ebx + 0x6f], eax
mov eax, 0x483504
call fcn.00476d34
mov dword [ebx + 0x73], eax
call fcn.00476b90
mov dword [ebx + 0x77], eax
mov eax, 0x48351c
call fcn.00476d34
mov dword [ebx + 0x7b], eax
mov eax, 0x48352c
call fcn.00476d34
mov dword [ebx + 0x7f], eax
mov eax, 0x483548
call fcn.00476d34
mov dword [ebx + 0x83], eax
mov eax, 0x48356c
call fcn.00476d34
mov dword [ebx + 0x87], eax
mov eax, 0x483584
call fcn.00476d34
mov dword [ebx + 0x8b], eax
mov eax, 0x4835a0
call fcn.00476d34
mov dword [ebx + 0x8f], eax
lea edx, [ebp - 0x94]
mov eax, 0x4835c0
call fcn.00473b4c
push dword [ebp - 0x94]
lea edx, [ebp - 0x98]
mov eax, 0x4835dc
call fcn.00473b4c
push dword [ebp - 0x98]
push 0x4835f0
lea eax, [ebp - 0x90]
mov edx, 3
call fcn.00404a3c
mov eax, dword [ebp - 0x90]
lea ecx, [ebp - 0x8c]
mov dl, 1
call fcn.00473bbc
mov eax, dword [ebp - 0x8c]
lea edx, [ebx + 0x93]
mov ecx, 0x38
call fcn.00402a58
mov eax, 0x4835fc
call fcn.00476d34
mov dword [ebx + 0xed], eax
lea edx, [ebp - 0xa4]
mov eax, 0x483614
call fcn.00473b4c
push dword [ebp - 0xa4]
mov eax, 0x4835dc
lea edx, [ebp - 0xa8]
call fcn.00473b4c
push dword [ebp - 0xa8]
push 0x4835f0
lea eax, [ebp - 0xa0]
mov edx, 3
call fcn.00404a3c
mov eax, dword [ebp - 0xa0]
lea ecx, [ebp - 0x9c]
mov dl, 1
call fcn.00473bbc
mov eax, dword [ebp - 0x9c]
lea edx, [ebx + 0xcb]
mov ecx, 0x22
call fcn.00402a58
mov eax, 0x4835dc
lea edx, [ebp - 0xac]
call fcn.00473b4c
mov eax, dword [ebp - 0xac]
lea edx, [ebx + 0xf1]
mov ecx, 8
call fcn.00402a58
mov eax, 0x483624
call fcn.00476c3c
mov dword [ebx + 0xf9], eax
mov eax, 0x483640
call fcn.00476d34
mov dword [ebx + 0xfd], eax
mov eax, 0x483660
call fcn.00476d34
mov dword [ebx + 0x101], eax
mov eax, 0x48367c
call fcn.00476d34
mov dword [ebx + 0x105], eax
mov eax, 0x483690
call fcn.00476d34
mov dword [ebx + 0x109], eax
mov eax, 0x4836a4
call fcn.00476c3c
mov dword [ebx + 0x10d], eax
mov eax, 0x4836bc
call fcn.00476c3c
mov dword [ebx + 0x111], eax
mov eax, 0x4836d0
call fcn.00476c3c
mov dword [ebx + 0x115], eax
mov eax, 0x4836e8
call fcn.00476c3c
mov dword [ebx + 0x119], eax
mov eax, 0x483704
call fcn.00476c3c
mov dword [ebx + 0x11d], eax
mov eax, 0x483718
call fcn.00476c3c
mov dword [ebx + 0x121], eax
mov eax, 0x48372c
call fcn.00476c3c
mov dword [ebx + 0x129], eax
mov eax, 0x483748
call fcn.00476c3c
mov dword [ebx + 0x125], eax
mov eax, 0x483768
call fcn.00476d34
mov dword [ebx + 0x12d], eax
mov eax, 0x483788
call fcn.00476d34
mov dword [ebx + 0x131], eax
mov eax, 0x4837a8
call fcn.00476d34
mov dword [ebx + 0x135], eax
mov eax, 0x4837c8
call fcn.00476d34
mov dword [ebx + 0x139], eax
mov eax, 0x4837e4
call fcn.00476d34
mov dword [ebx + 0x13d], eax
mov eax, dword [ebx + 0x135]
call fcn.00482f54
mov dword [ebx + 4], eax
mov eax, dword [ebx + 0x139]
call fcn.00482f54
mov dword [ebx + 8], eax
mov eax, dword [ebx + 0x13d]
call fcn.00482f54
mov dword [ebx + 0xc], eax
lea eax, [ebx + 0x2c]
sub eax, ebx
mov dword [ebx + 0x10], eax
mov eax, 0x483804
call fcn.00476c3c
mov dword [ebx + 0x141], eax
call fcn.00482f64
mov dword [ebx + 0x145], eax
mov eax, 0x483820
call fcn.00404b7c
lea edx, [ebx + 0x3c]
mov ecx, 0x33
call fcn.00402a58
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, 0x48385c
call fcn.00473b4c
mov eax, dword [ebp - 0xb0]
call fcn.00404b7c
push eax
call fcn.004798d0
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.00402a58
mov ecx, dword [esi + 0xc]
mov edx, edi
add edx, 0x149
mov eax, dword [esi + 4]
call fcn.00402a58
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.00402a58
push edi
call sub.kernel32.dll_UnmapViewOfFile
cmp dword [ebx + 4], 0
je 0x483463
cmp dword [ebx + 8], 0
je 0x483463
cmp dword [ebx + 0xc], 0
je 0x483463
call fcn.0047fa30
test al, al
jne 0x483467
xor eax, eax
jmp 0x483469
mov al, 1
mov ebx, eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4834af
lea eax, [ebp - 0xb0]
mov edx, 0xa
call fcn.004046e0
lea eax, [ebp - 0x88]
mov edx, dword [0x47467c]
mov ecx, 2
call fcn.004052d0
ret