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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53fa3d
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x5a6008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x5c], ecx
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], eax
mov eax, dword [ecx + 4]
mov esi, eax
mov edi, dword [ecx]
sub esi, edi
push esi
push 0x73
push edi
mov dword [ebp - 0x6c], eax
call fcn.0053ec00
mov ecx, dword [ebp - 0x6c]
test eax, eax
push esi
cmovne ecx, eax
push 0x68
push edi
mov dword [ebp - 0x4c], ecx
call fcn.0053ec00
mov esi, dword [ebp - 0x6c]
add esp, 0x18
test eax, eax
mov ecx, esi
cmovne ecx, eax
mov dword [ebp - 0x54], ecx
cmp edi, esi
jne 0x438f1f
lea eax, [ebp - 0x29]
mov byte [ebp - 0x29], 0x11
push eax
push 0
lea ecx, [ebp - 0x3c]
call fcn.00446ec0
mov eax, dword [ebp - 0x34]
mov edi, dword [ebp - 0x38]
mov byte [ebp - 0x29], 0x75
mov dword [ebp - 0x44], eax
cmp edi, eax
je 0x438f06
mov eax, dword [ebp - 0x3c]
mov byte [edi], 0x75
inc edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x40], eax
jmp 0x438f22
lea eax, [ebp - 0x29]
push eax
push edi
lea ecx, [ebp - 0x3c]
call fcn.00446ec0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov edi, dword [ebp - 0x38]
cmp dword [ebp - 0x4c], esi
mov esi, dword [ebp - 0x5c]
jne 0x438f9f
mov eax, dword [esi + 0x26c]
cmp byte [eax + 0x18], 0
je 0x438f9f
mov ecx, dword [esi + 0x270]
mov eax, dword [ecx]
mov eax, dword [eax + 0x108]
call eax
cmp byte [eax + 0x21], 0
je 0x438f9f
mov eax, dword [esi + 0x26c]
cmp dword [eax + 4], 0
je 0x438f9f
mov eax, dword [ebp - 0x44]
mov byte [ebp - 0x29], 0x73
cmp edi, eax
je 0x438f6f
mov ecx, dword [ebp - 0x40]
mov byte [edi], 0x73
inc edi
mov dword [ebp - 0x38], edi
jmp 0x438f8b
lea eax, [ebp - 0x29]
push eax
push edi
lea ecx, [ebp - 0x3c]
call fcn.00446ec0
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x38]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], ecx
mov byte [ebp - 0x29], 0x72
cmp edi, eax
je 0x438fd3
mov byte [edi], 0x72
inc edi
mov dword [ebp - 0x38], edi
jmp 0x4390f3
mov eax, dword [0x5b6e6c]
cmp byte [eax + 0xe2d], 0
jne 0x438fb6
cmp byte [eax + 0xe2c], 0
je 0x438ff4
mov eax, dword [ebp - 0x54]
cmp eax, dword [ebp - 0x6c]
jne 0x438ff4
mov byte [ebp - 0x29], 0x68
cmp edi, dword [ebp - 0x44]
je 0x438fd3
mov byte [edi], 0x68
inc edi
mov dword [ebp - 0x38], edi
jmp 0x4390f0
lea eax, [ebp - 0x29]
push eax
push edi
lea ecx, [ebp - 0x3c]
call fcn.00446ec0
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x38]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], ecx
jmp 0x4390f3
mov eax, dword [0x5b6e6c]
push 9
mov esi, dword [eax + 0x7a8]
lea edi, [eax + 0x734]
call fcn.00517363
add esp, 4
mov dword [ebp - 0x30], eax
mov eax, 0x5a6ab0
test esi, esi
mov ecx, 0x5a6aa8
mov edx, 1
cmovne ecx, eax
call fcn.0041e100
mov edx, dword [ebp - 0x30]
mov ecx, edi
call fcn.0041e350
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x4c], eax
mov byte [eax + 8], 0
mov esi, dword [ebp - 0x5c]
mov byte [ebp - 4], 1
cmp dword [esi + 0x278], 0
jne 0x439092
cmp dword [esi + 0x280], 0
je 0x43906d
mov edi, dword [ebp - 0x38]
mov byte [ebp - 0x29], 0x71
cmp edi, dword [ebp - 0x44]
je 0x4390a7
mov byte [edi], 0x71
inc edi
mov dword [ebp - 0x38], edi
jmp 0x4390c3
mov ecx, eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x439072
sub ecx, edx
je 0x439092
mov edi, dword [ebp - 0x38]
mov byte [ebp - 0x29], 2
cmp edi, dword [ebp - 0x44]
je 0x4390a7
mov byte [edi], 2
inc edi
mov dword [ebp - 0x38], edi
jmp 0x4390c3
mov edi, dword [ebp - 0x38]
mov byte [ebp - 0x29], 1
cmp edi, dword [ebp - 0x44]
je 0x4390a7
mov byte [edi], 1
inc edi
mov dword [ebp - 0x38], edi
jmp 0x4390c3
lea eax, [ebp - 0x29]
push eax
push edi
lea ecx, [ebp - 0x3c]
call fcn.00446ec0
mov eax, dword [ebp - 0x34]
mov edi, dword [ebp - 0x38]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov edx, dword [ebp - 0x30]
mov ecx, edx
mov byte [ebp - 4], 0
lea eax, [ecx + 1]
mov dword [ebp - 0x4c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4390d2
sub ecx, dword [ebp - 0x4c]
push ecx
push 0
push edx
call fcn.00513330
push dword [ebp - 0x30]
call fcn.00515679
add esp, 0x10
mov ecx, dword [ebp - 0x40]
mov edx, dword [esi + 0x26c]
mov eax, edi
sub eax, ecx
mov dword [ebp - 0x30], edx
mov byte [ebp - 0x45], al
mov dword [ebp - 0x4c], eax
cmp dword [edx + 8], 0xffffffff
je 0x43972f
cmp byte [edx + 0x18], 0
mov eax, 1
mov dword [ebp - 0x64], eax
je 0x43916b
mov eax, dword [edx + 0x10]
cmp byte [eax + 0x21], 0
je 0x439166
cmp byte [edx + 0x68], 0
je 0x439141
mov eax, dword [edx + 0x6c]
mov ecx, dword [edx + 0x64]
mov edx, dword [ebp - 0x4c]
mov byte [ecx + eax], dl
mov edx, dword [ebp - 0x30]
inc dword [edx + 0x6c]
jmp 0x439180
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 0
push eax
push 1
lea eax, [ebp - 0x45]
mov ecx, edx
push eax
call fcn.0047d910
mov edx, dword [ebp - 0x30]
mov ecx, eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x64], eax
jmp 0x43916e
mov eax, 1
lea ecx, [ebp - 0x45]
push eax
push ecx
mov ecx, edx
call fcn.0047d3e0
cmp eax, dword [ebp - 0x64]
jne 0x43972f
mov eax, dword [ebp - 0x40]
cmp eax, edi
je 0x439228
mov esi, eax
nop dword [eax]
mov al, byte [esi]
mov byte [ebp - 0x29], al
mov byte [ebp - 0x55], al
mov eax, dword [ebp - 0x5c]
mov edx, dword [eax + 0x26c]
mov dword [ebp - 0x68], edx
cmp dword [edx + 8], 0xffffffff
je 0x43972f
cmp byte [edx + 0x18], 0
mov eax, 1
mov dword [ebp - 0x30], eax
je 0x439207
mov eax, dword [edx + 0x10]
cmp byte [eax + 0x21], 0
je 0x439204
cmp byte [edx + 0x68], 0
je 0x4391df
mov eax, dword [edx + 0x6c]
mov ecx, dword [edx + 0x64]
mov dl, byte [ebp - 0x55]
mov byte [ecx + eax], dl
mov edx, dword [ebp - 0x68]
inc dword [edx + 0x6c]
jmp 0x43921c
lea eax, [ebp - 0x64]
mov dword [ebp - 0x64], 0
push eax
push 1
lea eax, [ebp - 0x29]
mov ecx, edx
push eax
call fcn.0047d910
mov edx, dword [ebp - 0x68]
mov ecx, eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x30], eax
jmp 0x43920a
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x29]
push eax
push ecx
mov ecx, edx
call fcn.0047d3e0
cmp eax, dword [ebp - 0x30]
jne 0x43972f
inc esi
cmp esi, edi
jne 0x439190
mov esi, dword [ebp - 0x5c]
mov eax, dword [esi + 0x26c]
mov dword [ebp - 0x30], eax
cmp dword [eax + 8], 0xffffffff
je 0x43972f
cmp dword [eax + 0x239c], 0
je 0x43927c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x30]
push ecx
push dword [ecx + 0x239c]
mov dword [ecx + 0xc], eax
lea edx, [ecx + 0x74]
mov ecx, dword [ecx + 8]
call fcn.0047d9c0
add esp, 8
test al, al
je 0x43972f
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 0x239c], 0
jmp 0x43927f
mov ecx, dword [ebp - 0x30]
mov eax, dword [0x5b6e6c]
push 1
mov eax, dword [eax + 0xd14]
mov dword [ecx + 0x23a0], eax
lea eax, [ebp - 0x2a]
mov ecx, dword [esi + 0x26c]
push eax
mov byte [ebp - 0x2a], 0
call fcn.0047d6f0
test eax, eax
je 0x43972f
movzx eax, byte [ebp - 0x2a]
push dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x40]
push eax
push ecx
mov dword [ebp - 0x68], eax
call fcn.0053ec00
add esp, 0xc
mov ecx, edi
test eax, eax
cmovne ecx, eax
cmp ecx, edi
je 0x43972f
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov eax, dword [ebp - 0x68]
dec eax
mov byte [ebp - 4], 2
cmp eax, 0x72
ja case.0x439304.3
movzx eax, byte [eax + 0x4397a8]
jmp dword [eax*4 + 0x439788]
mov ecx, dword [esi + 0x274]
push 1
mov eax, dword [ecx]
call dword [eax + 0x78]
mov edi, 1
mov edx, dword [ebp - 0x60]
mov ecx, dword [edx + 4]
cmp ecx, dword [edx + 8]
je 0x439392
mov al, byte [ebp - 0x2a]
mov byte [ecx], al
inc dword [edx + 4]
jmp 0x43939e
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.00439b80
jmp 0x439377
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.0043a6d0
xor edi, edi
mov dword [ebp - 0x50], 1
jmp 0x43940d
push ecx
mov ecx, esi
call fcn.0043ac30
jmp 0x439377
push ecx
mov ecx, esi
call fcn.0043b110
jmp 0x439377
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.0043b400
mov edi, eax
mov dword [ebp - 0x50], 0
mov eax, 1
mov dword [ebp - 0x30], eax
cmp edi, eax
jne 0x439415
jmp 0x43931d
lea eax, [ebp - 0x2a]
push eax
push ecx
mov ecx, edx
call fcn.00446f80
cmp dword [esi + 0x280], 0
mov al, byte [ebp - 0x2a]
je 0x4393c6
cmp al, 0x73
jne 0x4393c6
mov eax, dword [esi + 0x26c]
cmp dword [eax + 4], 0
je 0x4393d6
or eax, 0xffffffff
mov dword [ebp - 0x50], 0
jmp 0x439412
cmp al, 0x11
jne 0x4393d6
or eax, 0xffffffff
mov dword [ebp - 0x50], 0
jmp 0x439412
mov eax, dword [0x5b6e6c]
cmp byte [eax + 0xe2d], 0
jne 0x4393ed
cmp byte [eax + 0xe2c], 0
je 0x439401
mov eax, dword [ebp - 0x54]
cmp eax, dword [ebp - 0x6c]
jne 0x439401
or eax, 0xffffffff
mov dword [ebp - 0x50], 0
jmp 0x439412
xor eax, eax
mov dword [ebp - 0x50], eax
jmp 0x439412
xor edi, edi
mov dword [ebp - 0x50], edi
mov eax, 1
mov dword [ebp - 0x30], eax
mov ecx, dword [esi + 0x26c]
bswap eax
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x70]
push 4
push eax
call fcn.0047d600
test eax, eax
je 0x4395ab
test edi, edi
jne 0x43943f
cmp byte [ebp - 0x2a], 0x72
jne 0x439463
jmp 0x439449
cmp byte [ebp - 0x2a], 0x72
jne 0x4396af
mov eax, dword [esi + 0x26c]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x43945b
mov eax, dword [ecx]
call dword [eax + 0x18]
test edi, edi
jne 0x4396af
cmp dword [ebp - 0x50], 0
mov edx, dword [ebp - 0x18]
jne 0x4395f8
test edx, edx
jne 0x439557
mov edi, dword [ebp - 0x14]
cmp edi, 0x17
jb 0x4394ad
cmp edi, 0x10
mov dword [ebp - 0x18], 0x17
push 0x17
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
push str.authentication_rejected
push esi
call fcn.00513490
mov byte [esi + 0x17], 0
add esp, 0xc
mov esi, dword [ebp - 0x5c]
jmp 0x439554
mov ecx, edi
mov eax, closesocket
shr ecx, 1
sub eax, ecx
cmp edi, eax
jbe 0x4394c3
mov ecx, closesocket
jmp 0x4394d0
lea eax, [ecx + edi]
mov ecx, 0x1f
cmp eax, ecx
cmova ecx, eax
lea eax, [ecx + 1]
mov dword [ebp - 0x54], ecx
push eax
call fcn.0041c4a0
movups xmm0, xmmword [str.authentication_rejected]
mov edx, eax
mov dword [ebp - 0x18], 0x17
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x60], edx
movups xmmword [edx], xmm0
mov ecx, dword [0x593948]
mov dword [edx + 0x10], ecx
mov cx, word [0x59394c]
mov word [edx + 0x14], cx
mov al, byte [0x59394e]
mov byte [edx + 0x16], al
mov byte [edx + 0x17], 0
cmp edi, 0x10
jb 0x439551
mov ecx, dword [ebp - 0x28]
inc edi
mov eax, ecx
cmp edi, 0x1000
jb 0x43953f
mov ecx, dword [ecx - 4]
add edi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x439780
push edi
push ecx
call fcn.0051137c
mov eax, dword [ebp - 0x60]
add esp, 8
mov dword [ebp - 0x28], eax
jmp 0x439554
mov dword [ebp - 0x28], edx
mov edx, dword [ebp - 0x18]
mov ecx, edx
mov eax, edx
shl ecx, 0x10
and eax, 0xff00
or ecx, eax
shr edx, 8
movzx eax, byte [ebp - 0x15]
and edx, 0xff00
shl ecx, 8
or ecx, edx
or ecx, eax
lea eax, [ebp - 0x4c]
push 4
mov dword [ebp - 0x4c], ecx
mov ecx, dword [esi + 0x26c]
push eax
call fcn.0047d600
test eax, eax
je 0x4395ab
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
mov ecx, dword [esi + 0x26c]
push eax
call fcn.0047d570
xor esi, esi
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x4395e1
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4395d7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x439780
push edx
push ecx
call fcn.0051137c
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
jmp 0x439731
test edx, edx
jne 0x439557
mov edi, dword [ebp - 0x14]
cmp edi, 0x27
jb 0x439635
cmp edi, 0x10
mov dword [ebp - 0x18], 0x27
push 0x27
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
push str.Server_require_a_higher_viewer_version.
push esi
call fcn.00513490
mov byte [esi + 0x27], 0
add esp, 0xc
mov esi, dword [ebp - 0x5c]
jmp 0x439554
mov ecx, edi
mov eax, closesocket
shr ecx, 1
sub eax, ecx
cmp edi, eax
jbe 0x43964b
mov ecx, closesocket
jmp 0x439658
lea eax, [ecx + edi]
mov ecx, 0x2f
cmp eax, ecx
cmova ecx, eax
lea eax, [ecx + 1]
mov dword [ebp - 0x54], ecx
push eax
call fcn.0041c4a0
movups xmm0, xmmword [str.Server_require_a_higher_viewer_version.]
mov edx, eax
mov dword [ebp - 0x18], 0x27
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x60], edx
movups xmmword [edx], xmm0
movups xmm0, xmmword [0x593960]
movups xmmword [edx + 0x10], xmm0
mov ecx, dword [0x593970]
mov dword [edx + 0x20], ecx
mov ax, word [0x593974]
mov word [edx + 0x24], ax
mov al, byte [0x593976]
mov byte [edx + 0x26], al
mov byte [edx + 0x27], 0
jmp 0x439518
mov edi, dword [esi + 0x26c]
cmp dword [edi + 8], 0xffffffff
je 0x4395ab
cmp dword [edi + 0x239c], 0
je 0x4396f8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push ecx
push dword [edi + 0x239c]
mov ecx, dword [edi + 8]
lea edx, [edi + 0x74]
mov dword [edi + 0xc], eax
call fcn.0047d9c0
add esp, 8
test al, al
je 0x4395ab
mov dword [edi + 0x239c], 0
cmp dword [ebp - 0x30], 0xffffffff
mov eax, dword [0x5b6e6c]
mov eax, dword [eax + 0xd14]
mov dword [edi + 0x23a0], eax
jne 0x439725
mov eax, dword [esi]
mov ecx, esi
push 1
push dword [ebp - 0x60]
mov eax, dword [eax + 0x18]
call eax
test eax, eax
je 0x4395ab
mov esi, 1
jmp 0x4395ad
xor esi, esi
mov edx, dword [ebp - 0x40]
test edx, edx
je 0x439761
mov ecx, dword [ebp - 0x44]
mov eax, edx
sub ecx, edx
cmp ecx, 0x1000
jb 0x439757
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x439780
push ecx
push edx
call fcn.0051137c
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00511339
mov esp, ebp
pop ebp
ret 8
call fcn.00515628
nop dword [eax]
sbb byte [ebx - 0x6c9dffbd], dl
inc ebx
add byte [ebx], cl
xchg ebx, eax
inc ebx
add byte [ebx + edx*4 + 0x43], ch
add byte [eax - 0x6d], bl
inc ebx
add byte [edi], bh
xchg ebx, eax
inc ebx
add byte [edx], dh
xchg ebx, eax
inc ebx
add byte [eax], cl
xchg esp, eax
inc ebx
add byte [eax], al
add dword [edi], eax
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
add al, byte [edi]
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
add eax, dword [eax]
pop es
pop es
pop es
pop es
pop es
pop es
pop es
add al, 5
push es
int3