Function at 0x4d7121
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
lea ebp, [esp - 0x804]
sub esp, 0x804
push 0xffffffffffffffff
push 0x636149
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x6a6040]
xor eax, ebp
mov dword [ebp + 0x800], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 0x80c]
cmp eax, 4
ja case.default.0x4d711a
jmp dword [eax*4 + 0x4d77bc]
cmp byte [ebx + 0x472], 0
je case.default.0x4d711a
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
lea ecx, [ebp + 0x400]
mov edi, eax
call fcn.004c0050
push ecx
mov ecx, esp
mov dword [ebp - 4], 0
push dword [ebx + 0x4e6]
push dword [ebx + 0x4e2]
push ecx
lea ecx, [ebp + 0x400]
call fcn.004c3be0
push 2
mov ecx, ebx
call fcn.004d6dc0
call esi
sub eax, edi
cmp eax, 0x64
jbe 0x4d71a2
cmp eax, 0xfa
ja 0x4d718a
mov eax, 0x1e8480
cdq
mov esi, eax
mov edi, edx
jmp 0x4d71bc
cmp eax, 0x1f4
sbb eax, eax
and eax, 0xffd23940
add eax, 0x5b8d80
cdq
mov esi, eax
mov edi, edx
jmp 0x4d71bc
lea ecx, [ebx + 0x5bb]
mov esi, 0xf4240
xor edi, edi
call fcn.005d7970
cmp eax, esi
jne 0x4d71bc
test edx, edx
je 0x4d71cb
push 0
push edi
push esi
lea ecx, [ebx + 0x5bb]
call fcn.0041b220
lea ecx, [ebp + 0x400]
call fcn.004c2d70
jmp case.default.0x4d711a
push 0
push 0
lea ecx, [ebx + 0x5ec]
push 0xf4240
call fcn.0041b220
or esi, 0xffffffff
cmp byte [ebx + 0x474], 0
je 0x4d7247
push ecx
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
call fcn.004df7a0
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x4d722d
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
push eax
call fcn.005a5bd0
push 4
mov ecx, ebx
call fcn.004d6dc0
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x4d7247
mov eax, esi
lock xadd dword [ecx], eax
dec eax
jne 0x4d7247
push ecx
call fcn.005a47b0
cmp byte [ebx + 0x475], 0
je 0x4d729c
push ecx
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
call fcn.004dfd10
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x4d7282
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
push eax
call fcn.005a5bd0
push 5
mov ecx, ebx
call fcn.004d6dc0
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x4d729c
mov eax, esi
lock xadd dword [ecx], eax
dec eax
jne 0x4d729c
push ecx
call fcn.005a47b0
cmp byte [ebx + 0x476], 0
je 0x4d72f1
push ecx
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
call fcn.004e0550
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x4d72d7
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
push eax
call fcn.005a5bd0
push 6
mov ecx, ebx
call fcn.004d6dc0
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x4d72f1
mov eax, esi
lock xadd dword [ecx], eax
dec eax
jne 0x4d72f1
push ecx
call fcn.005a47b0
cmp byte [ebx + 0x477], 0
je 0x4d734a
push 0xa0000
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
call fcn.004e0b20
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x4d7330
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
push eax
call fcn.005a5bd0
push 7
mov ecx, ebx
call fcn.004d6dc0
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x4d734a
mov eax, esi
lock xadd dword [ecx], eax
dec eax
jne 0x4d734a
push ecx
call fcn.005a47b0
cmp byte [ebx + 0x478], 0
je 0x4d739a
push 0xa0000
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
call fcn.004e1790
mov dword [ebp - 4], 5
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x4d739a
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
push eax
call fcn.005a5bd0
push 8
mov ecx, ebx
call fcn.004d6dc0
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x4d739a
lock xadd dword [ecx], esi
dec esi
jne 0x4d739a
push ecx
call fcn.005a47b0
push 0
push 0
push 0
lea ecx, [ebx + 0x5ec]
call fcn.0041b220
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x800]
xor ecx, ebp
call fcn.00606a47
lea esp, [ebp + 0x804]
pop ebp
ret 4
cmp byte [ebx + 0x479], 0
mov byte [ebx + 0x629], 0
je 0x4d7791
cmp byte [ebx + 0x473], 0
je 0x4d7791
mov ecx, dword [0x6ac16c]
push 0xffffffffffffffff
call fcn.005e07d0
mov edi, dword [ebx + 0x683]
xor esi, esi
mov dword [ebp - 0x18], edi
mov dword [ebx + 0x683], 0
mov dword [ebp - 0x2c], esi
mov dword [ebp - 4], 7
mov eax, dword [0x6ac5b8]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x20], esi
test eax, eax
je 0x4d7450
mov ecx, dword [eax + 0x4cd]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x20], esi
test ecx, ecx
je 0x4d7450
lock inc dword [ecx]
mov esi, dword [eax + 0x4cd]
mov eax, esi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 7
mov ecx, dword [0x6ac16c]
call fcn.005e0810
test edi, edi
je 0x4d776e
cmp dword [ebp - 0x10], 0
je 0x4d7481
push ecx
mov ecx, dword [ebp - 0x20]
mov eax, esp
lock inc dword [ecx]
push 3
mov ecx, ebx
mov dword [eax], esi
call fcn.004d6dc0
test edi, 0x2000
je 0x4d74e0
lea eax, [ebp - 0x20]
mov ecx, 0x6ad940
push eax
call fcn.0040a630
lea eax, [ebx + 0x4de]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x20]
call fcn.005a5d20
test al, al
je 0x4d74d4
push ecx
lea eax, [ebp - 0x20]
mov edi, esp
push eax
lea ecx, [ebx + 0x4de]
call fcn.005a5c40
push eax
mov ecx, edi
call fcn.005a5bd0
push 0xa
mov ecx, ebx
call fcn.004d6dc0
mov edi, dword [ebp - 0x18]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 7
call fcn.004250c0
push str.RRNotify
lea ecx, [ebp - 0x20]
call fcn.005a5400
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x38]
call fcn.005c05a0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xc
call fcn.004250c0
push str.RRNotify
lea eax, [ebp - 0x1c]
push eax
call fcn.004d3f90
mov dword [ebp - 0x14], vtable.CMaaXmlNode.0
mov ecx, dword [eax + 4]
mov dword [ebp - 0x10], ecx
mov dword [eax + 4], 0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xd
call fcn.00405d60
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x34]
call fcn.005bb960
push str.Notify
lea eax, [ebp - 0x40]
push eax
call fcn.004e7620
mov dword [ebp - 0x24], vtable.CMaaXmlNode.0
mov ecx, dword [eax + 4]
mov dword [ebp - 0x20], ecx
mov dword [eax + 4], 0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xe
call fcn.00405d60
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x14]
call fcn.005bb960
sub esp, 8
lea eax, [ebp - 0x24]
mov ecx, esp
push eax
call fcn.005bb8c0
mov edx, str.value
mov ecx, edi
call fcn.004bff90
add esp, 8
test edi, 0x400
je 0x4d75f1
sub esp, 8
lea eax, [ebp - 0x24]
mov ecx, esp
push eax
call fcn.005bb8c0
mov edx, str.eRRSerialVerified
call fcn.004d4130
add esp, 8
lea ecx, [ebp + 0x400]
call fcn.004c0050
push ecx
push esp
lea ecx, [ebp + 0x400]
mov byte [ebp - 4], 0xf
call fcn.004c80b0
push 0x32
mov ecx, ebx
call fcn.004d6dc0
lea ecx, [ebp + 0x400]
mov byte [ebp - 4], 0xe
call fcn.004c2d70
test edi, 0x100
je 0x4d764e
lea ecx, [ebp + 0x400]
call fcn.004c0050
push ecx
mov eax, esp
mov byte [ebp - 4], 0x10
push 0xfffffffffffffffe
push 3
push eax
lea ecx, [ebp + 0x400]
call fcn.004c3be0
push 0x33
mov ecx, ebx
call fcn.004d6dc0
sub esp, 8
lea eax, [ebp - 0x24]
mov ecx, esp
push eax
call fcn.005bb8c0
mov edx, str.eRRAdapterListChanged
call fcn.004d4130
add esp, 8
mov byte [ebp - 4], 0xe
lea ecx, [ebp + 0x400]
call fcn.004c2d70
test edi, 0x200
je 0x4d76ab
lea ecx, [ebp + 0x400]
call fcn.004c0050
push ecx
mov eax, esp
mov byte [ebp - 4], 0x11
push 0xfffffffffffffffe
push 3
push eax
lea ecx, [ebp + 0x400]
call fcn.004c3be0
push 0x33
mov ecx, ebx
call fcn.004d6dc0
sub esp, 8
lea eax, [ebp - 0x24]
mov ecx, esp
push eax
call fcn.005bb8c0
mov edx, str.eRRRouteChanged
call fcn.004d4130
add esp, 8
mov byte [ebp - 4], 0xe
lea ecx, [ebp + 0x400]
call fcn.004c2d70
test edi, 0x800
je 0x4d76f9
sub esp, 8
lea eax, [ebp - 0x24]
mov ecx, esp
push eax
call fcn.005bb8c0
mov edx, str.eRRKeyUpdateInfo
call fcn.004d4130
add esp, 8
lea ecx, [ebp]
call fcn.004c0050
push ecx
push esp
lea ecx, [ebp]
mov byte [ebp - 4], 0x12
call fcn.004c80b0
push 0x32
mov ecx, ebx
call fcn.004d6dc0
lea ecx, [ebp]
mov byte [ebp - 4], 0xe
call fcn.004c2d70
push 0
push ecx
mov ecx, esp
push 0x6aefe8
call fcn.005a5bd0
push ecx
mov ecx, esp
push 0x6aefd8
call fcn.005a5bd0
push ecx
mov ecx, esp
push 0x6aefbc
call fcn.005a5bd0
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x38]
call fcn.005c0e30
mov byte [ebp - 4], 0x13
cmp dword [ebp - 0x28], 0
je 0x4d774e
push ecx
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.005a5bd0
push 9
mov ecx, ebx
call fcn.004d6dc0
lea ecx, [ebp - 0x28]
call fcn.004250c0
lea ecx, [ebp - 0x24]
call fcn.00405d60
lea ecx, [ebp - 0x14]
call fcn.00405d60
lea ecx, [ebp - 0x38]
call fcn.005c0900
test esi, esi
je case.default.0x4d711a
or eax, 0xffffffff
lock xadd dword [esi], eax
dec eax
jne case.default.0x4d711a
push ecx
mov ecx, esi
call fcn.005a47b0
jmp case.default.0x4d711a
push 0
push 0
push 0xf4240
lea ecx, [ebx + 0x61d]
jmp 0x4d73a6
push str.TimeOut_Timer_4_
call fcn.005d3100
push str.OnTimer_0_
call fcn.005d3100
nop dword [eax]
scasd eax, dword es:[edi]
ja 5077004
add byte [ecx], ah
jno 0x4d7810
add bl, bl
jno 0x4d7814
add al, dl
jae 0x4d7818
add byte [ebp + 0x55004d77], ah
inc ebp
cld
add byte [eax], al
add byte [eax], al
pop esp
add al, byte [eax]
add byte [ebx - 0x7bf00208], al
cmc
add byte [eax], al
add byte [ebx - 0x7af00008], al
movsb byte es:[edi], byte [esi]
add eax, dword [eax]
add byte [ebx + 0x42c85], cl
add byte [ebx + 0x387564f8], al