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

Disassembly:
push 0xffffffffffffffff
push 0x57fd2b
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5e95e0]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
mov ebx, dword [esp + 0x50]
test ebx, ebx
mov dword [esp + 0x18], eax
mov eax, dword [0x5f222c]
jle 0x4d3166
test eax, eax
je 0x4d313d
cmp dword [0x5f2238], 0
jne 0x4d3166
mov esi, dword [esp + 0x4c]
mov edi, esi
call fcn.004d2ec0
mov edi, eax
test edi, edi
jge 0x4d319b
xor eax, eax
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 0x1c
cmp dword [esp + 0x64], 0
jne 0x4d3183
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x4c]
push ecx
push eax
push edx
call fcn.004d0d00
mov edi, eax
test edi, edi
jge 0x4d3197
mov eax, dword [esp + 0x4c]
push 0
push eax
xor ecx, ecx
call fcn.004d0520
mov edi, eax
test edi, edi
jl 0x4d314e
mov esi, dword [esp + 0x4c]
cmp edi, dword [esi + 8]
jge 0x4d3504
mov eax, dword [esi + 4]
lea ebx, [edi*4]
add eax, ebx
mov eax, dword [eax]
add dword [eax + 0x2c], 1
call ebp
test edi, edi
mov dword [esp + 0x14], eax
jl 0x4d3504
cmp edi, dword [esi + 8]
jge 0x4d3504
mov eax, dword [esi + 4]
mov ecx, dword [eax + ebx]
add eax, ebx
mov ebx, dword [ecx + 4]
mov ecx, dword [esi + 8]
xor edi, edi
test ecx, ecx
mov dword [esp + 0x64], edi
jle 0x4d314e
lea esp, [esp]
test edi, edi
jl 0x4d3504
cmp edi, ecx
jge 0x4d3504
mov edx, dword [esi + 4]
lea eax, [edx + edi*4]
mov eax, dword [eax]
cmp dword [eax + 4], ebx
je 0x4d321d
add edi, 1
cmp edi, ecx
mov dword [esp + 0x64], edi
jl 0x4d31f0
jmp 0x4d314e
cmp edi, ecx
jge 0x4d3504
mov ecx, edx
mov edx, dword [ecx + edi*4]
cmp dword [edx + 0xc], 0
lea eax, [ecx + edi*4]
jne 0x4d326c
call ebp
sub eax, dword [esp + 0x14]
cmp eax, 0x7530
ja 0x4d326c
push 0
push 0
push 0
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x4d31d8
cmp edi, dword [esi + 8]
jge 0x4d3504
mov eax, dword [esi + 4]
add edi, edi
add edi, edi
add eax, edi
mov eax, dword [eax]
cmp dword [eax + 0xc], 0
mov dword [esp + 0x14], edi
je 0x4d314e
push 0x28
call fcn.005308cb
add esp, 4
mov dword [esp + 0x1c], eax
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x44], ebp
je 0x4d32b1
mov edi, eax
call fcn.004d3580
mov ebx, eax
jmp 0x4d32b3
xor ebx, ebx
mov eax, dword [esp + 0x5c]
cmp eax, ebp
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x44], 0xffffffff
mov dword [ebx], ecx
je 0x4d32d6
mov edx, dword [ebx + 0xc]
lea ecx, [ebx + 4]
push eax
push edx
call fcn.005390d4
mov ecx, dword [esi + 8]
xor eax, eax
test ecx, ecx
jle 0x4d3300
nop
test eax, eax
jl 0x4d3504
cmp eax, ecx
jge 0x4d3504
mov edx, dword [esi + 4]
mov edx, dword [edx + eax*4]
add ebp, dword [edx + 0x20]
add eax, 1
cmp eax, ecx
jl 0x4d32e0
add ebp, 1
push ebp
lea esi, [ebx + 0x1c]
push 0x5ba0dc
push esi
call fcn.00405480
mov eax, dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
add esp, 0xc
push eax
push 0x4098
push 0
push 4
push 0
push 0xffffffffffffffff
call edi
test eax, eax
mov dword [ebx + 0x20], eax
je 0x4d3376
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4d3376
mov eax, dword [ebx + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add ebp, 1
push ebp
push 0x5ba0dc
push esi
call fcn.00405480
mov eax, dword [esi]
add esp, 0xc
push eax
push 0x4098
push 0
push 4
push 0
push 0xffffffffffffffff
call edi
test eax, eax
mov dword [ebx + 0x20], eax
jne 0x4d3334
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x4d34df
push 0x4098
push 0
push 0
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
mov dword [ebx + 0x24], eax
je 0x4d34df
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [ebx + 0x24]
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, dword [ebx + 0x24]
mov dword [edx + 4], eax
mov eax, dword [ebx + 0x24]
mov ecx, dword [0x5f2630]
mov dword [eax + 8], ecx
mov edx, dword [0x5f2620]
mov eax, dword [edx + 0x568c]
xor esi, esi
cmp eax, esi
jne 0x4d33d7
xor eax, eax
jmp 0x4d33da
mov eax, dword [eax + 0x20]
mov ecx, dword [ebx + 0x24]
mov dword [ecx + 0xc], eax
mov edx, dword [ebx + 0x24]
mov dword [edx + 0x5c], esi
mov eax, dword [ebx + 0x24]
push 0x3000
add eax, 0x60
push esi
push eax
call fcn.00557890
mov ecx, dword [ebx + 0x24]
mov edx, dword [esp + 0x60]
mov dword [ecx + 0x30], edx
mov eax, dword [ebx + 0x24]
mov ecx, dword [esp + 0x5c]
mov dword [eax + 0x34], ecx
mov edx, dword [ebx + 0x24]
mov eax, dword [esp + 0x64]
mov dword [edx + 0x3c], eax
mov edx, dword [ebx + 0x24]
mov dword [edx + 0x48], eax
mov eax, dword [ebx + 0x24]
mov dword [eax + 0x40], esi
mov edx, dword [ebx + 0x24]
mov eax, dword [esp + 0x6c]
add esp, 0xc
push esi
mov dword [edx + 0x44], eax
push ecx
mov ecx, dword [0x5f2620]
mov edi, dword [ecx + 0x568c]
add edi, 0x22c
call fcn.004c6420
xor edi, edi
cmp eax, edi
je 0x4d3457
mov edx, dword [ebx + 0x24]
mov eax, dword [eax + 0xc]
mov dword [edx + 0x38], eax
mov ecx, dword [ebx + 0x24]
mov edx, dword [0x5f2620]
mov eax, dword [edx + 0x568c]
add ecx, 0x10
push ecx
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [ebx + 0x24]
mov eax, dword [esp + 0x18]
mov dword [edx + 0x50], eax
mov edx, dword [esp + 0x5c]
cmp edx, edi
je 0x4d34d6
mov eax, edx
lea esi, [eax + 2]
jmp 0x4d3490
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4d3490
mov ecx, dword [ebx + 0x24]
sub eax, esi
sar eax, 1
cmp eax, 0x1000
mov dword [ecx + 0x3090], eax
jge 0x4d34ca
mov eax, dword [ebx + 0x24]
add eax, 0x3094
movzx ecx, word [edx]
mov word [eax], cx
add edx, 2
add eax, 2
cmp cx, di
jne 0x4d34b7
jmp 0x4d34df
mov edx, dword [ebx + 0x24]
mov word [edx + 0x3094], di
jmp 0x4d34df
mov eax, dword [ebx + 0x24]
mov dword [eax + 0x3090], edi
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x4c]
cmp ecx, dword [eax + 8]
jge 0x4d3504
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x14]
mov esi, dword [edx + eax]
mov eax, dword [esi + 0x20]
add esi, 0x18
test eax, eax
mov dword [esp + 0x5c], eax
jge 0x4d3509
call fcn.00530cad
lea edi, [eax + 1]
call fcn.00459ef0
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x64]
mov edi, dword [esp + 0x4c]
mov dword [ecx + edx*4], ebx
cmp eax, dword [edi + 8]
jge 0x4d3504
mov ecx, dword [esp + 0x54]
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x14]
push ebp
push ecx
mov ecx, dword [edx + eax]
mov edx, dword [ecx + 0xc]
push 0x4c8
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
xor esi, esi
cmp dword [edi + 8], esi
jle 0x4d3572
mov edi, edi
mov eax, esi
mov ecx, edi
call fcn.00439be0
mov eax, dword [eax]
cmp dword [eax + 0x14], 0
jne 0x4d356a
mov eax, esi
mov ecx, edi
call fcn.00439be0
add esi, 1
cmp esi, dword [edi + 8]
jl 0x4d3550
mov eax, 1
jmp 0x4d3150