Function at 0x671b8c
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x671b95
push ecx
xchg dword [ebp - 4], ecx
push ebx
test dl, dl
je 0x671bad
add esp, 0xfffffff0
call fcn.00409584
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x671ea8
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
movzx eax, byte [ebp + 0xc]
mov byte [edx + 0x20], al
test al, al
je 0x671ce2
push 0
push 0
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0xc]
call fcn.0040bf4c
push eax
call sub.kernel32.dll_CreateFileW
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x24], ebx
cmp ebx, 0xffffffff
jne 0x671c24
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov edx, 0x671ee0
call fcn.0040c1b4
mov ecx, dword [ebp - 0x14]
mov dl, 1
mov eax, dword [0x66841c]
call fcn.0042e940
call fcn.0040a500
push 0
push 0
push 0
push 2
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
push eax
call sub.kernel32.dll_CreateFileMappingW
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x28], ebx
test ebx, ebx
jne 0x671c6a
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov edx, 0x671f10
call fcn.0040c1b4
mov ecx, dword [ebp - 0x18]
mov dl, 1
mov eax, dword [0x66841c]
call fcn.0042e940
call fcn.0040a500
push 0
push 0
push 0
push 4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
push eax
call sub.kernel32.dll_MapViewOfFile
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x2c], ebx
test ebx, ebx
jne 0x671cce
push 0x671f60
push dword [ebp - 0xc]
push 0x671f90
lea eax, [ebp - 0x24]
call fcn.0066bae8
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0x20]
call fcn.0040c040
push dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.0040c23c
mov ecx, dword [ebp - 0x1c]
mov dl, 1
mov eax, dword [0x66841c]
call fcn.0042e940
call fcn.0040a500
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x2c]
mov edx, dword [ebp - 4]
mov dword [edx + 0x30], eax
jmp 0x671d89
push 0x40
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x44e718]
call fcn.004781ec
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x671d82
push dword fs:[edx]
mov dword fs:[edx], esp
cmp dword [ebp + 0x14], 0
jne 0x671d1d
cmp dword [ebp + 0x10], 0
jne 0x671d1d
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx]
mov dword [ebp + 0x10], eax
mov dword [ebp + 0x14], edx
mov eax, dword [ebp + 0x10]
call fcn.00407138
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x2c], ebx
mov eax, dword [ebp - 4]
mov dword [eax + 0x30], ebx
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
mov eax, dword [ebp - 0x10]
call fcn.00476374
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
push eax
sar eax, 0x1f
cmp eax, edx
pop eax
je 0x671d55
call fcn.00408b54
mov ecx, eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp - 0x10]
call fcn.00477298
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x671d89
mov eax, dword [ebp - 0x10]
xor edx, edx
mov dword [ebp - 0x10], edx
call fcn.00408f5c
pop eax
jmp eax
mov eax, dword [ebp - 4]
mov byte [eax + 4], 0
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x30]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.00671b70
cmp eax, 0x950412de
je 0x671dd2
cmp eax, 0xde120495
je 0x671dd2
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov edx, 0x671fcc
call fcn.0040c1b4
mov ecx, dword [ebp - 0x28]
mov dl, 1
mov eax, dword [0x66841c]
call fcn.0042e940
call fcn.0040a500
cmp eax, 0xde120495
sete al
mov edx, dword [ebp - 4]
mov byte [edx + 4], al
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x30]
mov ecx, 4
mov eax, dword [ebp - 4]
call fcn.00671b70
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x30]
mov ecx, 8
mov eax, dword [ebp - 4]
call fcn.00671b70
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x30]
mov ecx, 0xc
mov eax, dword [ebp - 4]
call fcn.00671b70
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x30]
mov ecx, 0x10
mov eax, dword [ebp - 4]
call fcn.00671b70
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
test eax, eax
jns 0x671e4d
call fcn.00408b54
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], 1
test eax, eax
je 0x671e67
shr eax, 1
mov edx, dword [ebp - 4]
shl dword [edx + 0x18], 1
test eax, eax
jne 0x671e5b
mov eax, dword [ebp - 4]
shr dword [eax + 0x18], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
shr eax, 1
mov edx, dword [ebp - 4]
mov dword [edx + 0x1c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x671eaf
lea eax, [ebp - 0x28]
call fcn.0040ae84
lea eax, [ebp - 0x24]
call fcn.0040aecc
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.0040aee4
pop eax
jmp eax