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

Disassembly:
push ebp
lea ebp, [esp - 0x414]
sub esp, 0x414
push 0xfffffffffffffffe
push 0x673210
push 0x5dfbd0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x6aae14]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x410], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, dword [ebp + 0x41c]
mov esi, dword [ebp + 0x420]
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
mov dword [ebp - 0x28], eax
mov dword [esi], 0
mov byte [edi], 0
push 0
push edi
call fcn.004dc7e0
push esi
call fcn.0050a280
mov dword [ebp - 0x1c], eax
cmp eax, 0xffffffff
je 0x50a84a
xor edi, edi
cmp dword [esi], edi
jne 0x50a84a
call fcn.00504230
cmp eax, 1
jne 0x50a84c
cmp dword [esi], edi
jne 0x50a84c
call ebx
sub eax, dword [ebp - 0x28]
cmp eax, 0x7d0
jae 0x50a84c
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call fcn.0050a280
mov dword [ebp - 0x1c], eax
cmp eax, 0xffffffff
je 0x50a84c
jmp 0x50a822
xor edi, edi
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x50a855
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x40], edi
mov eax, dword [esi]
cmp eax, edi
je 0x50a973
push 0x2c
push eax
call fcn.005e0940
add esp, 8
test eax, eax
je 0x50a973
mov dword [ebp - 0x2c], edi
mov byte [ebp + 0x104], 0
push 0x103
push edi
lea eax, [ebp + 0x105]
push eax
call fcn.005dfd60
xor ebx, ebx
mov dword [ebp - 0x28], ebx
xor edi, edi
mov dword [ebp - 0x4c], edi
push 1
push edi
push 0x2c
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp + 0x104]
push edx
mov eax, dword [esi]
push eax
call fcn.004e1380
add esp, 0x24
cmp dword [ebp - 0x2c], 0xffffffff
je 0x50a913
push str.169.254.
lea ecx, [ebp + 0x104]
push ecx
call fcn.004dd6e0
add esp, 8
test eax, eax
jne 0x50a8de
mov edi, 1
mov dword [ebp - 0x4c], edi
jmp 0x50a8f5
push 1
push 0x2c
lea edx, [ebp + 0x104]
push edx
lea eax, [ebp - 0x28]
push eax
call fcn.004e5820
mov ebx, dword [ebp - 0x28]
push 1
push 0
push 0x2c
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp + 0x104]
push edx
mov eax, dword [esi]
push eax
call fcn.004e1380
add esp, 0x18
jmp 0x50a8b6
test edi, edi
je 0x50a941
test ebx, ebx
je 0x50a930
cmp byte [ebx], 0
je 0x50a930
mov ecx, ebx
mov edx, dword [esi]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x50a924
jmp 0x50a941
mov ecx, dword [esi]
push ecx
call fcn.005e0865
add esp, 4
mov dword [esi], 0
test ebx, ebx
je 0x50a94e
push ebx
call fcn.005e0865
add esp, 4
mov eax, dword [esi]
test eax, eax
je 0x50a96c
push 0x2c
push eax
call fcn.005e0940
add esp, 8
test eax, eax
je 0x50a973
mov dword [ebp - 0x40], 1
jmp 0x50a973
mov dword [ebp - 0x1c], 0
cmp dword [esi], 0
je 0x50a982
cmp dword [ebp - 0x40], 0
je 0x50aab4
mov dword [ebp - 0x3c], 0
push 1
lea edx, [ebp - 0x3c]
push edx
call fcn.004fbdb0
cmp eax, 1
jne 0x50aab4
mov edi, dword [ebp - 0x3c]
test edi, edi
je 0x50aab4
mov eax, dword [esi]
xor ebx, ebx
cmp eax, ebx
je 0x50a9bb
push eax
call fcn.005e0865
add esp, 4
mov dword [esi], ebx
push 0x2c
push edi
call fcn.005e0940
add esp, 8
test eax, eax
je 0x50aaa7
mov dword [ebp - 0x30], ebx
mov byte [ebp + 0x208], 0
push 0x103
push ebx
lea eax, [ebp + 0x209]
push eax
call fcn.005dfd60
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x50], ebx
push 1
push 0
push 0x2c
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp + 0x208]
push edx
push edi
call fcn.004e1380
add esp, 0x24
lea ebx, [ebx]
cmp dword [ebp - 0x30], 0xffffffff
je 0x50aa68
push str.169.254.
lea eax, [ebp + 0x208]
push eax
call fcn.004dd6e0
add esp, 8
test eax, eax
jne 0x50aa38
mov ebx, 1
mov dword [ebp - 0x50], ebx
jmp 0x50aa4c
push 1
push 0x2c
lea ecx, [ebp + 0x208]
push ecx
lea edx, [ebp - 0x38]
push edx
call fcn.004e5820
push 1
push 0
push 0x2c
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp + 0x208]
push ecx
push edi
call fcn.004e1380
add esp, 0x18
jmp 0x50aa10
test ebx, ebx
mov ebx, dword [ebp - 0x38]
je 0x50aa9a
test ebx, ebx
je 0x50aa8c
cmp byte [ebx], 0
je 0x50aa8c
mov ecx, ebx
mov edx, edi
lea esp, [esp]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x50aa80
jmp 0x50aa9a
push edi
call fcn.005e0865
add esp, 4
xor edi, edi
mov dword [ebp - 0x3c], edi
test ebx, ebx
je 0x50aaa7
push ebx
call fcn.005e0865
add esp, 4
mov dword [esi], edi
test edi, edi
je 0x50aab4
mov dword [ebp - 0x1c], 1
mov eax, dword [esi]
test eax, eax
je 0x50ac83
push 0x2c
push eax
call fcn.005e0940
add esp, 8
test eax, eax
je 0x50ac83
xor edi, edi
mov dword [ebp - 0x34], edi
xor ebx, ebx
mov dword [ebp - 0x24], ebx
lea edx, [ebp - 0x24]
push edx
call fcn.0050a4b0
add esp, 4
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x50ac47
cmp byte [eax], bl
je 0x50ac3e
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x44], edi
mov byte [ebp + 0x30c], bl
push 0x103
push ebx
lea eax, [ebp + 0x30d]
push eax
call fcn.005dfd60
push 1
push ebx
push 0x2c
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp + 0x30c]
push edx
mov eax, dword [ebp - 0x24]
push eax
call fcn.004e1380
add esp, 0x24
cmp dword [ebp - 0x20], 0xffffffff
je 0x50abea
cmp edi, ebx
jne 0x50aba0
push 0x2c
lea ecx, [ebp + 0x30c]
push ecx
mov edx, dword [esi]
push edx
call fcn.004e5460
test eax, eax
je 0x50aba0
mov dword [ebp - 0x48], ebx
mov byte [ebp], 0
push 0x103
push ebx
lea eax, [ebp + 1]
push eax
call fcn.005dfd60
mov edi, 1
mov dword [ebp - 0x44], edi
push edi
push ebx
push 0x2c
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp]
push edx
mov eax, dword [esi]
push eax
call fcn.004e1380
lea ecx, [ebp + 0x30c]
push ecx
lea edx, [ebp]
push edx
call fcn.005f095a
add esp, 0x2c
test eax, eax
je 0x50abea
push 0x2c
lea eax, [ebp + 0x30c]
push eax
mov ecx, dword [esi]
push ecx
call fcn.004e5460
test eax, eax
je 0x50abc9
push 1
push 0x2c
lea edx, [ebp + 0x30c]
push edx
lea eax, [ebp - 0x34]
push eax
call fcn.004e5820
push 1
push ebx
push 0x2c
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp + 0x30c]
push edx
mov eax, dword [ebp - 0x24]
push eax
call fcn.004e1380
add esp, 0x18
jmp 0x50ab34
mov dword [ebp - 0x20], ebx
push 1
push ebx
push 0x2c
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp + 0x30c]
push edx
mov eax, dword [esi]
push eax
call fcn.004e1380
add esp, 0x18
cmp dword [ebp - 0x20], 0xffffffff
je 0x50ac38
push 1
push 0x2c
lea ecx, [ebp + 0x30c]
push ecx
lea edx, [ebp - 0x34]
push edx
call fcn.004e5820
push 1
push 0
push 0x2c
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp + 0x30c]
push ecx
mov edx, dword [esi]
push edx
jmp 0x50ac00
mov eax, dword [ebp - 0x24]
mov edi, dword [ebp - 0x34]
push eax
call fcn.005e0865
add esp, 4
test edi, edi
je 0x50ac83
mov eax, dword [esi]
test eax, eax
je 0x50ac60
push eax
call fcn.005e0865
add esp, 4
mov dword [esi], 0
mov dword [esi], edi
mov dword [ebp - 0x1c], 1
jmp 0x50ac83
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x410]
xor ecx, ebp
call fcn.005dfbbe
add ebp, 0x414
mov esp, ebp
pop ebp
ret 8