Function at 0x4d312a
Capabilities:
Check for time delay via gettickcount
Read file via mapping

Disassembly:
mov eax, 0x549a0a
call fcn.0054565c
sub esp, 0x58
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, edx
mov dword [ebp - 0x1c], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, 0x54
ja 0x4d3350
shl byte [edx], 1
mov ebx, 0xd5a62734
xor dword [eax + 0x2469fc8d], edx
pop edx
pop ss
inc esi
mov bh, 0x17
aam 0x34
mov ecx, 0x64dd02ec
cmp dword [ebx - 0xd], ebp
jb 0x4d31d6
inc eax
push eax
mov ch, 0xbb
cmp eax, 0xe186776a
test al, 0x80
popal
mov bh, 0x38
fdivr dword [ebp + 0x33]
invalid
retf 0x4b9b
xor edi, edi
push edi
push 0x3a
mov ecx, esi
call fcn.00410570
mov ebx, eax
test ebx, ebx
jns 0x4d3367
call int.004d41c2
push ebx
lea eax, [ebp - 0x64]
push eax
mov ecx, esi
call fcn.00410b39
lea eax, [ebx + 1]
push eax
lea eax, [ebp - 0x40]
push eax
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.00410498
xor eax, eax
inc eax
push edi
push 0x3a
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], al
call fcn.00410570
mov esi, eax
test esi, esi
js 0x4d3362
push esi
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x40]
call fcn.00410b39
lea eax, [esi + 1]
push eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.00410498
mov ecx, dword [ebp - 0x58]
xor edx, edx
call fcn.0050dfa4
mov ebx, eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x24], edx
mov byte [ebp - 4], 4
push dword [ebp - 0x64]
push edi
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov esi, eax
mov dword [ebp - 0x24], esi
test esi, esi
jne 0x4d33ff
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x4d33ff
mov ecx, str.Can_not_open_mapping
call fcn.004d43da
push ebx
push edi
push edi
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
mov dword [ebp - 0x20], ebx
test ebx, ebx
jne 0x4d341b
mov ecx, str.MapViewOfFile_error
jmp 0x4d33fa
mov byte [ebp - 4], 5
cmp word [ebx], di
je 0x4d342b
mov ecx, str.Incorrect_mapping_data
jmp 0x4d33fa
shr dword [ebp - 0x14], 1
push 4
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edi
call fcn.0040de7a
xor eax, eax
mov byte [ebp - 4], 6
inc eax
cmp eax, dword [ebp - 0x14]
jae 0x4d3488
movzx eax, word [ebx + eax*2]
test ax, ax
jne 0x4d3476
push dword [ebp + 0xc]
mov ecx, dword [ebp - 0x1c]
push dword [ebp + 8]
lea edx, [ebp - 0x34]
call fcn.004d3ac7
mov eax, dword [ebp - 0x34]
pop ecx
pop ecx
xor ecx, ecx
mov dword [ebp - 0x30], edi
mov word [eax], cx
jmp 0x4d347f
push eax
lea ecx, [ebp - 0x34]
call fcn.0040ec39
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
jmp 0x4d3448
cmp dword [ebp - 0x30], 0
je 0x4d3498
mov ecx, str.data_error
jmp 0x4d33fa
push dword [ebp - 0x34]
call fcn.00418a9a
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
test esi, esi
je 0x4d34b3
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x4c]
push edi
push 2
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x4d34d0
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4d34d8
lea ecx, [ebp - 0x18]
call fcn.0050df90
lea ecx, [ebp - 0x18]
call fcn.0050dd61
push dword [ebp - 0x4c]
call fcn.00418a9a
pop ecx
push dword [ebp - 0x58]
call fcn.00418a9a
pop ecx
push dword [ebp - 0x40]
call fcn.00418a9a
pop ecx
push dword [ebp - 0x64]
call fcn.00418a9a
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret