Function at 0x42770f
Capabilities:
Check for time delay via gettickcount
Check http status code
Get keyboard layout

Disassembly:
push ebp
mov eax, 0x408c
lea ebp, [esp - 0x78]
call fcn.004561f0
push ebx
push esi
mov ebx, ecx
push edi
xor edi, edi
cmp byte [ebx], 0x3e
mov dword [ebp + 0x70], ebx
jne 0x4277c9
push str.UseErrorLevel
push dword [0x467fa8]
call fcn.00438b5b
test eax, eax
pop ecx
pop ecx
mov ecx, 0x465c88
je 0x427790
xor eax, eax
mov al, 3
cmp al, byte [ebx + 1]
sbb eax, eax
and eax, dword [0x467ffc]
xor esi, esi
push eax
inc esi
push esi
push esi
lea eax, [ebp + 0x6c]
push eax
push dword [0x467fa8]
push edi
push dword [0x467fa4]
push edi
push dword [0x467fa0]
call fcn.0040c854
test eax, eax
jne 0x4277cc
push esi
push edi
push 0xffffffffffffffff
push str.ERROR
jmp 0x427c21
xor eax, eax
mov al, 3
cmp al, byte [ebx + 1]
sbb eax, eax
and eax, dword [0x467ffc]
push eax
push 1
push edi
lea eax, [ebp + 0x6c]
push eax
push dword [0x467fa8]
push 1
push dword [0x467fa4]
push edi
push dword [0x467fa0]
call fcn.0040c854
test eax, eax
je 0x427c2c
xor esi, esi
inc esi
mov al, byte [ebx]
cmp al, 0x5c
jne 0x42788c
push edi
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push esi
push edi
push edi
push dword [0x467fa0]
call fcn.00413156
add esp, 0x14
test al, al
mov byte [ebp + 0x5c], al
jne 0x427821
push edi
lea eax, [ebp + 0x50]
push eax
push dword [0x467fa0]
call fcn.0042247e
add esp, 0xc
cmp eax, edi
mov dword [ebp + 0x54], eax
je 0x42781a
cmp eax, 0xc
jl 0x42781a
cmp eax, 0x2b
jle 0x427821
push esi
push edi
jmp 0x427c1a
mov dword [ebp + 0x60], esi
mov esi, dword [0x467fa4]
mov byte [ebp + 0x76], 0
mov byte [ebp + 0x77], 1
mov dword [ebp + 0x68], edi
jmp 0x427878
movsx eax, al
push eax
call fcn.00441c9f
cmp eax, 0x44
pop ecx
je 0x427873
cmp eax, 0x4c
je 0x42786e
cmp eax, 0x54
jne 0x427877
lea eax, [esi + 1]
push eax
mov byte [ebp + 0x77], 0
call fcn.00401220
fmul qword [0x45ae40]
pop ecx
call fcn.0045676c
mov dword [ebp + 0x68], eax
jmp 0x427877
mov dword [ebp + 0x60], edi
jmp 0x427877
mov byte [ebp + 0x76], 1
inc esi
mov al, byte [esi]
test al, al
jne 0x427837
lea eax, [ebp - 0x4014]
mov dword [ebp - 8], edi
mov dword [ebp - 0x10], eax
jmp 0x4278e2
cmp al, 0x3e
mov ecx, dword [0x467fa0]
mov esi, dword [0x467fa8]
je 0x4278a5
cmp al, 0x5b
je 0x4278a9
cmp byte [esi], 0
jne 0x4278ae
cmp al, 0x5b
jne 0x4278db
cmp byte [ecx], 0
je 0x4278db
cmp al, 0x5b
mov byte [ebp + 0x77], 0
je 0x4278b8
mov ecx, esi
push ecx
call fcn.00401220
fmul qword [0x45ae40]
pop ecx
call fcn.0045676c
cmp eax, 1
mov dword [ebp + 0x68], eax
jge 0x4278e2
mov dword [ebp + 0x68], 0x1f4
jmp 0x4278e2
mov byte [ebp + 0x77], 1
mov dword [ebp + 0x68], edi
cmp byte [ebx], 0x3e
je 0x4278fc
mov ecx, dword [0x465b20]
push 1
push edi
push 0xffffffffffffffff
push 0x45871c
call fcn.00401592
cmp byte [ebx], 0x5b
jne 0x427916
push dword [0x467fa4]
call fcn.004019fa
cmp eax, 1
pop ecx
mov byte [ebp + 0x75], 1
je 0x42791a
mov byte [ebp + 0x75], 0
mov ecx, dword [ebp + 0x70]
xor edi, edi
cmp byte [ecx + 1], 0
mov eax, 0x4001
lea esi, [ebp - 0x4014]
mov ebx, 0x4585d8
jbe 0x42796f
test eax, eax
jne 0x42793f
mov dword [ebp + edi*4], ebx
jmp 0x427963
push eax
push dword [edi*4 + 0x467fa0]
mov dword [ebp + edi*4], esi
push esi
call fcn.00438c79
push esi
call fcn.00455c50
lea esi, [esi + eax + 1]
lea eax, [ebp - 0x13]
add esp, 0x10
sub eax, esi
mov ecx, dword [ebp + 0x70]
movzx ecx, byte [ecx + 1]
inc edi
cmp edi, ecx
jl 0x427935
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [ebp + 0x70]
mov dword [ebp + 0x58], eax
mov edi, 0x465138
movzx eax, byte [esi]
sub eax, 0x3e
je 0x427b62
sub eax, 0x1d
je 0x427b32
dec eax
je 0x427ae9
sub eax, 0x13
je 0x427a75
dec eax
je 0x427a34
dec eax
je 0x4279fc
dec eax
jne 0x427b84
mov al, byte [esi + 1]
cmp al, 4
mov esi, dword [ebp + 0x10]
ja 0x4279c2
mov esi, ebx
cmp al, 3
mov edx, dword [ebp + 0xc]
ja 0x4279cb
mov edx, ebx
cmp al, 1
mov ecx, dword [ebp + 4]
ja 0x4279d4
mov ecx, ebx
test al, al
mov eax, dword [ebp]
ja 0x4279dd
mov eax, ebx
push 1
push esi
push edx
push ecx
push eax
push edi
call fcn.0043bbb1
add esp, 0x18
test eax, eax
je 0x427ab9
mov esi, dword [ebp + 0x70]
jmp 0x427b84
mov al, byte [esi + 1]
cmp al, 4
mov esi, dword [ebp + 0x10]
ja 0x427a08
mov esi, ebx
cmp al, 3
mov edx, dword [ebp + 0xc]
ja 0x427a11
mov edx, ebx
cmp al, 1
mov ecx, dword [ebp + 4]
ja 0x427a1a
mov ecx, ebx
test al, al
mov eax, dword [ebp]
ja 0x427a23
mov eax, ebx
push 1
push esi
push edx
push ecx
push eax
push edi
call fcn.0043bbb1
add esp, 0x18
jmp 0x427ab1
mov al, byte [esi + 1]
cmp al, 4
mov esi, dword [ebp + 0x10]
ja 0x427a40
mov esi, ebx
cmp al, 3
mov edx, dword [ebp + 0xc]
ja 0x427a49
mov edx, ebx
cmp al, 1
mov ecx, dword [ebp + 4]
ja 0x427a52
mov ecx, ebx
test al, al
mov eax, dword [ebp]
ja 0x427a5b
mov eax, ebx
push 0
push 0
push 0
push 0
push esi
push edx
push ecx
push eax
push edi
call fcn.0043be59
add esp, 0x24
jmp 0x4279ec
mov al, byte [esi + 1]
cmp al, 4
mov esi, dword [ebp + 0x10]
ja 0x427a81
mov esi, ebx
cmp al, 3
mov edx, dword [ebp + 0xc]
ja 0x427a8a
mov edx, ebx
cmp al, 1
mov ecx, dword [ebp + 4]
ja 0x427a93
mov ecx, ebx
test al, al
mov eax, dword [ebp]
ja 0x427a9c
mov eax, ebx
push 0
push 0
push 1
push 0
push esi
push edx
push ecx
push eax
push edi
call fcn.0043be59
add esp, 0x24
test eax, eax
je 0x4279f4
mov eax, dword [0x46518c]
cmp eax, 0xffffffff
jle 0x427bf2
cmp eax, 0x19
jge 0x427be8
cmp byte [0x466341], 0
je 0x427be8
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x427bf2
cmp byte [ebp + 0x5c], 0
je 0x427b07
push dword [ebp + 0x60]
push dword [ebp + 0x5c]
call fcn.0041ec15
pop ecx
pop ecx
cmp al, byte [ebp + 0x76]
je 0x427bf2
jmp 0x427b84
push 0
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0x50]
push dword [ebp + 0x54]
call fcn.0041e843
fld qword [0x45aab0]
fucompp
add esp, 0x10
fnstsw ax
test ah, 0x44
jnp 0x427b2e
mov al, 1
jmp 0x427afc
xor al, al
jmp 0x427afc
cmp byte [ebp + 0x75], 0
je 0x427b48
call dword [sym.imp.USER32.dll_CountClipboardFormats]
test eax, eax
jne 0x427bf2
jmp 0x427b84
push 1
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x427bf2
push 0xf
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
jmp 0x427b3e
cmp dword [ebp + 0x6c], 0
je 0x427b77
lea eax, [ebp + 0x64]
push eax
push dword [ebp + 0x6c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
jmp 0x427b7b
and dword [ebp + 0x64], 0
cmp dword [ebp + 0x64], 0x103
jne 0x427bf7
cmp byte [ebp + 0x77], 0
jne 0x427b9f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp + 0x68]
mov edx, dword [ebp + 0x58]
add edx, ecx
sub edx, eax
cmp edx, 5
jle 0x427c16
push 1
push 0x8000012f
call fcn.0040b5c4
test al, al
pop ecx
pop ecx
je 0x427980
mov eax, dword [0x468688]
mov ecx, dword [ebp + 0x58]
mov dword [eax*4 + 0x468048], esi
mov dword [eax*4 + 0x467960], ecx
inc eax
cmp eax, 0x190
mov dword [0x468688], eax
jl 0x427980
and dword [0x468688], 0
jmp 0x427980
push 1
push eax
call fcn.0040b5c4
pop ecx
pop ecx
xor eax, eax
inc eax
jmp 0x427c2c
cmp dword [ebp + 0x6c], 0
je 0x427c06
push dword [ebp + 0x6c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 0x64]
mov ecx, dword [0x465b20]
call fcn.004018c8
jmp 0x427c2c
push 1
push 0
push 0xffffffffffffffff
push 0x459f14
mov ecx, dword [0x465b20]
call fcn.00401592
pop edi
pop esi
pop ebx
add ebp, 0x78
leave
ret