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

Disassembly:
sub esp, 0x4d0
push ebx
push ebp
push esi
push edi
push 1
push 0x81c668
mov ebp, ecx
push 0
push str.SoftwareWestwoodRenegade
mov dword [esp + 0x34], ebp
call fcn.0043a1d0
add esp, 0xc
lea ecx, [esp + 0x3c]
push eax
call fcn.005dbcb0
mov al, byte [esp + 0x3c]
test al, al
je 0x454b46
push str.ProcessId
lea ecx, [esp + 0x3c]
call fcn.005dc2d0
push 0x81c668
push 0
push str.SoftwareWestwoodRenegade
call fcn.0043a1d0
push eax
mov eax, dword [str.slave.ini]
push eax
call fcn.005dc950
mov eax, dword [ebp + 0xc40]
add esp, 0x14
xor ebx, ebx
test eax, eax
mov dword [esp + 0x1c], ebx
jle 0x4553d2
mov dword [esp + 0x20], 0x400
mov dword [esp + 0x18], 0x100
add ebp, 0x20
mov al, byte [ebp + 0x186]
test al, al
je 0x455399
push 0x81c668
push 0
push str.SoftwareWestwoodRenegade
call fcn.0043a1d0
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xe0]
mov eax, ecx
mov esi, edi
mov edi, edx
push ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push str._slave__d
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xa8]
push ecx
call fcn.0078cdc6
lea edi, [esp + 0xac]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xe0]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0xe0]
mov ecx, edx
push eax
and ecx, 3
push 0x81c668
push 0
rep movsb byte es:[edi], byte [esi]
push str.SoftwareWestwoodRenegade
call fcn.0043a1d0
mov ecx, dword [str.slave.ini]
add esp, 0xc
push eax
push ecx
call fcn.005dc9a0
lea edi, [esp + 0xad]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 1
mov edx, ecx
mov esi, edi
mov edi, 0x856094
push str.NetworkingFirewall
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
push str.SoftwareWestwoodRenegade
rep movsb byte es:[edi], byte [esi]
call fcn.0043a1d0
add esp, 0xc
lea ecx, [esp + 0x2c]
push eax
call fcn.005dbcb0
mov byte [0x856094], 0
push 1
push str.NetworkingFirewall
push 0
push str.SoftwareWestwoodRenegade
call fcn.0043a1d0
add esp, 0xc
lea ecx, [esp + 0x54]
push eax
call fcn.005dbcb0
mov ax, word [ebp + 0x80]
test ax, ax
je 0x454cd0
and eax, 0xffff
push eax
push str.ForcePort
jmp 0x454d3b
push 0
push str.ForcePort
lea ecx, [esp + 0x30]
call fcn.005dbdb0
push 0x400
push str.PortBase
lea ecx, [esp + 0x58]
call fcn.005dbd50
add eax, dword [esp + 0x18]
cmp eax, 0xffe
jl 0x454d03
sub eax, 0xbff
push eax
push str.PortBase
lea ecx, [esp + 0x30]
call fcn.005dbdb0
push 0x400
push str.PortPool
lea ecx, [esp + 0x58]
call fcn.005dbd50
add eax, dword [esp + 0x20]
cmp eax, 0xfffe
jl 0x454d35
sub eax, 0xefff
push eax
push str.PortPool
lea ecx, [esp + 0x30]
call fcn.005dbdb0
lea ecx, [esp + 0x50]
call fcn.005dbd30
lea ecx, [esp + 0x28]
call fcn.005dbd30
lea edi, [esp + 0xa1]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push str.NetworkingServerControl
mov eax, ecx
mov esi, edi
mov edi, 0x856094
push 0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push str.SoftwareWestwoodRenegade
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0043a1d0
add esp, 0xc
lea ecx, [esp + 0x7c]
push eax
call fcn.005dbcb0
push 1
push str.NetworkingServerControl
push 0
push str.SoftwareWestwoodRenegade
mov byte [0x856094], 0
call fcn.0043a1d0
add esp, 0xc
lea ecx, [esp + 0x8c]
push eax
call fcn.005dbcb0
push 0xf9ff
push str.ControlPort
lea ecx, [esp + 0x90]
call fcn.005dbd50
test eax, eax
jne 0x454de6
mov eax, 0xf9ff
lea eax, [eax + ebx + 1]
lea ecx, [esp + 0x78]
push eax
push str.ControlPort
mov word [ebp + 0x188], ax
call fcn.005dbdb0
lea ecx, [esp + 0x88]
call fcn.005dbd30
lea ecx, [esp + 0x78]
call fcn.005dbd30
lea edi, [esp + 0xa1]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push str.WOLSettings
mov edx, ecx
mov esi, edi
mov edi, 0x856094
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push str.SoftwareWestwoodRenegade
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0043a1d0
add esp, 0xc
lea ecx, [esp + 0x4c]
push eax
call fcn.005dbcb0
lea esi, [ebp - 0x20]
lea ecx, [esp + 0x48]
push esi
push str.AutoLogin
mov byte [0x856094], 0
call fcn.005dc0e0
push esi
push str.LastLogin
lea ecx, [esp + 0x50]
call fcn.005dc0e0
lea ecx, [esp + 0x48]
call fcn.005dbd30
lea edi, [esp + 0xa1]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push str.WOLSettings
mov eax, ecx
mov esi, edi
mov edi, 0x856094
push 0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push str.SoftwareWestwoodRenegade
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0043a1d0
add esp, 0xc
lea ecx, [esp + 0x74]
push eax
call fcn.005dbcb0
lea ecx, [ebp + 0x40]
mov byte [0x856094], 0
push ecx
push str.AutoPassword
lea ecx, [esp + 0x78]
call fcn.005dc0e0
lea ecx, [esp + 0x70]
call fcn.005dbd30
lea edi, [esp + 0xa1]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 1
mov edx, ecx
mov esi, edi
mov edi, 0x856094
push 0x81c668
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
push str.SoftwareWestwoodRenegade
rep movsb byte es:[edi], byte [esi]
call fcn.0043a1d0
add esp, 0xc
lea ecx, [esp + 0x5c]
push eax
call fcn.005dbcb0
mov eax, dword [0x809d38]
mov byte [0x856094], 0
test ebp, ebp
mov dword [esp + 0x10], eax
je 0x454f5d
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x454f5f
xor ecx, ecx
inc ecx
push 1
push ecx
lea ecx, [esp + 0x18]
call fcn.005dcfa0
test ebp, ebp
je 0x454fb1
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x10]
lea esi, [ebx + 1]
push esi
call fcn.005dd330
mov edi, dword [esp + 0x10]
mov eax, dword [0x809d38]
cmp edi, eax
je 0x454f9f
mov dword [edi - 4], ebx
mov edi, dword [esp + 0x10]
mov ecx, esi
mov esi, ebp
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x809d38]
mov edx, dword [esp + 0x10]
cmp edx, eax
mov dword [esp + 0x14], eax
je 0x45500e
mov ecx, dword [edx - 4]
test ecx, ecx
jne 0x454fe3
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [edx - 4], ecx
mov edx, dword [esp + 0x10]
mov eax, dword [0x809d38]
test ecx, ecx
jle 0x45500e
xor ecx, ecx
cmp edx, eax
je 0x455001
mov ecx, dword [edx - 4]
test ecx, ecx
jne 0x455001
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [edx - 4], ecx
inc ecx
push 0
push ecx
lea ecx, [esp + 0x1c]
call fcn.005dcfa0
lea ecx, [esp + 0x10]
call fcn.004027b0
mov esi, eax
lea ecx, [esp + 0x14]
lea edi, [esi + 1]
push edi
call fcn.005dd330
push esi
lea ecx, [esp + 0x18]
call fcn.004029d0
mov esi, dword [esp + 0x10]
mov ecx, edi
mov edi, dword [esp + 0x14]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [esp + 0x10]
mov eax, dword [0x809d38]
cmp edx, eax
je 0x45508b
mov eax, dword [edx - 4]
test eax, eax
jne 0x45506d
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [edx - 4], ecx
je 0x45508b
lea ecx, [esp + 0x14]
push 1
push ecx
push ecx
mov ecx, esp
lea edx, [esp + 0x1c]
push 0
push edx
call fcn.004025d0
call fcn.00452bf0
add esp, 0xc
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x58]
push eax
push str.Serial
call fcn.005dc0e0
lea ecx, [esp + 0x14]
call fcn.005dd410
lea ecx, [esp + 0x10]
call fcn.005dd410
lea ecx, [esp + 0x58]
call fcn.005dbd30
lea edi, [esp + 0xa1]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push str.WOLSettings
mov edx, ecx
mov esi, edi
mov edi, 0x856094
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push str.SoftwareWestwoodRenegade
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0043a1d0
add esp, 0xc
lea ecx, [esp + 0x34]
push eax
call fcn.005dbcb0
mov al, byte [esp + 0x34]
mov byte [0x856094], 0
test al, al
je 0x455152
mov eax, dword [str.AutoRestartFlag]
push 1
push eax
lea ecx, [esp + 0x38]
call fcn.005dbdb0
push 0x7f5320
xor esi, esi
call fcn.004372b0
add esp, 4
test eax, eax
je 0x455142
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x20]
test al, al
je 0x455142
mov esi, 1
mov eax, dword [str.AutoRestartType]
push esi
push eax
lea ecx, [esp + 0x38]
call fcn.005dbdb0
lea ecx, [esp + 0x30]
call fcn.005dbd30
lea edi, [esp + 0xa1]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push str.Options
mov edx, ecx
mov esi, edi
mov edi, 0x856094
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push str.SoftwareWestwoodRenegade
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0043a1d0
add esp, 0xc
lea ecx, [esp + 0x84]
push eax
call fcn.005dbcb0
lea eax, [ebp + 0x82]
lea ecx, [esp + 0x80]
push eax
push str.MultiplayerSettings
mov byte [0x856094], 0
call fcn.005dc0e0
lea ecx, [esp + 0x80]
call fcn.005dbd30
lea edi, [esp + 0xa1]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x81c668
mov edx, ecx
mov esi, edi
mov edi, 0x856094
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push str.SoftwareWestwoodRenegade
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0043a1d0
add esp, 0xc
lea ecx, [esp + 0x64]
push eax
call fcn.005dbcb0
push 0x3000
push 0x7f8e9c
lea ecx, [esp + 0x68]
mov byte [0x856094], 0
call fcn.005dbdb0
lea ecx, [esp + 0x60]
call fcn.005dbd30
mov ebx, dword [ebp + 0x18c]
cmp ebx, 0xffffffff
je 0x455395
lea edi, [esp + 0xa1]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push str.NetworkingOptions
mov eax, ecx
mov esi, edi
mov edi, 0x856094
push 0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push str.SoftwareWestwoodRenegade
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0043a1d0
add esp, 0xc
lea ecx, [esp + 0x9c]
push eax
call fcn.005dbcb0
push 1
push str.Bandtest
push 0
push str.SoftwareWestwoodRenegade
call fcn.0043a1d0
add esp, 0xc
lea ecx, [esp + 0x44]
push eax
call fcn.005dbcb0
push 1
push str.NetworkingOptions
push 0
push str.SoftwareWestwoodRenegade
mov byte [0x856094], 0
call fcn.0043a1d0
add esp, 0xc
lea ecx, [esp + 0x94]
push eax
call fcn.005dbcb0
push 1
push str.Bandtest
push 0
push str.SoftwareWestwoodRenegade
call fcn.0043a1d0
add esp, 0xc
lea ecx, [esp + 0x6c]
push eax
call fcn.005dbcb0
push 0x6a
call fcn.004700a0
add esp, 4
test ebx, ebx
jne 0x45534d
push ebx
push 0x7f8c44
lea ecx, [esp + 0x70]
call fcn.005dbd50
mov ecx, dword [esp + 0x24]
mov ebx, eax
xor edx, edx
mov eax, dword [ecx + 0xc40]
test eax, eax
jle 0x45534d
add ecx, 0x1a6
cmp byte [ecx], 0
je 0x455336
inc edx
add ecx, 0x1c0
dec eax
jne 0x455330
test edx, edx
je 0x45534d
mov eax, ebx
lea ecx, [edx + 1]
cdq
idiv ecx
mov ebx, eax
push ebx
push 0x7f8c44
lea ecx, [esp + 0x48]
call fcn.005dbdb0
push ebx
push str.Down
lea ecx, [esp + 0x48]
call fcn.005dbdb0
lea ecx, [esp + 0x68]
call fcn.005dbd30
lea ecx, [esp + 0x90]
call fcn.005dbd30
lea ecx, [esp + 0x40]
call fcn.005dbd30
lea ecx, [esp + 0x98]
call fcn.005dbd30
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
add edx, 0x400
inc ebx
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x24]
add esi, 0x100
add ebp, 0x1c0
mov eax, dword [edx + 0xc40]
mov dword [esp + 0x1c], ebx
cmp ebx, eax
mov dword [esp + 0x18], esi
jl 0x454b8d
lea ecx, [esp + 0x38]
call fcn.005dbd30
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4d0
ret