Function at 0x459d50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x60b94e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x16c
mov edx, dword [esp + 0x180]
push ebx
push ebp
push esi
push edi
xor edi, edi
mov ebx, ecx
cmp edx, edi
mov dword [esp + 0x2c], ebx
je case.0x45a604.0
mov ebp, dword [esp + 0x18c]
mov al, byte [ebp]
inc ebp
mov byte [esp + 0x24], al
mov eax, dword [esp + 0x24]
and eax, 0xff
dec edx
cmp eax, 9
jg 0x45ac7a
je 0x45a5d0
mov ecx, eax
sub ecx, edi
je 0x45a570
sub ecx, 6
je 0x45a188
dec ecx
jne 0x45ac86
mov al, byte [ebp]
mov ecx, 1
test al, al
je 0x459df7
xor ecx, ecx
lea edx, [ebp + 2]
mov cl, byte [ebp + 1]
mov esi, ecx
mov ecx, 0x6b3dfc
push esi
push edx
push 0x699668
push str.Master_Server
call fcn.00405030
lea ecx, [esi + 2]
mov al, byte [ecx + ebp]
inc ecx
test al, al
je case.0x45a604.0
mov eax, dword [0x6abf00]
mov dword [esp + 0x10], eax
mov dword [esp + 0x184], 0x11
mov dword [esp + 0x20], eax
lea edx, [esp + 0x10]
mov byte [esp + 0x184], 0x12
push edx
push ecx
push ebp
call fcn.0045b380
lea ecx, [esp + 0x2c]
push ecx
push eax
push ebp
call fcn.0045b380
mov edx, dword [esp + 0x28]
add esp, 0x18
lea ecx, [esp + 0x10]
push edx
call fcn.005dd2ed
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x20]
push eax
call fcn.005dd2ed
lea ecx, [esp + 0xbc]
push ecx
mov ecx, 0x6b3dfc
call fcn.0045b280
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x188], 0x13
call fcn.005dcf25
lea ecx, [esp + 0xbc]
mov byte [esp + 0x184], 0x15
call fcn.005dd1b0
lea edx, [esp + 0x44]
push 8
push edx
push str.AutoUpdateNextView
push str.View
mov ecx, 0x6b3dfc
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
call fcn.00405650
lea eax, [esp + 0x30]
mov dword [esp + 0x30], edi
push eax
mov dword [esp + 0x38], edi
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push edi
push 0xa
push ecx
push edx
call fcn.00510160
push edi
push 0x3e8
push edx
push eax
call fcn.00510160
mov ebp, eax
mov eax, dword [esp + 0x48]
mov esi, edx
cmp esi, eax
jg 0x459f15
jl 0x459efb
cmp ebp, dword [esp + 0x44]
ja 0x459f15
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
call fcn.00510843
add esp, 8
test eax, eax
je 0x45a152
lea edx, [esp + 0x44]
add ebp, 0xf731400
push 8
push edx
adc esi, edi
push str.AutoUpdateNextView
push str.View
mov ecx, 0x6b3dfc
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], esi
call fcn.00405030
push ecx
lea eax, [esp + 0x14]
mov dword [esp + 0x28], esp
mov ecx, esp
push eax
call fcn.005dcf25
mov ecx, 0x6b3dfc
call fcn.0045b310
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
push edi
push ecx
push edx
lea ecx, [esp + 0x104]
call fcn.0046e110
lea ecx, [esp + 0xf8]
mov byte [esp + 0x184], 0x16
call fcn.005d937d
cmp eax, 1
jne 0x45a12a
lea ecx, [esp + 0x30]
call fcn.00405bc0
mov dword [esp + 0x30], 0x628d34
mov bl, 0x17
push str._update
lea ecx, [esp + 0x54]
mov byte [esp + 0x188], bl
call fcn.005dd21e
mov eax, dword [esp + 0x38]
push 0xffffffffffffffff
mov esi, eax
inc eax
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x18c], 0x18
call fcn.00405d20
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x50]
push eax
lea ecx, [ecx + esi*4]
call fcn.00405ec0
lea ecx, [esp + 0x50]
mov byte [esp + 0x184], bl
call fcn.005dd1b0
lea edx, [esp + 0x10]
lea ecx, [esp + 0x58]
push edx
call fcn.005dcf25
mov eax, dword [esp + 0x38]
push 0xffffffffffffffff
mov esi, eax
inc eax
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x18c], 0x19
call fcn.00405d20
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x58]
push eax
lea ecx, [ecx + esi*4]
call fcn.00405ec0
lea ecx, [esp + 0x58]
mov byte [esp + 0x184], bl
call fcn.005dd1b0
lea edx, [esp + 0x20]
lea ecx, [esp + 0x5c]
push edx
call fcn.005dcf25
mov eax, dword [esp + 0x38]
push 0xffffffffffffffff
mov esi, eax
inc eax
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x18c], 0x1a
call fcn.00405d20
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x5c]
push eax
lea ecx, [ecx + esi*4]
call fcn.00405ec0
lea ecx, [esp + 0x5c]
mov byte [esp + 0x184], bl
call fcn.005dd1b0
push ecx
lea ecx, [esp + 0x34]
mov edx, esp
mov dword [esp + 0x28], esp
push 1
push edx
call fcn.004f5eb0
push ecx
mov byte [esp + 0x18c], 0x1b
mov ecx, esp
mov dword [esp + 0x34], esp
push str.update.exe
call fcn.005dd21e
push ecx
mov ecx, 0x6bb390
mov eax, esp
mov dword [esp + 0x20], esp
push eax
mov byte [esp + 0x194], 0x1c
call fcn.0041a0b0
push ecx
mov byte [esp + 0x194], bl
mov ecx, esp
mov dword [esp + 0x64], esp
call fcn.00417070
push edi
mov ecx, 0x6bb390
call fcn.0043d170
mov dword [esp + 0x30], 0x628cf8
mov eax, dword [esp + 0x34]
mov byte [esp + 0x184], 0x1e
cmp eax, edi
je 0x45a12a
mov ecx, dword [esp + 0x38]
mov esi, eax
cmp ecx, edi
je 0x45a121
lea ebx, [ecx]
push edi
mov ecx, esi
call fcn.004927d0
add esi, 4
dec ebx
jne 0x45a10f
mov eax, dword [esp + 0x34]
push eax
call fcn.005dd7a4
add esp, 4
lea ecx, [esp + 0x154]
mov byte [esp + 0x184], 0x1f
call fcn.005dd1b0
lea ecx, [esp + 0xf8]
mov byte [esp + 0x184], 0x15
call fcn.005d8f7a
lea ecx, [esp + 0x1c]
mov byte [esp + 0x184], 0x12
call fcn.005dd1b0
lea ecx, [esp + 0x20]
mov byte [esp + 0x184], 0x11
call fcn.005dd1b0
mov dword [esp + 0x184], 0xffffffff
lea ecx, [esp + 0x10]
jmp 0x45b236
mov dword [esp + 0x10], edi
mov cl, byte [ebp]
mov byte [esp + 0x1c], cl
mov edx, dword [esp + 0x1c]
and edx, 0xff
mov esi, 1
push edx
push str.RecvBuddyQuery:__d_n
mov dword [esp + 0x18], esi
call fcn.005d4217
add esp, 8
lea eax, [esp + 0x30]
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push edi
push 0xa
push ecx
push edx
call fcn.00510160
push edi
push 0x3e8
push edx
push eax
call fcn.00510160
mov dword [ebx + 0x108], eax
mov al, byte [esp + 0x1c]
test al, al
mov dword [ebx + 0x10c], edx
je 0x45a21d
push 0xffffffffffffffff
push edi
lea ecx, [ebx + 0xe8]
mov dword [ebx + 0xfc], edi
call fcn.0045e9e0
mov dword [ebx + 0x110], 3
jmp 0x45a8b3
mov eax, dword [esp + 0x10]
mov edx, dword [ebx + 0xfc]
mov dword [ebx + 0x110], esi
mov ecx, dword [eax + ebp]
add eax, 4
cmp ecx, edx
mov dword [esp + 0x10], eax
jne case.0x45a604.0
cmp ecx, edi
jne 0x45a255
push 0xffffffffffffffff
push edi
lea ecx, [ebx + 0xe8]
call fcn.0045e9e0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + ebp]
add eax, 4
mov dword [ebx + 0xfc], ecx
mov dword [esp + 0x10], eax
mov ecx, dword [eax + ebp]
add eax, 4
cmp ecx, edi
mov dword [esp + 0x10], eax
jbe 0x45a8b3
mov dword [esp + 0x1c], ecx
jmp 0x45a285
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x2c]
mov ecx, dword [eax + ebp]
lea edi, [ebx + 0xe8]
mov dword [esp + 0x24], ecx
add eax, 4
push ecx
mov ecx, edi
mov dword [esp + 0x14], eax
call fcn.00459d20
mov esi, eax
cmp esi, 0xffffffff
jne 0x45a37d
mov eax, dword [0x6abf00]
mov dword [esp + 0xc8], eax
xor esi, esi
mov dword [esp + 0x184], 0x20
mov dword [esp + 0xcc], esi
mov dword [esp + 0xd0], esi
mov dword [esp + 0xd8], eax
lea ecx, [esp + 0xec]
mov byte [esp + 0x184], 0x21
mov dword [esp + 0xe0], 0xffffffff
mov word [esp + 0xe4], si
call fcn.0041a0a0
mov dword [esp + 0xdc], esi
mov esi, dword [edi + 8]
push 0xffffffffffffffff
mov ecx, edi
mov dword [esp + 0x188], 0x22
lea edx, [esi + 1]
push edx
call fcn.0045e9e0
lea eax, [esp + 0xc4]
lea ecx, [esi + esi*2]
push eax
mov eax, dword [edi + 4]
shl ecx, 4
add ecx, eax
call fcn.0045ef90
lea ecx, [esp + 0xec]
mov dword [esp + 0x184], 0x24
call fcn.005dd1b0
lea ecx, [esp + 0xd8]
mov byte [esp + 0x184], 0x23
call fcn.005dd1b0
lea ecx, [esp + 0xc8]
mov dword [esp + 0x184], 0xffffffff
call fcn.005dd1b0
mov eax, dword [ebx + 0xec]
mov ecx, dword [esp + 0x24]
lea esi, [esi + esi*2]
lea edx, [esp + 0x10]
shl esi, 4
add esi, eax
push edx
lea eax, [esp + 0x98]
push ebp
push eax
mov dword [esi], ecx
call fcn.0045b3f0
add esp, 0xc
push eax
lea ecx, [esi + 4]
mov dword [esp + 0x188], 0x25
call fcn.005dd29d
lea ecx, [esp + 0x94]
mov dword [esp + 0x184], 0xffffffff
call fcn.005dd1b0
lea ecx, [esp + 0x30]
xor edi, edi
push ecx
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov edx, dword [esp + 0x10]
push edi
push 0x3e8
push edi
mov eax, dword [edx + ebp]
push eax
call fcn.00510bf0
mov ecx, dword [esp + 0x34]
mov ebx, eax
mov dword [esp + 0x24], ebx
mov ebx, edx
mov edx, dword [esp + 0x30]
push edi
push 0xa
push ecx
push edx
call fcn.00510160
push edi
push 0x3e8
push edx
push eax
call fcn.00510160
mov ecx, dword [esp + 0x24]
sub eax, ecx
sbb edx, ebx
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
mov eax, dword [esp + 0x10]
add eax, 4
mov dword [esp + 0x10], eax
mov dl, byte [eax + ebp]
inc eax
test dl, dl
mov dword [esp + 0x10], eax
je 0x45a44e
mov eax, 1
jmp 0x45a450
xor eax, eax
test al, al
mov byte [esi + 0x10], al
je 0x45a558
lea eax, [esp + 0x10]
lea ecx, [esp + 0x9c]
push eax
push ebp
push ecx
call fcn.0045b3f0
add esp, 0xc
push eax
lea ecx, [esi + 0x14]
mov dword [esp + 0x188], 0x26
call fcn.005dd29d
or edi, 0xffffffff
lea ecx, [esp + 0x9c]
mov dword [esp + 0x184], edi
call fcn.005dd1b0
lea edx, [esp + 0x10]
lea eax, [esp + 0xa4]
push edx
push ebp
push eax
call fcn.0045b3f0
mov eax, dword [eax]
mov dword [esp + 0x190], 0x27
push eax
call fcn.004dcb70
add esp, 0x10
lea ecx, [esp + 0xa4]
mov dword [esi + 0x18], eax
mov dword [esp + 0x184], edi
call fcn.005dd1b0
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + ebp]
lea ecx, [esi + 0x1c]
push edx
call fcn.004fa390
mov eax, dword [esp + 0x10]
add eax, 4
mov dword [esp + 0x10], eax
mov ax, word [eax + ebp]
mov word [esi + 0x20], ax
mov eax, dword [esp + 0x10]
add eax, 2
mov dword [esp + 0x10], eax
mov cx, word [eax + ebp]
lea eax, [esp + 0x90]
mov word [esi + 0x24], cx
mov edx, dword [esp + 0x10]
add edx, 2
mov dword [esp + 0x10], edx
lea edx, [esp + 0x10]
push edx
push ebp
push eax
call fcn.0045b3f0
add esp, 0xc
push eax
lea ecx, [esi + 0x28]
mov dword [esp + 0x188], 0x28
call fcn.005dd29d
lea ecx, [esp + 0x90]
mov dword [esp + 0x184], edi
call fcn.005dd1b0
mov eax, dword [esp + 0x1c]
dec eax
mov dword [esp + 0x1c], eax
jne 0x45a27d
mov ebx, dword [esp + 0x2c]
jmp 0x45a8b3
cmp edx, 6
jne case.0x45a604.0
mov ecx, dword [ebp]
lea eax, [esp + 0x30]
mov dword [ebx + 0x180], ecx
mov dx, word [ebp + 4]
push eax
mov word [ebx + 0x184], dx
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push edi
push 0xa
push ecx
push edx
call fcn.00510160
push edi
push 0x3e8
push edx
push eax
call fcn.00510160
mov dword [ebx + 0x170], eax
mov dword [ebx + 0x174], edx
jmp case.0x45a604.0
push str.Recv_Managment_Packet_n
mov dword [esp + 0x18], edi
call fcn.005d4217
mov eax, dword [esp + 0x18]
add esp, 4
mov cl, byte [eax + ebp]
inc eax
mov byte [esp + 0x24], cl
mov ecx, dword [esp + 0x24]
and ecx, 0xff
mov dword [esp + 0x14], eax
cmp ecx, 9
ja case.0x45a604.7
jmp dword [ecx*4 + 0x45b258]
mov cl, byte [eax + ebp]
inc eax
cmp cl, 1
mov dword [esp + 0x14], eax
jne 0x45a758
mov edx, dword [0x6abf00]
mov dword [esp + 0x20], edx
mov esi, dword [eax + ebp]
add eax, 4
push esi
push str.Search_successful___Count:__d_n
mov dword [esp + 0x18c], 0x29
mov dword [esp + 0x1c], eax
call fcn.005d4217
add esp, 8
cmp esi, edi
jbe 0x45a733
lea edi, [ebx + 0x128]
mov dword [esp + 0x1c], esi
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x98]
mov esi, dword [eax + ebp]
add eax, 4
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
push ebp
push ecx
call fcn.0045b3f0
add esp, 0xc
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x188], 0x2a
call fcn.005dd29d
lea ecx, [esp + 0x98]
mov byte [esp + 0x184], 0x29
call fcn.005dd1b0
mov eax, dword [esp + 0x14]
mov dl, byte [eax + ebp]
inc eax
mov dword [esp + 0x14], eax
mov eax, dword [0x6abf00]
mov byte [esp + 0x1b], dl
mov dword [esp + 0x34], eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x184], 0x2b
push ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0x34], esi
call fcn.005dd29d
mov esi, dword [edi + 8]
mov dl, byte [esp + 0x1b]
push 0xffffffffffffffff
mov ecx, edi
lea eax, [esi + 1]
mov byte [esp + 0x3c], dl
push eax
call fcn.0045eb70
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x30]
lea ecx, [esi + esi*2]
lea esi, [edx + ecx*4]
lea edx, [esp + 0x34]
push edx
lea ecx, [esi + 4]
mov dword [esi], eax
call fcn.005dd29d
mov al, byte [esp + 0x38]
lea ecx, [esp + 0x34]
mov byte [esi + 8], al
mov byte [esp + 0x184], 0x29
call fcn.005dd1b0
mov eax, dword [esp + 0x1c]
dec eax
mov dword [esp + 0x1c], eax
jne 0x45a65b
push 0
push 4
push 0
lea ecx, [ebx + 0x13c]
call fcn.004f9d20
mov dword [esp + 0x184], 0xffffffff
lea ecx, [esp + 0x20]
jmp 0x45b236
cmp cl, 2
jne case.0x45a604.0
push str.Search_error_n
call fcn.005d4217
add esp, 4
jmp case.0x45a604.0
mov cl, byte [eax + ebp]
inc eax
cmp cl, 1
mov dword [esp + 0x14], eax
jne 0x45a7a5
push str.Add_successful_n
call fcn.005d4217
add esp, 4
push 0x40
push str.Buddylist_System
push str.Buddy_successful_added
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp case.0x45a604.0
cmp cl, 2
jne case.0x45a604.0
push str.Add_error_n
call fcn.005d4217
add esp, 4
push 0x30
push str.Buddylist_System
push str.Buddy_not_added
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp case.0x45a604.0
mov cl, byte [eax + ebp]
inc eax
cmp cl, 1
mov dword [esp + 0x14], eax
jne 0x45a8c9
push str.Delete_successful_n
call fcn.005d4217
mov eax, dword [esp + 0x18]
add esp, 4
lea ecx, [ebx + 0xe8]
mov ebp, dword [eax + ebp]
add eax, 4
push ebp
mov dword [esp + 0x18], eax
call fcn.00459d20
mov edi, eax
cmp edi, 0xffffffff
je 0x45a8b3
mov eax, dword [ebx + 0xf0]
lea esi, [edi + edi*2]
sub eax, edi
dec eax
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0xec]
shl esi, 4
mov dword [esp + 0x2c], esi
add esi, eax
mov dword [esp + 0x24], esi
xor ebp, ebp
lea ecx, [esi + 0x28]
mov dword [esp + 0x184], 0x2d
call fcn.005dd1b0
lea ecx, [esi + 0x14]
mov byte [esp + 0x184], 0x2c
call fcn.005dd1b0
lea ecx, [esi + 4]
mov dword [esp + 0x184], 0xffffffff
call fcn.005dd1b0
add esi, 0x30
mov ecx, ebp
dec ebp
mov dword [esp + 0x24], esi
test ecx, ecx
jne 0x45a83b
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x45a8ad
mov eax, dword [ebx + 0xec]
lea edx, [ecx + ecx*2]
shl edx, 4
lea ecx, [edi + edi*2 + 3]
push edx
mov edx, dword [esp + 0x30]
shl ecx, 4
add ecx, eax
add eax, edx
push ecx
push eax
call fcn.00510210
add esp, 0xc
dec dword [ebx + 0xf0]
push 0
push 0
push 0
lea ecx, [ebx + 0x118]
call fcn.004f9d20
jmp case.0x45a604.0
cmp cl, 2
jne case.0x45a604.0
push str.Delete_error_n
call fcn.005d4217
add esp, 4
jmp case.0x45a604.0
mov ecx, dword [0x6abf00]
mov dword [esp + 0x2c], ecx
mov ecx, dword [eax + ebp]
add eax, 4
cmp ecx, edi
mov dword [esp + 0x184], 0x2e
mov dword [esp + 0x14], eax
jbe 0x45abac
mov dword [esp + 0x24], ecx
jmp 0x45a915
mov eax, dword [esp + 0x14]
mov esi, dword [eax + ebp]
add eax, 4
lea edx, [esp + 0x14]
mov dword [esp + 0x14], eax
push edx
lea eax, [esp + 0xc4]
push ebp
push eax
call fcn.0045b3f0
add esp, 0xc
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x188], 0x2f
call fcn.005dd29d
lea ecx, [esp + 0xc0]
mov byte [esp + 0x184], 0x2e
call fcn.005dd1b0
mov ecx, dword [0x6abf00]
mov dword [esp + 0x34], ecx
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x34]
push edx
mov byte [esp + 0x188], 0x30
mov dword [esp + 0x34], esi
call fcn.005dd29d
mov ecx, dword [ebx + 0x150]
mov esi, ecx
mov dword [esp + 0x20], esi
inc esi
test esi, esi
jne 0x45a9df
mov esi, dword [ebx + 0x14c]
test esi, esi
je 0x45a9cc
mov eax, ecx
dec ecx
test eax, eax
je 0x45a9b3
lea edi, [ecx + 1]
push 0
mov ecx, esi
call fcn.0045f020
add esi, 8
dec edi
jne 0x45a9a4
mov eax, dword [ebx + 0x14c]
push eax
call fcn.005dd7a4
add esp, 4
mov dword [ebx + 0x14c], 0
xor eax, eax
mov dword [ebx + 0x154], eax
mov dword [ebx + 0x150], eax
jmp 0x45ab6c
mov eax, dword [ebx + 0x14c]
test eax, eax
jne 0x45aa5c
lea edi, [esi*8]
push edi
call fcn.005dd77b
mov edx, eax
mov ecx, edi
mov dword [ebx + 0x14c], edx
mov dword [esp + 0x20], edx
mov edi, edx
mov edx, ecx
xor eax, eax
add esp, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x54], edi
test edi, edi
mov byte [esp + 0x184], 0x31
je 0x45aa34
mov ecx, edi
call fcn.0045b5d0
add edi, 8
dec esi
mov byte [esp + 0x184], 0x30
mov dword [esp + 0x1c], edi
jne 0x45aa1d
mov eax, dword [esp + 0x20]
inc eax
mov dword [ebx + 0x154], eax
mov dword [ebx + 0x150], eax
jmp 0x45ab6c
mov edi, dword [ebx + 0x154]
cmp esi, edi
jg 0x45aab6
cmp ecx, esi
jge 0x45aa86
sub esi, ecx
lea ecx, [eax + ecx*8]
push esi
push ecx
call fcn.00451930
mov eax, dword [esp + 0x20]
inc eax
mov dword [ebx + 0x150], eax
jmp 0x45ab6c
jle 0x45aaa6
sub ecx, esi
lea esi, [eax + esi*8]
mov edx, ecx
dec ecx
test edx, edx
je 0x45aaa6
lea edi, [ecx + 1]
push 0
mov ecx, esi
call fcn.0045f020
add esi, 8
dec edi
jne 0x45aa97
mov eax, dword [esp + 0x20]
inc eax
mov dword [ebx + 0x150], eax
jmp 0x45ab6c
mov eax, dword [ebx + 0x158]
test eax, eax
jne 0x45aae3
mov eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x45aad7
mov eax, 4
jmp 0x45aae3
cmp eax, 0x400
jle 0x45aae3
mov eax, 0x400
add eax, edi
cmp esi, eax
mov dword [esp + 0x10], eax
jl 0x45aaf1
mov dword [esp + 0x10], esi
mov ecx, dword [esp + 0x10]
lea edx, [ecx*8]
push edx
call fcn.005dd77b
mov ecx, dword [ebx + 0x150]
mov esi, dword [ebx + 0x14c]
shl ecx, 3
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add esp, 4
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x150]
lea esi, [edx + 1]
mov edx, esi
mov dword [esp + 0x1c], eax
sub edx, ecx
lea eax, [eax + ecx*8]
push edx
push eax
call fcn.00451930
mov eax, dword [ebx + 0x14c]
push eax
call fcn.005dd7a4
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
add esp, 4
mov dword [ebx + 0x14c], ecx
mov dword [ebx + 0x150], esi
mov dword [ebx + 0x154], edx
mov eax, dword [ebx + 0x14c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x30]
lea eax, [eax + ecx*8]
mov dword [eax], edx
lea ecx, [eax + 4]
lea eax, [esp + 0x34]
push eax
call fcn.005dd29d
lea ecx, [esp + 0x34]
mov byte [esp + 0x184], 0x2e
call fcn.005dd1b0
mov eax, dword [esp + 0x24]
dec eax
mov dword [esp + 0x24], eax
jne 0x45a911
push 0
push 3
push 0
lea ecx, [ebx + 0x118]
call fcn.004f9d20
mov dword [esp + 0x184], 0xffffffff
lea ecx, [esp + 0x2c]
jmp 0x45b236
mov cl, byte [eax + ebp]
inc eax
cmp cl, 1
mov dword [esp + 0x14], eax
jne 0x45ac2a
mov ecx, dword [ebp + eax]
add ebp, eax
mov dword [ebx + 0x15c], ecx
lea edx, [ebx + 0x160]
mov ecx, dword [ebp]
add eax, 0x10
mov dword [edx], ecx
mov ecx, dword [ebp + 4]
mov dword [edx + 4], ecx
mov ecx, dword [ebp + 8]
mov dword [edx + 8], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x14], eax
mov dword [edx + 0xc], ecx
mov ecx, ebx
call fcn.0045c5e0
push 1
push 6
push edi
lea ecx, [ebx + 0x118]
call fcn.004f9d20
jmp case.0x45a604.0
cmp cl, 2
jne case.0x45a604.0
mov dl, byte [eax + ebp]
inc eax
mov byte [esp + 0x24], dl
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
lea ecx, [ebx + 0x118]
and eax, 0xff
push eax
push 6
push edi
call fcn.004f9d20
jmp case.0x45a604.0
mov ecx, ebx
call fcn.0045c590
jmp case.0x45a604.0
push str.Unknown_Managment_Command_n
call fcn.005d4217
add esp, 4
jmp case.0x45a604.0
cmp eax, 0xa
je 0x45acb9
cmp eax, 0xff
je 0x45ac99
push eax
push str.Unknown_Masterserver_packet__Type:_d__n
call fcn.005d4217
add esp, 8
jmp case.0x45a604.0
push 0x10
push str.Please_update_your_HLSW_version
push str.Your_version_is_outdated
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp case.0x45a604.0
cmp edx, 0xc
jb case.0x45a604.0
mov ecx, dword [0x6abf00]
mov dword [esp + 0x10], edi
mov dword [esp + 0x6c], ecx
lea ecx, [esp + 0x70]
call fcn.0041a0a0
lea ecx, [esp + 0x74]
call fcn.0041a0a0
lea edx, [esp + 0x4e]
lea ecx, [esp + 0x80]
push edx
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], edi
call fcn.00482bc0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x184], edi
mov ecx, dword [eax + ebp]
add eax, 4
mov dword [esp + 0x60], ecx
mov dword [esp + 0x10], eax
mov edx, dword [eax + ebp]
add eax, 4
mov dword [esp + 0x64], edx
mov dword [esp + 0x10], eax
mov ecx, dword [eax + ebp]
add eax, 4
lea edx, [esp + 0x10]
mov dword [esp + 0x10], eax
push edx
lea eax, [esp + 0xa4]
push ebp
push eax
mov dword [esp + 0x74], ecx
call fcn.0045b3f0
add esp, 0xc
push eax
lea ecx, [esp + 0x70]
mov byte [esp + 0x188], 1
call fcn.005dd29d
lea ecx, [esp + 0xa0]
mov byte [esp + 0x184], 0
call fcn.005dd1b0
lea ecx, [esp + 0x6c]
call fcn.005dd6b9
lea ecx, [esp + 0x10]
lea edx, [esp + 0xac]
push ecx
push ebp
push edx
call fcn.0045b3f0
add esp, 0xc
push eax
lea ecx, [esp + 0x74]
mov byte [esp + 0x188], 2
call fcn.005dd29d
lea ecx, [esp + 0xac]
mov byte [esp + 0x184], 0
call fcn.005dd1b0
lea eax, [esp + 0xa8]
push 4
push eax
lea ecx, [esp + 0x78]
call fcn.00413090
mov eax, dword [eax]
push str.URL:
push eax
call fcn.00510843
add esp, 8
lea ecx, [esp + 0xa8]
test eax, eax
sete byte [esp + 0x1b]
call fcn.005dd1b0
mov al, byte [esp + 0x1b]
test al, al
je 0x45aeb4
lea ecx, [esp + 0xb0]
push 4
push ecx
lea ecx, [esp + 0x78]
call fcn.00413020
push eax
lea ecx, [esp + 0x74]
mov byte [esp + 0x188], 3
call fcn.005dd29d
lea ecx, [esp + 0xb0]
mov byte [esp + 0x184], 0
call fcn.005dd1b0
push 0x2c
lea ecx, [esp + 0x74]
call fcn.005dd65e
mov esi, eax
cmp esi, 0xffffffff
je 0x45aeb4
lea edx, [esi + 1]
lea eax, [esp + 0xb8]
push edx
push eax
lea ecx, [esp + 0x78]
call fcn.00413020
push eax
lea ecx, [esp + 0x78]
mov byte [esp + 0x188], 4
call fcn.005dd29d
lea ecx, [esp + 0xb8]
mov byte [esp + 0x184], 0
call fcn.005dd1b0
lea ecx, [esp + 0xb4]
push esi
push ecx
lea ecx, [esp + 0x78]
call fcn.00413090
push eax
lea ecx, [esp + 0x74]
mov byte [esp + 0x188], 5
call fcn.005dd29d
lea ecx, [esp + 0xb4]
mov byte [esp + 0x184], 0
call fcn.005dd1b0
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + ebp]
add ecx, 4
cmp eax, edi
mov dword [esp + 0x10], ecx
jle 0x45b0b8
mov esi, eax
lea ecx, [esp + 0x100]
mov dword [esp + 0xf8], 0xffffffff
mov word [esp + 0xfc], di
call fcn.00403f90
lea ecx, [esp + 0x110]
mov byte [esp + 0x184], 6
call fcn.00403f90
lea ecx, [esp + 0x11c]
mov byte [esp + 0x184], 7
call fcn.00403f90
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0xf8]
mov byte [esp + 0x184], 8
mov eax, dword [edx + ebp]
push eax
call fcn.004fa390
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x10]
add eax, 4
push edx
mov dword [esp + 0x14], eax
push ebp
mov cx, word [eax + ebp]
add eax, 2
mov dword [esp + 0x18], eax
lea eax, [esp + 0x160]
push eax
mov word [esp + 0x108], cx
call fcn.0045b440
add esp, 0xc
lea ecx, [esp + 0x100]
mov byte [esp + 0x184], 9
cmp eax, ecx
je 0x45af8e
mov ecx, dword [eax + 4]
mov eax, dword [eax]
lea edx, [esp + 0x1b]
push edx
push ecx
push eax
lea ecx, [esp + 0x10c]
call fcn.0041cfd0
lea ecx, [esp + 0x158]
mov byte [esp + 0x184], 8
call fcn.00402ab0
mov eax, dword [esp + 0x10]
xor ecx, ecx
lea edx, [esp + 0x10]
mov cl, byte [eax + ebp]
inc eax
mov dword [esp + 0x10], eax
push edx
lea eax, [esp + 0x174]
push ebp
push eax
mov dword [esp + 0x118], ecx
call fcn.0045b440
add esp, 0xc
lea ecx, [esp + 0x110]
mov byte [esp + 0x184], 0xa
cmp eax, ecx
je 0x45aff8
mov ecx, dword [eax + 4]
mov eax, dword [eax]
lea edx, [esp + 0x4f]
push edx
push ecx
push eax
lea ecx, [esp + 0x11c]
call fcn.0041cfd0
lea ecx, [esp + 0x170]
mov byte [esp + 0x184], 8
call fcn.00402ab0
lea eax, [esp + 0x10]
lea ecx, [esp + 0x164]
push eax
push ebp
push ecx
call fcn.0045b440
add esp, 0xc
lea edx, [esp + 0x11c]
mov byte [esp + 0x184], 0xb
cmp eax, edx
je 0x45b04d
mov ecx, dword [eax + 4]
mov eax, dword [eax]
lea edx, [esp + 0x4d]
push edx
push ecx
push eax
lea ecx, [esp + 0x128]
call fcn.0041cfd0
lea ecx, [esp + 0x164]
mov byte [esp + 0x184], 8
call fcn.00402ab0
lea eax, [esp + 0xf8]
lea ecx, [esp + 0x80]
push eax
call fcn.0045cb10
lea ecx, [esp + 0x11c]
mov byte [esp + 0x184], 0xd
call fcn.004207d0
lea ecx, [esp + 0x110]
mov byte [esp + 0x184], 0xc
call fcn.004207d0
lea ecx, [esp + 0x100]
mov byte [esp + 0x184], 0
call fcn.00402ab0
dec esi
jne 0x45aecc
mov eax, dword [ebx + 0xc8]
lea ebp, [ebx + 0xc8]
mov esi, dword [eax]
cmp esi, eax
je 0x45b131
mov ecx, dword [esp + 0x60]
cmp dword [esi + 8], ecx
je 0x45b0db
mov esi, dword [esi]
cmp esi, eax
jne 0x45b0ce
jmp 0x45b131
mov dword [esi + 8], ecx
mov ecx, dword [esp + 0x64]
mov dword [esi + 0xc], ecx
mov edx, dword [esp + 0x68]
lea eax, [esp + 0x6c]
lea ecx, [esi + 0x14]
push eax
mov dword [esi + 0x10], edx
call fcn.005dd29d
lea ecx, [esp + 0x70]
push ecx
lea ecx, [esi + 0x18]
call fcn.00405ec0
lea edx, [esp + 0x74]
lea ecx, [esi + 0x1c]
push edx
call fcn.00405ec0
mov eax, dword [esp + 0x78]
lea edx, [esp + 0x80]
mov dword [esi + 0x20], eax
mov ecx, dword [esp + 0x7c]
mov dword [esi + 0x24], ecx
push edx
lea ecx, [esi + 0x28]
call fcn.00459580
cmp esi, dword [ebp]
jne 0x45b155
lea eax, [esp + 0x60]
push eax
push ecx
push esp
mov ecx, ebp
call fcn.0045c680
lea ecx, [esp + 0x5c]
push ecx
mov ecx, ebp
call fcn.0045cb60
mov edx, dword [ebp]
mov esi, dword [edx]
lea eax, [esp + 0x24]
lea ecx, [ebx + 0xcc]
push eax
add esi, 8
call fcn.004bfb70
mov eax, dword [esp + 0x24]
cmp eax, edi
je 0x45b1b6
mov ecx, dword [eax + 8]
mov edx, dword [esi]
cmp edx, ecx
ja 0x45b18b
cmp ecx, dword [esi + 4]
ja 0x45b18b
mov dword [eax + 0x1c], esi
mov ecx, dword [esp + 0x24]
mov byte [ecx + 0x18], 0
jmp 0x45b19b
cmp dword [eax + 0x1c], esi
jne 0x45b19f
mov dword [eax + 0x1c], edi
mov edx, dword [esp + 0x24]
mov byte [edx + 0x18], 0
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
cmp eax, edi
jne 0x45b1ae
lea ecx, [esp + 0x24]
call fcn.0045d330
cmp eax, edi
mov dword [esp + 0x24], eax
jne 0x45b170
lea eax, [esp + 0x44]
mov dword [esp + 0x44], edi
push eax
mov dword [esp + 0x4c], edi
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
push edi
push 0xa
push ecx
push edx
call fcn.00510160
push edi
push 0x3e8
push edx
push eax
call fcn.00510160
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], edx
lea ecx, [esp + 0x80]
mov dword [esp + 0x184], 0x10
call fcn.004450f0
lea ecx, [esp + 0x74]
mov byte [esp + 0x184], 0xf
call fcn.005dd1b0
lea ecx, [esp + 0x70]
mov byte [esp + 0x184], 0xe
call fcn.005dd1b0
mov dword [esp + 0x184], 0xffffffff
lea ecx, [esp + 0x6c]
call fcn.005dd1b0
mov ecx, dword [esp + 0x17c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x178
ret 8