Function at 0x41c2f0
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43843a
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x44c040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x6c], ecx
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x5c], ebx
mov byte [ebp - 0x60], bl
cmp dword [eax + 0x10], ebx
jne 0x41c33e
xor al, al
jmp 0x41c50c
cmp dword [eax + 0x14], 8
jb 0x41c346
mov eax, dword [eax]
push eax
push 0
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov edi, eax
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x68], edi
test edi, edi
je 0x41c3d1
push 0
push 0
push 0
push 4
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
je 0x41c3ca
mov edi, dword [esi]
test edi, edi
je 0x41c3c7
push edi
call fcn.00421b68
push edi
lea ecx, [esi + 4]
mov dword [ebp - 0x5c], eax
push ecx
push edi
push eax
call fcn.0041cc00
lea eax, [ebp - 0x94]
push eax
call fcn.0041ed00
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x94]
push eax
push dword [ebp - 0x64]
mov dword [ebp - 0x74], edi
call fcn.0041ec80
mov ecx, dword [ebp - 0x60]
add esp, 0x20
test al, al
movzx ecx, cl
mov edx, 1
cmovne ecx, edx
mov dword [ebp - 0x60], ecx
mov edi, dword [ebp - 0x68]
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x5c]
call fcn.00421b71
push 0x78
call fcn.0042187c
add esp, 8
mov dword [ebp - 0x64], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x41c4c6
xor eax, eax
mov dword [ebp - 0x48], 0
push eax
push 0x444414
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
call fcn.00402e40
xor eax, eax
mov byte [ebp - 4], 1
push eax
push 0x444414
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x5c], 1
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.00402e40
xor eax, eax
mov dword [ebp - 4], 2
push eax
push 0x444414
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x5c], 3
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00402e40
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 4], 3
mov dword [ebp - 0x5c], 7
mov eax, dword [ecx + 0x10]
mov edi, dword [ecx + 8]
mov ebx, dword [ecx + 4]
mov esi, dword [eax + 0x10]
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004164b0
mov ecx, dword [ebp - 0x64]
push eax
mov eax, dword [ebp - 0x60]
movzx eax, al
dec eax
push eax
push esi
push edi
push ebx
call fcn.0041b8a0
mov esi, eax
mov ebx, 7
jmp 0x41c4c8
xor esi, esi
test bl, 4
je 0x41c4d8
lea ecx, [ebp - 0x28]
and ebx, 0xfffffffb
call fcn.00402d90
test bl, 2
je 0x41c4e8
lea ecx, [ebp - 0x40]
and ebx, 0xfffffffd
call fcn.00402d90
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x41c4fc
lea ecx, [ebp - 0x58]
call fcn.00402d90
push esi
call fcn.00417ad0
mov ecx, eax
call fcn.004179c0
mov al, byte [ebp - 0x60]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00421b57
mov esp, ebp
pop ebp
ret 8