Function at 0x42cb20
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push ebx
push esi
push edi
push 0xff
lea eax, [ebp - 0x107]
push 0
push eax
mov esi, ecx
mov byte [ebp - 0x108], 0
call fcn.0043b2b0
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push ecx
push edx
push eax
lea ecx, [ebp - 0x108]
push str.Local_s__s__s
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [ebp + 0x18]
mov edi, dword [ebp + 0x14]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
add esp, 0x20
test eax, eax
je 0x42cbdb
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x42cbdb
push 0x469ca4
lea edx, [ebp - 0x108]
push edx
call ebx
mov eax, dword [ebp + 0x18]
push eax
lea ecx, [ebp - 0x108]
push ecx
call ebx
push 0xa
push 8
lea edx, [ebp - 8]
xor eax, eax
push edx
push edi
mov byte [ebp - 8], 0
mov dword [ebp - 7], eax
mov word [ebp - 3], ax
mov byte [ebp - 1], al
call fcn.0043b619
add esp, 0x10
push 0x469ca4
lea eax, [ebp - 0x108]
push eax
call ebx
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x108]
push edx
call ebx
test edi, edi
jne 0x42cc35
lea eax, [ebp - 0x108]
push eax
push edi
push 0xf001f
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov dword [esi + 0xc], eax
test eax, eax
je 0x42cc93
push 0x98
push edi
push edi
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x42cc5c
mov ecx, dword [eax + 0x90]
push eax
mov dword [esi + 0x24], ecx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [esi + 0x24]
lea edx, [eax + eax*4]
shl edx, 7
add edx, 0x98
mov dword [esi + 0x14], edx
jmp 0x42cc5c
lea eax, [edi + edi*4]
shl eax, 7
lea ecx, [ebp - 0x108]
push ecx
add eax, 0x98
push eax
push 0
push 4
push 0
push 0xffffffffffffffff
mov dword [esi + 0x14], eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [esi + 0xc], eax
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x42cc93
mov eax, dword [esi + 0x14]
test eax, eax
je 0x42cc93
push eax
push 0
push 0
push 0xf001f
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 0x10], eax
test eax, eax
jne 0x42cc9e
mov edx, dword [esi + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xc], 0
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov dword [esi + 0x18], eax
test edi, edi
je 0x42cd1a
push 0
push 0xffffffffffffffff
mov ecx, esi
mov dword [esi + 0x2c], edi
call fcn.0042b4a0
mov eax, dword [esi + 0x18]
push 0x98
push 0
push eax
call fcn.0043b2b0
mov ecx, dword [ebp + 0xc]
mov edx, dword [esi + 0x18]
add esp, 0xc
push ecx
add edx, 8
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [esi + 0x18]
push 0x469ca4
add eax, 8
push eax
call ebx
mov ecx, dword [ebp + 0x10]
mov edx, dword [esi + 0x18]
push ecx
add edx, 8
push edx
call ebx
mov eax, dword [esi + 0x18]
mov dword [eax + 0x90], edi
mov eax, dword [esi + 0x18]
test eax, eax
je 0x42cd3d
mov ecx, dword [esi + 0x20]
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x14
xor edi, edi
cmp dword [esi + 0x24], edi
jbe 0x42cd3d
lea ebx, [eax + 0xa0]
push edi
push ebx
lea ecx, [esi + 0x38]
call fcn.0040145a
inc edi
add ebx, 0x280
cmp edi, dword [esi + 0x24]
jb 0x42cd27
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x14