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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x62c579
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x188
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0x4b0]
push esi
push edi
add eax, 4
push eax
lea ecx, [esp + 0x40]
call fcn.0042c590
xor eax, eax
mov dword [esp + 0x19c], eax
lea ecx, [esp + 0x78]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
call fcn.0041926a
mov ecx, dword [ebp + 0x28]
lea eax, [esp + 0x70]
call fcn.00454c12
test al, al
je 0x47a34a
push dword [ebp + 0x28]
mov ecx, dword [ebx + 0x4b0]
call fcn.00445bc4
mov eax, dword [0x719f04]
mov esi, dword [0x719f00]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x698]
mov eax, dword [eax + 0x120]
cmp dword [ebp + 0x18], eax
mov dword [esp + 0x10], esi
jge 0x47a371
mov dword [ebp + 0x18], eax
push dword [ebp + 8]
push ebx
call fcn.004830d8
mov edi, eax
test edi, edi
je 0x47a42a
mov al, byte [edi + 0x34]
test al, 4
jne 0x47a399
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x5c], 2
jne 0x47a399
or al, 4
mov byte [edi + 0x34], al
mov al, byte [edi + 0x34]
test al, 8
jne 0x47a3ae
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x5c], 1
jne 0x47a3ae
or al, 8
mov byte [edi + 0x34], al
mov al, byte [edi + 0x34]
and al, 0xfd
or al, 1
mov byte [edi + 0x34], al
mov eax, dword [ebp + 0x18]
cdq
push edx
push eax
lea esi, [esp + 0x30]
mov byte [edi + 0x32], 0
call fcn.0042d38b
mov ecx, dword [eax]
mov eax, dword [eax + 4]
add ecx, dword [esp + 0x18]
lea esi, [esp + 0x30]
adc eax, dword [esp + 0x1c]
mov dword [edi + 0x20], ecx
mov dword [edi + 0x24], eax
mov eax, dword [ebp + 0x1c]
cdq
push edx
push eax
call fcn.0042d38b
mov ecx, dword [eax]
mov eax, dword [eax + 4]
add esp, 0x10
add ecx, dword [esp + 0x10]
push 0
adc eax, dword [esp + 0x18]
lea esi, [ebx + 0x4e8]
mov dword [edi + 0x28], ecx
mov dword [edi + 0x2c], eax
call fcn.00484145
sub edi, eax
push 0x38
mov eax, edi
cdq
pop ecx
idiv ecx
push ebx
call fcn.00480ae9
mov esi, dword [esp + 0x10]
mov byte [ebx + 0x6c6], al
mov edi, dword [esp + 0x14]
push edi
push esi
push ebx
call fcn.004819f2
mov eax, dword [ebp + 0x20]
test eax, eax
jl 0x47a443
mov dword [ebx + 0x6b8], eax
mov ecx, dword [ebp + 0x24]
test ecx, ecx
jl 0x47a450
mov dword [ebx + 0x6bc], ecx
test eax, eax
jl 0x47a464
test ecx, ecx
jl 0x47a464
mov dword [ebx + 0x130], esi
mov dword [ebx + 0x134], edi
mov edi, dword [ebp + 0x14]
push dword [edi + 0xc]
lea esi, [esp + 0x14]
call fcn.00411f96
mov edi, dword [ebp + 0x14]
push dword [edi + 0x10]
lea esi, [esp + 0x64]
call fcn.00411f96
mov eax, dword [esp + 0x10]
test eax, eax
je 0x47a490
cmp eax, dword [esp + 0x60]
je 0x47a495
call fcn.005b331a
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x64]
je 0x47a6be
mov edi, dword [ebx + 0x4b0]
lea esi, [esp + 0x10]
add edi, 0x614
call fcn.00448f0d
add eax, 0x20
push eax
mov eax, edi
call fcn.0046094d
test al, al
jne 0x47a693
and dword [esp + 0x1c], 0
call fcn.005e9710
mov dword [esp + 0x20], eax
call fcn.00448f0d
movzx eax, word [eax + 0x1c]
push eax
push ecx
lea eax, [esp + 0x24]
push eax
call fcn.00448f0d
lea ecx, [esp + 0x7c]
push ecx
call fcn.0048c81a
add esp, 0xc
mov edi, eax
lea esi, [esp + 0x114]
call fcn.00445e00
mov eax, dword [esp + 0x1c]
neg eax
sbb eax, eax
test eax, fcn.0040c472
je 0x47a647
lea esi, [esp + 0x10]
call fcn.00448f0d
mov eax, dword [eax + 0x1c]
cdq
push edx
push eax
lea eax, [esp + 0x78]
push eax
call fcn.0043c323
add esp, 0xc
push 5
pop ecx
mov esi, eax
lea edi, [esp + 0x9c]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0x48]
movsb byte es:[edi], byte [esi]
call fcn.00402c8d
mov byte [esp + 0x19c], 1
lea eax, [esp + 0x44]
push eax
lea esi, [esp + 0x14]
call fcn.00448f0d
push eax
lea eax, [esp + 0xc0]
push eax
call fcn.00447aa1
mov byte [esp + 0x19c], 3
push 0
push 1
lea ecx, [esp + 0x4c]
call fcn.00403b67
and dword [esp + 0x2c], 0
sub esp, 0x28
mov eax, esp
mov dword [esp + 0xc0], esp
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0xc4], esp
push ecx
lea ecx, [ebx + 0x90]
push ecx
mov esi, 0x47a976
mov dword [esp + 0x5c], eax
call fcn.00484279
mov byte [esp + 0x1cc], 4
push dword [esp + 0x5c]
push esi
lea esi, [esp + 0x48]
call fcn.00448f0d
sub esp, 0x14
mov esi, eax
movzx eax, byte [0x719f1e]
push 5
pop ecx
mov edi, esp
push eax
movzx eax, byte [0x719f1d]
push eax
mov eax, dword [esp + 0x78]
add esi, 0x20
rep movsd dword es:[edi], dword [esi]
push eax
mov byte [esp + 0x1f4], 3
call fcn.0048746c
add esp, 0x30
mov byte [esp + 0x1c4], 5
lea eax, [esp + 0xe0]
push eax
lea ecx, [ebx + 0x1e8]
mov byte [esp + 0x1c8], 3
call fcn.00487512
mov byte [esp + 0x19c], 0
lea eax, [esp + 0xb8]
push eax
call fcn.004a8d54
jmp 0x47a693
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x114]
call fcn.0042c50f
mov ecx, eax
call fcn.004ad477
test al, al
je 0x47a66f
mov ecx, dword [ebp + 0xc]
call fcn.004ad477
test al, al
je 0x47a693
push 0
push 1
lea esi, [esp + 0x18]
call fcn.00448f0d
add eax, 0x20
push eax
lea eax, [esp + 0x11c]
push eax
lea ecx, [ebx + 0xc8]
call fcn.0048dffb
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x47a6ba
call fcn.005b331a
xor eax, eax
mov ecx, dword [esp + 0x14]
cmp ecx, dword [eax + 0x10]
jb 0x47a6b0
call fcn.005b331a
add dword [esp + 0x14], 0x34
jmp 0x47a473
mov eax, dword [eax]
jmp 0x47a6a2
mov esi, dword [ebx + 0x4b0]
mov edi, 0xc0
add esi, edi
lea eax, [esi + 0x20]
push eax
lea ecx, [esp + 0x14]
call fcn.0042c590
mov byte [esp + 0x19c], 6
mov eax, dword [esi + 0x1c]
cmp eax, dword [esi + 0x58]
jb 0x47a709
mov byte [esp + 0x19c], 0
cmp byte [esp + 0x14], 0
je 0x47a7d1
mov ecx, dword [esp + 0x10]
call fcn.0042cd16
jmp 0x47a7d1
mov eax, dword [esi + 0x54]
shr eax, 4
and al, 1
mov byte [esp + 0x1b], al
mov byte [esp + 0x19c], 0
cmp byte [esp + 0x14], 0
je 0x47a731
mov ecx, dword [esp + 0x10]
call fcn.0042cd16
mov al, byte [esp + 0x1b]
test al, al
je 0x47a7d1
lea eax, [esp + 0x28]
push eax
push ebx
call fcn.00480ead
mov dword [esp + 0x24], eax
mov byte [esp + 0x19c], 7
mov ecx, dword [ebp + 0x14]
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0xc]
push 0x34
cdq
pop ecx
idiv ecx
mov esi, eax
mov eax, dword [ebp + 8]
add eax, 0x60
push eax
push dword [esp + 0x28]
lea eax, [esp + 0xc0]
push eax
call fcn.00473c5b
mov byte [esp + 0x19c], 8
mov dword [esp + 0xb8], vtable.libtorrent::tracker_reply_alert.0
mov dword [esp + 0xf0], esi
mov byte [esp + 0x19c], 9
mov ecx, dword [ebx + 0x4b0]
add ecx, edi
lea edi, [esp + 0xb8]
call fcn.004a3370
mov byte [esp + 0x19c], 7
mov eax, edi
push eax
call fcn.00474b91
mov byte [esp + 0x19c], 0
lea eax, [esp + 0x28]
push eax
call fcn.00441f32
mov ecx, dword [ebx + 0x4b0]
or byte [ebx + 0x6ca], 0x80
lea eax, [esp + 0x44]
push eax
add ecx, 0x6b0
call fcn.0042c50f
push eax
call fcn.004ad556
mov esi, dword [ebp + 0xc]
pop ecx
test al, al
jne 0x47a801
cmp dword [esi], 0
je 0x47a82f
mov ecx, dword [ebx + 0x4b0]
lea eax, [esp + 0x44]
push eax
add ecx, 0x730
call fcn.0042c50f
push eax
call fcn.004ad556
pop ecx
test al, al
jne 0x47a947
cmp dword [esi], 1
jne 0x47a947
mov ecx, dword [ebx + 0x4b0]
mov edi, dword [ebp + 8]
lea eax, [esp + 0x44]
push eax
add ecx, 0x730
add edi, 0xbc
call fcn.0042c50f
mov ecx, edi
call fcn.00454c12
test al, al
je 0x47a947
mov ecx, dword [ebx + 0x4b0]
lea eax, [esp + 0x44]
push eax
add ecx, 0x6b0
call fcn.0042c50f
mov ecx, edi
call fcn.00454c12
test al, al
je 0x47a947
mov eax, dword [ebp + 8]
cmp dword [eax + 0x5c], 3
je 0x47a947
cmp dword [esi], 0
mov ecx, 0x4550fc
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x2c]
sete al
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebp + 0x10]
mov byte [esp + 0x30], al
mov eax, dword [ecx + 0x14]
mov ecx, dword [ecx]
mov edx, dword [eax]
lea esi, [esp + 0x28]
lea edi, [esp + 0x64]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [esp + 0x70]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
push ecx
push edx
movsd dword es:[edi], dword [esi]
push ecx
lea eax, [esp + 0x3c]
push eax
movsd dword es:[edi], dword [esi]
call fcn.00487591
mov eax, dword [ebp + 0x10]
mov esi, dword [eax + 0x14]
mov eax, dword [eax]
add esp, 0x24
cmp dword [esp + 0x1c], 0
je 0x47a8f2
cmp dword [esp + 0x1c], eax
je 0x47a8f7
call fcn.005b331a
cmp dword [esp + 0x20], esi
je 0x47a947
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0
mov ecx, dword [ebx + 0x4b0]
jne 0x47a917
lea eax, [esp + 0x70]
add ecx, 0x6b0
jmp 0x47a924
lea eax, [esp + 0x9c]
add ecx, 0x730
push eax
call fcn.0042c50f
mov ecx, eax
lea eax, [esp + 0x44]
call fcn.00455104
lea eax, [esp + 0x44]
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x5c]
mov ecx, ebx
call fcn.00479702
or dword [esp + 0x19c], 0xffffffff
cmp byte [esp + 0x40], 0
je 0x47a95f
mov ecx, dword [esp + 0x3c]
call fcn.0042cd16
mov ecx, dword [esp + 0x194]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x24