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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x487972
mov eax, dword fs:[0]
push eax
mov eax, 0x14a50
call fcn.00460980
mov eax, dword [0x4a0270]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], 0
mov word [ebp - 0x1c], 0
mov eax, dword [ebp - 0x14]
cmp dword [eax + 4], 0
je 0x407d6d
mov eax, dword [ebp - 0x14]
cmp dword [eax + 8], 0
je 0x407d6d
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0xc], 0
jne 0x407d75
or eax, 0xffffffff
jmp 0x408de0
push 1
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0xc]
call fcn.00409380
mov dword [ebp - 0x20], eax
cmp dword [ebp + 0xc], 0x2710
je 0x407da0
cmp dword [ebp - 0x20], 0
jne 0x407da0
or eax, 0xffffffff
jmp 0x408de0
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 0x10]
call fcn.00427840
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x408cb8
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0xc]
call fcn.00409450
movsx ecx, ax
cmp ecx, 0xa
jne 0x408041
mov ecx, dword [ebp + 0x10]
call fcn.004277e0
mov byte [ebp - 0x14a5c], al
cmp byte [ebp - 0x14a5c], 1
je 0x407df5
cmp byte [ebp - 0x14a5c], 0xfb
je 0x407e0e
jmp 0x40803c
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x14]
call fcn.00409cd0
jmp 0x40803c
push 0xb4
push 0
lea eax, [ebp - 0xd8]
push eax
call fcn.0045f1b0
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 4]
call fcn.00409340
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xd0], 0
lea eax, [ebp - 0xd8]
push eax
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 4]
call fcn.00404d80
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 4]
call fcn.00405090
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0xcc]
mov dword [ebp - 0xe0], ecx
cmp dword [ebp - 0xdc], 1
je 0x407e94
cmp dword [ebp - 0xe0], 1
jne 0x407ec5
push 0xb4
lea eax, [ebp - 0xd8]
push eax
push 0
push 0x16
push 1
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0xc]
call fcn.004509d0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 8]
mov dword [ecx + 0xfef8c], 1
jmp 0x407efb
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 8]
cmp dword [ecx + 0xfef8c], 1
jne 0x407efb
push 0
push 0
push 0
push 0x17
push 1
push 0xffffffffffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0xc]
call fcn.004509d0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 8]
mov dword [ecx + 0xfef8c], 0
mov ecx, dword [ebp + 0x10]
call fcn.00427800
mov byte [ebp - 0x14a5c], al
cmp byte [ebp - 0x14a5c], 2
je 0x407f1c
jmp 0x40803c
push str.PROTOCOL_MOVIE_EVENT
push 0
lea ecx, [ebp - 0x8f8]
call fcn.004513d0
mov dword [ebp - 4], 0
cmp dword [ebp - 0xdc], 1
jne 0x40802a
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 4]
call fcn.00408ea0
mov dword [ebp - 0x8fc], eax
cmp dword [ebp - 0x8fc], 0
jl 0x40802a
mov dword [ebp - 0x900], 0
jmp 0x407f7b
mov eax, dword [ebp - 0x900]
add eax, 1
mov dword [ebp - 0x900], eax
cmp dword [ebp - 0x900], 0x64
jge 0x40802a
push 0x2710
mov eax, dword [ebp - 0x900]
push eax
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0xc]
call fcn.00409380
mov dword [ebp - 0x904], eax
cmp dword [ebp - 0x904], 0
je 0x408025
mov eax, dword [ebp - 0x904]
movsx ecx, word [eax + 0x8cf0]
cmp ecx, dword [ebp - 0x8fc]
jne 0x408025
lea ecx, [ebp - 0x4dac]
call fcn.00426ea0
mov byte [ebp - 4], 1
push 1
lea ecx, [ebp - 0x4dac]
call fcn.00427780
push 0x18
lea ecx, [ebp - 0x4dac]
call fcn.004277a0
push 0
push 0
lea ecx, [ebp - 0x4dac]
call fcn.00427360
lea eax, [ebp - 0x4dac]
push eax
mov ecx, dword [ebp - 0x900]
push ecx
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0xc]
call fcn.00423970
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4dac]
call fcn.00427330
jmp 0x40802a
jmp 0x407f6c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8f8]
call fcn.00451490
jmp 0x408cac
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0xc]
call fcn.00409450
movsx ecx, ax
cmp ecx, 0x14
jne 0x408cac
mov ecx, dword [ebp + 0x10]
call fcn.004277e0
mov byte [ebp - 0x14a5c], al
cmp byte [ebp - 0x14a5c], 0
je 0x40808e
cmp byte [ebp - 0x14a5c], 1
je 0x408128
cmp byte [ebp - 0x14a5c], 0xfc
je 0x4081ff
jmp 0x408cac
mov ecx, dword [ebp + 0x10]
call fcn.00427800
movzx eax, al
mov dword [ebp - 0x14a5c], eax
cmp dword [ebp - 0x14a5c], 0x13
ja case.0x4080b5.1
mov ecx, dword [ebp - 0x14a5c]
movzx edx, byte [ecx + 0x408e08]
jmp dword [edx*4 + 0x408e00]
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x14]
call fcn.0040b1a0
jmp 0x408123
cmp dword [ebp + 0xc], 0x2710
je 0x408109
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x8868], 0
jbe 0x408109
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x8868], 0xffffffff
je 0x408109
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x14]
call fcn.0040b1a0
jmp 0x408123
cmp dword [ebp + 0xc], 0x2710
je 0x408123
push 0
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0xc]
call fcn.00450550
jmp 0x408cac
mov ecx, dword [ebp + 0x10]
call fcn.00427800
mov byte [ebp - 0x14a5c], al
cmp byte [ebp - 0x14a5c], 0xe8
je 0x408144
jmp 0x4081fa
push str.PROTOCOL_CONFESS_HACK
push 0
lea ecx, [ebp - 0x55c4]
call fcn.004513d0
mov dword [ebp - 4], 2
push 8
lea eax, [ebp - 0x55d0]
push eax
mov ecx, dword [ebp + 0x10]
call fcn.004275b0
mov dword [ebp - 0x55c8], eax
push 0x62
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0xc]
call fcn.00409380
mov dword [ebp - 0x55d4], eax
cmp dword [ebp - 0x55d4], 0
je 0x4081e8
mov eax, dword [ebp - 0x55d4]
add eax, 0x8860
mov dword [ebp - 0x55d8], eax
mov eax, dword [ebp - 0x55cc]
push eax
mov ecx, dword [ebp - 0x55d0]
push ecx
push 0xffffffffffffffff
push 0xffffffffffffffff
mov edx, dword [ebp - 0x55d8]
add edx, 0x77
push edx
mov eax, dword [ebp - 0x55d8]
add eax, 0x84
push eax
push 0x48e068
mov ecx, dword [ebp - 0x55d8]
mov edx, dword [ecx + 0xc]
push edx
push 3
mov ecx, 0x5bf648
call fcn.0041ced0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x55c4]
call fcn.00451490
jmp 0x408cac
mov ecx, dword [ebp + 0x10]
call fcn.00427800
mov byte [ebp - 0x14a5c], al
cmp byte [ebp - 0x14a5c], 1
je 0x40821b
jmp 0x408cac
push 8
lea eax, [ebp - 0x55e0]
push eax
mov ecx, dword [ebp + 0x10]
call fcn.004275b0
push 0xffffffffffffffff
mov eax, dword [ebp - 0x55e0]
push eax
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0xc]
call fcn.00409380
mov dword [ebp - 0x55e4], eax
cmp dword [ebp - 0x55e4], 0
je 0x408cac
push 0x48dd60
mov eax, dword [ebp - 0x55e4]
add eax, 0x8a44
push eax
call fcn.00460a60
add esp, 8
test eax, eax
je 0x408cac
lea ecx, [ebp - 0xba24]
call fcn.00426ea0
mov dword [ebp - 4], 3
push 0xffffffffffffffff
mov eax, dword [ebp - 0x55e4]
add eax, 0x8ac0
push eax
push 0x100
mov ecx, dword [ebp - 0x55e4]
add ecx, 0x8bcc
push ecx
call fcn.004609ab
add esp, 0x10
push 0
lea ecx, [ebp - 0xba24]
call fcn.00427780
push 1
lea ecx, [ebp - 0xba24]
call fcn.004277a0
cmp dword [ebp - 0x55dc], 0
jb 0x408b1d
cmp dword [ebp - 0x55dc], 0xffffffff
je 0x408b1d
mov eax, dword [ebp - 0x55dc]
mov dword [ebp - 0x7568], eax
mov eax, dword [ebp - 0x55e4]
mov ecx, dword [ebp - 0x55dc]
mov dword [eax + 0x8868], ecx
mov eax, dword [ebp - 0x55e4]
mov ecx, dword [ebp - 0x55dc]
mov dword [eax + 0x8a40], ecx
mov eax, dword [ebp - 0x55e4]
mov word [eax + 0x88ca], 0x1e
mov eax, dword [ebp - 0x55e4]
sub esp, 8
fld qword [eax + 0x8bc0]
fstp qword [esp]
mov ecx, dword [ebp - 0x55e4]
mov edx, dword [ecx + 0x8a40]
push edx
push 0x64
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 4]
call fcn.004052d0
mov dword [ebp - 0xba28], eax
cmp dword [ebp - 0xba28], 1
jne 0x408374
mov dword [ebp - 0x757c], 2
mov word [ebp - 0x754c], 0
jmp 0x408b1b
mov eax, dword [ebp - 0x55e4]
mov ecx, dword [eax + 0x8a40]
push ecx
mov edx, dword [ebp - 0x55e0]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.0040f3c0
mov dword [ebp - 0xba2c], eax
cmp dword [ebp - 0xba2c], 0xffffffff
jne 0x4083b2
mov dword [ebp - 0x757c], 1
jmp 0x408b1b
cmp dword [ebp - 0xba2c], 0xfffffffb
jne 0x4083ca
mov dword [ebp - 0x757c], 7
jmp 0x408b1b
cmp dword [ebp - 0xba2c], 0xfffffffd
jne 0x408715
mov eax, dword [ebp - 0x55e4]
add eax, 0x88e4
push eax
mov ecx, dword [ebp - 0x55e4]
add ecx, 0x8868
push ecx
mov edx, dword [ebp - 0x55e4]
add edx, 0x8bcc
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 8]
call fcn.0044f980
mov byte [ebp - 0x7563], 0
mov byte [ebp - 0x5604], 0
mov word [ebp - 0x7562], 0
mov dword [ebp - 0x7560], 0
mov dword [ebp - 0x755c], 0
fld1
fstp qword [ebp - 0x7554]
mov eax, dword [ebp - 0x55e4]
mov dword [eax + 0x8a1c], 0
mov eax, dword [ebp - 0x55e4]
mov dword [eax + 0x8a20], 0
mov eax, dword [ebp - 0x55e4]
mov dword [eax + 0x8a24], 0
mov eax, dword [ebp - 0x55e4]
mov dword [eax + 0x8a28], 0
mov eax, dword [ebp - 0x55e4]
mov dword [eax + 0x8a2c], 0
mov eax, dword [ebp - 0x55e4]
mov dword [eax + 0x8a30], 0
mov eax, dword [ebp - 0x55e4]
mov dword [eax + 0x8a34], 0
mov eax, dword [ebp - 0x55e4]
mov dword [eax + 0x8a38], 0
mov eax, dword [ebp - 0x55e4]
mov dword [eax + 0x8a3c], 0
mov eax, dword [ebp - 0x55e4]
mov dword [eax + 0x8a14], 0
mov eax, dword [ebp - 0x55e4]
mov dword [eax + 0x8a18], 0x15f90
mov dword [ebp - 0x757c], 6
lea eax, [ebp - 0x7544]
push eax
push 0x64
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 4]
call fcn.00408f90
mov word [ebp - 0x754c], ax
push 0x18
push 0
lea eax, [ebp - 0xba44]
push eax
call fcn.0045f1b0
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x2c]
call fcn.00408e40
mov ecx, dword [eax]
mov dword [ebp - 0xba44], ecx
mov eax, dword [ebp - 0x7568]
mov dword [ebp - 0xba40], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xba3c], eax
push 0x18
lea eax, [ebp - 0xba44]
push eax
lea ecx, [ebp - 0x55fc]
push ecx
call fcn.0045f360
add esp, 0xc
lea eax, [ebp - 0xba34]
push eax
mov eax, dword [ebp - 0xba3c]
cdq
push edx
push eax
mov ecx, dword [ebp - 0xba40]
xor edx, edx
push edx
push ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x2c]
call fcn.004157c0
push 0x14
mov ecx, dword [ebp - 0x14]
call fcn.00408e60
mov ecx, eax
call fcn.00408e20
push eax
lea eax, [ebp - 0xba40]
push eax
lea ecx, [ebp - 0x55f8]
push ecx
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0x2c]
call fcn.004156a0
call fcn.004121a0
add eax, 4
mov ecx, eax
call fcn.00411520
movzx eax, al
test eax, eax
jne 0x408710
lea ecx, [ebp - 0xfeec]
call fcn.00426ea0
mov byte [ebp - 4], 4
push 0
lea ecx, [ebp - 0xfeec]
call fcn.00427780
push 0x19
lea ecx, [ebp - 0xfeec]
call fcn.004277a0
mov dword [ebp - 0x1020c], 0
push 0x18c
push 0
lea eax, [ebp - 0x10208]
push eax
call fcn.0045f1b0
add esp, 0xc
push 0x190
push 0
lea eax, [ebp - 0x1007c]
push eax
call fcn.0045f1b0
add esp, 0xc
mov dword [ebp - 0x10210], 0
lea eax, [ebp - 0x10218]
push eax
call fcn.004121a0
add eax, 4
mov ecx, eax
call fcn.00412320
lea eax, [ebp - 0x10220]
push eax
call fcn.004121a0
add eax, 4
mov ecx, eax
call fcn.004121d0
jmp 0x408672
lea ecx, [ebp - 0x10218]
call fcn.00413a50
lea eax, [ebp - 0x10220]
push eax
lea ecx, [ebp - 0x10218]
call fcn.00412220
movzx ecx, al
test ecx, ecx
je 0x4086d1
lea ecx, [ebp - 0x10218]
call fcn.00412200
mov ecx, dword [ebp - 0x10210]
mov edx, dword [eax]
mov dword [ebp + ecx*4 - 0x1020c], edx
lea ecx, [ebp - 0x10218]
call fcn.00412200
mov ecx, dword [ebp - 0x10210]
mov edx, dword [eax + 4]
mov dword [ebp + ecx*4 - 0x1007c], edx
mov eax, dword [ebp - 0x10210]
add eax, 1
mov dword [ebp - 0x10210], eax
jmp 0x408667
push 0x320
lea eax, [ebp - 0x1020c]
push eax
lea ecx, [ebp - 0xfeec]
call fcn.00427360
lea eax, [ebp - 0xfeec]
push eax
mov ecx, dword [ebp - 0x55e0]
push ecx
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0xc]
call fcn.00423970
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xfeec]
call fcn.00427330
jmp 0x408b1b
cmp dword [ebp - 0xba2c], 0xfffffffa
jne 0x408780
mov dword [ebp - 0x757c], 9
lea eax, [ebp - 0x10224]
push eax
call fcn.00408e80
add esp, 4
mov eax, dword [ebp - 0x55e4]
mov ecx, dword [eax + 0x8bc8]
sub ecx, dword [ebp - 0x10224]
mov dword [ebp - 0x5600], ecx
mov eax, dword [ebp - 0x55e4]
sub esp, 8
fld qword [eax + 0x8bc0]
fstp qword [esp]
mov ecx, dword [ebp - 0x55e4]
mov edx, dword [ecx + 0x8a40]
push edx
push 0x64
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 4]
call fcn.004054c0
jmp 0x408b1b
cmp dword [ebp - 0xba2c], 0xfffffff8
jne 0x4087c4
mov dword [ebp - 0x757c], 0xb
mov eax, dword [ebp - 0x55e4]
sub esp, 8
fld qword [eax + 0x8bc0]
fstp qword [esp]
mov ecx, dword [ebp - 0x55e4]
mov edx, dword [ecx + 0x8a40]
push edx
push 0x64
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 4]
call fcn.004054c0
jmp 0x408b1b
mov eax, dword [ebp - 0x55e4]
add eax, 0x88e4
push eax
mov ecx, dword [ebp - 0x55e4]
add ecx, 0x8868
push ecx
mov edx, dword [ebp - 0x55e4]
add edx, 0x8bcc
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 8]
call fcn.0044f980
mov eax, dword [ebp - 0x55e0]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.0040fae0
mov dword [ebp - 0xba2c], eax
mov dword [ebp - 0x757c], 0
mov eax, dword [ebp - 0x55e4]
mov cl, byte [eax + 0x888c]
mov byte [ebp - 0x7563], cl
mov eax, dword [ebp - 0x55e4]
mov cl, byte [eax + 0x8874]
mov byte [ebp - 0x5604], cl
mov eax, dword [ebp - 0x55e4]
mov cx, word [eax + 0x88bc]
mov word [ebp - 0x7562], cx
mov eax, dword [ebp - 0x55e4]
mov ecx, dword [eax + 0x88c0]
mov dword [ebp - 0x7560], ecx
mov eax, dword [ebp - 0x55e4]
mov ecx, dword [eax + 0x88c4]
mov dword [ebp - 0x755c], ecx
mov eax, dword [ebp - 0x55e4]
add eax, 0x8a06
push eax
lea ecx, [ebp - 0x7578]
push ecx
call fcn.0045eb30
add esp, 8
cmp dword [ebp - 0x755c], 0
je 0x4088cb
fild dword [ebp - 0x7560]
fiadd dword [ebp - 0x755c]
fcomp qword [0x48e058]
fnstsw ax
test ah, 5
jp 0x4088b7
fld1
fstp qword [ebp - 0x7554]
jmp 0x4088c9
fild dword [ebp - 0x7560]
fidiv dword [ebp - 0x755c]
fstp qword [ebp - 0x7554]
jmp 0x408900
fild dword [ebp - 0x7560]
fiadd dword [ebp - 0x755c]
fcomp qword [0x48e058]
fnstsw ax
test ah, 5
jp 0x4088ee
fld1
fstp qword [ebp - 0x7554]
jmp 0x408900
fild dword [ebp - 0x7560]
fdiv qword [0x48e050]
fstp qword [ebp - 0x7554]
lea eax, [ebp - 0x7544]
push eax
push 0x64
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 4]
call fcn.00408f90
mov word [ebp - 0x754c], ax
push 0x18
push 0
lea eax, [ebp - 0x1023c]
push eax
call fcn.0045f1b0
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x2c]
call fcn.00408e40
mov ecx, dword [eax]
mov dword [ebp - 0x1023c], ecx
mov eax, dword [ebp - 0x7568]
mov dword [ebp - 0x10238], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x10234], eax
push 0x18
lea eax, [ebp - 0x1023c]
push eax
lea ecx, [ebp - 0x55fc]
push ecx
call fcn.0045f360
add esp, 0xc
lea eax, [ebp - 0x1022c]
push eax
mov eax, dword [ebp - 0x10234]
cdq
push edx
push eax
mov ecx, dword [ebp - 0x10238]
xor edx, edx
push edx
push ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x2c]
call fcn.004157c0
push 0x14
mov ecx, dword [ebp - 0x14]
call fcn.00408e60
mov ecx, eax
call fcn.00408e20
push eax
lea eax, [ebp - 0x10238]
push eax
lea ecx, [ebp - 0x55f8]
push ecx
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0x2c]
call fcn.004156a0
call fcn.004121a0
add eax, 4
mov ecx, eax
call fcn.00411520
movzx eax, al
test eax, eax
jne 0x408b1b
lea ecx, [ebp - 0x146e4]
call fcn.00426ea0
mov byte [ebp - 4], 5
push 0
lea ecx, [ebp - 0x146e4]
call fcn.00427780
push 0x19
lea ecx, [ebp - 0x146e4]
call fcn.004277a0
mov dword [ebp - 0x14a04], 0
push 0x18c
push 0
lea eax, [ebp - 0x14a00]
push eax
call fcn.0045f1b0
add esp, 0xc
push 0x190
push 0
lea eax, [ebp - 0x14874]
push eax
call fcn.0045f1b0
add esp, 0xc
mov dword [ebp - 0x14a08], 0
lea eax, [ebp - 0x14a10]
push eax
call fcn.004121a0
add eax, 4
mov ecx, eax
call fcn.00412320
lea eax, [ebp - 0x14a18]
push eax
call fcn.004121a0
add eax, 4
mov ecx, eax
call fcn.004121d0
jmp 0x408a7d
lea ecx, [ebp - 0x14a10]
call fcn.00413a50
lea eax, [ebp - 0x14a18]
push eax
lea ecx, [ebp - 0x14a10]
call fcn.00412220
movzx ecx, al
test ecx, ecx
je 0x408adc
lea ecx, [ebp - 0x14a10]
call fcn.00412200
mov ecx, dword [ebp - 0x14a08]
mov edx, dword [eax]
mov dword [ebp + ecx*4 - 0x14a04], edx
lea ecx, [ebp - 0x14a10]
call fcn.00412200
mov ecx, dword [ebp - 0x14a08]
mov edx, dword [eax + 4]
mov dword [ebp + ecx*4 - 0x14874], edx
mov eax, dword [ebp - 0x14a08]
add eax, 1
mov dword [ebp - 0x14a08], eax
jmp 0x408a72
push 0x320
lea eax, [ebp - 0x14a04]
push eax
lea ecx, [ebp - 0x146e4]
call fcn.00427360
lea eax, [ebp - 0x146e4]
push eax
mov ecx, dword [ebp - 0x55e0]
push ecx
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0xc]
call fcn.00423970
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x146e4]
call fcn.00427330
jmp 0x408b4f
mov eax, dword [ebp - 0x55dc]
push eax
mov ecx, dword [ebp - 0x55e4]
add ecx, 0x8a44
push ecx
push str._DB_Login_failed__ID:__s__Result:__u_
push 3
push 0x5bf648
call fcn.00419fd0
add esp, 0x14
mov dword [ebp - 0x757c], 4
push 0x1f98
lea eax, [ebp - 0x757c]
push eax
lea ecx, [ebp - 0xba24]
call fcn.00427360
lea eax, [ebp - 0xba24]
push eax
mov ecx, dword [ebp - 0x55e0]
push ecx
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0xc]
call fcn.00423970
cmp dword [ebp - 0x757c], 6
jne 0x408c0c
push 0xffffff38
mov eax, dword [ebp - 0x55e4]
add eax, 0x8d14
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 0
mov eax, dword [ebp - 0x55e4]
add eax, 0x8d18
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 8]
cmp dword [ecx + 8], 0
je 0x408bf7
mov eax, dword [ebp - 0x55e4]
add eax, 0x88c8
push eax
mov ecx, dword [ebp - 0x55e4]
add ecx, 0x88ca
push ecx
mov edx, dword [ebp - 0x55e4]
add edx, 0x88cc
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 8]
mov ecx, dword [ecx + 8]
call fcn.00428a60
mov eax, dword [ebp - 0x55e4]
mov dword [eax + 0x8870], 0
jmp 0x408c9a
cmp dword [ebp - 0x757c], 0
jne 0x408c57
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 8]
cmp dword [ecx + 8], 0
je 0x408c55
mov eax, dword [ebp - 0x55e4]
add eax, 0x88c8
push eax
mov ecx, dword [ebp - 0x55e4]
add ecx, 0x88ca
push ecx
mov edx, dword [ebp - 0x55e4]
add edx, 0x88cc
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 8]
mov ecx, dword [ecx + 8]
call fcn.00428a60
jmp 0x408c9a
cmp dword [ebp - 0x757c], 2
jne 0x408c8a
mov eax, dword [ebp - 0x55e4]
mov ecx, dword [ebp - 0x55e4]
mov edx, dword [ecx + 0x8868]
mov dword [eax + 0x886c], edx
mov eax, dword [ebp - 0x55e4]
mov dword [eax + 0x8868], 0xffffffff
jmp 0x408c9a
mov eax, dword [ebp - 0x55e4]
mov dword [eax + 0x8868], 0xffffffff
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xba24]
call fcn.00427330
movzx eax, word [ebp - 0x1c]
add eax, 7
mov dword [ebp - 0x18], eax
jmp 0x408cf8
movzx eax, word [ebp - 0x1c]
test eax, eax
jge 0x408cdd
push str._CGameNetworkHandler::OnNetworkMsg__Invalid_Packet_Received__
push 3
push 0x5bf648
call fcn.00419fd0
add esp, 0xc
mov dword [ebp - 0x18], 0xffffffff
jmp 0x408cf8
push str._CGameNetworkHandler::OnNetworkMsg__Gutless_Packet_Received__
push 3
push 0x5bf648
call fcn.00419fd0
add esp, 0xc
mov dword [ebp - 0x18], 0
cmp dword [ebp + 0xc], 0x2710
je 0x408ddd
push 5
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0xc]
call fcn.00409380
cmp dword [eax + 0x8cf4], 0
jne 0x408ddd
push str._START__CGameNetworkHandler::OnNetworkMsg__Criticalsection_DebugInfo_Error______START_
push 3
push 0x5bf648
call fcn.00419fd0
add esp, 0xc
mov ecx, dword [ebp + 0x10]
call fcn.004277e0
movzx eax, al
push eax
push str.FIRST_CLASS_:__d
push 3
push 0x5bf648
call fcn.00419fd0
add esp, 0x10
mov ecx, dword [ebp + 0x10]
call fcn.00427800
movzx eax, al
push eax
push str.SECOND_CLASS_:__d
push 3
push 0x5bf648
call fcn.00419fd0
add esp, 0x10
mov ecx, dword [ebp + 0x10]
call fcn.00427820
movzx eax, al
push eax
push str.THIRD_CLASS_:__d
push 3
push 0x5bf648
call fcn.00419fd0
add esp, 0x10
push 6
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0xc]
call fcn.00409380
add eax, 0x88f6
push eax
push 0x48df04
push 3
push 0x5bf648
call fcn.00419fd0
add esp, 0x10
push str._END__CGameNetworkHandler::OnNetworkMsg__Criticalsection_DebugInfo_Error______END_
push 3
push 0x5bf648
call fcn.00419fd0
add esp, 0xc
mov dword [ebp - 0x18], 0xffffffff
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045ee62
mov esp, ebp
pop ebp
ret 0xc