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

Disassembly:
mov eax, dword [0x6b4418]
sub esp, 0xe4
push ebp
mov ebp, dword [esp + 0xec]
push edi
xor edi, edi
cmp eax, edi
je 0x4bb5fa
mov al, byte [0x6b441c]
test al, al
je 0x4bb6a6
cmp word [0x6b4420], di
jne 0x4bb6a6
mov al, byte [0x6b437e]
test al, al
je 0x4bb5e6
mov eax, dword [ebp + 0x30]
mov ecx, dword [eax + 0x34]
mov edx, dword [ecx + 0x2c]
mov eax, dword [edx + 0x2c]
mov eax, dword [eax + 0x2c]
mov ecx, dword [eax + 0x30]
mov byte [eax + 0x10], 1
mov byte [eax + 0x12], 0
mov dword [ecx + 0x38], eax
mov edx, dword [eax + 0x34]
mov eax, dword [edx + 0x34]
mov word [eax + 0x40], 0x2a
mov word [0x6b4420], di
mov byte [0x6b441c], 0
mov dword [0x6b4418], edi
mov eax, dword [0x64c66c]
push ebx
push esi
xor esi, esi
cmp eax, edi
je 0x4bb61a
mov al, byte [0x64c461]
test al, al
mov esi, 0x64c690
jne 0x4bb61a
mov esi, 0x64c674
mov ecx, 0x53
call fcn.00493a50
cmp al, 1
jne 0x4bb639
xor al, al
call fcn.004bafb0
mov eax, 2
call fcn.0049bf30
mov ecx, 0x52
call fcn.00493a50
cmp al, 1
jne 0x4bb656
call fcn.004bafb0
mov eax, 2
call fcn.0049bf30
mov ecx, 0x56
call fcn.00493a50
cmp al, 1
jne 0x4bb675
xor al, al
call fcn.004bb040
mov eax, 2
call fcn.0049bf30
mov ecx, 0x55
call fcn.00493a50
cmp al, 1
jne 0x4bb692
call fcn.004bb040
mov eax, 2
call fcn.0049bf30
cmp esi, edi
je 0x4bb6cc
mov eax, dword [esi + 8]
cmp eax, edi
jge 0x4bb6c3
xor al, al
call fcn.004bafb0
jmp 0x4bb6cc
call fcn.004bd780
test al, al
je 0x4bb5e6
call fcn.0049b6f0
pop edi
mov al, 1
pop ebp
add esp, 0xe4
ret
jle 0x4bb6cc
xor al, al
call fcn.004bb040
mov eax, dword [ebp + 0x34]
mov ebx, dword [eax + 0x34]
mov eax, dword [eax + 0x2c]
mov esi, eax
mov eax, dword [eax + 0x2c]
mov ecx, dword [eax + 0x2c]
mov dword [esp + 0x34], eax
mov dword [esp + 0x14], edi
xor eax, eax
mov dword [esp + eax*4 + 0x38], ecx
mov ecx, dword [ecx + 0x2c]
inc eax
cmp eax, 0xf
jl 0x4bb6e7
mov dword [esp + 0x2c], ecx
mov ecx, dword [ecx + 0x2c]
mov eax, dword [ecx + 0x2c]
mov edi, ecx
mov ecx, dword [eax + 0x2c]
mov edx, dword [ecx + 0x34]
mov edx, dword [edx + 0x2c]
mov dword [esp + 0x24], edx
mov edx, dword [edx + 0x2c]
mov edx, dword [edx + 0x2c]
mov byte [eax + 0x12], 1
mov byte [edi + 0x12], 1
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x34]
mov word [eax + 0x58], 1
cmp dword [ebp + 0x38], ecx
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], edx
jne 0x4bb744
mov eax, dword [ecx + 0x38]
test eax, eax
jne 0x4bb75e
mov edx, dword [ecx + 0x34]
mov dword [ecx + 0x38], edx
jmp 0x4bb75e
mov word [ecx + 0x58], 0
mov ecx, dword [ecx + 0x34]
test ecx, ecx
je 0x4bb75e
mov word [ecx + 0x58], 0
mov ecx, dword [ecx + 0x2c]
test ecx, ecx
jne 0x4bb751
mov eax, dword [ebp + 0x38]
xor edi, edi
cmp eax, esi
mov eax, dword [esi + 0x38]
jne 0x4bb776
cmp eax, edi
jne 0x4bb77d
mov eax, dword [esi + 0x34]
mov dword [esi + 0x38], eax
jmp 0x4bb77d
cmp eax, edi
je 0x4bb77d
mov dword [esi + 0x38], edi
mov eax, dword [ebx + 0x30]
cmp dword [ebp + 0x38], eax
jne 0x4bb78d
cmp dword [eax + 0x38], edi
jne 0x4bb78d
mov dword [eax + 0x38], ebx
mov eax, esi
call fcn.004bb400
cmp dword [0x6b4434], edi
je 0x4bbab0
cmp dword [0x6b4674], edi
mov ecx, dword [0x6b4668]
mov dword [0x6b4668], edi
jne 0x4bb7b9
call fcn.004b9210
push 0x1e
call fcn.004bdbc0
mov ebp, eax
add esp, 4
cmp ebp, edi
setne byte [esp + 0x13]
cmp ebp, edi
je 0x4bb8bf
mov al, byte [0x6b4452]
test al, al
je 0x4bb7e6
mov eax, ebp
call fcn.004bdf40
jmp 0x4bb7ff
mov eax, dword [ebp + 0xc]
cmp eax, 0x32
jg 0x4bb7f8
test eax, eax
jle 0x4bb7ff
cmp dword [ebp + 4], 0x64
jge 0x4bb7ff
mov eax, ebp
call fcn.004bde20
mov edx, dword [ebp + 4]
mov edi, dword [0x6b4440]
xor ebx, ebx
mov dword [esp + 0x14], edx
mov dword [esp + 0x28], ebx
test edi, edi
jl 0x4bb824
cmp edi, dword [esp + 0x14]
jge 0x4bb824
mov eax, dword [ebp]
mov esi, dword [eax + edi*4]
jmp 0x4bb826
xor esi, esi
mov eax, dword [0x6309e4]
mov ecx, dword [esp + ebx*4 + 0x38]
cmp eax, edi
push ecx
sete al
mov ecx, esi
call fcn.004b9e60
mov eax, dword [0x6309e4]
add esp, 4
cmp eax, edi
jne 0x4bb898
mov al, byte [0x6b4449]
test al, al
jne 0x4bb898
test esi, esi
je 0x4bb87d
push esi
call fcn.005bc7c0
add esp, 4
test eax, eax
je 0x4bb898
mov ebx, esi
mov byte [0x6b4449], 1
call fcn.004ba870
mov ecx, esi
call fcn.004ba970
mov ebx, dword [esp + 0x28]
jmp 0x4bb898
mov eax, ebp
mov dword [0x6309e4], 0xffffffff
mov dword [0x6b4444], 0
call fcn.004b9a90
inc ebx
inc edi
cmp ebx, 0xf
mov dword [esp + 0x28], ebx
jl 0x4bb812
mov eax, dword [0x6b4674]
test eax, eax
je 0x4bb8bf
mov edx, dword [0x6b4670]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ecx, dword [0x6b4434]
push ecx
call fcn.005bc200
add esp, 4
cmp eax, 2
je 0x4bb8e4
cmp eax, 1
je 0x4bb8e4
mov edx, dword [esp + 0x24]
mov word [edx + 0x40], 1
jmp 0x4bb8ee
mov eax, dword [esp + 0x24]
mov word [eax + 0x40], 2
cmp dword [0x6309e4], 0xffffffff
je 0x4bb911
mov al, byte [0x6b4459]
test al, al
je 0x4bb911
mov eax, dword [esp + 0x18]
mov byte [eax + 0x12], 0
mov dword [eax + 0x24], 0x3f800000
jmp 0x4bb920
mov eax, dword [esp + 0x18]
mov byte [eax + 0x12], 1
mov dword [eax + 0x24], 0x3eaa7efa
mov ecx, dword [esp + 0xf8]
mov al, byte [esp + 0x13]
test al, al
mov edx, dword [ecx + 0x4c]
mov edi, dword [edx + 0x34]
je 0x4bb986
mov eax, dword [edi + 0x3c]
mov esi, dword [0x62dcb4]
push 0x40
call fcn.004d5380
add esp, 4
test eax, eax
mov dword [edi + 0x3c], eax
je 0x4bb986
push 6
mov ebx, 0x40
lea esi, [esp + 0x78]
call fcn.004b9600
mov eax, dword [esp + 0x18]
mov edx, dword [edi + 0x3c]
push eax
mov ecx, esi
push ecx
push str._s__d
push edx
mov edx, 0x1f
call fcn.0055b290
mov eax, dword [edi + 0x3c]
add esp, 0x14
mov word [eax + 0x3e], 0
mov al, byte [esp + 0x13]
test al, al
mov edi, dword [edi + 0x2c]
je 0x4bb9e4
mov eax, dword [edi + 0x3c]
mov esi, dword [0x62dcb4]
push 0x40
call fcn.004d5380
add esp, 4
test eax, eax
mov dword [edi + 0x3c], eax
je 0x4bb9e4
push 7
mov ebx, 0x40
lea esi, [esp + 0x78]
call fcn.004b9600
mov ecx, dword [0x6b443c]
mov eax, dword [edi + 0x3c]
push ecx
mov edx, esi
push edx
push str._s__d
push eax
mov edx, 0x1f
call fcn.0055b290
mov ecx, dword [edi + 0x3c]
add esp, 0x14
mov word [ecx + 0x3e], 0
mov al, byte [esp + 0x13]
test al, al
mov ebp, dword [edi + 0x2c]
je 0x4bbaf4
mov eax, dword [ebp + 0x3c]
mov esi, dword [0x62dcb4]
push 0x40
call fcn.004d5380
add esp, 4
test eax, eax
mov dword [ebp + 0x3c], eax
je 0x4bbaf4
mov ecx, dword [esp + 0x14]
test ecx, ecx
jle 0x4bbaa4
mov eax, 0x88888889
imul ecx
add edx, ecx
mov ecx, dword [0x6b4440]
sar edx, 3
mov eax, edx
shr eax, 0x1f
lea esi, [edx + eax + 1]
add ecx, 0xe
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
lea edi, [edx + ecx + 1]
cmp edi, 1
mov dword [esp + 0x18], esi
jge 0x4bba60
mov edi, 1
jmp 0x4bba66
cmp edi, esi
jle 0x4bba66
mov edi, esi
push 8
mov ebx, 0x40
lea esi, [esp + 0x78]
call fcn.004b9600
mov edx, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x3c]
push edx
push edi
mov eax, esi
push eax
push str._s__d__d
push ecx
mov edx, 0x1f
call fcn.0055b290
mov edx, dword [ebp + 0x3c]
mov word [edx + 0x3e], 0
add esp, 0x18
mov byte [ebp + 0x10], 1
jmp 0x4bbaf4
mov byte [ebp + 0x10], 0
jmp 0x4bbaf4
mov esi, dword [esp + edi*4 + 0x38]
mov eax, dword [esi + 0x30]
mov edx, dword [eax + 0x38]
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
xor ecx, ecx
cmp edx, esi
push 0
sete cl
push 0x5f365c
push 0x600334
push 0x5f365c
push 0
xor dl, dl
mov eax, esi
mov word [esi + 0x58], cx
call fcn.004b9c80
add esp, 0x20
inc edi
cmp edi, 0xf
mov byte [esi + 0x12], 1
jl 0x4bbab0
mov esi, dword [0x6b444c]
test esi, esi
jge 0x4bbb0d
add esi, 4
test esi, esi
mov dword [0x6b444c], esi
jle 0x4bbb22
jmp 0x4bbb1a
jle 0x4bbb22
sub esi, 4
mov dword [0x6b444c], esi
jns 0x4bbb22
xor esi, esi
mov dword [0x6b444c], esi
mov ebp, dword [0x6b4440]
test ebp, ebp
mov edi, dword [esp + 0x14]
jle 0x4bbb3b
test edi, edi
jle 0x4bbb3b
mov edx, 1
jmp 0x4bbb3d
xor edx, edx
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0x30]
test esi, esi
setl bl
cmp dword [ecx + 0x38], eax
sete cl
test dl, dl
jne 0x4bbb66
mov byte [eax + 0x12], 1
mov word [eax + 0x58], 0
mov dword [eax + 0x24], 0x3eaa7efa
jmp 0x4bbb7c
xor edx, edx
test cl, cl
setne dl
mov byte [eax + 0x12], 0
mov dword [eax + 0x24], 0x3f800000
mov word [eax + 0x58], dx
test bl, bl
je 0x4bbb8b
mov eax, dword [eax + 0x34]
mov word [eax + 0x58], 1
jmp 0x4bbb94
mov ecx, dword [eax + 0x34]
mov word [ecx + 0x58], 0
add ebp, 0xf
cmp ebp, edi
jge 0x4bbba6
test edi, edi
jle 0x4bbba6
mov edx, 1
jmp 0x4bbba8
xor edx, edx
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x30]
mov ebp, dword [ecx + 0x38]
xor edi, edi
cmp esi, edi
setg bl
cmp ebp, eax
sete cl
test dl, dl
jne 0x4bbbd3
mov byte [eax + 0x12], 1
mov word [eax + 0x58], di
mov dword [eax + 0x24], 0x3eaa7efa
jmp 0x4bbbe9
xor edx, edx
test cl, cl
setne dl
mov byte [eax + 0x12], 0
mov dword [eax + 0x24], 0x3f800000
mov word [eax + 0x58], dx
test bl, bl
je 0x4bbbf8
mov eax, dword [eax + 0x34]
mov word [eax + 0x58], 1
jmp 0x4bbbff
mov ecx, dword [eax + 0x34]
mov word [ecx + 0x58], di
mov edx, dword [esp + 0xf8]
mov eax, dword [edx + 0x30]
mov ecx, dword [eax + 0x34]
mov edx, dword [ecx + 0x2c]
mov ecx, dword [0x6b466c]
mov eax, dword [edx + 0x2c]
mov eax, dword [eax + 0x2c]
dec ecx
cmp ecx, 5
ja case.default.0x4bbc21
jmp dword [ecx*4 + 0x4bbe5c]
mov ecx, dword [eax + 0x30]
mov byte [eax + 0x12], 0
mov byte [eax + 0x10], 1
mov dword [ecx + 0x38], eax
mov edx, dword [eax + 0x34]
mov eax, dword [edx + 0x34]
mov word [eax + 0x40], 0x28
or dword [0x6b4664], 4
lea ecx, [esp + 0x2c]
push ecx
mov dword [0x6b466c], edi
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
push edi
push 0x3e8
push edx
push eax
call fcn.005d2e50
mov ecx, dword [0x647764]
push ecx
mov ecx, dword [0x647760]
push ecx
push edx
push eax
call fcn.005de0d0
mov ecx, dword [0x6b4680]
mov esi, eax
mov eax, dword [0x650cf0]
mov edx, esi
sub edx, ecx
cmp edx, eax
jb 0x4bbcbb
mov eax, dword [esp + 0x20]
mov edi, 0x650cc0
mov dword [0x6b4680], esi
call fcn.004bbfd0
mov eax, dword [esp + 0x1c]
mov edi, 0x650cdc
call fcn.004bbfd0
mov eax, dword [0x6309ec]
or ebp, 0xffffffff
cmp esi, eax
jbe 0x4bbce9
mov al, byte [0x6309e0]
test al, al
jne 0x4bbcdd
cmp dword [0x6309e4], ebp
jne 0x4bbcdd
call fcn.004b9b00
add esi, 0x2710
mov dword [0x6309ec], esi
mov esi, dword [0x630a10]
cmp esi, ebp
je case.0x4bbd1f.1
xor ebx, ebx
cmp esi, ebx
mov eax, ebp
jl 0x4bbd0e
cmp esi, 2
jge 0x4bbd0e
lea eax, [esi + esi*4]
mov eax, dword [eax*4 + 0x68a838]
inc eax
cmp eax, 6
ja case.0x4bbd1f.1
movzx ecx, byte [eax + 0x4bbe80]
jmp dword [ecx*4 + 0x4bbe74]
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call fcn.0057aad0
add esp, 8
test al, al
je 0x4bbd96
mov edi, dword [esp + 0x1c]
cmp edi, ebx
je 0x4bbd67
cmp dword [esp + 0x20], ebx
je 0x4bbd67
push 0x200
mov eax, 0x6b4460
call fcn.0055b310
add esp, 4
mov word [0x6b465e], bx
jmp 0x4bbd83
push 5
mov ebx, 0x100
mov esi, 0x6b4460
call fcn.004b9600
mov esi, dword [0x630a10]
add esp, 4
xor ebx, ebx
cmp dword [0x6309e4], ebp
jne 0x4bbd96
call fcn.004ba830
mov esi, dword [0x630a10]
cmp esi, ebx
jl 0x4bbdb4
cmp esi, 2
jge 0x4bbdb4
lea eax, [esi + esi*4]
shl eax, 2
cmp dword [eax + 0x68a834], ebp
je 0x4bbdb4
mov byte [eax + 0x68a845], 1
pop esi
pop ebx
pop edi
mov dword [0x630a10], ebp
mov dword [0x6b4660], 3
mov al, 1
pop ebp
add esp, 0xe4
ret
cmp esi, ebx
jl 0x4bbdef
cmp esi, 2
jge 0x4bbdef
lea eax, [esi + esi*4]
shl eax, 2
cmp dword [eax + 0x68a834], ebp
je 0x4bbdef
mov byte [eax + 0x68a845], 1
push str.ui_shellmain_menumultiplayer_type_selectjoin_gamejoin_game_ticker_labels
mov edi, 0x75737472
mov dword [0x630a10], ebp
mov dword [0x6b4660], 2
mov word [0x6b4460], bx
call fcn.004429a0
add esp, 4
cmp eax, ebp
je 0x4bbe42
mov edx, 5
mov ecx, eax
call fcn.0055b240
push 0xff
push eax
push 0x6b4460
call fcn.005cca83
add esp, 0xc
mov word [0x6b465e], bx
cmp dword [0x6309e4], ebp
jne case.0x4bbd1f.1
call fcn.004ba830
pop esi
pop ebx
pop edi
mov al, 1
pop ebp
add esp, 0xe4
ret