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

Disassembly:
mov eax, 0x6736c7
call fcn.006313fc
mov edx, dword [0x762f20]
sub esp, 0x50
push ebx
push ebp
mov ebp, dword [0x762f24]
mov ebx, ecx
push esi
push edi
push 0
lea edi, [ebx + 0x328]
mov ecx, dword [edi]
mov eax, dword [edi + 4]
add ecx, 0x3c
pop esi
adc eax, esi
cmp eax, ebp
jl 0x4e18f9
jg 0x4e1894
cmp ecx, edx
jbe 0x4e18f9
mov eax, dword [ebx + 0x13c]
test eax, eax
je 0x4e18e8
or byte [eax + 0x4f], 1
push edi
call fcn.00639758
pop ecx
push eax
lea ecx, [esp + 0x38]
call fcn.00409ba7
cmp dword [esp + 0x48], 0x10
mov eax, dword [esp + 0x34]
mov dword [esp + 0x68], esi
jae 0x4e18c6
lea eax, [esp + 0x34]
push eax
push 5
push str.Banning_peer:_too_many_pex_messages.__d_since__S
push ebx
call fcn.004e66e2
or dword [esp + 0x78], 0xffffffff
lea ecx, [esp + 0x44]
add esp, 0x10
push esi
push 1
call fcn.0040a0e9
push str.PEX_message_flood
mov ecx, ebx
call fcn.004df45d
jmp 0x4e1b2c
push 8
lea esi, [ebx + 0x330]
pop ecx
rep movsd dword es:[edi], dword [esi]
cmp dword [ebx + 0x37c], 0
mov dword [ebx + 0x348], edx
mov dword [ebx + 0x34c], ebp
jne 0x4e192c
push 0x20
push 0x1c
push 0x12
push 0x1d
call fcn.004fb5d6
mov dword [ebx + 0x37c], eax
mov ecx, dword [esp + 0x74]
lea eax, [esp + 0x24]
and dword [esp + 0x20], 0
and dword [esp + 0x24], 0
push eax
push str.added.f
call fcn.0045bcaf
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
push eax
push str.added
call fcn.0045bcaf
push 6
pop ebp
mov edi, eax
push 5
pop esi
test edi, edi
je 0x4e19c3
xor ebp, ebp
cmp dword [esp + 0x20], esi
jbe 0x4e19c0
mov eax, esi
sub eax, edi
mov dword [esp + 0x10], eax
mov esi, eax
cmp ebp, dword [esp + 0x24]
jae 0x4e1991
mov eax, dword [esp + 0x2c]
mov al, byte [eax + ebp]
mov byte [esp + 0x10], al
jmp 0x4e1996
mov byte [esp + 0x10], 0
push dword [esp + 0x10]
lea ecx, [esp + 0x38]
push 0
push 6
push edi
call fcn.004c61bc
push eax
mov ecx, ebx
call fcn.004de719
add edi, 6
inc ebp
lea eax, [esi + edi]
cmp eax, dword [esp + 0x20]
jb 0x4e197e
push 5
pop esi
push 6
pop ebp
mov ecx, dword [esp + 0x74]
lea eax, [esp + 0x18]
and dword [esp + 0x18], 0
push eax
push str.dropped
call fcn.0045bcaf
mov edi, eax
test edi, edi
je 0x4e1a0a
cmp dword [esp + 0x18], esi
jbe 0x4e1a0a
push 0
push ebp
push edi
lea ecx, [esp + 0x40]
call fcn.004c61bc
push eax
push dword [ebx + 0x37c]
call fcn.004fb63b
add esi, ebp
add edi, ebp
cmp esi, dword [esp + 0x18]
jb 0x4e19e7
mov ecx, dword [esp + 0x74]
lea eax, [esp + 0x28]
and dword [esp + 0x1c], 0
and dword [esp + 0x28], 0
push eax
push str.added6.f
call fcn.0045bcaf
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x1c]
push eax
push str.added6
call fcn.0045bcaf
mov edi, eax
push 0x11
pop esi
test edi, edi
je 0x4e1a9b
xor ebp, ebp
cmp dword [esp + 0x1c], esi
jbe 0x4e1a9b
mov eax, esi
sub eax, edi
mov dword [esp + 0x2c], eax
mov esi, eax
cmp ebp, dword [esp + 0x28]
jae 0x4e1a6c
mov eax, dword [esp + 0x30]
mov al, byte [eax + ebp]
mov byte [esp + 0x10], al
jmp 0x4e1a71
mov byte [esp + 0x10], 0
push dword [esp + 0x10]
lea ecx, [esp + 0x38]
push 0
push 0x12
push edi
call fcn.004c61bc
push eax
mov ecx, ebx
call fcn.004de719
add edi, 0x12
inc ebp
lea eax, [esi + edi]
cmp eax, dword [esp + 0x1c]
jb 0x4e1a59
push 0x11
pop esi
mov ecx, dword [esp + 0x74]
lea eax, [esp + 0x14]
and dword [esp + 0x14], 0
push eax
push str.dropped6
call fcn.0045bcaf
mov edi, eax
mov eax, dword [esp + 0x14]
push 0x12
pop ebp
test edi, edi
je 0x4e1ae9
cmp eax, esi
jbe 0x4e1ae9
push 0
push ebp
push edi
lea ecx, [esp + 0x58]
call fcn.004c61bc
push eax
push dword [ebx + 0x37c]
call fcn.004fb63b
mov eax, dword [esp + 0x14]
add esi, ebp
add edi, ebp
cmp esi, eax
jb 0x4e1ac4
test dword [0x763794], 0x20000000
je 0x4e1b2c
xor edx, edx
div ebp
push 6
mov ecx, eax
xor edx, edx
mov eax, dword [esp + 0x1c]
pop esi
div esi
xor edx, edx
add ecx, eax
mov eax, dword [esp + 0x1c]
div ebp
push ecx
mov ecx, eax
xor edx, edx
mov eax, dword [esp + 0x24]
div esi
add ecx, eax
push ecx
push str.Got_PEX:__d_added__d_dropped
push ebx
call fcn.004e66e2
add esp, 0x10
mov ecx, dword [esp + 0x60]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
leave
ret 4