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

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
mov ecx, dword [ebp + 0x730]
push esi
push edi
xor ebx, ebx
push ebx
mov esi, eax
mov eax, dword [ebp + 0x734]
push 0xea60
push eax
push ecx
call fcn.00676920
push edx
push eax
push str.NETWORK_ML:___d__Sega_ML_NetSessionManager::OnRecvPeerInfo_n
call fcn.005873d0
add esp, 0xc
push eax
call fcn.00408d10
add esp, 4
lea edx, [esp + 0x18]
push edx
mov ecx, esi
call fcn.0048a470
lea eax, [esp + 0x28]
push eax
mov ecx, esi
call fcn.0048a450
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x2c]
call fcn.0048a6e0
test byte [0xb314e0], 1
mov byte [esp + 0x17], bl
lea edi, [ebx + 1]
jne 0x540645
or dword [0xb314e0], edi
push 0x681e30
mov dword [0xb044b8], ebx
call fcn.004a9213
add esp, 4
mov ecx, dword [esp + 0x20]
push 3
mov esi, ecx
call fcn.00473810
cmp al, bl
je 0x540664
push 8
lea edx, [esp + 0x1b]
push edx
mov ecx, esi
call fcn.00473700
movzx eax, byte [esp + 0x17]
mov ecx, dword [0xb044b8]
lea edx, [eax + ecx]
cmp edx, 0x10
ja 0x540804
cmp eax, ebx
jbe 0x540804
mov dword [esp + 0x30], eax
push ecx
mov ecx, dword [esp + 0x1c]
mov eax, esp
mov dword [eax], ecx
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x54069b
add dword [eax + 4], edi
lea esi, [esp + 0x3c]
call fcn.00675050
mov edx, dword [esp + 0x20]
push ecx
mov eax, esp
mov dword [eax], edx
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x5406b8
add dword [eax + 4], edi
lea eax, [esp + 0x3c]
call fcn.00674bb0
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x2c]
push eax
call fcn.0048c840
mov ecx, dword [eax]
call fcn.00474760
movzx ecx, al
mov eax, dword [esp + 0x2c]
cmp eax, ebx
mov dword [esp + 0x6c], ecx
je 0x5406fc
add eax, 4
add dword [eax], 0xffffffff
jne 0x5406fc
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx]
mov edx, dword [eax]
push edi
call edx
mov dword [esp + 0x2c], ebx
mov eax, dword [esp + 0x38]
cmp eax, ebx
je 0x540717
add eax, 4
add dword [eax], 0xffffffff
jne 0x540717
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
mov eax, dword [edx]
push edi
call eax
mov eax, dword [esp + 0x18]
cmp eax, ebx
mov dword [esp + 0x38], eax
je 0x540726
add dword [eax + 4], edi
mov ecx, dword [0xb044b8]
mov edx, ecx
shl edx, 4
sub edx, ecx
mov eax, 0xb03d38
lea esi, [edx*8 + 0xb03d38]
cmp esi, eax
je 0x54076c
mov ebp, dword [esp + 0x54]
mov edi, dword [esp + 0x50]
jmp 0x540750
mov ecx, dword [eax + 0x18]
cmp ecx, edi
mov edx, dword [eax + 0x1c]
jne 0x54075e
cmp edx, ebp
je 0x5407c4
add eax, 0x78
cmp eax, esi
jne 0x540750
mov ebp, dword [esp + 0xb4]
lea eax, [esp + 0x38]
mov edi, 0xb03d38
call fcn.0053c430
cmp eax, ebx
je 0x5407cb
cmp dword [ebp + 0x718], ebx
je 0x54079f
mov edx, dword [eax + 0x18]
mov esi, dword [eax + 0x1c]
mov ecx, dword [ebp + 0x718]
mov edi, dword [ecx]
add eax, 4
push eax
mov eax, dword [edi + 0x28]
push esi
push edx
call eax
test byte [0xb02c98], 1
jne 0x5407cb
or dword [0xb02c98], 1
push 0x681ec0
mov dword [0xb02c94], ebx
call fcn.004a9213
add esp, 4
jmp 0x5407cb
mov ebp, dword [esp + 0xb4]
lea ecx, [esp + 0x88]
call fcn.004738d0
mov eax, dword [esp + 0x38]
cmp eax, ebx
je 0x5407f5
add eax, 4
add dword [eax], 0xffffffff
mov ecx, dword [eax]
jne 0x5407f5
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov edi, 1
sub dword [esp + 0x30], edi
jne 0x540687
push 0x18
call fcn.00475d70
add esp, 4
cmp eax, ebx
je 0x54092a
push ebx
push 0x1f
mov ecx, eax
call fcn.0048a4a0
mov esi, eax
cmp esi, ebx
je 0x540829
add dword [esi + 4], edi
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.0048a6e0
mov ecx, dword [esp + 0x24]
push 1
mov edi, ecx
call fcn.004743d0
push 1
lea edx, [esp + 0x23]
push edx
mov ecx, edi
mov byte [esp + 0x27], 0xff
call fcn.00473e90
cmp esi, ebx
mov edi, 1
push edi
push ecx
mov eax, esp
mov dword [eax], esi
je 0x540867
add dword [esi + 4], edi
push ecx
mov ecx, dword [esp + 0x24]
mov eax, esp
mov dword [eax], ecx
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x54087b
add dword [eax + 4], edi
mov ecx, dword [ebp + 0x748]
call fcn.00495470
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x5408a8
add dword [eax + 4], 0xffffffff
add eax, 4
cmp dword [eax], ebx
jne 0x5408a8
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx]
mov eax, dword [edx]
push edi
call eax
mov dword [esp + 0x24], ebx
cmp esi, ebx
je 0x5408bb
add dword [esi + 4], 0xffffffff
jne 0x5408bb
mov edx, dword [esi]
mov eax, dword [edx]
push edi
mov ecx, esi
call eax
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x5408dd
add dword [eax + 4], 0xffffffff
add eax, 4
cmp dword [eax], ebx
jne 0x5408dd
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
mov eax, dword [edx]
push edi
call eax
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x5408ff
add dword [eax + 4], 0xffffffff
add eax, 4
cmp dword [eax], ebx
jne 0x5408ff
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx]
mov eax, dword [edx]
push edi
call eax
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x54091d
add dword [eax + 4], 0xffffffff
add eax, 4
cmp dword [eax], ebx
jne 0x54091d
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov eax, dword [edx]
push edi
call eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret 4
xor esi, esi
jmp 0x540829