Function at 0x415f80
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 0x4bcaf0
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
mov eax, dword [0x4e6f00]
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, 0x4171d0
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.004043c0
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.0041d570
lea eax, [esp + 0x20]
push eax
push edi
call fcn.00420910
mov dword [esp + 0x58], 0xffffffff
cmp dword [esp + 0x2c], 0x10
jb 0x41602e
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00457af4
add esp, 4
push 0x1a
push str.rider:__command.selserver_
lea ecx, [esp + 0x1c]
mov esi, 0x417560
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.004043c0
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.0041d570
lea edx, [esp + 0x20]
push edx
push edi
call fcn.00420910
mov dword [esp + 0x58], 0xffffffff
cmp dword [esp + 0x2c], 0x10
jb 0x4160b3
mov eax, dword [esp + 0x18]
push eax
call fcn.00457af4
add esp, 4
push 0x16
push str.rider:__command.login_
lea ecx, [esp + 0x1c]
mov esi, 0x417770
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.004043c0
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.0041d570
lea ecx, [esp + 0x20]
push ecx
push edi
call fcn.00420910
mov dword [esp + 0x58], 0xffffffff
cmp dword [esp + 0x2c], 0x10
jb 0x416138
mov edx, dword [esp + 0x18]
push edx
call fcn.00457af4
add esp, 4
push 0x1a
push str.rider:__command.freelogin_
lea ecx, [esp + 0x1c]
mov esi, 0x417ea0
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.004043c0
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.0041d570
lea eax, [esp + 0x20]
push eax
push edi
call fcn.00420910
mov dword [esp + 0x58], 0xffffffff
cmp dword [esp + 0x2c], 0x10
jb 0x4161bd
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00457af4
add esp, 4
push 0x1a
push str.rider:__command.caballink_
lea ecx, [esp + 0x1c]
mov esi, 0x416e30
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.004043c0
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.0041d570
lea edx, [esp + 0x20]
push edx
push edi
call fcn.00420910
mov dword [esp + 0x58], 0xffffffff
cmp dword [esp + 0x2c], 0x10
jb 0x416242
mov eax, dword [esp + 0x18]
push eax
call fcn.00457af4
add esp, 4
push 0x1a
push str.rider:__command.startgame_
lea ecx, [esp + 0x38]
mov esi, 0x4162e0
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
call fcn.004043c0
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.0041d570
lea ecx, [esp + 0x3c]
push ecx
push edi
call fcn.00420910
cmp dword [esp + 0x48], 0x10
jb 0x4162bf
mov edx, dword [esp + 0x34]
push edx
call fcn.00457af4
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