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

Disassembly:
mov eax, dword [0x70b290]
sub esp, 0xe4
push ebp
mov ebp, dword [esp + 0xec]
push edi
xor edi, edi
cmp eax, edi
je 0x4b660a
mov al, byte [0x70b294]
test al, al
je 0x4b66b6
cmp word [0x70b298], di
jne 0x4b66b6
mov al, byte [0x70b1fe]
test al, al
je 0x4b65f6
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 [0x70b298], di
mov byte [0x70b294], 0
mov dword [0x70b290], edi
mov eax, dword [0x6aafac]
push ebx
push esi
xor esi, esi
cmp eax, edi
je 0x4b662a
mov al, byte [0x6aada1]
test al, al
mov esi, 0x6aafd0
jne 0x4b662a
mov esi, 0x6aafb4
mov ecx, 0x53
call fcn.0048f1e0
cmp al, 1
jne 0x4b6649
xor al, al
call fcn.004b5fd0
mov eax, 2
call fcn.004973e0
mov ecx, 0x52
call fcn.0048f1e0
cmp al, 1
jne 0x4b6666
call fcn.004b5fd0
mov eax, 2
call fcn.004973e0
mov ecx, 0x56
call fcn.0048f1e0
cmp al, 1
jne 0x4b6685
xor al, al
call fcn.004b6060
mov eax, 2
call fcn.004973e0
mov ecx, 0x55
call fcn.0048f1e0
cmp al, 1
jne 0x4b66a2
call fcn.004b6060
mov eax, 2
call fcn.004973e0
cmp esi, edi
je 0x4b66dc
mov eax, dword [esi + 8]
cmp eax, edi
jge 0x4b66d3
xor al, al
call fcn.004b5fd0
jmp 0x4b66dc
call fcn.004b89f0
test al, al
je 0x4b65f6
call fcn.00496bc0
pop edi
mov al, 1
pop ebp
add esp, 0xe4
ret
jle 0x4b66dc
xor al, al
call fcn.004b6060
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 0x4b66f7
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 0x4b6754
mov eax, dword [ecx + 0x38]
test eax, eax
jne 0x4b676e
mov edx, dword [ecx + 0x34]
mov dword [ecx + 0x38], edx
jmp 0x4b676e
mov word [ecx + 0x58], 0
mov ecx, dword [ecx + 0x34]
test ecx, ecx
je 0x4b676e
mov word [ecx + 0x58], 0
mov ecx, dword [ecx + 0x2c]
test ecx, ecx
jne 0x4b6761
mov eax, dword [ebp + 0x38]
xor edi, edi
cmp eax, esi
mov eax, dword [esi + 0x38]
jne 0x4b6786
cmp eax, edi
jne 0x4b678d
mov eax, dword [esi + 0x34]
mov dword [esi + 0x38], eax
jmp 0x4b678d
cmp eax, edi
je 0x4b678d
mov dword [esi + 0x38], edi
mov eax, dword [ebx + 0x30]
cmp dword [ebp + 0x38], eax
jne 0x4b679d
cmp dword [eax + 0x38], edi
jne 0x4b679d
mov dword [eax + 0x38], ebx
mov eax, esi
call fcn.004b6410
cmp dword [0x70b2ac], edi
je 0x4b6ac0
cmp dword [0x70b3ec], edi
mov ecx, dword [0x70b3e0]
mov dword [0x70b3e0], edi
jne 0x4b67c9
call fcn.004b41e0
push 0x1e
call fcn.004b8e30
mov ebp, eax
add esp, 4
cmp ebp, edi
setne byte [esp + 0x13]
cmp ebp, edi
je 0x4b68cd
mov al, byte [0x70b2ca]
test al, al
je 0x4b67f6
mov eax, ebp
call fcn.004b91b0
jmp 0x4b680f
mov eax, dword [ebp + 0xc]
cmp eax, 0x32
jg 0x4b6808
test eax, eax
jle 0x4b680f
cmp dword [ebp + 4], 0x64
jge 0x4b680f
mov eax, ebp
call fcn.004b9090
mov edx, dword [ebp + 4]
mov edi, dword [0x70b2b8]
xor ebx, ebx
mov dword [esp + 0x14], edx
mov dword [esp + 0x28], ebx
test edi, edi
jl 0x4b6834
cmp edi, dword [esp + 0x14]
jge 0x4b6834
mov eax, dword [ebp]
mov esi, dword [eax + edi*4]
jmp 0x4b6836
xor esi, esi
mov eax, dword [0x68f2c4]
mov ecx, dword [esp + ebx*4 + 0x38]
cmp eax, edi
push ecx
sete al
mov ecx, esi
call fcn.004b4e70
mov eax, dword [0x68f2c4]
add esp, 4
cmp eax, edi
jne 0x4b68a6
mov al, byte [0x70b2c1]
test al, al
jne 0x4b68a6
test esi, esi
je 0x4b688b
push esi
call fcn.00612d70
add esp, 4
test eax, eax
je 0x4b68a6
mov ebx, esi
mov byte [0x70b2c1], 1
call fcn.004b5880
call fcn.004b5980
mov ebx, dword [esp + 0x28]
jmp 0x4b68a6
mov eax, ebp
mov dword [0x68f2c4], 0xffffffff
mov dword [0x70b2bc], 0
call fcn.004b4aa0
inc ebx
inc edi
cmp ebx, 0xf
mov dword [esp + 0x28], ebx
jl 0x4b6822
mov eax, dword [0x70b3ec]
test eax, eax
je 0x4b68cd
mov edx, dword [0x70b3e8]
mov eax, dword [edx]
push eax
call dword [sym.imp.kernel32.dll_ReleaseMutex]
mov ecx, dword [0x70b2ac]
push ecx
call fcn.00612790
add esp, 4
cmp eax, 2
je 0x4b68f2
cmp eax, 1
je 0x4b68f2
mov edx, dword [esp + 0x24]
mov word [edx + 0x40], 1
jmp 0x4b68fc
mov eax, dword [esp + 0x24]
mov word [eax + 0x40], 2
cmp dword [0x68f2c4], 0xffffffff
je 0x4b691f
mov al, byte [0x70b2d1]
test al, al
je 0x4b691f
mov eax, dword [esp + 0x18]
mov byte [eax + 0x12], 0
mov dword [eax + 0x24], 0x3f800000
jmp 0x4b692e
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 0x4b6994
mov eax, dword [edi + 0x3c]
mov esi, dword [0x68c594]
push 0x40
call fcn.004d02c0
add esp, 4
test eax, eax
mov dword [edi + 0x3c], eax
je 0x4b6994
push 6
mov ebx, 0x40
lea esi, [esp + 0x78]
call fcn.004b45d0
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.005532f0
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 0x4b69f2
mov eax, dword [edi + 0x3c]
mov esi, dword [0x68c594]
push 0x40
call fcn.004d02c0
add esp, 4
test eax, eax
mov dword [edi + 0x3c], eax
je 0x4b69f2
push 7
mov ebx, 0x40
lea esi, [esp + 0x78]
call fcn.004b45d0
mov ecx, dword [0x70b2b4]
mov eax, dword [edi + 0x3c]
push ecx
mov edx, esi
push edx
push str._s__d
push eax
mov edx, 0x1f
call fcn.005532f0
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 0x4b6b04
mov eax, dword [ebp + 0x3c]
mov esi, dword [0x68c594]
push 0x40
call fcn.004d02c0
add esp, 4
test eax, eax
mov dword [ebp + 0x3c], eax
je 0x4b6b04
mov ecx, dword [esp + 0x14]
test ecx, ecx
jle 0x4b6ab2
mov eax, 0x88888889
imul ecx
add edx, ecx
mov ecx, dword [0x70b2b8]
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 0x4b6a6e
mov edi, 1
jmp 0x4b6a74
cmp edi, esi
jle 0x4b6a74
mov edi, esi
push 8
mov ebx, 0x40
lea esi, [esp + 0x78]
call fcn.004b45d0
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.005532f0
mov edx, dword [ebp + 0x3c]
mov word [edx + 0x3e], 0
add esp, 0x18
mov byte [ebp + 0x10], 1
jmp 0x4b6b04
mov byte [ebp + 0x10], 0
jmp 0x4b6b04
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 0x65016c
push 0x65b9d4
push 0x65016c
push 0
xor dl, dl
mov eax, esi
mov word [esi + 0x58], cx
call fcn.004b4c90
add esp, 0x20
inc edi
cmp edi, 0xf
mov byte [esi + 0x12], 1
jl 0x4b6ac0
mov esi, dword [0x70b2c4]
test esi, esi
jge 0x4b6b1d
add esi, 4
test esi, esi
mov dword [0x70b2c4], esi
jle 0x4b6b32
jmp 0x4b6b2a
jle 0x4b6b32
sub esi, 4
mov dword [0x70b2c4], esi
jns 0x4b6b32
xor esi, esi
mov dword [0x70b2c4], esi
mov ebp, dword [0x70b2b8]
test ebp, ebp
mov edi, dword [esp + 0x14]
jle 0x4b6b4b
test edi, edi
jle 0x4b6b4b
mov edx, 1
jmp 0x4b6b4d
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 0x4b6b76
mov byte [eax + 0x12], 1
mov word [eax + 0x58], 0
mov dword [eax + 0x24], 0x3eaa7efa
jmp 0x4b6b8c
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 0x4b6b9b
mov eax, dword [eax + 0x34]
mov word [eax + 0x58], 1
jmp 0x4b6ba4
mov ecx, dword [eax + 0x34]
mov word [ecx + 0x58], 0
add ebp, 0xf
cmp ebp, edi
jge 0x4b6bb6
test edi, edi
jle 0x4b6bb6
mov edx, 1
jmp 0x4b6bb8
xor edx, edx
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x30]
mov edi, dword [ecx + 0x38]
xor ebp, ebp
cmp esi, ebp
setg bl
cmp edi, eax
sete cl
test dl, dl
jne 0x4b6be3
mov byte [eax + 0x12], 1
mov word [eax + 0x58], bp
mov dword [eax + 0x24], 0x3eaa7efa
jmp 0x4b6bf9
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 0x4b6c08
mov eax, dword [eax + 0x34]
mov word [eax + 0x58], 1
jmp 0x4b6c0f
mov ecx, dword [eax + 0x34]
mov word [ecx + 0x58], bp
mov edx, dword [esp + 0xf8]
mov eax, dword [edx + 0x30]
mov ecx, dword [eax + 0x34]
mov edx, dword [ecx + 0x2c]
mov ecx, dword [0x70b3e4]
mov eax, dword [edx + 0x2c]
mov eax, dword [eax + 0x2c]
dec ecx
cmp ecx, 5
ja case.default.0x4b6c31
jmp dword [ecx*4 + 0x4b6e5c]
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 [0x70b3dc], 4
lea ecx, [esp + 0x2c]
push ecx
mov dword [0x70b3e4], ebp
call dword [sym.imp.kernel32.dll_QueryPerformanceCounter]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
push ebp
push 0x3e8
push edx
push eax
call fcn.006292c0
mov ecx, dword [0x6a60a4]
push ecx
mov ecx, dword [0x6a60a0]
push ecx
push edx
push eax
call fcn.00634420
mov ecx, dword [0x70b3f8]
mov esi, eax
mov edx, esi
sub edx, ecx
cmp edx, 0x64
jb 0x4b6cc7
mov eax, dword [esp + 0x20]
mov edi, 0x6af500
mov dword [0x70b3f8], esi
call fcn.004b6f80
mov eax, dword [esp + 0x1c]
mov edi, 0x6af518
call fcn.004b6f80
mov eax, dword [0x68f2cc]
or ebx, 0xffffffff
cmp esi, eax
jbe 0x4b6cf5
mov al, byte [0x68f2c0]
test al, al
jne 0x4b6ce9
cmp dword [0x68f2c4], ebx
jne 0x4b6ce9
call fcn.004b4b10
add esi, 0x2710
mov dword [0x68f2cc], esi
mov esi, dword [0x68f2f0]
cmp esi, ebx
je case.0x4b6d29.1
cmp esi, ebp
mov eax, ebx
jl 0x4b6d18
cmp esi, 2
jge 0x4b6d18
lea eax, [esi + esi*4]
mov eax, dword [eax*4 + 0x6e8fe0]
inc eax
cmp eax, 6
ja case.0x4b6d29.1
movzx ecx, byte [eax + 0x4b6e80]
jmp dword [ecx*4 + 0x4b6e74]
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call fcn.005727c0
add esp, 8
test al, al
je 0x4b6d99
mov eax, dword [esp + 0x1c]
cmp eax, ebp
je 0x4b6d72
cmp dword [esp + 0x20], ebp
je 0x4b6d72
push 0xff
push eax
push 0x70b2d8
call fcn.0061f130
add esp, 0xc
mov byte [0x70b3d7], 0
jmp 0x4b6d86
push 0x100
push 5
mov eax, 0x70b2d8
call fcn.004b4610
add esp, 8
cmp dword [0x68f2c4], ebx
jne 0x4b6d93
call fcn.004b5840
mov esi, dword [0x68f2f0]
cmp esi, ebp
jl 0x4b6db7
cmp esi, 2
jge 0x4b6db7
lea esi, [esi + esi*4]
shl esi, 2
cmp dword [esi + 0x6e8fdc], ebx
je 0x4b6db7
mov byte [esi + 0x6e8fed], 1
pop esi
mov dword [0x68f2f0], ebx
pop ebx
pop edi
mov dword [0x70b3d8], 3
mov al, 1
pop ebp
add esp, 0xe4
ret
cmp esi, ebp
jl 0x4b6df2
cmp esi, 2
jge 0x4b6df2
lea esi, [esi + esi*4]
shl esi, 2
cmp dword [esi + 0x6e8fdc], ebx
je 0x4b6df2
mov byte [esi + 0x6e8fed], 1
push str.ui_shellmain_menumultiplayer_type_selectjoin_gamejoin_game_ticker_labels
mov edi, 0x75737472
mov dword [0x68f2f0], ebx
mov dword [0x70b3d8], 2
mov byte [0x70b2d8], 0
call fcn.00442550
add esp, 4
cmp eax, ebx
je 0x4b6e3f
mov edx, 5
mov ecx, eax
call fcn.005532a0
push 0x100
mov esi, 0x70b2d8
mov edi, eax
call fcn.00553330
add esp, 4
cmp dword [0x68f2c4], ebx
jne case.0x4b6d29.1
call fcn.004b5840
pop esi
pop ebx
pop edi
mov al, 1
pop ebp
add esp, 0xe4
ret