Function at 0x415c40
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4bffa0
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
mov eax, dword [0x4eaf00]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
push 0x18
xor ebx, ebx
push str.rider:__command.sellang_
lea ecx, [esp + 0x1c]
mov esi, 0x416e90
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.00404400
mov dword [esp + 0x58], ebx
sub esp, 0xc
mov ecx, esi
mov esi, esp
mov dword [esp + 0x18], esp
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [eax + 0xc], ecx
call fcn.0041d560
lea eax, [esp + 0x20]
push eax
push edi
call fcn.00420800
mov dword [esp + 0x58], 0xffffffff
cmp dword [esp + 0x2c], 0x10
jb 0x415cee
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0045afe4
add esp, 4
push 0x1a
push str.rider:__command.selserver_
lea ecx, [esp + 0x1c]
mov esi, 0x417220
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.00404400
mov dword [esp + 0x58], 1
sub esp, 0xc
mov ecx, esi
mov esi, esp
mov dword [esp + 0x18], esp
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [eax + 0xc], ecx
call fcn.0041d560
lea edx, [esp + 0x20]
push edx
push edi
call fcn.00420800
mov dword [esp + 0x58], 0xffffffff
cmp dword [esp + 0x2c], 0x10
jb 0x415d73
mov eax, dword [esp + 0x18]
push eax
call fcn.0045afe4
add esp, 4
push 0x16
push str.rider:__command.login_
lea ecx, [esp + 0x1c]
mov esi, 0x417430
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.00404400
mov dword [esp + 0x58], 2
sub esp, 0xc
mov ecx, esi
mov esi, esp
mov dword [esp + 0x18], esp
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [eax + 0xc], ecx
call fcn.0041d560
lea ecx, [esp + 0x20]
push ecx
push edi
call fcn.00420800
mov dword [esp + 0x58], 0xffffffff
cmp dword [esp + 0x2c], 0x10
jb 0x415df8
mov edx, dword [esp + 0x18]
push edx
call fcn.0045afe4
add esp, 4
push 0x1a
push str.rider:__command.freelogin_
lea ecx, [esp + 0x1c]
mov esi, 0x417b60
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.00404400
mov dword [esp + 0x58], 3
sub esp, 0xc
mov ecx, esi
mov esi, esp
mov dword [esp + 0x18], esp
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [eax + 0xc], ecx
call fcn.0041d560
lea eax, [esp + 0x20]
push eax
push edi
call fcn.00420800
mov dword [esp + 0x58], 0xffffffff
cmp dword [esp + 0x2c], 0x10
jb 0x415e7d
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0045afe4
add esp, 4
push 0x1a
push str.rider:__command.caballink_
lea ecx, [esp + 0x1c]
mov esi, 0x416af0
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.00404400
mov dword [esp + 0x58], 4
sub esp, 0xc
mov ecx, esi
mov esi, esp
mov dword [esp + 0x18], esp
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [eax + 0xc], ecx
call fcn.0041d560
lea edx, [esp + 0x20]
push edx
push edi
call fcn.00420800
mov dword [esp + 0x58], 0xffffffff
cmp dword [esp + 0x2c], 0x10
jb 0x415f02
mov eax, dword [esp + 0x18]
push eax
call fcn.0045afe4
add esp, 4
push 0x1a
push str.rider:__command.startgame_
lea ecx, [esp + 0x38]
mov esi, 0x415fa0
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
call fcn.00404400
mov dword [esp + 0x58], 5
sub esp, 0xc
mov ecx, esi
mov esi, esp
mov dword [esp + 0x18], esp
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [eax + 0xc], ecx
call fcn.0041d560
lea ecx, [esp + 0x3c]
push ecx
push edi
call fcn.00420800
cmp dword [esp + 0x48], 0x10
jb 0x415f7f
mov edx, dword [esp + 0x34]
push edx
call fcn.0045afe4
add esp, 4
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4