Function at 0x41c2d0
Capabilities:
Check for time delay via gettickcount
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x506f53
mov eax, dword fs:[0]
push eax
sub esp, 0x740
mov eax, dword [0x5355a0]
xor eax, esp
mov dword [esp + 0x738], eax
push ebx
push esi
push edi
mov eax, dword [0x5355a0]
xor eax, esp
push eax
lea eax, [esp + 0x750]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x24], ebx
test byte [0x541238], 1
mov edi, ecx
jne 0x41c333
or dword [0x541238], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x541234], eax
mov byte [esp + 0x3c], bl
mov dword [esp + 0x38], ebx
mov dword [esp + 0x758], ebx
mov eax, dword [edi + 0x10]
cmp eax, ebx
je 0x41ca8e
mov esi, dword [eax + 4]
mov dword [esp + 0x1c], esi
cmp esi, ebx
je 0x41ca8e
mov eax, dword [esi + 0x30]
cmp eax, 0xfffffff2
je 0x41c7a9
cmp eax, 0xfffffff6
je 0x41c498
cmp eax, 0xfffffffb
jne 0x41ca8e
mov ebx, dword [esi + 0x10]
lea eax, [esi + 0x240]
push eax
lea ecx, [esp + 0x4f8]
call fcn.00434b00
lea ecx, [esi + 0x448]
push ecx
lea ecx, [esp + 0x2b8]
call fcn.00434b00
mov byte [esp + 0x758], 0x11
test ebx, ebx
je 0x41c480
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41c480
mov eax, dword [edi + 0x10]
mov dword [edi + 0x1c], ebx
mov edx, dword [esi + 0x24]
lea esi, [esp + 0x38]
mov dword [edi + 0x20], edx
call fcn.00412c30
test al, al
jne 0x41c428
mov eax, dword [edi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41c458
cmp dword [edi + 0x20], 2
jne 0x41c458
mov ecx, dword [edi + 0x1c]
push 0
push 0
push 0xce22
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
lea ecx, [esp + 0x2b4]
call fcn.00434b70
lea ecx, [esp + 0x4f4]
call fcn.00434b70
mov ecx, esi
call fcn.00433d50
mov al, 1
jmp 0x41ca99
mov byte [esp + 0x2c], 0
mov dword [esp + 0x28], 0
lea edx, [esp + 0x28]
push edx
push edi
lea ecx, [esp + 0x2bc]
mov byte [esp + 0x760], 0x12
call fcn.0041cac0
lea ecx, [esp + 0x28]
call fcn.00433d50
lea ecx, [esp + 0x2b4]
call fcn.00434b70
lea ecx, [esp + 0x4f4]
call fcn.00434b70
lea ecx, [esp + 0x38]
call fcn.00433d50
mov al, 1
jmp 0x41ca99
lea ecx, [esp + 0x2b4]
call fcn.00434b70
lea ecx, [esp + 0x4f4]
jmp 0x41ca89
mov eax, dword [esi + 0x10]
lea ebx, [esi + 0x240]
push ebx
lea ecx, [esp + 0x2b8]
mov dword [edi + 0x1c], eax
mov dword [esp + 0x38], ebx
call fcn.00434b00
mov byte [esp + 0x44], 0
mov dword [esp + 0x40], 0
lea ecx, [esp + 0x28]
push ecx
push 0x1fff8
lea ecx, [esp + 0x5c]
mov dword [esp + 0x30], fcn.004c328d
mov dword [esp + 0x34], fcn.004c53b2
mov dword [esp + 0x38], fcn.004c31b0
call fcn.004027c0
mov byte [esp + 0x758], 3
mov edi, dword [edi + 0x10]
mov eax, dword [edi + 0xc]
lea esi, [esp + 0x40]
call fcn.004170f0
test al, al
jne 0x41c516
mov esi, dword [esp + 0x1c]
mov edi, 3
jmp 0x41c70b
mov byte [esp + 0x2c], 0
mov dword [esp + 0x28], 0
lea edi, [esp + 0x3dc]
call fcn.004023f0
mov byte [esp + 0x758], 5
call fcn.0040a2e0
mov ecx, edi
push 0
lea edi, [esp + 0x2c]
call fcn.0040d7b0
mov esi, dword [esp + 0x1c]
test al, al
jne 0x41c55b
mov edi, 5
jmp 0x41c6f6
lea edi, [esi + 0x448]
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41c566
sub eax, edx
sar eax, 1
je 0x41c598
lea ecx, [esp + 0x2b4]
call fcn.00434ba0
push edi
push 0x51620c
lea edx, [esp + 0x2bc]
call fcn.004351e0
add esp, 8
lea eax, [esp + 0x2b4]
call fcn.00435140
push eax
lea ecx, [esp + 0x4f8]
call fcn.00434b00
push str..json
push 0x51620c
lea edx, [esp + 0x4fc]
call fcn.004351e0
add esp, 8
lea eax, [esp + 0x4f4]
call fcn.00435140
lea edx, [esp + 0x3dc]
push edx
mov ebx, eax
call fcn.004015a0
xor eax, eax
push eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], eax
push 1
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x60]
push ecx
lea eax, [esp + 0x3ec]
lea ebx, [esp + 0x2c]
call fcn.00401520
lea ecx, [esp + 0x7c]
mov edi, eax
call fcn.004349d0
mov eax, edi
lea edx, [esp + 0x7c]
call fcn.00434c20
sub esp, 0x124
mov edi, esp
mov ecx, edi
mov dword [esp + 0x158], 1
mov dword [esp + 0x184], esp
call fcn.004349d0
mov dword [esp + 0x88c], 9
cmp byte [esp + 0x2bc], 0
lea eax, [esp + 0x1ac]
jne 0x41c666
mov eax, dword [esp + 0x1a8]
add eax, 4
mov edx, edi
call fcn.00434c20
mov ecx, ebx
lea edx, [esp + 0x15c]
mov byte [esp + 0x88c], 8
call fcn.00428ea0
add esp, 0x134
test al, al
je 0x41c6a2
cmp dword [esp + 0x20], 0
je 0x41c6a2
cmp dword [esp + 0x1c], 0
je 0x41c6a2
xor bl, bl
jmp 0x41c6a4
mov bl, 1
mov edi, 6
lea ecx, [esp + 0x6c]
mov dword [esp + 0x758], edi
call fcn.00434b70
test bl, bl
jne 0x41c6e6
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], edx
push eax
lea ecx, [esp + 0x28]
lea edx, [esp + 0x2c]
call fcn.0045c800
xor ecx, ecx
add esp, 4
test al, al
setne cl
add ecx, 7
mov edi, ecx
lea ecx, [esp + 0x4f4]
call fcn.00434b70
mov ebx, dword [esp + 0x34]
lea eax, [esp + 0x3dc]
call fcn.004014a0
lea ecx, [esp + 0x28]
call fcn.00433d50
push ebx
lea ecx, [esp + 0x194]
call fcn.00434b00
mov ebx, eax
mov byte [esp + 0x758], 0xf
call fcn.0040a2e0
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 8]
push edi
push edx
mov edx, dword [esi + 0x30]
push eax
mov eax, dword [esi + 0x34]
push ecx
mov ecx, dword [esi + 0x2c]
push edx
push eax
push ecx
mov ecx, ebx
call fcn.00410410
mov esi, eax
call fcn.0040a2e0
mov eax, dword [eax + 4]
test eax, eax
je 0x41c75f
test esi, esi
je 0x41c75f
push esi
call fcn.0041a5d0
lea ecx, [esp + 0x190]
call fcn.00434b70
mov byte [esp + 0x758], 2
lea ecx, [esp + 0x54]
mov dword [esp + 0x54], vtable.allocator_unsigned_char__class_TAllocDefault_.0
call fcn.00403460
lea ecx, [esp + 0x40]
call fcn.00433d50
lea ecx, [esp + 0x2b4]
call fcn.00434b70
lea ecx, [esp + 0x38]
call fcn.00433d50
mov al, 1
jmp 0x41ca99
mov eax, dword [esi + 0x24]
mov dword [edi + 0x20], eax
cmp eax, 0xc
jne 0x41c854
add esi, 0x650
push esi
lea ecx, [esp + 0x4f8]
call fcn.00434b00
lea ecx, [esp + 0x4f4]
call fcn.00432030
mov ebx, eax
lea edi, [esp + 0x3dc]
call fcn.004024d0
mov ecx, edi
mov byte [esp + 0x758], 0x14
call fcn.004016a0
test al, al
je 0x41c82c
cmp dword [esp + 0x3dc], 0
je 0x41c82c
mov esi, edi
call fcn.00401a90
mov eax, edi
call fcn.004014a0
lea ecx, [esp + 0x4f4]
call fcn.00434b70
lea ecx, [esp + 0x38]
call fcn.00433d50
mov al, 1
jmp 0x41ca99
lea eax, [esp + 0x3dc]
call fcn.004014a0
lea ecx, [esp + 0x4f4]
call fcn.00434b70
lea ecx, [esp + 0x38]
call fcn.00433d50
mov al, 1
jmp 0x41ca99
cmp eax, 4
jne 0x41c87c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
mov edx, ebx
sub edx, dword [0x541234]
cmp edx, 0x2bf20
jbe 0x41c87c
call fcn.0041d980
mov dword [0x541234], ebx
mov ebx, dword [esi + 0x10]
lea eax, [esi + 0x240]
push eax
lea ecx, [esp + 0x620]
mov dword [esp + 0x38], ebx
call fcn.00434b00
push str.SGPDTSearch.json
lea ecx, [esp + 0x2b8]
call fcn.00434b00
mov byte [esp + 0x758], 0x16
cmp dword [edi + 0x20], 4
jne 0x41c8d6
lea ecx, [esp + 0x2b4]
call fcn.00434ba0
mov eax, str.SGCandSearch.json
lea esi, [esp + 0x2b4]
call fcn.00435120
mov esi, dword [esp + 0x1c]
test ebx, ebx
je 0x41ca76
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41ca76
push 0
lea ecx, [esp + 0x28]
push ecx
mov byte [esp + 0x23], 0
mov dword [esp + 0x2c], 0
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x41c917
test byte [esp + 0x24], 0x47
je 0x41c917
mov byte [esp + 0x1b], 1
xor eax, eax
mov dword [edi + 0x1c], ebx
mov byte [esp + 0x2c], 0
mov dword [esp + 0x28], eax
mov byte [esp + 0x758], 0x17
cmp dword [edi + 0x20], 4
jne 0x41c983
mov eax, dword [edi + 0x10]
lea esi, [esp + 0x28]
call fcn.00412c30
test al, al
jne 0x41c968
cmp byte [esp + 0x1b], al
je 0x41ca48
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 8]
push 0
push eax
push 0x421
push ebx
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x41ca48
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 8]
push 1
push edx
push 0x421
push ebx
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x41ca48
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
add esi, 0x650
push esi
lea eax, [esp + 0x44]
push eax
mov byte [esp + 0x760], 0x18
call fcn.0043d710
mov esi, dword [esp + 0x4c]
xor ebx, ebx
cmp esi, 4
mov dword [esp + 0x20], 5
jl 0x41c9f9
mov ebx, dword [esp + 0x48]
test esi, esi
jle 0x41c9cf
test ebx, ebx
je 0x41c9cf
mov eax, dword [ebx]
jmp 0x41c9d1
xor eax, eax
push eax
call fcn.004c66bd
add esp, 4
cmp esi, 1
mov dword [esp + 0x20], eax
jle 0x41c9ec
test ebx, ebx
je 0x41c9ec
mov eax, dword [ebx + 4]
jmp 0x41c9ee
xor eax, eax
push eax
call fcn.004c66bd
add esp, 4
mov ebx, eax
mov eax, dword [edi + 0x10]
lea esi, [esp + 0x28]
call fcn.00412c30
push ebx
test al, al
jne 0x41ca2a
cmp byte [esp + 0x1f], al
je 0x41ca1c
mov ecx, dword [esp + 0x24]
push ecx
push 0xce30
jmp 0x41ca34
mov eax, dword [esp + 0x38]
push 5
push 0xce30
push eax
jmp 0x41ca39
mov ecx, dword [esp + 0x24]
push ecx
push 0xce2c
mov edx, dword [esp + 0x40]
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
lea eax, [esp + 0x40]
call fcn.0043d700
lea ecx, [esp + 0x28]
call fcn.00433d50
lea ecx, [esp + 0x2b4]
call fcn.00434b70
lea ecx, [esp + 0x61c]
call fcn.00434b70
lea ecx, [esp + 0x38]
call fcn.00433d50
mov al, 1
jmp 0x41ca99
lea ecx, [esp + 0x2b4]
call fcn.00434b70
lea ecx, [esp + 0x61c]
call fcn.00434b70
lea ecx, [esp + 0x38]
call fcn.00433d50
xor al, al
mov ecx, dword [esp + 0x750]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x738]
xor ecx, esp
call fcn.004c31a1
mov esp, ebp
pop ebp
ret