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

Disassembly:
sub esp, 0x104
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x6c], edx
push str.MPModes.ini
lea ecx, [esp + 0xac]
mov dword [esp + 0x68], esi
call fcn.00468b70
xor ebx, ebx
lea ecx, [esp + 0xa8]
push ebx
call fcn.00468dc0
test al, al
je 0x5b52c0
lea ecx, [esp + 0x74]
call fcn.00490c60
lea eax, [esp + 0xa8]
lea ecx, [esp + 0x70]
push ebx
push eax
mov dword [esp + 0x7c], vtable.List_struct_INIClass::INISection__.0
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
mov byte [esp + 0xa4], bl
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebx
mov dword [esp + 0x78], vtable.INIClass.0
call fcn.0050aee0
test eax, eax
jle 0x5b52b7
push esi
lea ecx, [esp + 0x74]
call fcn.0050bed0
cmp eax, ebx
mov dword [esp + 0x68], eax
mov dword [esp + 0x30], ebx
jle 0x5b52b7
push ebp
push edi
mov ebp, 0xa
jmp 0x5b4c8e
mov esi, dword [esp + 0x6c]
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x20]
push ecx
push esi
push edx
lea ecx, [esp + 0x84]
call fcn.0050c1d0
lea ecx, [esp + 0x20]
call fcn.0075ab10
lea ecx, [esp + 0x10]
mov edi, eax
call fcn.00758eb0
lea ecx, [esp + 0x48]
push 0x824884
call fcn.00758ec0
lea eax, [esp + 0x10]
lea ecx, [esp + 0x48]
push eax
lea edx, [esp + 0x24]
push ecx
push edx
push esi
lea ecx, [esp + 0x88]
call fcn.0050de40
lea ecx, [esp + 0x48]
mov esi, eax
call fcn.00758f80
cmp esi, ebx
jle 0x5b528e
lea ecx, [esp + 0x14]
call fcn.00758eb0
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
push 0x7b9950
push ebx
call fcn.0075a7a0
lea ecx, [esp + 0x14]
mov esi, eax
call fcn.00759d40
test eax, eax
je 0x5b5285
push 0x7d0b2c
lea ecx, [esp + 0x68]
call fcn.00758ec0
lea ecx, [esp + 0x64]
push ecx
lea ecx, [esp + 0x18]
call fcn.00759a60
lea ecx, [esp + 0x64]
call fcn.00758f80
lea ecx, [esp + 0x3c]
push 0x7d0b2c
call fcn.00758ec0
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x14]
push edx
call fcn.00759ac0
lea ecx, [esp + 0x3c]
call fcn.00758f80
lea ecx, [esp + 0x14]
push 0x2a5
push str.C:RA2Multiplayer.cpp
call fcn.00759c90
mov ecx, eax
xor edx, edx
call fcn.006eea10
lea ecx, [esp + 0x2c]
push eax
call fcn.0075af60
lea ecx, [esp + 0x1c]
call fcn.00758eb0
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x10]
push eax
push 0x7b9950
push esi
call fcn.0075a7a0
lea ecx, [esp + 0x1c]
mov esi, eax
call fcn.00759d40
test eax, eax
je 0x5b5273
push 0x7d0b2c
lea ecx, [esp + 0x60]
call fcn.00758ec0
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x20]
call fcn.00759a60
lea ecx, [esp + 0x5c]
call fcn.00758f80
lea ecx, [esp + 0x50]
push 0x7d0b2c
call fcn.00758ec0
lea edx, [esp + 0x50]
lea ecx, [esp + 0x1c]
push edx
call fcn.00759ac0
lea ecx, [esp + 0x50]
call fcn.00758f80
lea ecx, [esp + 0x1c]
push 0x2b0
push str.C:RA2Multiplayer.cpp
call fcn.00759c90
mov ecx, eax
xor edx, edx
call fcn.006eea10
lea ecx, [esp + 0x30]
push eax
call fcn.0075af60
lea ecx, [esp + 0x18]
call fcn.00758eb0
lea eax, [esp + 0x18]
lea ecx, [esp + 0x10]
push eax
push 0x7b9950
push esi
call fcn.0075a7a0
lea ecx, [esp + 0x18]
mov esi, eax
call fcn.00759d40
test eax, eax
je 0x5b5261
push 0x7d0b2c
lea ecx, [esp + 0x64]
call fcn.00758ec0
lea ecx, [esp + 0x60]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00759a60
lea ecx, [esp + 0x60]
call fcn.00758f80
lea ecx, [esp + 0x58]
push 0x7d0b2c
call fcn.00758ec0
lea edx, [esp + 0x58]
lea ecx, [esp + 0x18]
push edx
call fcn.00759ac0
lea ecx, [esp + 0x58]
call fcn.00758f80
lea ecx, [esp + 0x28]
call fcn.00758eb0
lea eax, [esp + 0x28]
lea ecx, [esp + 0x10]
push eax
push 0x7b9950
push esi
call fcn.0075a7a0
lea ecx, [esp + 0x68]
mov esi, eax
push 0x7d0b2c
call fcn.00758ec0
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00759a60
lea ecx, [esp + 0x68]
call fcn.00758f80
lea ecx, [esp + 0x40]
push 0x7d0b2c
call fcn.00758ec0
lea edx, [esp + 0x40]
lea ecx, [esp + 0x28]
push edx
call fcn.00759ac0
lea ecx, [esp + 0x40]
call fcn.00758f80
lea ecx, [esp + 0x24]
call fcn.00758eb0
lea eax, [esp + 0x24]
lea ecx, [esp + 0x10]
push eax
push 0x7b9950
push esi
call fcn.0075a7a0
lea ecx, [esp + 0x44]
push 0x7d0b2c
call fcn.00758ec0
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x28]
call fcn.00759a60
lea ecx, [esp + 0x44]
call fcn.00758f80
lea ecx, [esp + 0x4c]
push 0x7d0b2c
call fcn.00758ec0
lea edx, [esp + 0x4c]
lea ecx, [esp + 0x24]
push edx
call fcn.00759ac0
lea ecx, [esp + 0x4c]
call fcn.00758f80
lea ecx, [esp + 0x24]
mov byte [esp + 0x54], 1
call fcn.00759d40
test eax, eax
jbe 0x5b4fb2
push str.false
lea ecx, [esp + 0x28]
call fcn.00759c90
push eax
call fcn.0076d4b0
add esp, 8
test eax, eax
setne al
mov byte [esp + 0x54], al
lea ecx, [esp + 0x2c]
call fcn.0075ba40
test eax, eax
jbe 0x5b524f
lea ecx, [esp + 0x18]
call fcn.00759d40
test eax, eax
jbe 0x5b524f
lea ecx, [esp + 0x28]
call fcn.00759d40
test eax, eax
jbe 0x5b524f
mov eax, dword [esp + 0x54]
push edi
mov ecx, dword [esp + 0x78]
push eax
lea eax, [esp + 0x30]
mov edx, dword [ecx]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x40]
push eax
call dword [edx + 4]
xor esi, esi
mov dword [esp + 0x34], eax
mov al, byte [0xa59618]
test al, 1
jne 0x5b5055
or al, 1
push ebx
push ebx
mov ecx, 0xa59600
mov byte [0xa59618], al
call fcn.005b6020
mov edi, vtable.DynamicVectorClass_class_MultiplayerGameMode__.0
mov dword [0xa59614], ebp
push 0x5b3650
mov dword [0xa59600], edi
mov dword [0xa59610], ebx
call fcn.0076df1a
mov al, byte [0xa59618]
add esp, 4
jmp 0x5b505a
mov edi, vtable.DynamicVectorClass_class_MultiplayerGameMode__.0
cmp esi, dword [0xa59610]
jge 0x5b50c5
test al, 1
jne 0x5b50aa
or al, 1
push 0x5b3650
mov byte [0xa59618], al
mov dword [0xa59604], ebx
mov dword [0xa59608], ebx
mov byte [0xa5960c], 1
mov byte [0xa5960d], bl
mov dword [0xa59600], edi
mov dword [0xa59614], ebp
mov dword [0xa59610], ebx
call fcn.0076df1a
mov al, byte [0xa59618]
add esp, 4
mov ecx, dword [0xa59604]
mov edx, dword [ecx + esi*4]
mov ecx, dword [edx + 0x28]
mov edx, dword [esp + 0x34]
cmp ecx, dword [edx + 0x28]
jg 0x5b50c5
inc esi
jmp 0x5b5013
cmp esi, ebx
jne 0x5b5189
test al, 1
jne 0x5b5110
or al, 1
push 0x5b3650
mov byte [0xa59618], al
mov dword [0xa59604], ebx
mov dword [0xa59608], ebx
mov byte [0xa5960c], 1
mov byte [0xa5960d], bl
mov dword [0xa59600], edi
mov dword [0xa59614], ebp
mov dword [0xa59610], ebx
call fcn.0076df1a
add esp, 4
mov eax, dword [0xa59608]
mov ecx, dword [0xa59610]
cmp ecx, eax
jl 0x5b5156
cmp byte [0xa5960d], bl
jne 0x5b512f
cmp eax, ebx
jne 0x5b524f
mov ecx, dword [0xa59614]
cmp ecx, ebx
jle 0x5b524f
add ecx, eax
mov eax, dword [0xa59600]
push ebx
push ecx
mov ecx, 0xa59600
call dword [eax + 8]
test al, al
je 0x5b524f
mov eax, dword [0xa59610]
cmp eax, ebx
je 0x5b5179
lea ecx, [eax*4]
mov eax, dword [0xa59604]
push ecx
push eax
add eax, 4
push eax
call fcn.0076e820
add esp, 0xc
mov eax, dword [0xa59604]
mov edx, dword [esp + 0x34]
mov dword [eax], edx
jmp 0x5b5249
test al, 1
jne 0x5b51cc
or al, 1
push 0x5b3650
mov byte [0xa59618], al
mov dword [0xa59604], ebx
mov dword [0xa59608], ebx
mov byte [0xa5960c], 1
mov byte [0xa5960d], bl
mov dword [0xa59600], edi
mov dword [0xa59614], ebp
mov dword [0xa59610], ebx
call fcn.0076df1a
add esp, 4
mov eax, dword [0xa59608]
mov ecx, dword [0xa59610]
dec esi
cmp ecx, eax
jl 0x5b5208
cmp byte [0xa5960d], bl
jne 0x5b51e8
cmp eax, ebx
jne 0x5b524f
mov ecx, dword [0xa59614]
cmp ecx, ebx
jle 0x5b524f
mov edx, dword [0xa59600]
add ecx, eax
push ebx
push ecx
mov ecx, 0xa59600
call dword [edx + 8]
test al, al
je 0x5b524f
mov ecx, dword [0xa59610]
lea eax, [ecx - 1]
cmp esi, eax
jge 0x5b523c
lea eax, [esi + 1]
mov edx, eax
shl edx, 0x1e
sub edx, eax
add edx, ecx
mov ecx, dword [0xa59604]
shl edx, 2
lea eax, [ecx + eax*4]
push edx
lea ecx, [ecx + esi*4 + 8]
push eax
push ecx
call fcn.0076e820
add esp, 0xc
mov eax, dword [0xa59604]
mov edx, dword [esp + 0x34]
mov dword [eax + esi*4 + 4], edx
inc dword [0xa59610]
lea ecx, [esp + 0x24]
call fcn.00758f80
lea ecx, [esp + 0x28]
call fcn.00758f80
lea ecx, [esp + 0x18]
call fcn.00758f80
lea ecx, [esp + 0x30]
call fcn.0075aff0
lea ecx, [esp + 0x1c]
call fcn.00758f80
lea ecx, [esp + 0x2c]
call fcn.0075aff0
lea ecx, [esp + 0x14]
call fcn.00758f80
lea ecx, [esp + 0x10]
call fcn.00758f80
lea ecx, [esp + 0x20]
call fcn.00758f80
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x70]
inc eax
cmp eax, ecx
mov dword [esp + 0x38], eax
jl 0x5b4c8a
pop edi
pop ebp
lea ecx, [esp + 0x70]
call fcn.0050abd0
lea ecx, [esp + 0xfc]
mov dword [esp + 0xa8], vtable.CCFileClass.0
mov dword [esp + 0x108], ebx
call fcn.00438290
lea ecx, [esp + 0xa8]
mov dword [esp + 0xa8], vtable.CDFileClass.0
call fcn.0042f250
pop esi
pop ebx
add esp, 0x104
ret