Function at 0x442640
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], 0x1160913
mov dword [ebp - 4], eax
lea ebx, [eax + 0x10]
mov dword [ebp - 0x1c], 0
call fcn.0046b0e0
mov dword [ebp - 0x18], eax
call fcn.0046b120
mov dword [ebp - 0x14], eax
mov word [ebp - 0x48], 0x7b
lea ecx, [ebp - 0x48]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x442696
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x442681
dec eax
push dword [ebp - 0x20]
push str._08X
lea edx, [ebp - 0x48]
add eax, edx
push eax
call fcn.004612a0
add esp, 0xc
lea edi, [ebp - 0x48]
mov edx, str._0000_0000_
mov ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
dec edi
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
test al, al
jne 0x4426be
lea ecx, [ebp - 0x48]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x4426e2
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x4426cd
dec eax
movzx ecx, byte [ebp - 0x18]
lea edx, [ebp - 0x48]
push ecx
add eax, edx
push str._02X
push eax
call fcn.004612a0
add esp, 0xc
lea ecx, [ebp - 0x48]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x442714
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x4426ff
dec eax
movzx ecx, byte [ebp - 0x17]
lea edx, [ebp - 0x48]
push ecx
add eax, edx
push str._02X
push eax
call fcn.004612a0
add esp, 0xc
lea edi, [ebp - 0x48]
mov edx, 0x509964
mov ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
dec edi
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
test al, al
jne 0x44273e
lea ecx, [ebp - 0x48]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x442762
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x44274d
dec eax
movzx ecx, byte [ebp - 0x16]
lea edx, [ebp - 0x48]
push ecx
add eax, edx
push str._02X
push eax
call fcn.004612a0
add esp, 0xc
lea ecx, [ebp - 0x48]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x442794
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x44277f
dec eax
movzx ecx, byte [ebp - 0x15]
lea edx, [ebp - 0x48]
push ecx
add eax, edx
push str._02X
push eax
call fcn.004612a0
add esp, 0xc
lea ecx, [ebp - 0x48]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x4427c6
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x4427b1
dec eax
movzx ecx, byte [ebp - 0x14]
lea edx, [ebp - 0x48]
push ecx
add eax, edx
push str._02X
push eax
call fcn.004612a0
add esp, 0xc
lea ecx, [ebp - 0x48]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x4427f8
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x4427e3
dec eax
movzx ecx, byte [ebp - 0x13]
lea edx, [ebp - 0x48]
push ecx
add eax, edx
push str._02X
push eax
call fcn.004612a0
add esp, 0xc
lea ecx, [ebp - 0x48]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x44282a
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x442815
dec eax
movzx ecx, byte [ebp - 0x12]
lea edx, [ebp - 0x48]
push ecx
add eax, edx
push str._02X
push eax
call fcn.004612a0
add esp, 0xc
lea ecx, [ebp - 0x48]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x44285c
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x442847
dec eax
movzx ecx, byte [ebp - 0x11]
lea edx, [ebp - 0x48]
push ecx
add eax, edx
push str._02X
push eax
call fcn.004612a0
add esp, 0xc
lea edi, [ebp - 0x48]
mov edx, 0x509968
mov ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
dec edi
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
test al, al
jne 0x442886
lea eax, [ebp - 0x48]
push eax
push 0
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
test eax, eax
je 0x4428bf
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 4]
call fcn.00466100
pop ecx
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x48]
push eax
push ebx
xor edi, edi
push edi
push 4
push edi
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov esi, eax
test esi, esi
je 0x4428a9
mov dword [ebp - 0x1c], esi
push ebx
push edi
push edi
push 6
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x442907
mov edx, dword [ebp - 0x20]
mov dword [eax], edx
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 4], ecx
mov ebx, dword [ebp - 0x18]
mov dword [eax + 8], ebx
mov esi, dword [ebp - 0x14]
mov dword [eax + 0xc], esi
add eax, 0x10
jmp 0x4428b2
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4428a9