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

Disassembly:
push ebp
sub esp, 0x64
mov eax, 0x6aea0e
call fcn.00664608
sub esp, 0xf0
push ebx
xor edx, edx
mov ebx, ecx
push esi
push edi
mov dword [ebp + 0x34], ebx
cmp byte [ebp + 0x70], dl
je 0x4a3012
push dword [ebp + 0x78]
lea ecx, [ebx + 0x20]
push dword [ebp + 0x74]
mov eax, dword [ecx]
push edx
push ebx
call dword [eax]
xor eax, eax
mov esi, eax
cmp dword [ebx + 0x1d8], eax
jbe 0x4a2f32
lea edi, [ebx + 0x1c8]
mov eax, dword [edi + 0xc]
lea ecx, [ebp - 0x14]
add eax, esi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], eax
call fcn.00425182
push dword [ebx + 0x6b8]
mov ecx, dword [eax]
call fcn.004dd0d2
inc esi
cmp esi, dword [ebx + 0x1d8]
jb 0x4a2f09
mov esi, dword [0x7b6dc4]
cmp esi, dword [ebx + 0x78c]
jl 0x4a2f84
jg 0x4a2f50
mov ecx, dword [0x7b6dc0]
cmp ecx, dword [ebx + 0x788]
jb 0x4a2f8a
mov ecx, ebx
call fcn.0049901b
mov ecx, dword [0x7b6dc0]
mov eax, dword [0x7b6dc4]
add ecx, 0xa
push 0
pop edi
adc eax, edi
mov dword [ebx + 0x788], ecx
mov dword [ebx + 0x78c], eax
mov esi, dword [0x7b6dc4]
mov ecx, dword [0x7b6dc0]
jmp 0x4a2f8c
mov ecx, dword [0x7b6dc0]
xor edi, edi
mov edx, dword [ebx + 0xc0]
mov eax, dword [ebx + 0xc4]
add edx, 0xa8c0
adc eax, edi
cmp esi, eax
jl 0x4a2fbd
jg 0x4a2faa
cmp ecx, edx
jb 0x4a2fbd
mov ecx, ebx
call fcn.004ae44b
mov esi, dword [0x7b6dc4]
mov ecx, dword [0x7b6dc0]
mov edx, dword [0x7b5ffc]
test edx, edx
je 0x4a2fdf
xor eax, eax
add edx, dword [ebx + 0x540]
adc eax, dword [ebx + 0x544]
cmp esi, eax
jg 0x4a3006
jl 0x4a2fdf
cmp ecx, edx
jae 0x4a3006
mov eax, dword [ebx + 0x520]
test eax, eax
jg 0x4a2fec
push 0x3c
pop eax
imul eax, eax, 0x3c
cdq
add eax, dword [ebx + 0x540]
adc edx, dword [ebx + 0x544]
cmp esi, edx
jl 0x4a3010
jg 0x4a3006
cmp ecx, eax
jb 0x4a3010
xor eax, eax
mov ecx, ebx
push eax
call fcn.0049537a
xor edx, edx
mov al, byte [ebx + 0x618]
test al, al
je 0x4a3037
sub al, 1
mov byte [ebx + 0x618], al
jne 0x4a3037
test byte [ebx + 0x13c], 1
je 0x4a3037
push edx
mov ecx, ebx
call fcn.004afb94
call fcn.004840b4
mov edi, eax
mov al, byte [ebp + 0x70]
test al, al
je 0x4a3109
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x168]
test al, al
je 0x4a3106
test edi, edi
jle 0x4a3106
mov ecx, dword [ebx + 0x1e4]
xor eax, eax
mov edx, dword [ebx + 0x1e0]
mov esi, eax
sub ecx, edx
sar ecx, 2
test ecx, ecx
je 0x4a30a6
mov eax, dword [edx]
mov al, byte [eax + 0x62]
test al, 1
jne 0x4a3089
test al, 0x10
jne 0x4a3095
push 4
pop eax
inc esi
add edx, eax
cmp esi, ecx
jne 0x4a307c
jmp 0x4a30a6
push 3
push edx
mov ecx, ebx
call fcn.0049731d
lea eax, [edi - 1]
test eax, eax
jle 0x4a3106
test byte [ebx + 0x13c], 0x40
jne 0x4a30b8
cmp byte [0x791dad], 0
je 0x4a3106
mov eax, dword [ebx + 0x1e4]
mov edx, dword [ebx + 0x1e0]
sub eax, edx
push 4
pop ecx
cmp eax, ecx
jb 0x4a3106
mov ecx, dword [0x791dfc]
test ecx, ecx
je 0x4a3106
mov eax, dword [ebx + 0x28c]
xor edi, edi
lea esi, [edx + eax*4]
mov eax, dword [esi]
cmp dword [eax + 0x74], edi
jg 0x4a30ff
push ecx
add eax, 0x38
push eax
call fcn.00498da5
test al, al
je 0x4a30ff
push esi
mov ecx, ebx
call fcn.0049865e
mov ecx, ebx
call fcn.004a9722
mov al, byte [ebp + 0x70]
test byte [ebx + 0x13c], 1
jne 0x4a3164
test al, al
je 0x4a41c1
mov al, byte [ebx + 0x2fd]
xor ecx, ecx
mov dword [ebx + 0x4c0], ecx
mov dword [ebx + 0x4c4], ecx
mov dword [ebx + 0x4c8], ecx
mov byte [ebx + 0x2fd], cl
test al, al
je 0x4a314b
push ecx
push 0x10000
mov ecx, ebx
call fcn.0049804b
test byte [ebx + 0x147], 0xc
jne 0x4a41c1
mov ecx, ebx
call fcn.004936de
jmp 0x4a41c1
mov al, byte [ebx + 0x148]
test al, 8
jne 0x4a32b5
or al, 8
lea ecx, [ebp + 0x44]
mov byte [ebx + 0x148], al
lea eax, [ebx + 0x1ec]
push eax
call fcn.0048f27c
mov eax, dword [ebx + 0x1ac]
lea ecx, [ebx + 0x19c]
xor edx, edx
mov dword [ebp + 0x5c], eax
mov dword [ebp - 4], edx
mov edi, edx
test eax, eax
je 0x4a3258
mov eax, dword [ebx + 0x1a8]
add eax, edi
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x18], eax
call fcn.00425182
mov ecx, eax
call fcn.0048139d
mov esi, eax
mov dword [ebp + 0x38], esi
test byte [esi + 0x89], 1
je 0x4a3244
mov eax, dword [esi]
xor ecx, ecx
mov esi, ecx
cmp dword [ebp + 0x54], ecx
je 0x4a3216
lea edx, [eax + 0x78]
lea ecx, [ebp + 0x44]
mov dword [ebp + 0x64], edx
mov ecx, dword [ecx + 8]
mov eax, dword [ebp + 0x50]
dec ecx
mov dword [ebp - 0x90], eax
add eax, esi
and ecx, eax
lea eax, [ebp + 0x44]
mov eax, dword [eax + 4]
push edx
mov ecx, dword [eax + ecx*4]
call fcn.0041114d
test al, al
jne 0x4a3235
mov edx, dword [ebp + 0x64]
lea ecx, [ebp + 0x44]
inc esi
cmp esi, dword [ebp + 0x54]
jne 0x4a31e6
mov esi, dword [ebp + 0x38]
xor eax, eax
push eax
mov ecx, esi
call fcn.004da802
push esi
mov ecx, ebx
call fcn.004a91a5
mov eax, dword [ebp + 0x5c]
dec eax
dec edi
mov dword [ebp + 0x5c], eax
jmp 0x4a3247
cmp esi, 0xffffffff
je 0x4a3216
push esi
lea eax, [ebp + 0x44]
push eax
call fcn.0048a961
mov eax, dword [ebp + 0x5c]
inc edi
lea ecx, [ebx + 0x19c]
cmp edi, eax
jb 0x4a31a7
xor edx, edx
cmp dword [ebp + 0x54], 0
mov esi, edx
jbe 0x4a3291
lea edi, [ebp + 0x44]
mov eax, dword [ebp + 0x50]
mov ecx, dword [edi + 8]
add eax, esi
dec ecx
and ecx, eax
mov eax, dword [edi + 4]
mov eax, dword [eax + ecx*4]
cmp dword [eax + 0x14], 0x10
jb 0x4a327c
mov eax, dword [eax]
push edx
push 1
push edx
push eax
mov ecx, ebx
call fcn.004af8f9
inc esi
push 0
pop edx
cmp esi, dword [ebp + 0x54]
jb 0x4a3263
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x44]
call fcn.0045a65a
mov eax, dword [ebp + 0x44]
xor ecx, ecx
push 8
push eax
mov dword [ebp + 0x44], ecx
call fcn.006643a9
mov al, byte [ebx + 0x148]
pop ecx
pop ecx
push 4
pop ecx
test cl, al
jne 0x4a32cb
or al, cl
mov ecx, ebx
mov byte [ebx + 0x148], al
call fcn.004acd14
cmp byte [ebp + 0x70], 0
je 0x4a32f0
mov ecx, dword [ebx + 0xcc]
mov eax, dword [ecx]
call dword [eax + 0x3c]
test al, al
je 0x4a32f0
mov ecx, dword [ebx + 0xcc]
push 1
mov eax, dword [ecx]
call dword [eax + 0xbc]
push 4
pop eax
test byte [ebx + 0x150], al
je 0x4a3992
mov eax, dword [ebx + 0x77c]
xor edx, edx
mov ecx, dword [ebx + 0x778]
cmp eax, edx
ja 0x4a3319
cmp ecx, edx
jbe 0x4a3992
add ecx, 0x3fff
adc eax, edx
shrd ecx, eax, 0xe
shr eax, 0xe
cmp dword [ebx + 0xf0], ecx
jne 0x4a3992
cmp edx, eax
jne 0x4a3992
push dword [ebx + 0xe0]
call fcn.00495364
test al, al
je 0x4a3992
mov esi, dword [ebx + 0xe0]
test esi, esi
je 0x4a336d
mov ecx, esi
call fcn.004f98e4
push 0x180
push esi
call fcn.006643a9
pop ecx
pop ecx
sub esp, 0x18
xor eax, eax
mov ecx, ebx
mov dword [ebx + 0xe0], eax
push esp
call fcn.0049c93a
mov ecx, ebx
call fcn.004aca79
xor ecx, ecx
xor eax, eax
push 7
pop edx
mov dword [ebp + 8], ecx
mov dword [ebp + 0x18], ecx
mov dword [ebp + 0x1c], edx
mov word [ebp + 8], ax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 4], 1
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], edx
mov word [ebp - 0x34], ax
mov byte [ebp - 4], 2
cmp dword [ebx + 0x750], ecx
je 0x4a3420
lea eax, [ebx + 0x740]
cmp dword [eax + 0x14], 0x10
jb 0x4a33c9
mov eax, dword [eax]
push str.magnet:
push eax
call fcn.00471422
test al, al
je 0x4a3420
mov eax, dword [ebx + 0xd8]
xor ecx, ecx
cmp dword [eax + 0x38], ecx
je 0x4a3420
lea ecx, [eax + 0x28]
lea edx, [ebp + 8]
cmp edx, ecx
je 0x4a3405
xor eax, eax
mov byte [ebp + 0x64], al
push dword [ebp + 0x64]
push ecx
mov ecx, edx
call fcn.00427ab9
mov eax, dword [ebx + 0xd8]
add eax, 0x40
lea ecx, [ebp - 0x34]
cmp ecx, eax
je 0x4a3420
xor ecx, ecx
mov byte [ebp + 0x64], cl
lea ecx, [ebp - 0x34]
push dword [ebp + 0x64]
push eax
call fcn.00427ab9
mov ecx, dword [ebx + 0xd8]
call fcn.004956ef
lea ecx, [ebx + 0x54c]
cmp dword [ecx + 0x14], 8
mov eax, ecx
jb 0x4a343b
mov eax, dword [ecx]
test eax, eax
je 0x4a344e
mov eax, dword [0x7bb024]
test eax, eax
jle 0x4a344e
dec eax
mov dword [0x7bb024], eax
xor eax, eax
mov ecx, ebx
push eax
push eax
push eax
push eax
call fcn.004a1972
mov esi, 0x1000
test al, al
je 0x4a37d2
test dword [0x7ba674], 0x4000000
je 0x4a34a5
mov ecx, dword [0x7b6dc0]
sub ecx, dword [ebx + 0x348]
mov eax, dword [0x7b6dc4]
sbb eax, dword [ebx + 0x34c]
push eax
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x130]
push eax
push str.Finished_receiving_metadata_for__s_in__d_seconds
call fcn.004704f0
add esp, 0x10
call fcn.00481820
push eax
call fcn.00481826
push eax
lea eax, [ebp - 0x6c]
mov ecx, ebx
push eax
call fcn.0049b677
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 3
push eax
mov ecx, ebx
call fcn.0049c93a
cmp dword [ebp - 0x58], 8
lea ecx, [ebp - 0x6c]
push 4
pop eax
mov byte [ebp - 4], al
jb 0x4a34e0
mov ecx, dword [ebp - 0x6c]
cmp dword [ebp - 0x70], 8
lea eax, [ebp - 0x84]
jb 0x4a34f2
mov eax, dword [ebp - 0x84]
push ecx
push eax
call fcn.00452dc8
test eax, eax
jne 0x4a353c
cmp dword [ebp - 0x58], 8
lea eax, [ebp - 0x6c]
jb 0x4a3509
mov eax, dword [ebp - 0x6c]
push eax
call fcn.00453a60
test al, al
je 0x4a355b
cmp dword [ebp - 0x58], 8
lea ecx, [ebp - 0x6c]
jb 0x4a351f
mov ecx, dword [ebp - 0x6c]
cmp dword [ebp - 0x70], 8
lea eax, [ebp - 0x84]
jb 0x4a3531
mov eax, dword [ebp - 0x84]
push ecx
push eax
call fcn.00452dc8
test eax, eax
je 0x4a355b
sub esp, 0x18
xor eax, eax
mov ecx, esp
mov dword [ecx], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
lea eax, [ebp - 0x6c]
push eax
call fcn.00427a37
mov ecx, ebx
call fcn.004aca79
cmp dword [ebp + 0x18], 0
jne 0x4a35a8
lea eax, [ebp - 0xcc]
push eax
call fcn.004605a4
lea ecx, [ebp + 8]
cmp ecx, eax
je 0x4a3585
xor ecx, ecx
mov byte [ebp + 0x64], cl
lea ecx, [ebp + 8]
push dword [ebp + 0x64]
push eax
call fcn.00427ad3
lea ecx, [ebp - 0xcc]
call fcn.00427afc
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
jb 0x4a359c
mov eax, dword [ebp + 8]
push dword [ebp + 0x18]
lea ecx, [ebp - 0x34]
push eax
call fcn.00427bc8
sub esp, 0x18
xor eax, eax
mov ecx, esp
mov dword [ecx], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
lea eax, [ebp + 8]
push eax
call fcn.00427a37
mov ecx, dword [ebx + 0xd8]
call fcn.004fbfc3
sub esp, 0x18
xor eax, eax
mov ecx, esp
mov dword [ecx], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
lea eax, [ebp - 0x34]
push eax
call fcn.00427a37
mov ecx, dword [ebx + 0xd8]
call fcn.004fbef3
test al, al
jne 0x4a366e
mov byte [ebp + 0x63], 1
call fcn.0046bca7
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
mov byte [ebp - 4], 5
jb 0x4a360b
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.004c8d73
lea ecx, [ebp - 0x34]
cmp ecx, eax
je 0x4a3630
xor ecx, ecx
mov byte [ebp + 0x64], cl
lea ecx, [ebp - 0x34]
push dword [ebp + 0x64]
push eax
call fcn.00427ad3
lea ecx, [ebp - 0xb4]
call fcn.00427afc
xor eax, eax
mov byte [ebp + 0x63], al
call fcn.0046bce8
sub esp, 0x18
xor eax, eax
mov ecx, esp
mov dword [ecx], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
lea eax, [ebp - 0x34]
push eax
call fcn.00427a37
mov ecx, dword [ebx + 0xd8]
call fcn.004fbef3
push 4
pop eax
mov byte [ebp - 4], al
xor eax, eax
mov ecx, ebx
push eax
push esi
call fcn.0049804b
or byte [ebx + 0x150], 8
mov ecx, ebx
call fcn.004998c0
mov eax, dword [ebx + 0x238]
mov dword [ebx + 0x23c], eax
mov edi, dword [ebx + 0x248]
mov esi, dword [edi]
cmp esi, edi
je 0x4a36af
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi]
mov esi, eax
cmp eax, edi
jne 0x4a369f
xor eax, eax
mov ecx, ebx
push eax
push 0x201
call fcn.0049804b
lea eax, [ebx + 0x1c8]
push eax
lea ecx, [ebp + 0x20]
call fcn.0048f223
xor eax, eax
mov byte [ebp - 4], 7
mov esi, eax
cmp dword [ebp + 0x30], eax
jbe 0x4a3700
lea edi, [ebp + 0x20]
mov eax, dword [ebp + 0x2c]
lea ecx, [ebp + 0x3c]
mov dword [ebp + 0x5c], eax
add eax, esi
mov dword [ebp + 0x3c], edi
mov dword [ebp + 0x40], eax
call fcn.00425182
mov ecx, dword [eax]
call fcn.004e0501
inc esi
cmp esi, dword [ebp + 0x30]
jb 0x4a36dd
lea ecx, [ebp + 0x20]
call fcn.00443db3
mov eax, dword [ebx]
xor ecx, ecx
push 0xffffffffffffffff
push ecx
mov ecx, ebx
call dword [eax + 0x50]
cmp byte [ebx + 0x154], 3
jne 0x4a3726
mov ecx, ebx
call fcn.004acd6d
jmp 0x4a3766
cmp byte [0x7b619c], 0
je 0x4a3766
mov ecx, ebx
call fcn.0049ec94
push ebx
call fcn.00483cbd
mov ax, word [ebx + 0x13c]
mov ecx, 0xfffe
and ax, cx
push 4
pop ecx
or ax, cx
mov ecx, ebx
movzx eax, ax
push eax
call fcn.004ac9a8
xor eax, eax
mov ecx, ebx
push eax
call fcn.004a8595
lea eax, [ebx + 0x4d4]
cmp dword [eax + 0x14], 0x10
jb 0x4a3774
mov eax, dword [eax]
lea ecx, [ebx + 0x54c]
cmp dword [ecx + 0x14], 8
jb 0x4a3782
mov ecx, dword [ecx]
push eax
push 3
xor eax, eax
push eax
mov eax, dword [ebx]
push str.Metadata_Complete
push ecx
mov ecx, ebx
call dword [eax + 0x34]
push eax
call fcn.004c82d3
lea ecx, [ebp + 0x20]
call fcn.00443db3
mov eax, dword [ebp + 0x20]
xor ecx, ecx
push 8
push eax
mov dword [ebp + 0x20], ecx
call fcn.006643a9
pop ecx
pop ecx
lea ecx, [ebp - 0x84]
call fcn.00427afc
lea ecx, [ebp - 0x6c]
call fcn.00427afc
mov esi, 0x1000
jmp 0x4a390e
xor eax, eax
mov dword [ebp - 0x38], 7
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x3c], eax
mov word [ebp - 0x4c], ax
mov ecx, ebx
mov byte [ebp - 4], 8
call fcn.0049e95e
test al, al
je 0x4a3827
lea eax, [ebp - 0xb4]
mov ecx, ebx
push eax
call fcn.0049b067
lea ecx, [ebp - 0x4c]
cmp ecx, eax
je 0x4a381a
xor ecx, ecx
mov byte [ebp + 0x64], cl
lea ecx, [ebp - 0x4c]
push dword [ebp + 0x64]
push eax
call fcn.00427ad3
lea ecx, [ebp - 0xb4]
call fcn.00427afc
jmp 0x4a3845
lea eax, [ebx + 0x728]
lea ecx, [ebp - 0x4c]
cmp ecx, eax
je 0x4a3845
xor ecx, ecx
mov byte [ebp + 0x64], cl
lea ecx, [ebp - 0x4c]
push dword [ebp + 0x64]
push eax
call fcn.00427ab9
test dword [0x7ba674], 0x20000
je 0x4a3876
cmp dword [ebp - 0x38], 8
lea eax, [ebp - 0x4c]
jb 0x4a385d
mov eax, dword [ebp - 0x4c]
push eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x130]
push eax
push str.ERROR:_Metadata_for__s_could_not_be_loaded_____s__
call fcn.004704f0
add esp, 0xc
test byte [ebx + 0x150], 0x10
je 0x4a38b5
mov eax, dword [ebx + 0x238]
xor ecx, ecx
cmp dword [eax + 4], ecx
je 0x4a38b5
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x130]
push eax
push str.BAN_peer:_Responsible_for__s_metadata_not_being_loaded_
call fcn.004704f0
mov eax, dword [ebx + 0x238]
pop ecx
pop ecx
xor ecx, ecx
push ecx
push ecx
push dword [eax + 4]
call fcn.00493776
mov ecx, ebx
call fcn.004998c0
lea eax, [ebp + 0x63]
push eax
push 1
lea ecx, [ebx + 0x238]
call fcn.0048cf9c
push 1
mov ecx, ebx
call fcn.00496901
mov eax, dword [ebp - 0x38]
cmp eax, 8
jb 0x4a390e
mov ecx, dword [ebp - 0x4c]
lea eax, [eax*2 + 2]
mov dword [ebp + 0x40], eax
mov dword [ebp + 0x5c], ecx
cmp eax, esi
jb 0x4a3905
lea eax, [ebp + 0x40]
push eax
lea eax, [ebp + 0x5c]
push eax
call fcn.004279ae
mov eax, dword [ebp + 0x40]
mov ecx, dword [ebp + 0x5c]
push eax
push ecx
call fcn.006643a9
pop ecx
pop ecx
mov eax, dword [ebp - 0x20]
cmp eax, 8
jb 0x4a3946
mov ecx, dword [ebp - 0x34]
lea eax, [eax*2 + 2]
mov dword [ebp + 4], eax
mov dword [ebp], ecx
cmp eax, esi
jb 0x4a393d
lea eax, [ebp + 4]
push eax
lea eax, [ebp]
push eax
call fcn.004279ae
mov eax, dword [ebp + 4]
mov ecx, dword [ebp]
push eax
push ecx
call fcn.006643a9
pop ecx
pop ecx
or dword [ebp - 4], 0xffffffff
xor eax, eax
mov dword [ebp - 0x24], eax
mov word [ebp - 0x34], ax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x20], 7
cmp eax, 8
jb 0x4a3992
mov ecx, dword [ebp + 8]
lea eax, [eax*2 + 2]
mov dword [ebp + 0x38], eax
mov dword [ebp + 0x64], ecx
cmp eax, esi
jb 0x4a3989
lea eax, [ebp + 0x38]
push eax
lea eax, [ebp + 0x64]
push eax
call fcn.004279ae
mov eax, dword [ebp + 0x38]
mov ecx, dword [ebp + 0x64]
push eax
push ecx
call fcn.006643a9
pop ecx
pop ecx
cmp byte [ebp + 0x70], 0
je 0x4a3ce5
or dword [ebp - 0x54], 0xffffffff
or dword [ebp - 0x50], 0xffffffff
jmp 0x4a39bf
mov eax, dword [esi + 0x14]
add eax, 0x2d
cdq
cmp dword [0x7b6dc4], edx
jg 0x4a39d6
jl 0x4a39bf
cmp dword [0x7b6dc0], eax
ja 0x4a39d6
lea eax, [ebp - 0x54]
push eax
push dword [ebx + 0x1dc]
call fcn.004f381c
mov esi, eax
test esi, esi
jne 0x4a39a6
jmp 0x4a3a19
test byte [0x7ba674], 0x40
je 0x4a39ec
push esi
push str.Timing_out_hole_punch_request__A_
call fcn.004704f0
pop ecx
pop ecx
mov edx, dword [esi + 0x18]
push esi
mov ecx, dword [edx + 0x7b]
mov eax, ecx
and eax, 0xf0000000
not ecx
dec eax
and ecx, 0xfffffff
xor eax, ecx
mov dword [edx + 0x7b], eax
push dword [ebx + 0x1dc]
call fcn.004f377d
inc dword [0x7bb000]
cmp byte [ebx + 0x146], 0
je 0x4a3a47
call fcn.0045f33e
movzx ecx, byte [ebx + 0x146]
xor edx, edx
shr ecx, 1
inc ecx
div ecx
push 0
shl edx, 0xf
add dword [ebx + 0x290], edx
pop eax
adc dword [ebx + 0x294], eax
test byte [ebx + 0x13c], 0x20
jne 0x4a3be0
cmp byte [0x791cd4], 0
mov cl, byte [0x791cd5]
je 0x4a3ac0
mov eax, dword [ebx + 0xe4]
cmp eax, 0x80000
ja 0x4a3a74
mov cl, 0xa
jmp 0x4a3ac0
mov dword [ebp + 0x64], eax
fild dword [ebp + 0x64]
test eax, eax
jns 0x4a3a84
fadd dword [0x6d7138]
fstp dword [ebp + 0x64]
fld dword [ebp + 0x64]
fdiv qword [0x6e1668]
push ecx
push ecx
fstp dword [ebp + 0x64]
fld dword [ebp + 0x64]
fstp qword [esp]
call fcn.0067cfa0
fstp dword [ebp + 0x64]
fld dword [ebp + 0x64]
pop ecx
pop ecx
call fcn.00664ed0
mov ecx, 0xff
cmp eax, ecx
ja 0x4a3ac0
mov ecx, eax
cmp eax, 0xa
jae 0x4a3ac0
push 0xa
pop ecx
inc byte [ebx + 0x138]
cmp byte [ebx + 0x138], cl
jb 0x4a3ae0
xor eax, eax
mov ecx, ebx
push eax
push eax
push eax
mov byte [ebx + 0x138], al
call fcn.00496241
inc byte [ebx + 0x13a]
cmp byte [ebx + 0x13a], 0xa
jb 0x4a3b12
xor eax, eax
test byte [ebx + 0x147], 0x20
mov byte [ebx + 0x13a], al
jne 0x4a3b12
mov ecx, ebx
call fcn.004952a8
test al, al
je 0x4a3b12
mov ecx, ebx
call fcn.004ac198
mov eax, dword [ebx + 0x2f4]
test eax, eax
jne 0x4a3bd9
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x148]
test al, al
je 0x4a3be0
mov ecx, dword [0x7ba7f0]
mov eax, dword [ecx]
call dword [eax + 0x5c]
test al, al
je 0x4a3be0
xor eax, eax
mov ecx, ebx
mov esi, eax
mov eax, dword [ebx]
call dword [eax + 0xe8]
test al, al
je 0x4a3b58
inc esi
cmp dword [ebx + 0x1d8], 5
jb 0x4a3b64
or esi, 2
mov edi, dword [0x7ba7f0]
mov ecx, ebx
call fcn.0049b65e
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.0043bb7d
cmp dword [eax + 0x14], 0x10
mov dword [ebp - 4], 9
jb 0x4a3b8d
mov eax, dword [eax]
mov edx, dword [edi]
xor ecx, ecx
push esi
push ecx
push eax
push 0x484b5f
push 0x4815b7
lea eax, [ebx + 8]
mov ecx, edi
push eax
call dword [edx + 0x28]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb4]
call fcn.00410858
call fcn.0045f33e
xor edx, edx
mov ecx, 0x12c
div ecx
add edx, 0x4b0
or byte [ebx + 0x2fc], 1
mov dword [ebx + 0x2f4], edx
jmp 0x4a3be0
dec eax
mov dword [ebx + 0x2f4], eax
mov ecx, ebx
call fcn.00493b04
mov eax, dword [ebx + 0x1e4]
sub eax, dword [ebx + 0x1e0]
push 4
pop ecx
cmp eax, ecx
jb 0x4a3c9f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x168]
test al, al
jne 0x4a3c9f
mov ecx, dword [ebx + 0x28c]
mov eax, dword [ebx + 0x1e0]
lea esi, [eax + ecx*4]
xor ecx, ecx
mov eax, dword [esi]
cmp dword [eax + 0x74], ecx
jg 0x4a3c98
test byte [eax + 0x62], 1
jne 0x4a3c98
mov al, byte [0x7c2f4f]
or al, byte [0x7bb049]
or al, byte [0x7c3082]
jne 0x4a3c98
call fcn.004840b4
test eax, eax
jle 0x4a3c98
push esi
mov ecx, ebx
call fcn.0049cc89
mov edx, dword [esi]
mov byte [ebp + 0x64], al
mov cl, byte [edx + 0x60]
cmp al, cl
je 0x4a3c62
test al, al
jne 0x4a3c7e
cmp cl, 3
je 0x4a3c7e
lea ecx, [edx + 0x28]
mov eax, dword [ecx]
or eax, dword [ecx + 4]
je 0x4a3c7e
push dword [edx + 0x1c]
push ecx
call fcn.00498da5
test al, al
je 0x4a3c98
mov eax, dword [0x7ba914]
test eax, eax
jle 0x4a3c98
push dword [ebp + 0x64]
dec eax
mov ecx, ebx
push esi
mov dword [0x7ba914], eax
call fcn.0049731d
mov ecx, ebx
call fcn.004a9722
movzx esi, word [ebx + 0x13c]
mov ecx, ebx
shr esi, 5
not esi
and esi, 1
add dword [ebx + 0x3e0], esi
push 0
pop eax
adc dword [ebx + 0x3e4], eax
mov eax, dword [ebx]
call dword [eax + 0xe8]
test al, al
jne 0x4a3cd6
mov ecx, ebx
call fcn.004ab400
test al, al
je 0x4a3ce5
add dword [ebx + 0x3e8], esi
push 0
pop eax
adc dword [ebx + 0x3ec], eax
mov al, byte [ebx + 0x147]
test al, 2
je 0x4a3d7a
and al, 0xfd
lea ecx, [ebp + 0x44]
mov byte [ebx + 0x147], al
lea eax, [ebx + 0x1c8]
push eax
call fcn.0048f223
mov edi, dword [ebp + 0x54]
xor eax, eax
mov dword [ebp - 4], 0xa
mov esi, eax
test edi, edi
je 0x4a3d54
mov ebx, dword [ebp + 0x50]
lea ecx, [ebp + 0x44]
lea eax, [ebx + esi]
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x18], eax
call fcn.00425182
mov ecx, dword [eax]
test byte [ecx + 0x18f], 2
je 0x4a3d49
call fcn.004de6db
mov edi, dword [ebp + 0x54]
mov ebx, dword [ebp + 0x50]
inc esi
lea ecx, [ebp + 0x44]
cmp esi, edi
jb 0x4a3d22
mov ebx, dword [ebp + 0x34]
lea ecx, [ebp + 0x44]
call fcn.00443db3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x44]
call fcn.00443db3
mov eax, dword [ebp + 0x44]
xor ecx, ecx
push 8
push eax
mov dword [ebp + 0x44], ecx
call fcn.006643a9
pop ecx
pop ecx
cmp byte [ebp + 0x70], 0
je 0x4a4153
xor eax, eax
lea ecx, [ebp + 0x20]
mov edi, eax
mov dword [ebp + 0x40], eax
mov esi, eax
mov dword [ebp + 0x5c], edi
lea eax, [ebx + 0x1c8]
push eax
call fcn.0048f223
xor eax, eax
mov dword [ebp - 4], 0xb
cmp dword [ebp + 0x30], eax
jbe 0x4a3e06
lea ecx, [ebp + 0x20]
mov ebx, eax
mov eax, dword [ebp + 0x2c]
add eax, ebx
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], eax
call fcn.00425182
mov edi, dword [eax]
test byte [edi + 0x18f], 2
je 0x4a3ddd
push dword [ebp + 0x78]
mov ecx, edi
push dword [ebp + 0x74]
call fcn.004defc1
mov eax, dword [ebp + 0x40]
lea ecx, [ebp + 0x20]
add eax, dword [edi + 0xa8]
add esi, dword [edi + 0xa0]
mov dword [ebp + 0x40], eax
mov eax, dword [ebp + 0x5c]
add eax, dword [edi + 0x60]
inc ebx
mov dword [ebp + 0x5c], eax
cmp ebx, dword [ebp + 0x30]
jb 0x4a3db2
mov ebx, dword [ebp + 0x34]
mov edi, eax
lea ecx, [ebp + 0x20]
call fcn.00443db3
xor eax, eax
mov dword [ebx + 0x4c0], esi
push eax
call fcn.0048918f
mov dword [ebp - 0x9c], eax
lea ecx, [ebx + 0x668]
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x98], edx
push eax
mov dword [ebp - 0x94], esi
call fcn.00493022
imul eax, dword [ebx + 0x4cc], 0x7f
mov ecx, dword [ebp + 0x40]
mov dword [ebx + 0x4c8], ecx
mov dword [ebx + 0x4c4], edi
add eax, ecx
mov cl, byte [ebx + 0x2fd]
add eax, eax
shr eax, 8
mov dword [ebx + 0x4cc], eax
cmp edi, dword [0x791da0]
jae 0x4a3e89
cmp esi, dword [0x791d9c]
jae 0x4a3e89
mov al, cl
test cl, cl
je 0x4a3e92
dec al
mov byte [ebx + 0x2fd], al
jmp 0x4a3e92
mov byte [ebx + 0x2fd], 0xf
mov al, 0xf
xor dl, dl
cmp dl, cl
sbb ecx, ecx
neg ecx
cmp dl, al
sbb eax, eax
neg eax
cmp ecx, eax
je 0x4a3eb3
xor eax, eax
mov ecx, ebx
push eax
push 0x10000
call fcn.0049804b
inc dword [ebx + 0x300]
xor edx, edx
mov eax, dword [ebx + 0x300]
push 0x3c
pop ecx
div ecx
test edx, edx
jne 0x4a3f8f
mov ecx, ebx
call fcn.004ab479
cmp byte [0x791d8a], 0
je 0x4a3f15
mov eax, dword [ebx + 0x140]
mov ecx, dword [0x791ce4]
cmp eax, ecx
jb 0x4a3ef0
mov eax, ecx
cmp dword [ebx + 0x1ac], eax
jae 0x4a3f05
mov eax, dword [0x7b6dec]
cmp eax, dword [0x791cec]
jb 0x4a3f15
cmp byte [ebx + 0x147], 0
jl 0x4a3f15
mov ecx, ebx
call fcn.004981e6
mov ecx, ebx
call fcn.004990a2
xor eax, eax
push eax
call fcn.0048918f
mov esi, dword [ebx + 0x178]
mov ecx, dword [ebx + 0x17c]
add esi, 0xe4c
push 0
pop edi
adc ecx, edi
cmp ecx, edx
jg 0x4a3f8f
jl 0x4a3f45
cmp esi, eax
jae 0x4a3f8f
mov ecx, dword [0x7ba7f0]
xor eax, eax
push 0x485f65
push eax
lea eax, [ebx + 8]
mov edx, dword [ecx]
push eax
xor eax, eax
push eax
call dword [edx + 0x18]
call fcn.0067800d
push 0x3c
cdq
pop ecx
idiv ecx
push 0
mov eax, edx
cdq
mov edi, eax
mov esi, edx
pop eax
sub edi, 0x1e
push eax
sbb esi, eax
call fcn.0048918f
add eax, edi
mov dword [ebx + 0x178], eax
adc edx, esi
mov dword [ebx + 0x17c], edx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.00443db3
mov eax, dword [ebp + 0x20]
xor ecx, ecx
push 8
push eax
mov dword [ebp + 0x20], ecx
call fcn.006643a9
test byte [ebx + 0x151], 8
mov eax, dword [0x7b6dc4]
mov edi, dword [0x7b6dc0]
pop ecx
pop ecx
mov dword [ebp + 0x78], eax
jne 0x4a411e
push 4
pop eax
test byte [ebx + 0x150], al
je 0x4a411e
lea esi, [ebx + 0x218]
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x4a3fe7
mov eax, dword [esi]
push str.http:
push eax
call fcn.00471422
test al, al
jne 0x4a4013
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x4a4000
mov eax, dword [esi]
push 0x6d6d9c
push eax
call fcn.00471422
test al, al
je 0x4a411e
mov eax, dword [ebx + 0x230]
mov ecx, dword [0x7b6ba0]
cmp eax, ecx
jl 0x4a4025
mov eax, ecx
cdq
add eax, dword [ebx + 0x348]
adc edx, dword [ebx + 0x34c]
cmp edx, dword [ebp + 0x78]
ja 0x4a411e
jb 0x4a4045
cmp eax, edi
jae 0x4a411e
or byte [ebx + 0x151], 8
push 0xc4
call fcn.00664379
pop ecx
mov dword [ebp + 0x78], eax
mov dword [ebp - 4], 0xc
test eax, eax
je 0x4a406e
mov ecx, eax
call fcn.00458c2c
jmp 0x4a4070
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov ecx, eax
mov dword [ebp + 0x70], ecx
test ecx, ecx
je 0x4a4083
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
xor eax, eax
mov dword [ebp - 4], 0xd
push eax
push eax
lea eax, [ebp - 0xcc]
push eax
call fcn.004518bd
mov ecx, dword [ebp + 0x70]
push eax
lea ecx, [ecx + 8]
call fcn.00427924
lea ecx, [ebp - 0xcc]
call fcn.00427afc
xor eax, eax
mov ecx, esi
push eax
call fcn.00423dc5
mov eax, dword [ebp + 0x70]
add eax, 8
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.0043bb7d
push eax
mov ecx, esi
mov byte [ebp - 4], 0xe
call fcn.00411220
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0xd
call fcn.00410858
cmp dword [esi + 0x14], 0x10
jb 0x4a40f1
mov esi, dword [esi]
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp + 0x70]
push eax
push 0x4a214b
push ebx
push esi
call fcn.00459a82
mov eax, dword [ebp + 0x70]
mov dword [ebp - 4], 0xf
test eax, eax
je 0x4a411a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov ecx, ebx
call fcn.004936de
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xe8]
test al, al
jne 0x4a4153
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x15c]
and al, 0x21
cmp al, 1
jne 0x4a4153
add dword [ebx + 0x330], 1
push 0
pop eax
adc dword [ebx + 0x334], eax
lea ecx, [ebp + 0x73]
push ecx
lea eax, [ebx + 0x244]
push eax
lea ecx, [ebp - 0xfc]
call fcn.0047f42a
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 4], 0x10
mov dword [ebp + 0x70], eax
mov edi, dword [eax]
cmp edi, eax
je 0x4a41ab
mov esi, dword [ebx + 0x248]
lea eax, [edi + 8]
push eax
lea eax, [ebp + 0x34]
push eax
lea ecx, [ebx + 0x244]
call fcn.00480781
cmp dword [eax], esi
je 0x4a41a4
mov ecx, dword [edi + 8]
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov edi, dword [edi]
cmp edi, dword [ebp + 0x70]
jne 0x4a417f
lea ecx, [ebp - 0xf0]
call fcn.0045d567
lea ecx, [ebp - 0xf8]
call fcn.004864ae
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add ebp, 0x68
leave
ret 0xc