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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x569cfd
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x5d7008]
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 - 0x64], ecx
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], 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 - 0x68], eax
call fcn.00568f20
mov ecx, dword [ebp - 0x68]
test eax, eax
push esi
cmovne ecx, eax
push 0x68
push edi
mov dword [ebp - 0x54], ecx
call fcn.00568f20
mov ecx, dword [ebp - 0x68]
add esp, 0x18
test eax, eax
mov edx, ecx
cmovne edx, eax
mov dword [ebp - 0x5c], edx
cmp edi, ecx
jne 0x439aa5
lea eax, [ebp - 0x31]
mov byte [ebp - 0x31], 0x11
push eax
push 0
lea ecx, [ebp - 0x4c]
call fcn.00447880
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x3c], eax
mov esi, dword [ebp - 0x64]
cmp dword [ebp - 0x54], ecx
jne 0x439b28
mov eax, dword [esi + 0x26c]
cmp byte [eax + 0x18], 0
je 0x439b28
mov ecx, dword [esi + 0x270]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28c]
call eax
cmp byte [eax + 0x21], 0
je 0x439b25
mov eax, dword [esi + 0x26c]
cmp dword [eax + 4], 0
je 0x439b25
mov edi, dword [ebp - 0x48]
mov eax, dword [ebp - 0x40]
mov byte [ebp - 0x31], 0x73
cmp edi, eax
je 0x439af5
mov ecx, dword [ebp - 0x3c]
mov byte [edi], 0x73
inc edi
mov dword [ebp - 0x48], edi
jmp 0x439b11
lea eax, [ebp - 0x31]
push eax
push edi
lea ecx, [ebp - 0x4c]
call fcn.00447880
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x48]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], ecx
mov byte [ebp - 0x31], 0x72
cmp edi, eax
je 0x439b57
mov byte [edi], 0x72
inc edi
mov dword [ebp - 0x48], edi
jmp 0x439c89
mov ecx, dword [ebp - 0x68]
cmp dword [0x5e7b1c], 0
jne 0x439b3a
cmp dword [0x5e7ca4], 0
je 0x439b78
cmp dword [ebp - 0x5c], ecx
jne 0x439b78
mov edi, dword [ebp - 0x48]
mov byte [ebp - 0x31], 0x68
cmp edi, dword [ebp - 0x40]
je 0x439b57
mov byte [edi], 0x68
inc edi
mov dword [ebp - 0x48], edi
jmp 0x439c86
lea eax, [ebp - 0x31]
push eax
push edi
lea ecx, [ebp - 0x4c]
call fcn.00447880
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x48]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], ecx
jmp 0x439c89
mov ecx, dword [esi + 0x270]
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ecx]
call dword [eax + 0x128]
mov ecx, dword [esi + 0x270]
mov eax, dword [ecx]
mov eax, dword [eax + 0x24c]
call eax
push 9
mov esi, eax
call fcn.0054cef5
add esp, 4
mov edi, eax
mov eax, 0x5d7a94
mov dword [ebp - 0x38], edi
test esi, esi
mov ecx, 0x5d7ba0
mov edx, 1
cmove ecx, eax
call fcn.0041ddf0
mov edx, edi
lea ecx, [ebp - 0x18]
call fcn.0041e040
mov byte [edi + 8], 0
mov dword [ebp - 0x54], edi
mov esi, dword [ebp - 0x64]
mov byte [ebp - 4], 1
cmp dword [esi + 0x278], 0
jne 0x439c28
cmp dword [esi + 0x280], 0
je 0x439c03
mov edi, dword [ebp - 0x48]
mov byte [ebp - 0x31], 0x71
cmp edi, dword [ebp - 0x40]
je 0x439c3d
mov byte [edi], 0x71
inc edi
mov dword [ebp - 0x48], edi
jmp 0x439c59
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x439c08
sub ecx, edx
je 0x439c28
mov edi, dword [ebp - 0x48]
mov byte [ebp - 0x31], 2
cmp edi, dword [ebp - 0x40]
je 0x439c3d
mov byte [edi], 2
inc edi
mov dword [ebp - 0x48], edi
jmp 0x439c59
mov edi, dword [ebp - 0x48]
mov byte [ebp - 0x31], 1
cmp edi, dword [ebp - 0x40]
je 0x439c3d
mov byte [edi], 1
inc edi
mov dword [ebp - 0x48], edi
jmp 0x439c59
lea eax, [ebp - 0x31]
push eax
push edi
lea ecx, [ebp - 0x4c]
call fcn.00447880
mov eax, dword [ebp - 0x44]
mov edi, dword [ebp - 0x48]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x38]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x54], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x439c68
sub ecx, dword [ebp - 0x54]
push ecx
push 0
push edx
call fcn.0053f2b0
push dword [ebp - 0x38]
call fcn.005417da
add esp, 0x10
mov ecx, dword [ebp - 0x3c]
mov edx, dword [esi + 0x26c]
mov eax, edi
sub eax, ecx
mov dword [ebp - 0x14], edx
mov byte [ebp - 0x4d], al
mov dword [ebp - 0x54], eax
cmp dword [edx + 8], 0xffffffff
je 0x43a2fd
cmp byte [edx + 0x18], 0
mov eax, 1
mov dword [ebp - 0x58], eax
je 0x439d01
mov eax, dword [edx + 0x10]
cmp byte [eax + 0x21], 0
je 0x439cfc
cmp byte [edx + 0x68], 0
je 0x439cd7
mov eax, dword [edx + 0x6c]
mov ecx, dword [edx + 0x64]
mov edx, dword [ebp - 0x54]
mov byte [ecx + eax], dl
mov edx, dword [ebp - 0x14]
inc dword [edx + 0x6c]
jmp 0x439d16
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 0
push eax
push 1
lea eax, [ebp - 0x4d]
mov ecx, edx
push eax
call fcn.00489a20
mov edx, dword [ebp - 0x14]
mov ecx, eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x58], eax
jmp 0x439d04
mov eax, 1
lea ecx, [ebp - 0x4d]
push eax
push ecx
mov ecx, edx
call fcn.004894f0
cmp eax, dword [ebp - 0x58]
jne 0x43a2fd
mov eax, dword [ebp - 0x3c]
cmp eax, edi
je 0x439dbb
mov esi, eax
mov al, byte [esi]
mov byte [ebp - 0x31], al
mov byte [ebp - 0x5d], al
mov eax, dword [ebp - 0x64]
mov edx, dword [eax + 0x26c]
mov dword [ebp - 0x14], edx
cmp dword [edx + 8], 0xffffffff
je 0x43a2fd
cmp byte [edx + 0x18], 0
mov eax, 1
mov dword [ebp - 0x38], eax
je 0x439d9a
mov eax, dword [edx + 0x10]
cmp byte [eax + 0x21], 0
je 0x439d97
cmp byte [edx + 0x68], 0
je 0x439d72
mov eax, dword [edx + 0x6c]
mov ecx, dword [edx + 0x64]
mov dl, byte [ebp - 0x5d]
mov byte [ecx + eax], dl
mov edx, dword [ebp - 0x14]
inc dword [edx + 0x6c]
jmp 0x439daf
lea eax, [ebp - 0x58]
mov dword [ebp - 0x58], 0
push eax
push 1
lea eax, [ebp - 0x31]
mov ecx, edx
push eax
call fcn.00489a20
mov edx, dword [ebp - 0x14]
mov ecx, eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x38], eax
jmp 0x439d9d
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x31]
push eax
push ecx
mov ecx, edx
call fcn.004894f0
cmp eax, dword [ebp - 0x38]
jne 0x43a2fd
inc esi
cmp esi, edi
jne 0x439d23
mov esi, dword [ebp - 0x64]
mov eax, dword [esi + 0x26c]
mov dword [ebp - 0x38], eax
cmp dword [eax + 8], 0xffffffff
je 0x43a2fd
cmp dword [eax + 0x239c], 0
je 0x439e0f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x38]
push ecx
push dword [ecx + 0x239c]
mov dword [ecx + 0xc], eax
lea edx, [ecx + 0x74]
mov ecx, dword [ecx + 8]
call fcn.00489b90
add esp, 8
test al, al
je 0x43a2fd
mov ecx, dword [ebp - 0x38]
mov dword [ecx + 0x239c], 0
jmp 0x439e12
mov ecx, dword [ebp - 0x38]
mov eax, dword [0x5d7bb8]
mov dword [ecx + 0x23a0], eax
lea eax, [ebp - 0x32]
mov ecx, dword [esi + 0x26c]
push 1
push eax
mov byte [ebp - 0x32], 0
call fcn.00489800
test eax, eax
je 0x43a2fd
movzx eax, byte [ebp - 0x32]
push dword [ebp - 0x54]
mov ecx, dword [ebp - 0x3c]
push eax
push ecx
mov dword [ebp - 0x58], eax
call fcn.00568f20
add esp, 0xc
mov ecx, edi
test eax, eax
cmovne ecx, eax
cmp ecx, edi
je 0x43a2fd
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x58]
dec eax
cmp eax, 0x72
ja case.0x439e94.3
movzx eax, byte [eax + 0x43a374]
jmp dword [eax*4 + 0x43a354]
mov ecx, dword [esi + 0x274]
push 1
mov eax, dword [ecx]
call dword [eax + 0x70]
mov edi, 1
mov ecx, esi
push edi
call fcn.00439390
mov edx, dword [ebp - 0x6c]
mov ecx, dword [edx + 4]
cmp ecx, dword [edx + 8]
je 0x439f54
mov al, byte [ebp - 0x32]
mov byte [ecx], al
inc dword [edx + 4]
jmp 0x439f60
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
call fcn.0043a730
jmp 0x439f26
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
call fcn.0043b2b0
mov dword [ebp - 0x14], 1
xor edi, edi
mov ecx, esi
push edi
call fcn.00439390
mov eax, 1
mov dword [ebp - 0x38], eax
jmp 0x439feb
push ecx
mov ecx, esi
call fcn.0043b830
jmp 0x439f26
push ecx
mov ecx, esi
call fcn.0043bbe0
jmp 0x439f26
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
call fcn.0043bee0
mov edi, eax
mov ecx, esi
test edi, edi
setne al
movzx eax, al
push eax
call fcn.00439390
mov eax, 1
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x38], eax
cmp edi, eax
jne 0x439feb
jmp 0x439eb5
lea eax, [ebp - 0x32]
push eax
push ecx
mov ecx, edx
call fcn.00447940
cmp dword [esi + 0x280], 0
mov al, byte [ebp - 0x32]
je 0x439f8b
cmp al, 0x73
jne 0x439f8b
mov eax, dword [esi + 0x26c]
cmp dword [eax + 4], 0
je 0x439f9e
or eax, 0xffffffff
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x38], eax
jmp 0x439feb
cmp al, 0x11
jne 0x439f9e
or eax, 0xffffffff
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x38], eax
jmp 0x439feb
cmp dword [0x5e7b1c], 0
jne 0x439fb0
cmp dword [0x5e7ca4], 0
je 0x439fc7
mov eax, dword [ebp - 0x5c]
cmp eax, dword [ebp - 0x68]
jne 0x439fc7
or eax, 0xffffffff
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x38], eax
jmp 0x439feb
xor eax, eax
mov ecx, esi
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x14], eax
call fcn.00438d90
test eax, eax
jne 0x439fe9
mov eax, 1
xor edi, edi
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x14], edi
jmp 0x439feb
xor eax, eax
mov ecx, dword [esi + 0x26c]
bswap eax
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x70]
push 4
push eax
call fcn.00489710
test eax, eax
je 0x43a181
test edi, edi
jne 0x43a015
cmp byte [ebp - 0x32], 0x72
jne 0x43a039
jmp 0x43a01f
cmp byte [ebp - 0x32], 0x72
jne 0x43a285
mov eax, dword [esi + 0x26c]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x43a031
mov eax, dword [ecx]
call dword [eax + 0x18]
test edi, edi
jne 0x43a285
cmp dword [ebp - 0x14], 0
mov edx, dword [ebp - 0x20]
jne 0x43a1ce
test edx, edx
jne 0x43a12d
mov edi, dword [ebp - 0x1c]
cmp edi, 0x17
jb 0x43a083
cmp edi, 0x10
mov dword [ebp - 0x20], 0x17
push 0x17
lea esi, [ebp - 0x30]
cmovae esi, dword [ebp - 0x30]
push str.authentication_rejected
push esi
call fcn.0053f450
mov byte [esi + 0x17], 0
add esp, 0xc
mov esi, dword [ebp - 0x64]
jmp 0x43a12a
mov ecx, edi
mov eax, bind
shr ecx, 1
sub eax, ecx
cmp edi, eax
jbe 0x43a099
mov ecx, bind
jmp 0x43a0a6
lea eax, [edi + ecx]
mov ecx, 0x1f
cmp eax, ecx
cmova ecx, eax
lea eax, [ecx + 1]
mov dword [ebp - 0x5c], ecx
push eax
call fcn.0041c0f0
movups xmm0, xmmword [str.authentication_rejected]
mov edx, eax
mov dword [ebp - 0x20], 0x17
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x6c], edx
movups xmmword [edx], xmm0
mov ecx, dword [0x5bf414]
mov dword [edx + 0x10], ecx
mov cx, word [0x5bf418]
mov word [edx + 0x14], cx
mov al, byte [0x5bf41a]
mov byte [edx + 0x16], al
mov byte [edx + 0x17], 0
cmp edi, 0x10
jb 0x43a127
mov ecx, dword [ebp - 0x30]
inc edi
mov eax, ecx
cmp edi, 0x1000
jb 0x43a115
mov ecx, dword [ecx - 4]
add edi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43a34e
push edi
push ecx
call fcn.0053d673
mov eax, dword [ebp - 0x6c]
add esp, 8
mov dword [ebp - 0x30], eax
jmp 0x43a12a
mov dword [ebp - 0x30], edx
mov edx, dword [ebp - 0x20]
mov ecx, edx
mov eax, edx
shl ecx, 0x10
and eax, 0xff00
or ecx, eax
shr edx, 8
movzx eax, byte [ebp - 0x1d]
and edx, 0xff00
shl ecx, 8
or ecx, edx
or ecx, eax
lea eax, [ebp - 0x54]
push 4
mov dword [ebp - 0x54], ecx
mov ecx, dword [esi + 0x26c]
push eax
call fcn.00489710
test eax, eax
je 0x43a181
cmp dword [ebp - 0x1c], 0x10
lea eax, [ebp - 0x30]
push dword [ebp - 0x20]
cmovae eax, dword [ebp - 0x30]
mov ecx, dword [esi + 0x26c]
push eax
call fcn.00489680
xor esi, esi
mov edx, dword [ebp - 0x1c]
cmp edx, 0x10
jb 0x43a1b7
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43a1ad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43a34e
push edx
push ecx
call fcn.0053d673
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
jmp 0x43a2ff
test edx, edx
jne 0x43a12d
mov edi, dword [ebp - 0x1c]
cmp edi, 0x27
jb 0x43a20b
cmp edi, 0x10
mov dword [ebp - 0x20], 0x27
push 0x27
lea esi, [ebp - 0x30]
cmovae esi, dword [ebp - 0x30]
push str.Server_require_a_higher_viewer_version.
push esi
call fcn.0053f450
mov byte [esi + 0x27], 0
add esp, 0xc
mov esi, dword [ebp - 0x64]
jmp 0x43a12a
mov ecx, edi
mov eax, bind
shr ecx, 1
sub eax, ecx
cmp edi, eax
jbe 0x43a221
mov ecx, bind
jmp 0x43a22e
lea eax, [edi + ecx]
mov ecx, 0x2f
cmp eax, ecx
cmova ecx, eax
lea eax, [ecx + 1]
mov dword [ebp - 0x5c], ecx
push eax
call fcn.0041c0f0
movups xmm0, xmmword [str.Server_require_a_higher_viewer_version.]
mov edx, eax
mov dword [ebp - 0x20], 0x27
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x6c], edx
movups xmmword [edx], xmm0
movups xmm0, xmmword [0x5bf42c]
movups xmmword [edx + 0x10], xmm0
mov ecx, dword [0x5bf43c]
mov dword [edx + 0x20], ecx
mov ax, word [0x5bf440]
mov word [edx + 0x24], ax
mov al, byte [0x5bf442]
mov byte [edx + 0x26], al
mov byte [edx + 0x27], 0
jmp 0x43a0ee
mov edi, dword [esi + 0x26c]
cmp dword [edi + 8], 0xffffffff
je 0x43a181
cmp dword [edi + 0x239c], 0
je 0x43a2ce
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.00489b90
add esp, 8
test al, al
je 0x43a181
mov dword [edi + 0x239c], 0
cmp dword [ebp - 0x38], 0xffffffff
mov eax, dword [0x5d7bb8]
mov dword [edi + 0x23a0], eax
jne 0x43a2f3
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x6c]
mov eax, dword [eax + 0x18]
call eax
test eax, eax
je 0x43a181
mov esi, 1
jmp 0x43a183
xor esi, esi
mov edx, dword [ebp - 0x3c]
test edx, edx
je 0x43a32f
mov ecx, dword [ebp - 0x40]
mov eax, edx
sub ecx, edx
cmp ecx, 0x1000
jb 0x43a325
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43a34e
push ecx
push edx
call fcn.0053d673
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.0053d630
mov esp, ebp
pop ebp
ret 4
call fcn.00541789
nop
test al, 0x9e
inc ebx
add byte [ecx], dl
lahf
inc ebx
add byte [ebx + 0x1b00439e], bl
lahf
inc ebx
add byte [edi], al
lahf
inc ebx
add dh, bl
sahf
inc ebx
add cl, dl
sahf
inc ebx
add al, dh
sahf
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