Function at 0x4a342f
Capabilities:
Encode data using xor

Disassembly:
push ebp
sub esp, 0x6c
mov eax, 0x675661
call fcn.00629210
sub esp, 0x314
push ebx
push esi
mov esi, dword [ebp + 0x78]
mov ebx, ecx
push edi
push 0x14
push 0x6a3eb8
mov ecx, esi
mov dword [ebp + 0x48], ebx
mov byte [ebp + 0x5f], 0
call fcn.0045974a
mov dword [ebp + 0x60], eax
test eax, eax
jne 0x4a346e
xor al, al
jmp 0x4a5673
cmp byte [ebp + 0x7c], 0
jne 0x4a3490
test byte [ebx + 0x345], 1
jne 0x4a3490
push eax
lea ecx, [ebx + 8]
call fcn.00425be1
test al, al
jne 0x4a3505
mov byte [ebp + 0x5f], 1
jmp 0x4a3505
lea edi, [ebx + 8]
mov esi, 0x771a94
push edi
lea eax, [ebp + 0x6c]
mov ecx, esi
push eax
call fcn.0048bfb6
mov eax, dword [ebp + 0x6c]
cmp eax, dword [0x771a94]
je 0x4a34fa
push edi
mov ecx, esi
call fcn.004b3009
mov esi, dword [ebp + 0x60]
lea eax, [ebp - 0x1b8]
push 5
pop ecx
rep movsd dword es:[edi], dword [esi]
push 5
pop ecx
lea esi, [ebx + 8]
lea edi, [ebp - 0x1b8]
rep movsd dword es:[edi], dword [esi]
mov esi, 0x771a94
mov dword [ebp - 0x1a4], ebx
push eax
mov ecx, esi
call fcn.0049053c
push eax
add eax, 0x10
mov ecx, esi
push eax
push 0
lea eax, [ebp + 0x24]
push eax
call fcn.00491889
jmp 0x4a3502
mov esi, dword [ebp + 0x60]
push 5
pop ecx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0x78]
push 0
push 0x6a1884
lea eax, [ebp - 0x1a0]
mov ecx, esi
push eax
call fcn.00459834
and dword [ebp - 4], 0
xor eax, eax
and dword [ebp + 0x14], 0
mov dword [ebp + 0x18], 7
mov word [ebp + 4], ax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x190], eax
je 0x4a354d
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x1a0]
push eax
lea ecx, [ebp + 4]
call fcn.004239d7
push 0
push 0x6a4cc4
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
call fcn.00459834
xor edi, edi
mov byte [ebp - 4], 2
push edi
push str.tracker_not_tracking:__s
mov ecx, esi
call fcn.00459601
test eax, eax
setne al
test al, al
je 0x4a35a2
lea eax, [ebp + 4]
push eax
lea eax, [ebp - 0x1e8]
push eax
call fcn.0046dffc
push eax
lea ecx, [ebp + 4]
call fcn.004232e6
push edi
push 1
lea ecx, [ebp - 0x1e8]
call fcn.0042386b
cmp byte [ebp + 0x7c], 0
je 0x4a3698
sub esp, 0x18
lea eax, [ebp + 4]
mov ecx, esp
push eax
call fcn.00423207
mov ecx, dword [ebx + 0xd8]
call fcn.004fbaf0
cmp dword [ebp - 0x14], edi
je 0x4a3652
sub esp, 0x18
lea eax, [ebp - 0x24]
mov ecx, esp
push eax
call fcn.00423207
mov ecx, dword [ebx + 0xd8]
call fcn.004fbb80
test al, al
jne 0x4a37b6
mov byte [ebp + 0x5e], 1
call fcn.00472fb7
push 8
pop eax
cmp dword [ebp + 0x18], eax
mov eax, dword [ebp + 4]
mov byte [ebp - 4], 3
jae 0x4a360a
lea eax, [ebp + 4]
push eax
lea eax, [ebp - 0x200]
push eax
call fcn.004cd266
push eax
lea ecx, [ebp - 0x24]
call fcn.004232e6
push edi
push 1
lea ecx, [ebp - 0x200]
call fcn.0042386b
mov byte [ebp + 0x5e], 0
call fcn.00472ff8
sub esp, 0x18
lea eax, [ebp - 0x24]
mov ecx, esp
push eax
call fcn.00423207
mov ecx, dword [ebx + 0xd8]
call fcn.004fbb80
jmp 0x4a368f
mov byte [ebp + 0x33], 1
call fcn.00472fb7
mov ecx, dword [ebp + 4]
push 8
pop eax
mov byte [ebp - 4], 5
cmp dword [ebp + 0x18], eax
jae 0x4a366d
lea ecx, [ebp + 4]
sub esp, 0x18
mov eax, esp
push ecx
push eax
call fcn.004cd266
mov ecx, dword [ebx + 0xd8]
call fcn.004fbb80
push 6
pop eax
mov byte [ebp - 4], al
call fcn.00472ff8
mov byte [ebp - 4], 2
jmp 0x4a37b6
and dword [ebp - 0x2c], edi
xor eax, eax
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
mov byte [ebp - 4], 7
cmp dword [ebp - 0x14], eax
jne 0x4a3706
mov byte [ebp + 0x32], 1
call fcn.00472fb7
push 8
pop eax
cmp dword [ebp + 0x18], eax
mov byte [ebp - 4], al
mov eax, dword [ebp + 4]
jae 0x4a36cb
lea eax, [ebp + 4]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004cd266
push eax
lea ecx, [ebp - 0x3c]
call fcn.004232e6
push 0
push 1
lea ecx, [ebp - 0x218]
call fcn.0042386b
mov byte [ebp - 4], 9
call fcn.00472ff8
cmp dword [ebp - 0x14], 0
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 7
je 0x4a3709
lea eax, [ebp - 0x24]
sub esp, 0x18
mov ecx, esp
mov dword [ebp + 0x44], esp
push eax
call fcn.00423207
sub esp, 0x18
mov byte [ebp - 4], 0xa
lea eax, [ebp + 4]
mov ecx, esp
push eax
call fcn.00423207
mov byte [ebp - 4], 7
mov ecx, dword [ebx + 0xd8]
call fcn.004fbd20
mov eax, dword [ebx + 0xd8]
cmp dword [eax + 0x50], 0
jne 0x4a37a6
mov byte [ebp + 0x3f], 1
call fcn.00472fb7
push 8
pop eax
cmp dword [ebp + 0x18], eax
mov eax, dword [ebp + 4]
mov byte [ebp - 4], 0xb
jae 0x4a375f
lea eax, [ebp + 4]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.004cd266
push eax
lea ecx, [ebp - 0x3c]
call fcn.004232e6
push 0
push 1
lea ecx, [ebp - 0x230]
call fcn.0042386b
mov byte [ebp + 0x3f], 0
call fcn.00472ff8
sub esp, 0x18
lea eax, [ebp - 0x3c]
mov ecx, esp
push eax
call fcn.00423207
mov ecx, dword [ebx + 0xd8]
call fcn.004fbb80
push 0
push 1
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call fcn.0042386b
push 0
push 0x1000
mov ecx, ebx
call fcn.0049cbcd
and dword [ebp + 0x2c], 0
lea eax, [ebp + 0x2c]
push eax
push 0x69cc3c
mov ecx, esi
call fcn.0045978b
mov edi, eax
test edi, edi
je 0x4a3813
cmp dword [ebp + 0x2c], 0
jbe 0x4a3813
push 0x310
call fcn.006291d8
pop ecx
mov dword [ebp + 0x44], eax
mov byte [ebp - 4], 0xd
test eax, eax
je 0x4a3807
push dword [ebp + 0x2c]
mov ecx, eax
push edi
call fcn.0051b35c
jmp 0x4a3809
xor eax, eax
mov byte [ebp - 4], 2
mov dword [ebx + 0x568], eax
push 0
push 0x6a4ccc
mov ecx, esi
call fcn.00459601
push 0
test eax, eax
mov ecx, esi
push 0
setne al
push 0x6a4cf0
mov byte [ebx + 0x750], al
call fcn.0045959a
push 0
push 0
push 0x6a4284
mov ecx, esi
mov dword [ebx + 0x28c], eax
mov dword [ebx + 0x290], edx
call fcn.0045959a
mov ecx, ebx
mov dword [ebx + 0x294], eax
mov dword [ebx + 0x298], edx
call fcn.004ab68b
push 0
push 0
push 0x6a4cfc
mov ecx, esi
call fcn.0045959a
push 0
push str.tracker_request:__s
mov ecx, esi
mov dword [ebx + 0x29c], eax
mov dword [ebx + 0x2a0], edx
call fcn.00459601
push 0
push 0x6a4d78
mov ecx, esi
mov byte [ebx + 0x14f], al
call fcn.00459601
test eax, eax
mov al, byte [ebx + 0x143]
push 1
setne cl
and al, 0xfb
shl cl, 2
or cl, al
mov byte [ebx + 0x143], cl
mov ecx, esi
push str.for_tracker__s
call fcn.00459601
push 0xffffffffffffffff
push 0x6a51e4
mov ecx, esi
mov byte [ebx + 0x150], al
call fcn.00459601
mov esi, dword [ebx + 0xcc]
mov ecx, esi
mov dword [ebx + 0x13c], eax
mov edi, dword [esi]
call dword [edi + 0x2c]
mov ecx, dword [ebp + 0x78]
push eax
push 0x6a4d98
call fcn.00459601
push eax
mov ecx, esi
call dword [edi + 0x110]
mov esi, dword [ebp + 0x78]
mov ecx, esi
push 0
push 0x6a4d9c
call fcn.00459601
mov dword [ebx + 0x15c], eax
test eax, eax
jns 0x4a3934
mov dword [ebx + 0x15c], 1
jmp 0x4a3941
push 5
pop ecx
cmp eax, ecx
jle 0x4a3941
mov dword [ebx + 0x15c], ecx
push 0xffffffffffffffff
push 0x6a4da4
mov ecx, esi
call fcn.00459645
mov dword [ebp + 0x64], eax
test eax, eax
je 0x4a3990
mov ecx, eax
call fcn.0045952c
cmp eax, 5
jne 0x4a3990
lea eax, [ebx + 0x160]
xor edi, edi
mov ebx, dword [ebp + 0x64]
mov dword [ebp + 0x60], eax
push 0
push edi
mov ecx, ebx
call fcn.00459624
mov ecx, dword [ebp + 0x60]
inc edi
mov dword [ecx], eax
add ecx, 4
mov dword [ebp + 0x60], ecx
cmp edi, 5
jl 0x4a3970
mov ebx, dword [ebp + 0x48]
jmp 0x4a399d
xor eax, eax
lea edi, [ebx + 0x160]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 1
push 0x6a4dac
mov ecx, esi
call fcn.00459601
test eax, eax
mov al, byte [ebx + 0x144]
push 0
setne cl
and al, 0xfd
add cl, cl
or cl, al
mov byte [ebx + 0x144], cl
mov ecx, esi
push 0x6a4d18
call fcn.00459601
cdq
mov dword [ebx + 0x12c], eax
xor eax, eax
mov dword [ebx + 0x130], edx
mov ecx, eax
mov dword [ebp - 0x50], eax
lea edx, [ebp - 0x50]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebx + ecx*4 + 0x160]
cmp eax, dword [edx + ecx*4]
jne 0x4a3a3c
inc ecx
cmp ecx, 5
jne 0x4a39f3
call fcn.0063ccbd
cdq
mov ecx, 0xc8
idiv ecx
push 0
mov eax, edx
cdq
mov edi, eax
mov esi, edx
sub edi, 0xe10
sbb esi, 0
call fcn.0048f232
add eax, edi
mov dword [ebx + 0x174], eax
adc edx, esi
mov esi, dword [ebp + 0x78]
mov dword [ebx + 0x178], edx
push 0
push 0x6a4f84
lea eax, [ebp - 0x188]
mov ecx, esi
push eax
call fcn.00459834
cmp dword [ebp - 0x178], 0
mov byte [ebp - 4], 0xe
je 0x4a3a7a
sub esp, 0x18
lea eax, [ebp - 0x188]
mov ecx, esp
push eax
call fcn.00423207
mov ecx, dword [ebx + 0xd8]
call fcn.004fba14
push 0
push 0x6a4fb8
mov ecx, esi
call fcn.0045978b
mov edi, eax
test edi, edi
je 0x4a3aa2
push edi
call fcn.0040a79e
pop ecx
push eax
push edi
lea ecx, [ebx + 0x46c]
call fcn.0040a517
push 0
push 0x6a06a4
mov ecx, esi
call fcn.0045978b
test eax, eax
je 0x4a3af1
push eax
lea ecx, [ebp - 0x110]
call fcn.0040a58f
lea ecx, [ebx + 0x488]
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x110]
cmp ecx, eax
je 0x4a3ade
push 0xffffffffffffffff
push 0
push eax
call fcn.0040aaae
push 0
push 1
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 0xe
call fcn.0040abbf
push 0
push 0x6a4fc4
mov ecx, esi
call fcn.00459601
push 0
push 0x6a0994
mov ecx, esi
mov dword [ebx + 0x4a0], eax
call fcn.0045978b
mov edi, eax
test edi, edi
je 0x4a3b2d
push edi
call fcn.0040a79e
pop ecx
push eax
push edi
lea ecx, [ebx + 0x454]
call fcn.0040a517
push 0
push 0x6a4f8c
lea eax, [ebp - 0xd8]
mov ecx, esi
push eax
call fcn.00459834
cmp dword [ebp - 0xc8], 0
mov byte [ebp - 4], 0x10
je 0x4a3b69
lea ecx, [ebx + 0x510]
lea eax, [ebp - 0xd8]
cmp ecx, eax
je 0x4a3b69
push 0xffffffffffffffff
push 0
push eax
call fcn.004239d7
push 0
push str.Finished_receiving_metadata_for__s_in__d_seconds
lea eax, [ebp - 0x170]
mov ecx, esi
push eax
call fcn.00459834
cmp dword [ebp - 0x160], 0
mov byte [ebp - 4], 0x11
je 0x4a3ba3
sub esp, 0x18
lea eax, [ebp - 0x170]
mov ecx, esp
push eax
call fcn.00423207
mov ecx, ebx
call fcn.004ae80d
push 0
push 0x6a4fa4
lea eax, [ebp - 0xc0]
mov ecx, esi
push eax
call fcn.00459834
cmp dword [ebp - 0xb0], 0
push 0x12
pop eax
mov byte [ebp - 4], al
je 0x4a3be1
lea ecx, [ebx + 0x4e0]
lea eax, [ebp - 0xc0]
cmp ecx, eax
je 0x4a3be1
push 0xffffffffffffffff
push 0
push eax
call fcn.004239d7
push 0
push 0x6a4fb0
mov ecx, esi
call fcn.0045978b
mov edi, eax
test edi, edi
je 0x4a3c0e
cmp byte [edi], 0
je 0x4a3c0e
push edi
call fcn.0040a79e
pop ecx
push eax
push edi
lea ecx, [ebx + 0x4f8]
call fcn.0040a517
push 0
push 0x6a5004
mov ecx, esi
call fcn.00459601
push 0
push 0x6a500c
mov ecx, esi
mov dword [ebx + 0x528], eax
call fcn.00459601
push 0
push 0x6a5014
mov ecx, esi
mov dword [ebx + 0x52c], eax
call fcn.00459601
push 0
push 0x6a5020
mov ecx, esi
mov dword [ebx + 0x530], eax
call fcn.00459601
push 0
push 0x6a5028
mov ecx, esi
mov dword [ebx + 0x534], eax
call fcn.00459601
push 0
push 0x6a5030
mov ecx, esi
mov dword [ebx + 0x538], eax
call fcn.00459601
mov cl, byte [ebx + 0x14c]
xor cl, al
and cl, 1
xor byte [ebx + 0x14c], cl
mov ecx, esi
push 0
push 0x6a503c
call fcn.00459601
add al, al
mov ecx, esi
xor al, byte [ebx + 0x14c]
push 0
and al, 2
xor byte [ebx + 0x14c], al
push 0x6a5048
call fcn.00459601
push 0
and al, 1
mov ecx, esi
push 0x6a4fd0
mov byte [ebx + 0x330], al
call fcn.00459601
push 0
and al, 1
mov ecx, esi
push 0x6a4fe4
mov byte [ebx + 0x4a4], al
call fcn.00459601
push 0x14
and al, 1
mov ecx, esi
push 0x6a4ff8
mov byte [ebx + 0x4ba], al
call fcn.0045974a
push eax
lea ecx, [ebx + 0x4a5]
call fcn.00497ca0
push 0x6a505c
lea eax, [ebp - 0x248]
mov ecx, esi
push eax
call fcn.00459693
push eax
lea ecx, [ebx + 0xa8]
call fcn.0040a1e2
push 0
push 1
lea ecx, [ebp - 0x248]
call fcn.0040abbf
cmp dword [ebx + 0xb8], 0
je 0x4a3e16
push 0xffffffffffffffff
push 0x6a5078
mov ecx, esi
call fcn.00459601
mov dword [ebp + 0x64], eax
cmp eax, 0x2710
ja 0x4a3d6f
fild dword [ebp + 0x64]
fstp qword [ebp + 0x34]
fld qword [ebp + 0x34]
fdiv qword [0x6a5380]
jmp 0x4a3d75
fld qword [0x6a5398]
push str.korean
lea eax, [ebp - 0x260]
mov ecx, esi
push eax
fstp dword [ebx + 0x58]
call fcn.00459693
push eax
lea ecx, [ebx + 0x74]
call fcn.0040a1e2
push 0
push 1
lea ecx, [ebp - 0x260]
call fcn.0040abbf
push 0
push 0x6a4694
lea eax, [ebp - 0x278]
mov ecx, esi
push eax
call fcn.00459834
push eax
lea ecx, [ebx + 0x5c]
call fcn.004232e6
push 0
push 1
lea ecx, [ebp - 0x278]
call fcn.0042386b
push 0x6a506c
lea eax, [ebp - 0x290]
mov ecx, esi
push eax
call fcn.00459693
push eax
lea ecx, [ebx + 0x8c]
call fcn.0040a1e2
push 0
push 1
lea ecx, [ebp - 0x290]
call fcn.0040abbf
push 1
push str.BAN_peer:_Responsible_for__s_metadata_not_being_loaded_
mov ecx, esi
call fcn.00459601
and al, 1
mov byte [ebx + 0xa4], al
jmp 0x4a3e66
fld dword [0x6a5394]
mov edi, 0x70ed3c
push edi
fstp dword [ebx + 0x58]
call fcn.0040a79e
pop ecx
push eax
push edi
lea ecx, [ebx + 0x74]
call fcn.0040a517
push edi
call fcn.0040a79e
pop ecx
push eax
push edi
lea ecx, [ebx + 0x8c]
call fcn.0040a517
mov edi, 0x68eb70
push edi
call fcn.00423ad9
pop ecx
push eax
push edi
lea ecx, [ebx + 0x5c]
call fcn.004340c0
mov byte [ebx + 0xa4], 1
push 0
push 0x6a4db4
mov ecx, esi
call fcn.00459601
push 0
mov dword [ebx + 0x3ac], eax
mov ecx, esi
mov eax, dword [ebx + 0x384]
push 0x6a4dbc
mov dword [ebx + 0x3b0], eax
call fcn.00459601
push 0
mov dword [ebx + 0x384], eax
mov ecx, esi
push 0x6a4dc8
mov dword [ebx + 0x3b0], eax
call fcn.00459601
cdq
mov ecx, esi
push 0
push 0x6a4f44
mov dword [ebx + 0x374], eax
mov dword [ebx + 0x378], edx
call fcn.00459601
mov dword [ebx + 0x548], eax
mov ecx, esi
movzx eax, byte [ebx + 0x14e]
and eax, 8
push eax
push 0x69d474
call fcn.00459601
mov cl, byte [ebx + 0x14e]
and cl, 0xf7
or al, cl
mov ecx, esi
push 1
push 0x69d8c8
mov byte [ebx + 0x14e], al
call fcn.00459601
mov cl, byte [ebx + 0x14e]
and cl, 0xa
or al, cl
mov ecx, esi
push 0
push 0x6a4dd0
mov byte [ebx + 0x14e], al
call fcn.00459601
cdq
mov ecx, esi
push 0
push str._.S_scrape_S_cinfo_hash_.20U
mov dword [ebx + 0x37c], eax
mov dword [ebx + 0x380], edx
call fcn.00459601
test eax, eax
mov al, byte [ebx + 0x143]
push 0
setne cl
and al, 0x7f
shl cl, 7
or cl, al
mov byte [ebx + 0x143], cl
mov ecx, esi
push 0x6a4de8
call fcn.00459601
test eax, eax
mov al, byte [ebx + 0x144]
push 0
setne cl
and al, 0xef
shl cl, 4
or cl, al
mov byte [ebx + 0x144], cl
mov ecx, esi
push 0x6a4df8
call fcn.00459601
push 0xffffffffffffffff
push 0x6a4e0c
mov ecx, esi
mov dword [ebx + 0x2f0], eax
call fcn.00459601
mov dword [ebx + 0x158], eax
mov ecx, esi
push dword [0x74d08c]
push 0x6a4efc
call fcn.00459601
mov dword [ebx + 0x53c], eax
mov ecx, esi
push dword [0x74d088]
push 0x6a4f0c
call fcn.00459601
mov dword [ebx + 0x544], eax
mov ecx, esi
push dword [0x74d090]
push 0x6a4f1c
call fcn.00459601
push 0
push 0x6a4f2c
mov ecx, esi
mov dword [ebx + 0x540], eax
call fcn.00459601
mov cl, byte [ebx + 0x144]
xor cl, al
and cl, 1
xor byte [ebx + 0x144], cl
mov ecx, esi
push 0
push str.helper_completed
call fcn.00459601
cdq
mov ecx, eax
or ecx, edx
je 0x4a402d
mov dword [ebx + 0x310], eax
mov dword [ebx + 0x314], edx
push 0
push 0x6a4f58
mov ecx, esi
call fcn.00459601
cdq
mov ecx, eax
or ecx, edx
je 0x4a404e
mov dword [ebx + 0x318], eax
mov dword [ebx + 0x31c], edx
push 0
push 0x6a4f68
mov ecx, esi
call fcn.00459601
cdq
mov ecx, esi
push 0
push 0x6a4f78
mov dword [ebx + 0x320], eax
mov dword [ebx + 0x324], edx
call fcn.00459601
push 0
cdq
mov ecx, esi
push 0
push 0x6a4e14
mov dword [ebx + 0x328], eax
mov dword [ebx + 0x32c], edx
call fcn.0045959a
push 0
push 0x6a4e1c
mov ecx, esi
mov dword [ebx + 0x2f4], eax
mov dword [ebx + 0x2f8], edx
call fcn.00459601
push 0
push 0x6a4e28
mov ecx, esi
mov dword [ebx + 0x304], eax
call fcn.00459601
mov dword [ebx + 0x484], eax
test eax, eax
jne 0x4a413c
cmp dword [ebx + 0x47c], eax
je 0x4a413c
lea eax, [ebx + 0x46c]
cmp dword [eax + 0x14], 0x10
jb 0x4a40e2
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x1d0]
push 0x68ea70
push eax
call fcn.004607f4
add esp, 0xc
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 0x13
call fcn.004b658d
lea eax, [ebp - 0x1d0]
mov byte [ebp - 4], 0x14
push eax
call fcn.004b914e
test eax, eax
je 0x4a411f
mov eax, dword [eax]
mov dword [ebx + 0x484], eax
lea ecx, [ebp + 0x1c]
call fcn.004865cb
push 0x12
pop eax
push 0
push 1
lea ecx, [ebp - 0x1d0]
mov byte [ebp - 4], al
call fcn.0042386b
push 0xffffffffffffffff
mov edi, 0x6a4ee4
mov ecx, esi
push edi
call fcn.00459472
test eax, eax
je 0x4a4171
push 0
push edi
mov ecx, esi
call fcn.00459601
test eax, eax
mov al, byte [ebx + 0x14c]
setne cl
and al, 0xbf
shl cl, 6
or cl, al
mov byte [ebx + 0x14c], cl
push 0xffffffffffffffff
mov edi, str._update_url:__s
mov ecx, esi
push edi
call fcn.00459472
test eax, eax
je 0x4a41a6
push 0
push edi
mov ecx, esi
call fcn.00459601
test eax, eax
mov al, byte [ebx + 0x14c]
setne cl
and al, 0x7f
shl cl, 7
or cl, al
mov byte [ebx + 0x14c], cl
push 0
push 0x691a3c
lea eax, [ebp - 0x2a8]
mov ecx, esi
push eax
call fcn.00459834
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0x15
jb 0x4a41c7
mov eax, dword [eax]
push eax
mov ecx, ebx
call fcn.004af247
push 0x12
pop eax
push 0
push 1
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], al
call fcn.0042386b
push 0
push 0x6a50a0
lea eax, [ebp - 0x2c0]
mov ecx, esi
push eax
call fcn.00459834
push eax
lea ecx, [ebx + 0x6bc]
call fcn.004232e6
push 0
push 1
lea ecx, [ebp - 0x2c0]
call fcn.0042386b
lea eax, [ebp]
mov byte [ebp + 0x5e], 0
push eax
push 0x6a50dc
mov ecx, esi
call fcn.0045978b
mov ecx, 0xfff7
test eax, eax
je 0x4a424f
push dword [ebp]
mov ecx, dword [ebx + 0xd8]
push eax
call fcn.004fbe39
test al, al
jne 0x4a424a
mov byte [ebp + 0x5e], 1
jmp 0x4a42ad
mov ecx, 0xfff7
cmp byte [ebp + 0x5f], 0
je 0x4a42ad
mov ax, word [ebx + 0x138]
and ax, cx
mov ecx, ebx
movzx eax, ax
push eax
call fcn.004af347
push 1
call fcn.0048d558
push eax
push 0x13
lea ecx, [ebp - 0xf8]
call fcn.0048cfd0
sub esp, 0x18
mov byte [ebp - 4], 0x16
mov eax, esp
lea ecx, [ebp - 0xf8]
push ecx
push eax
call fcn.0048eedc
mov ecx, ebx
call fcn.004aed7a
push 0x12
pop eax
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], al
call fcn.0048d081
mov edi, dword [ebx + 0xd8]
mov ecx, 0x9c
add edi, 4
mov dword [ebp + 0x40], ecx
mov dword [ebp + 0x58], edi
mov eax, dword [edi + 4]
sub eax, dword [edi]
cdq
idiv ecx
mov ecx, esi
push eax
push 0x6a4d4c
call fcn.0045974a
mov dword [ebp + 0x60], eax
test eax, eax
je 0x4a434f
cmp byte [ebp + 0x7c], 0
jne 0x4a434f
mov eax, dword [edi + 4]
xor ecx, ecx
sub eax, dword [edi]
cdq
idiv dword [ebp + 0x40]
mov dword [ebp + 0x68], ecx
test eax, eax
je 0x4a434f
and dword [ebp + 0x38], ecx
mov eax, dword [ebp + 0x60]
push 1
movzx eax, byte [ecx + eax]
and eax, 0xf
push eax
push ecx
mov ecx, ebx
call fcn.004aee31
mov eax, dword [ebp + 0x68]
mov ecx, dword [ebp + 0x60]
mov edx, dword [edi]
cmp byte [eax + ecx], 0x80
mov eax, dword [ebp + 0x38]
setb cl
dec cl
and cl, 2
mov al, byte [edx + eax + 0x66]
and al, 0xfd
or cl, al
mov eax, dword [ebp + 0x38]
mov byte [edx + eax + 0x66], cl
add eax, 0x9c
mov dword [ebp + 0x38], eax
mov eax, dword [edi + 4]
sub eax, dword [edi]
cdq
idiv dword [ebp + 0x40]
mov ecx, dword [ebp + 0x68]
inc ecx
mov dword [ebp + 0x68], ecx
cmp ecx, eax
jne 0x4a42f8
push 0xffffffffffffffff
push 0x6a4d34
mov ecx, esi
call fcn.00459645
and dword [ebp + 0x6c], 0
mov dword [ebp + 0x68], eax
test eax, eax
je 0x4a43c2
and dword [ebp + 0x50], 0
mov ebx, dword [ebp + 0x6c]
mov ecx, eax
call fcn.0045952c
cmp ebx, eax
jae 0x4a43bf
mov ecx, dword [edi]
mov eax, dword [edi + 4]
sub eax, ecx
mov dword [ebp + 0x60], ecx
cdq
mov ecx, 0x9c
idiv ecx
cmp ebx, eax
jae 0x4a43bf
mov ecx, dword [ebp + 0x68]
push 0
push 0
push ebx
call fcn.004595c4
mov ecx, dword [ebp + 0x50]
inc ebx
mov edi, dword [ebp + 0x60]
mov dword [edi + ecx + 0x2c], eax
mov eax, edi
mov edi, dword [ebp + 0x58]
mov dword [eax + ecx + 0x30], edx
add ecx, 0x9c
mov eax, dword [ebp + 0x68]
mov dword [ebp + 0x50], ecx
jmp 0x4a436f
mov ebx, dword [ebp + 0x48]
push 0xffffffffffffffff
push 0x6a4d40
mov ecx, esi
call fcn.00459645
and dword [ebp + 0x6c], 0
mov dword [ebp + 0x60], eax
test eax, eax
je 0x4a4436
and dword [ebp + 0x68], 0
mov ebx, dword [ebp + 0x6c]
mov ecx, eax
call fcn.0045952c
cmp ebx, eax
jae 0x4a4433
mov eax, dword [edi + 4]
mov ecx, 0x9c
sub eax, dword [edi]
cdq
idiv ecx
cmp ebx, eax
jae 0x4a4433
mov ecx, dword [ebp + 0x60]
push 0
push ebx
call fcn.00459624
mov edx, dword [edi]
test eax, eax
mov eax, dword [ebp + 0x68]
setne cl
shl cl, 5
mov al, byte [eax + edx + 0x66]
and al, 0xdf
or cl, al
mov eax, dword [ebp + 0x68]
inc ebx
mov byte [eax + edx + 0x66], cl
add eax, 0x9c
mov dword [ebp + 0x68], eax
mov eax, dword [ebp + 0x60]
jmp 0x4a43e2
mov ebx, dword [ebp + 0x48]
mov eax, dword [edi + 4]
mov ecx, 0x9c
sub eax, dword [edi]
cdq
idiv ecx
mov ecx, esi
push eax
push 0x6a4e58
call fcn.0045974a
mov dword [ebp + 0x20], eax
mov ecx, 0x9c
mov eax, dword [edi + 4]
sub eax, dword [edi]
cdq
idiv ecx
mov ecx, esi
push eax
push 0x6a4e68
call fcn.0045974a
mov dword [ebp + 0x64], eax
mov ecx, 0x9c
mov eax, dword [edi + 4]
sub eax, dword [edi]
cdq
idiv ecx
mov ecx, esi
shl eax, 2
push eax
push 0x6a4e7c
call fcn.0045974a
mov dword [ebp + 0x38], eax
mov ecx, 0x9c
mov eax, dword [edi + 4]
sub eax, dword [edi]
cdq
idiv ecx
mov ecx, esi
shl eax, 2
push eax
push 0x6a4e8c
call fcn.0045974a
mov dword [ebp + 0x54], eax
mov ecx, 0x9c
mov eax, dword [edi + 4]
sub eax, dword [edi]
cdq
idiv ecx
mov ecx, esi
add eax, eax
push eax
push str.gate_unlock_progress
call fcn.0045974a
mov dword [ebp + 0x68], eax
mov ecx, 0x9c
mov eax, dword [edi + 4]
sub eax, dword [edi]
cdq
idiv ecx
mov ecx, esi
add eax, eax
push eax
push 0x6a4eb4
call fcn.0045974a
mov dword [ebp + 0x28], eax
mov ecx, 0x9c
mov eax, dword [edi + 4]
sub eax, dword [edi]
cdq
idiv ecx
mov ecx, esi
add eax, eax
push eax
push str._s_info_hash_hh_sgate_type_s
call fcn.0045974a
cmp dword [ebp + 0x20], 0
mov dword [ebp + 0x6c], eax
je 0x4a4661
cmp dword [ebp + 0x38], 0
je 0x4a4661
mov ecx, dword [ebp + 0x54]
test ecx, ecx
je 0x4a4661
cmp dword [ebp + 0x68], 0
je 0x4a4661
cmp dword [ebp + 0x28], 0
je 0x4a4661
cmp byte [ebp + 0x7c], 0
jne 0x4a4661
mov eax, dword [edi + 4]
sub eax, dword [edi]
cdq
idiv dword [ebp + 0x40]
and dword [ebp + 0x60], 0
test eax, eax
je 0x4a4661
mov edi, dword [ebp + 0x64]
xor ebx, ebx
mov eax, dword [ebp + 0x6c]
mov edx, dword [ebp + 0x28]
sub dword [ebp + 0x38], ecx
sub dword [ebp + 0x68], edx
mov dword [ebp + 0x50], eax
sub dword [ebp + 0x50], edx
sub dword [ebp + 0x20], edi
mov dword [ebp + 0x4c], edi
mov edi, dword [ebp + 0x58]
mov eax, dword [ebp + 0x4c]
mov ecx, dword [ebp + 0x20]
cmp byte [ecx + eax], 0
mov ecx, dword [ebp + 0x54]
je 0x4a462d
mov ecx, dword [edi]
add ecx, ebx
call fcn.004af11b
cmp dword [ebp + 0x64], 0
mov eax, dword [edi]
mov eax, dword [ebx + eax + 0x94]
mov byte [eax + 0x68], 3
je 0x4a45c7
mov eax, dword [edi]
mov ecx, dword [ebx + eax + 0x94]
mov eax, dword [ebp + 0x4c]
mov al, byte [eax]
shl al, 3
xor al, byte [ecx + 0x69]
and al, 8
xor byte [ecx + 0x69], al
cmp dword [ebp + 0x6c], 0
mov ecx, dword [edi]
mov edx, dword [ebp + 0x54]
mov eax, dword [ebp + 0x38]
mov ecx, dword [ebx + ecx + 0x94]
mov eax, dword [eax + edx]
mov dword [ecx + 0x14], eax
mov ecx, dword [edi]
mov eax, dword [edx]
mov edx, dword [ebp + 0x28]
mov ecx, dword [ebx + ecx + 0x94]
mov dword [ecx + 0xc], eax
mov eax, dword [edi]
mov ecx, dword [ebx + eax + 0x94]
mov eax, dword [ebp + 0x68]
movzx eax, word [eax + edx]
mov dword [ecx + 0x1c], eax
mov eax, dword [edi]
mov ecx, dword [ebx + eax + 0x94]
movzx eax, word [edx]
mov dword [ecx + 0x18], eax
je 0x4a4627
mov ecx, dword [edi]
mov eax, dword [ebp + 0x50]
mov ecx, dword [ebx + ecx + 0x94]
mov al, byte [eax + edx]
mov byte [ecx + 0x5c], al
mov eax, dword [ebp + 0x4c]
mov ecx, dword [ebp + 0x54]
inc dword [ebp + 0x60]
add edx, 2
inc eax
mov dword [ebp + 0x28], edx
mov dword [ebp + 0x4c], eax
add ecx, 4
mov eax, dword [edi + 4]
add ebx, 0x9c
sub eax, dword [edi]
cdq
idiv dword [ebp + 0x40]
mov edx, dword [ebp + 0x28]
cmp dword [ebp + 0x60], eax
mov eax, dword [ebp + 0x4c]
mov dword [ebp + 0x54], ecx
jne 0x4a4582
mov ebx, dword [ebp + 0x48]
push 0xffffffffffffffff
push 0x6a4e30
mov ecx, esi
call fcn.00459645
mov dword [ebp + 0x6c], eax
test eax, eax
je 0x4a46ef
cmp byte [ebp + 0x7c], 0
jne 0x4a46ef
and dword [ebp + 0x64], 0
mov ecx, eax
call fcn.0045952c
test eax, eax
je 0x4a46ef
and dword [ebp + 0x68], 0
mov ebx, dword [ebp + 0x64]
mov eax, dword [edi + 4]
mov ecx, 0x9c
sub eax, dword [edi]
cdq
idiv ecx
cmp ebx, eax
jae 0x4a46ec
mov ecx, dword [ebp + 0x6c]
push 0
push ebx
call fcn.004597ba
mov dword [ebp + 0x64], eax
test eax, eax
je 0x4a46d8
cmp byte [eax], 0
je 0x4a46d8
mov ecx, dword [edi]
add ecx, dword [ebp + 0x68]
call fcn.004af11b
mov ecx, dword [edi]
mov eax, dword [ebp + 0x68]
push dword [ebp + 0x64]
mov ecx, dword [eax + ecx + 0x94]
call fcn.004b4c8b
mov ecx, dword [ebp + 0x6c]
inc ebx
add dword [ebp + 0x68], 0x9c
call fcn.0045952c
cmp ebx, eax
jb 0x4a4692
mov ebx, dword [ebp + 0x48]
push 0xffffffffffffffff
push 0x6a4e44
mov ecx, esi
call fcn.00459645
mov dword [ebp + 0x6c], eax
test eax, eax
je 0x4a4778
cmp byte [ebp + 0x7c], 0
jne 0x4a4778
and dword [ebp + 0x64], 0
mov ecx, eax
call fcn.0045952c
test eax, eax
je 0x4a4778
and dword [ebp + 0x68], 0
mov ebx, dword [ebp + 0x64]
mov eax, dword [edi + 4]
mov ecx, 0x9c
sub eax, dword [edi]
cdq
idiv ecx
cmp ebx, eax
jae 0x4a4775
mov ecx, dword [ebp + 0x6c]
push 0
push ebx
call fcn.004597ba
mov dword [ebp + 0x64], eax
test eax, eax
je 0x4a4761
mov ecx, dword [edi]
add ecx, dword [ebp + 0x68]
call fcn.004af11b
mov ecx, dword [edi]
mov eax, dword [ebp + 0x68]
push dword [ebp + 0x64]
mov ecx, dword [eax + ecx + 0x94]
call fcn.004b4c6d
mov ecx, dword [ebp + 0x6c]
inc ebx
add dword [ebp + 0x68], 0x9c
call fcn.0045952c
cmp ebx, eax
jb 0x4a4720
mov ebx, dword [ebp + 0x48]
push 0xffffffffffffffff
push 0x6a4d2c
mov ecx, esi
call fcn.00459645
mov dword [ebp + 0x64], eax
test eax, eax
je 0x4a4827
and dword [ebp + 0x68], 0
mov ecx, eax
call fcn.0045952c
test eax, eax
je 0x4a4827
mov ecx, dword [ebp + 0x68]
mov eax, dword [edi + 4]
sub eax, dword [edi]
cdq
idiv dword [ebp + 0x40]
cmp ecx, eax
jae 0x4a4827
push ecx
mov ecx, dword [ebp + 0x64]
call fcn.00459661
mov dword [ebp + 0x6c], eax
test eax, eax
je 0x4a4815
mov ecx, eax
call fcn.0045952c
cmp eax, 2
jne 0x4a4815
mov ecx, dword [ebp + 0x6c]
push 0
push 0
call fcn.00459624
mov ecx, eax
mov eax, dword [edi + 4]
sub eax, dword [edi]
cdq
idiv dword [ebp + 0x40]
mov dword [ebp + 0x60], ecx
cmp ecx, eax
jae 0x4a4815
mov ecx, dword [ebp + 0x6c]
sub esp, 0x18
mov eax, esp
push 0
push 1
push eax
call fcn.0045987b
imul eax, dword [ebp + 0x60], 0x9c
mov ecx, dword [ebx + 0xd8]
add eax, dword [edi]
push eax
call fcn.004fbab0
mov ecx, dword [ebp + 0x64]
inc dword [ebp + 0x68]
call fcn.0045952c
mov ecx, dword [ebp + 0x68]
cmp ecx, eax
jb 0x4a47a7
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x154]
test al, al
jne 0x4a497f
and dword [ebp + 0x54], 0
lea eax, [ebp + 0x54]
push eax
push 0x6a42f0
mov ecx, esi
call fcn.0045978b
mov dword [ebp + 0x64], eax
xor edx, edx
mov eax, dword [ebp + 0x54]
push 6
pop ecx
div ecx
test edx, edx
jne 0x4a48db
and dword [ebp + 0x6c], edx
mov dword [ebp + 0x54], eax
test eax, eax
je 0x4a48db
mov edi, dword [ebp + 0x64]
movzx eax, word [edi + 4]
lea ecx, [ebp - 0x64]
push eax
push dword [edi]
call fcn.004c3ec7
lea ecx, [ebp - 0x64]
call fcn.004631cf
test al, al
jne 0x4a48c7
mov eax, 0xffff
cmp word [ebp - 0x54], ax
jne 0x4a4897
xor eax, eax
mov word [ebp - 0x54], ax
xor ecx, ecx
lea eax, [ebp - 0x64]
push ecx
push eax
push ecx
push ecx
mov ecx, ebx
call fcn.00498a6d
mov dword [ebp + 0x64], eax
test eax, eax
je 0x4a48c7
mov ecx, eax
call fcn.0049f92f
mov ecx, dword [ebp + 0x64]
sub eax, 0x708
sbb edx, 0
push edx
push eax
call fcn.004af0d4
mov eax, dword [ebp + 0x6c]
push 6
inc eax
pop ecx
add edi, ecx
mov dword [ebp + 0x6c], eax
cmp eax, dword [ebp + 0x54]
jb 0x4a486b
mov edi, dword [ebp + 0x58]
and dword [ebp + 0x54], 0
lea eax, [ebp + 0x54]
push eax
push 0x6a430c
mov ecx, esi
call fcn.0045978b
mov dword [ebp + 0x64], eax
xor edx, edx
mov eax, dword [ebp + 0x54]
push 0x12
pop ecx
div ecx
test edx, edx
jne 0x4a497f
and dword [ebp + 0x6c], edx
mov dword [ebp + 0x54], eax
test eax, eax
je 0x4a497f
mov edi, dword [ebp + 0x64]
push edi
lea ecx, [ebp - 0x78]
call fcn.004c3ef4
mov ax, word [edi + 0x10]
lea ecx, [ebp - 0x78]
mov word [ebp - 0x68], ax
call fcn.004631cf
test al, al
jne 0x4a496b
mov eax, 0xffff
cmp word [edi + 0x10], ax
jne 0x4a493b
xor eax, eax
mov word [ebp - 0x68], ax
xor ecx, ecx
lea eax, [ebp - 0x78]
push ecx
push eax
push ecx
push ecx
mov ecx, ebx
call fcn.00498a6d
mov dword [ebp + 0x64], eax
test eax, eax
je 0x4a496b
mov ecx, eax
call fcn.0049f92f
mov ecx, dword [ebp + 0x64]
sub eax, 0x708
sbb edx, 0
push edx
push eax
call fcn.004af0d4
mov eax, dword [ebp + 0x6c]
push 0x12
inc eax
pop ecx
add edi, ecx
mov dword [ebp + 0x6c], eax
cmp eax, dword [ebp + 0x54]
jb 0x4a490d
mov edi, dword [ebp + 0x58]
mov eax, dword [ebx + 0xe8]
mov ecx, esi
add eax, 7
shr eax, 3
push eax
push 0x6a4cd8
call fcn.0045974a
mov ecx, dword [ebx + 0xe8]
add ecx, 7
mov dword [ebp + 0x6c], eax
shr ecx, 3
push ecx
push str._S_cinfo_hash_.20Upeer_id_.20Uport_duploaded_Lddownloaded_Ldleft_Ldcorrupt_Ldkey_.8X_snumwant_dcompact1no_peer_id1_s
mov ecx, esi
call fcn.0045974a
mov ecx, dword [ebx + 0xe8]
add ecx, 7
mov dword [ebp + 0x64], eax
shr ecx, 3
push ecx
push 0x6a4ce8
mov ecx, esi
call fcn.0045974a
mov ecx, eax
mov eax, dword [ebp + 0x64]
mov dword [ebp + 0x60], ecx
test eax, eax
je 0x4a49fb
mov ecx, dword [ebx + 0xe8]
add ecx, 7
shr ecx, 3
push ecx
push eax
push dword [ebx + 0x11c]
call fcn.0062bfb0
mov ecx, dword [ebp + 0x60]
add esp, 0xc
test ecx, ecx
je 0x4a4a1b
mov eax, dword [ebx + 0xe8]
add eax, 7
shr eax, 3
push eax
push ecx
push dword [ebx + 0x120]
call fcn.0062bfb0
add esp, 0xc
cmp dword [ebp + 0x6c], 0
je 0x4a4c5d
xor edx, edx
mov dword [ebp + 0x4c], edx
cmp dword [ebx + 0xe8], edx
je 0x4a4a95
mov edi, dword [ebp + 0x6c]
mov eax, edx
mov cl, dl
shr eax, 3
and cl, 7
mov al, byte [eax + edi]
shr al, cl
and al, 1
mov byte [ebp + 0x5f], al
je 0x4a4a65
mov ecx, dword [ebx + 0xd8]
push edx
call fcn.004a2a5f
mov edx, dword [ebp + 0x4c]
test al, al
mov al, byte [ebp + 0x5f]
jne 0x4a4a65
mov byte [ebp + 0x5e], 1
test al, al
je 0x4a4a86
mov ecx, dword [ebx + 0xd8]
push edx
call fcn.004a2a5f
test al, al
je 0x4a4a83
push dword [ebp + 0x4c]
mov ecx, ebx
call fcn.004aeeb3
mov edx, dword [ebp + 0x4c]
inc edx
mov dword [ebp + 0x4c], edx
cmp edx, dword [ebx + 0xe8]
jne 0x4a4a35
mov edi, dword [ebp + 0x58]
cmp byte [ebp + 0x5e], 0
je 0x4a4b82
mov ax, word [ebx + 0x138]
mov ecx, 0xfff7
and ax, cx
mov ecx, ebx
movzx eax, ax
push eax
call fcn.004af347
mov ecx, dword [ebx + 0xd8]
mov eax, dword [ecx + 8]
sub eax, dword [ecx + 4]
mov ecx, 0x9c
cdq
idiv ecx
mov dword [ebp + 0x6c], eax
test eax, eax
je 0x4a4b01
xor edx, edx
mov edi, eax
mov ecx, dword [ebx + 0xd8]
mov eax, dword [ecx + 4]
xor ecx, ecx
add eax, edx
add edx, 0x9c
mov dword [eax + 0x24], ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
sub edi, 1
jne 0x4a4ad8
mov edi, dword [ebp + 0x58]
jmp 0x4a4b03
xor ecx, ecx
mov eax, dword [ebx + 0xe8]
add eax, 0x1f
shr eax, 5
shl eax, 2
push eax
push ecx
push dword [ebx + 0x120]
call fcn.0062e000
add esp, 0xc
lea ecx, [ebx + 0xfc]
call fcn.00467284
and dword [ebp + 0x6c], 0
cmp dword [ebx + 0xe8], 0
je 0x4a4c5d
mov edi, dword [ebp + 0x6c]
mov ecx, dword [ebx + 0xd8]
push dword [ecx + 0xcc]
add ecx, 0xd8
push edi
call fcn.004b4c2c
mov ecx, dword [ebx + 0xd8]
push dword [ecx + 0xcc]
add ecx, 0xe4
push edi
call fcn.004b4c2c
inc edi
cmp edi, dword [ebx + 0xe8]
jne 0x4a4b41
mov edi, dword [ebp + 0x58]
jmp 0x4a4c5d
push 0
push 0x6a4d54
mov ecx, esi
call fcn.00459601
test eax, eax
je 0x4a4bb1
mov ax, word [ebx + 0x138]
push 8
pop ecx
or ax, cx
mov ecx, ebx
movzx eax, ax
push eax
call fcn.004af347
jmp 0x4a4c5d
mov ecx, dword [ebx + 0xd8]
cmp dword [ecx + 0xd8], 0
jne 0x4a4c5d
mov eax, dword [ecx + 8]
sub eax, dword [ecx + 4]
mov ecx, 0x9c
cdq
idiv ecx
mov ecx, esi
mov dword [ebp + 0x6c], eax
add eax, 7
shr eax, 3
push eax
push 0x6a4d5c
mov dword [ebp + 0x60], eax
call fcn.0045974a
mov dword [ebp + 0x64], eax
test eax, eax
je 0x4a4c5d
mov cx, word [ebx + 0x138]
push 8
pop eax
or cx, ax
movzx ecx, cx
push ecx
mov ecx, ebx
call fcn.004af347
xor edx, edx
cmp dword [ebp + 0x6c], edx
je 0x4a4c5d
mov edi, dword [ebp + 0x64]
mov eax, edx
shr eax, 3
mov cl, dl
and cl, 7
mov al, byte [eax + edi]
mov edi, dword [ebp + 0x58]
shr al, cl
test al, 1
je 0x4a4c32
inc edx
cmp edx, dword [ebp + 0x6c]
jne 0x4a4c11
jmp 0x4a4c5d
mov ax, word [ebx + 0x138]
mov ecx, 0xfff7
and ax, cx
mov ecx, ebx
movzx eax, ax
push eax
call fcn.004af347
push dword [ebp + 0x60]
push dword [ebp + 0x64]
call fcn.004c3d0e
mov dword [ebx + 0x118], eax
push 0xffffffffffffffff
push 0x6a50b4
mov ecx, esi
call fcn.00459645
mov dword [ebp + 0x68], eax
test eax, eax
je 0x4a4d9c
mov ecx, dword [ebx + 0x1e0]
sub ecx, dword [ebx + 0x1dc]
cmp ecx, 4
jb 0x4a4ca8
push dword [ebx + 0x1dc]
mov ecx, ebx
call fcn.0049c7e1
mov eax, dword [ebx + 0x1e0]
sub eax, dword [ebx + 0x1dc]
cmp eax, 4
jae 0x4a4c87
mov eax, dword [ebp + 0x68]
and dword [ebp + 0x50], 0
mov ecx, eax
call fcn.0045952c
test eax, eax
je 0x4a4d9c
mov edi, dword [ebp + 0x50]
mov ecx, dword [ebp + 0x68]
lea eax, [ebp - 0x140]
push 0
push edi
push eax
call fcn.0045987b
and dword [ebp + 0x60], 0
cmp dword [ebp - 0x130], 0
mov byte [ebp - 4], 0x18
je 0x4a4cf5
lea eax, [ebp + 0x60]
mov ecx, ebx
push eax
lea eax, [ebp - 0x140]
push eax
call fcn.00499208
jmp 0x4a4d64
mov ecx, dword [ebp + 0x68]
push edi
call fcn.00459661
and dword [ebp + 0x64], 0
mov dword [ebp + 0x6c], eax
test eax, eax
je 0x4a4d70
mov edi, dword [ebp + 0x64]
mov ecx, eax
call fcn.0045952c
cmp edi, eax
je 0x4a4d61
mov ecx, dword [ebp + 0x6c]
lea eax, [ebp - 0x128]
push 0
push edi
push eax
call fcn.0045987b
cmp dword [ebp - 0x118], 0
mov byte [ebp - 4], 0x19
je 0x4a4d48
lea eax, [ebp + 0x60]
mov ecx, ebx
push eax
lea eax, [ebp - 0x128]
push eax
call fcn.00499208
push 0
push 1
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 0x18
call fcn.0042386b
mov eax, dword [ebp + 0x6c]
inc edi
jmp 0x4a4d0c
mov edi, dword [ebp + 0x50]
mov ecx, dword [ebp + 0x60]
test ecx, ecx
je 0x4a4d70
call fcn.004abf57
push 0x12
pop eax
push 0
push 1
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], al
call fcn.0042386b
mov ecx, dword [ebp + 0x68]
inc edi
mov dword [ebp + 0x50], edi
call fcn.0045952c
cmp edi, eax
jne 0x4a4cbe
mov edi, dword [ebp + 0x58]
push 0xffffffffffffffff
push 0x6a50ac
mov ecx, esi
call fcn.00459645
mov dword [ebp + 0x6c], eax
test eax, eax
je 0x4a4e20
and dword [ebp + 0x68], 0
mov ecx, eax
call fcn.0045952c
test eax, eax
je 0x4a4e20
mov edi, dword [ebp + 0x6c]
mov ecx, dword [ebp + 0x68]
push 0
push ecx
lea eax, [ebp - 0x90]
mov ecx, edi
push eax
call fcn.0045987b
mov ecx, dword [ebp - 0x90]
push 8
pop eax
mov byte [ebp - 4], 0x1a
cmp dword [ebp - 0x7c], eax
jae 0x4a4def
lea ecx, [ebp - 0x90]
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x3c]
push 0x12
pop eax
push 0
push 1
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], al
call fcn.0042386b
inc dword [ebp + 0x68]
mov ecx, edi
call fcn.0045952c
mov ecx, dword [ebp + 0x68]
cmp ecx, eax
jb 0x4a4dc6
mov edi, dword [ebp + 0x58]
push 0xffffffffffffffff
push 0x6a51f8
mov ecx, esi
call fcn.00459645
mov dword [ebp + 0x6c], eax
test eax, eax
je 0x4a4ee0
push ebx
call fcn.004c5396
lea eax, [ebx + 0x1e8]
mov ecx, eax
mov dword [ebp + 0x60], eax
call fcn.00462eea
mov ecx, dword [ebp + 0x6c]
and dword [ebp + 0x64], 0
call fcn.0045952c
test eax, eax
je 0x4a4ed9
mov edi, dword [ebp + 0x6c]
mov ebx, dword [ebp + 0x64]
push 0
push ebx
lea eax, [ebp - 0x158]
mov ecx, edi
push eax
call fcn.0045987b
cmp dword [ebp - 0x148], 0
mov byte [ebp - 4], 0x1b
je 0x4a4eb2
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x2d8]
push eax
call fcn.0043bead
mov ecx, dword [ebp + 0x60]
push eax
mov byte [ebp - 4], 0x1c
call fcn.004636e1
push 0
push 1
lea ecx, [ebp - 0x2d8]
call fcn.0040abbf
push 0x12
pop eax
push 0
push 1
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], al
call fcn.0042386b
mov ecx, edi
inc ebx
call fcn.0045952c
cmp ebx, eax
jne 0x4a4e65
mov ebx, dword [ebp + 0x48]
mov edi, dword [ebp + 0x58]
and byte [ebx + 0x144], 0xf7
push dword [ebx + 0xf4]
mov ecx, esi
push 0x6a50c0
call fcn.00459601
push 0xffffffffffffffff
push 0x6a50cc
mov ecx, esi
mov dword [ebx + 0xf4], eax
call fcn.00459645
and dword [ebp + 0x60], 0
mov dword [ebp + 0x64], eax
test eax, eax
je 0x4a4ffd
mov ecx, eax
call fcn.0045952c
mov ecx, dword [ebp + 0x60]
cmp ecx, eax
je 0x4a4ffa
and dword [ebp + 0x50], 0
lea eax, [ebp + 0x50]
push eax
push ecx
mov ecx, dword [ebp + 0x64]
call fcn.004597ba
cmp dword [ebp + 0x50], 4
mov dword [ebp + 0x68], eax
jbe 0x4a4fef
mov edi, dword [eax]
cmp edi, dword [ebx + 0xe8]
jae 0x4a4fef
push edi
lea ecx, [ebx + 0xfc]
call fcn.00467350
test al, al
jne 0x4a4fef
push 0x515627
push edi
mov ecx, ebx
call fcn.004a7814
mov edi, eax
mov eax, dword [edi + 8]
mov byte [edi + 0x34], 3
lea ecx, [eax + 7]
shr ecx, 3
add ecx, 4
cmp dword [ebp + 0x50], ecx
jne 0x4a4fef
xor edx, edx
test eax, eax
jmp 0x4a4fea
mov ebx, dword [ebp + 0x68]
mov eax, edx
shr eax, 3
mov cl, dl
and cl, 7
mov al, byte [eax + ebx + 4]
mov ebx, dword [ebp + 0x48]
shr al, cl
test al, 1
je 0x4a4fe6
cmp dword [edi + 0x10], 1
je 0x4a4fe6
mov eax, dword [edi + 0x28]
mov ecx, ebx
push edx
mov dword [eax + edx*4], 0x772450
mov eax, dword [edi + 0x48]
mov byte [edx + eax], 9
dec dword [edi + 0x10]
dec dword [edi + 0xc]
push dword [edi + 4]
dec dword [edi + 0x1c]
call fcn.0049e85f
add dword [ebx + 0x2a4], eax
mov edx, dword [ebp + 0x6c]
adc dword [ebx + 0x2a8], 0
inc edx
cmp edx, dword [edi + 8]
mov dword [ebp + 0x6c], edx
jne 0x4a4f91
inc dword [ebp + 0x60]
mov eax, dword [ebp + 0x64]
jmp 0x4a4f15
mov edi, dword [ebp + 0x58]
push 0xffffffffffffffff
push 0x6a51bc
mov ecx, esi
call fcn.00459645
mov dword [ebp + 0x60], eax
test eax, eax
je 0x4a50bb
mov ecx, dword [ebx + 0xcc]
mov byte [ebx + 0xd0], 1
push 0
mov edx, dword [ecx]
call dword [edx + 0xbc]
test byte [ebx + 0x14c], 8
je 0x4a50b0
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
test eax, eax
je 0x4a50b0
mov eax, dword [ebx]
mov ecx, ebx
and dword [ebp + 0x6c], 0
call dword [eax + 4]
test eax, eax
je 0x4a5072
mov edi, dword [ebp + 0x6c]
mov eax, dword [ebx + 0x124]
push 0xf
lea ecx, [eax + edi*2]
call fcn.004b4dce
mov eax, dword [ebx]
mov ecx, ebx
inc edi
call dword [eax + 4]
cmp edi, eax
jne 0x4a5053
mov edi, dword [ebp + 0x58]
mov ecx, dword [ebp + 0x60]
and dword [ebp + 0x6c], 0
call fcn.0045952c
test eax, eax
je 0x4a50b0
mov edi, dword [ebp + 0x6c]
mov ecx, dword [ebp + 0x60]
push 0
push edi
call fcn.00459624
mov ecx, dword [ebx + 0x124]
push 7
lea ecx, [ecx + eax*2]
call fcn.004b4dce
mov ecx, dword [ebp + 0x60]
inc edi
call fcn.0045952c
cmp edi, eax
jne 0x4a5085
mov edi, dword [ebp + 0x58]
mov eax, dword [ebx]
mov ecx, ebx
push 0xffffffffffffffff
push 0
call dword [eax + 0x50]
cmp byte [ebp + 0x7c], 0
jne 0x4a5200
push 0
push 0x6a4d04
mov ecx, esi
call fcn.00459601
push 0
mov dword [ebp + 0x6c], eax
mov ecx, esi
push 0x6a4d0c
lea eax, [ebp - 0xa8]
push eax
call fcn.00459834
movzx ecx, word [ebx + 0x138]
mov byte [ebp - 4], 0x1d
test cl, 0x10
jne 0x4a51e0
mov eax, dword [ebp + 0x6c]
cmp eax, 1
jne 0x4a5113
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x54]
jmp 0x4a51eb
cmp eax, 2
jne 0x4a5124
mov ecx, ebx
call fcn.004ab592
jmp 0x4a51eb
cmp eax, 3
jne 0x4a5139
or ecx, 0x21
push ecx
mov ecx, ebx
call fcn.004af347
jmp 0x4a51eb
cmp eax, 4
jne 0x4a51d7
test byte [ebx + 0x14c], 1
je 0x4a515e
push 0x6a5204
push 0x70
mov ecx, ebx
call fcn.004aecc4
jmp 0x4a51e0
cmp dword [ebp - 0x98], 0
jne 0x4a51bb
call fcn.0048d558
push eax
push 0x14
lea ecx, [ebp - 0xe8]
call fcn.0048cfd0
lea eax, [ebp - 0xe8]
mov byte [ebp - 4], 0x1e
push eax
lea eax, [ebp - 0x2f0]
push eax
call fcn.0048eedc
push eax
lea ecx, [ebp - 0xa8]
call fcn.004232e6
push 0
push 1
lea ecx, [ebp - 0x2f0]
call fcn.0042386b
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 0x1d
call fcn.0048d081
push 1
sub esp, 0x18
lea eax, [ebp - 0xa8]
mov ecx, esp
push eax
call fcn.00423207
mov ecx, ebx
call fcn.004aed7a
jmp 0x4a51e0
push 0
mov ecx, ebx
call fcn.004b0ee4
mov eax, dword [ebx]
mov ecx, ebx
push 0xffffffffffffffff
push 1
call dword [eax + 0x50]
push 0x12
pop eax
push 0
push 1
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], al
call fcn.0042386b
push 0xffffffffffffffff
push 0x6a50e4
mov ecx, esi
call fcn.00459645
mov dword [ebp + 0x6c], eax
mov byte [ebp + 0x5f], 0
test eax, eax
je 0x4a5367
cmp byte [ebp + 0x7c], 0
jne 0x4a5367
and dword [ebp + 0x38], 0
mov ecx, eax
call fcn.0045952c
test eax, eax
je 0x4a5367
mov ecx, dword [ebp + 0x38]
xor esi, esi
mov dword [ebp + 0x7c], esi
mov eax, dword [edi + 4]
sub eax, dword [edi]
cdq
idiv dword [ebp + 0x40]
cmp ecx, eax
jae 0x4a5364
push ecx
mov ecx, dword [ebp + 0x6c]
call fcn.00459661
mov dword [ebp + 0x68], eax
test eax, eax
je 0x4a5345
mov ecx, eax
call fcn.0045952c
mov dword [ebp + 0x64], eax
test eax, eax
jle 0x4a5299
mov esi, dword [edi]
mov ecx, dword [ebp + 0x68]
add esi, dword [ebp + 0x7c]
push 0
push 0
call fcn.00459624
mov byte [esi + 0x68], al
mov ecx, dword [edi]
mov esi, dword [ebp + 0x7c]
mov al, byte [esi + ecx + 0x68]
mov byte [esi + ecx + 0x67], al
mov eax, dword [ebp + 0x64]
cmp eax, 1
jle 0x4a52ee
mov esi, dword [edi]
mov ecx, dword [ebp + 0x68]
add esi, dword [ebp + 0x7c]
push 0
push 0
push 1
call fcn.004595c4
mov dword [esi + 0x84], eax
mov dword [esi + 0x88], edx
mov eax, dword [edi]
mov esi, dword [ebp + 0x7c]
mov ecx, dword [esi + eax + 0x84]
mov eax, dword [esi + eax + 0x88]
cmp eax, dword [ebx + 0x704]
jl 0x4a52ee
jg 0x4a52e2
cmp ecx, dword [ebx + 0x700]
jbe 0x4a52ee
mov dword [ebx + 0x700], ecx
mov dword [ebx + 0x704], eax
mov ecx, dword [ebp + 0x68]
call fcn.0045952c
cmp eax, 2
jbe 0x4a532c
mov ecx, dword [ebp + 0x68]
lea eax, [ebp - 0x308]
push 0
push 2
push eax
call fcn.0045987b
mov ecx, dword [edi]
add ecx, 0x6c
push eax
add ecx, esi
call fcn.004232e6
push 0
push 1
lea ecx, [ebp - 0x308]
call fcn.0042386b
jmp 0x4a5338
mov ecx, dword [edi]
add ecx, 0x6c
add ecx, esi
call fcn.004427d6
mov eax, dword [edi]
cmp byte [esi + eax + 0x68], 1
jne 0x4a5345
mov byte [ebp + 0x5f], 1
mov ecx, dword [ebp + 0x6c]
add esi, 0x9c
inc dword [ebp + 0x38]
mov dword [ebp + 0x7c], esi
call fcn.0045952c
mov ecx, dword [ebp + 0x38]
cmp ecx, eax
jb 0x4a5242
mov esi, dword [ebp + 0x78]
push 0xffffffffffffffff
push 0x6a50f0
mov ecx, esi
call fcn.00459645
mov dword [ebp + 0x7c], eax
test eax, eax
je 0x4a540d
and dword [ebp + 0x78], 0
mov ecx, eax
call fcn.0045952c
test eax, eax
je 0x4a53c9
mov edi, dword [ebp + 0x7c]
lea eax, [ebx + 0x708]
mov ebx, dword [ebp + 0x78]
mov dword [ebp + 0x6c], eax
push 0
push ebx
mov ecx, edi
call fcn.00459624
mov ecx, dword [ebp + 0x6c]
mov dword [ebp + 0x64], eax
lea eax, [ebp + 0x64]
push eax
call fcn.004751fa
mov ecx, edi
inc ebx
call fcn.0045952c
cmp ebx, eax
jb 0x4a539e
mov ebx, dword [ebp + 0x48]
mov edi, dword [ebp + 0x58]
mov ecx, dword [ebp + 0x7c]
call fcn.0045952c
test eax, eax
jne 0x4a53f3
cmp dword [ebx + 0x704], eax
jl 0x4a53f3
jg 0x4a53e7
cmp dword [ebx + 0x700], eax
jbe 0x4a53f3
mov dword [ebx + 0x6fc], 5
jmp 0x4a540d
mov ecx, dword [ebp + 0x7c]
call fcn.0045952c
neg eax
push 6
sbb eax, eax
and eax, 0xfffffffb
pop ecx
add eax, ecx
mov dword [ebx + 0x6fc], eax
push 0xffffffffffffffff
push 0x6a50fc
mov ecx, esi
call fcn.00459645
mov dword [ebp + 0x7c], eax
test eax, eax
je 0x4a547e
and dword [ebp + 0x78], 0
mov ecx, eax
call fcn.0045952c
test eax, eax
je 0x4a546b
mov edi, dword [ebp + 0x7c]
lea eax, [ebx + 0x71c]
mov ebx, dword [ebp + 0x78]
mov dword [ebp + 0x6c], eax
push 0
push ebx
mov ecx, edi
call fcn.00459624
mov ecx, dword [ebp + 0x6c]
mov dword [ebp + 0x68], eax
lea eax, [ebp + 0x68]
push eax
call fcn.004751fa
mov ecx, edi
inc ebx
call fcn.0045952c
cmp ebx, eax
jb 0x4a5440
mov ebx, dword [ebp + 0x48]
mov edi, dword [ebp + 0x58]
mov ecx, dword [ebp + 0x7c]
call fcn.0045952c
test eax, eax
je 0x4a547e
and dword [ebx + 0x6fc], 0
cmp byte [ebp + 0x5f], 0
je 0x4a548e
mov dword [ebx + 0x6fc], 3
push 0
push 0x80
mov ecx, ebx
call fcn.0049cbcd
push 0
push 0x6a5108
mov ecx, esi
call fcn.0045978b
mov dword [ebp + 0x78], eax
test eax, eax
je 0x4a5504
mov eax, dword [edi + 4]
xor ecx, ecx
sub eax, dword [edi]
cdq
idiv dword [ebp + 0x40]
mov dword [ebp + 0x7c], ecx
test eax, eax
je 0x4a5504
xor ebx, ebx
mov edx, dword [edi]
lea ebx, [ebx + 0x9c]
mov edi, dword [ebp + 0x78]
mov eax, ecx
shr eax, 3
and cl, 7
mov al, byte [eax + edi]
mov edi, dword [ebp + 0x58]
shr al, cl
shl al, 2
xor al, byte [ebx + edx - 0x36]
and al, 4
mov ecx, dword [ebp + 0x7c]
xor byte [ebx + edx - 0x36], al
inc ecx
mov eax, dword [edi + 4]
sub eax, dword [edi]
cdq
idiv dword [ebp + 0x40]
mov dword [ebp + 0x7c], ecx
cmp ecx, eax
jb 0x4a54c5
mov ebx, dword [ebp + 0x48]
push 0xffffffffffffffff
push 0x6a5114
mov ecx, esi
call fcn.00459645
test eax, eax
je 0x4a5529
lea ecx, [ebx + 0x68c]
push ecx
mov ecx, dword [ebx + 0xd4]
push eax
call fcn.005148bd
push 0xffffffffffffffff
push 0x6a4ed8
mov ecx, esi
call fcn.00459548
mov edi, eax
test edi, edi
je 0x4a5555
lea eax, [ebp + 0x44]
mov ecx, 0x771c34
push eax
call fcn.0048674f
mov ecx, dword [ebp + 0x44]
push edi
push ebx
call fcn.0049caad
push 0xffffffffffffffff
push 0x6a51d8
mov ecx, esi
call fcn.00459645
mov dword [ebp + 0x7c], eax
test eax, eax
je 0x4a55b8
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 4]
test eax, eax
jne 0x4a557e
test byte [ebx + 0x14c], 8
jne 0x4a55b8
mov ecx, dword [ebp + 0x7c]
xor edi, edi
call fcn.0045952c
test eax, eax
je 0x4a55b8
mov ecx, dword [ebp + 0x7c]
push edi
call fcn.00459564
push eax
push ebx
call fcn.0050cfe1
test eax, eax
je 0x4a55ab
mov edx, dword [ebx]
mov ecx, ebx
push eax
call dword [edx + 0x188]
mov ecx, dword [ebp + 0x7c]
inc edi
call fcn.0045952c
cmp edi, eax
jb 0x4a558c
mov eax, dword [ebx]
mov ecx, ebx
push 0x6a31bc
call dword [eax + 0x190]
push 0xffffffffffffffff
push 0x6a5210
mov ecx, esi
mov edi, eax
call fcn.00459645
test eax, eax
je 0x4a55e6
push 0
push eax
lea ecx, [edi + 8]
call fcn.0050cb6e
push 0x6a51d0
lea eax, [ebp - 0x320]
mov ecx, esi
push eax
call fcn.00459693
push eax
lea ecx, [ebx + 0x214]
call fcn.0040a1e2
xor ebx, ebx
lea ecx, [ebp - 0x320]
push ebx
push 1
call fcn.0040abbf
push ebx
push 1
lea ecx, [ebp - 0xc0]
call fcn.0042386b
push ebx
push 1
lea ecx, [ebp - 0x170]
call fcn.0042386b
push ebx
push 1
lea ecx, [ebp - 0xd8]
call fcn.0042386b
push ebx
push 1
lea ecx, [ebp - 0x188]
call fcn.0042386b
push ebx
push 1
lea ecx, [ebp - 0x24]
call fcn.0042386b
push ebx
push 1
lea ecx, [ebp + 4]
call fcn.0042386b
push ebx
push 1
lea ecx, [ebp - 0x1a0]
call fcn.0042386b
mov al, 1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
lea esp, [ebp + 0x70]
pop ebp
ret 8