Function at 0x41d460
Capabilities:
Terminate process

Disassembly:
sub esp, 0x104
mov ecx, dword [esp + 0x108]
xor eax, eax
push esi
xor esi, esi
mov al, byte [ecx]
lea eax, [eax + eax*2]
mov ax, word [eax*4 + 0x51a0b8]
and eax, 0x8000
or ah, 0x40
shr eax, 0xe
and eax, 0xffff
mov cl, byte [eax + ecx]
mov byte [esp + 4], cl
mov ecx, dword [0x80bee8]
cmp ecx, esi
je 0x41d4ac
mov edx, dword [ecx]
push 1
call dword [edx]
mov dword [0x80bee8], esi
mov ecx, dword [0x80beec]
cmp ecx, esi
je 0x41d4c2
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [0x80beec], esi
mov ecx, dword [0x80c310]
cmp ecx, esi
je 0x41d4d8
mov edx, dword [ecx]
push 1
call dword [edx]
mov dword [0x80c310], esi
mov ecx, dword [0x80c328]
cmp ecx, esi
je 0x41d4ee
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [0x80c328], esi
mov ecx, dword [0x80c314]
cmp ecx, esi
je 0x41d504
mov edx, dword [ecx]
push 1
call dword [edx]
mov dword [0x80c314], esi
mov ecx, dword [0x80c318]
cmp ecx, esi
je 0x41d51c
mov eax, dword [ecx]
push 1
call dword [eax]
xor ecx, ecx
mov dword [0x80c318], ecx
mov eax, dword [esp + 4]
and eax, 0xff
cmp eax, 7
ja case.0x41d52e.3
jmp dword [eax*4 + 0x41d6c4]
mov ecx, dword [0x80c334]
push esi
push esi
push 1
push ecx
push str.You_have_been_idle_for_too_long.__If_you_do_not_do_anything_in_the_next_minute__you_will_be_logged_out.
call fcn.004683f0
add esp, 0x14
pop esi
add esp, 0x104
ret
push str.This_character_already_exists._nPlaying...
jmp 0x41d569
cmp dword [0x80c334], esi
je 0x41d592
push str.Incorrect_password.
lea edx, [esp + 0xc]
push edx
call fcn.004ee486
push esi
push esi
mov eax, dword [0x80c334]
push 1
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.004683f0
add esp, 0x1c
pop esi
add esp, 0x104
ret
lea edx, [esp + 8]
push str.You_entered_an_incorrect_password.__Closing...
push edx
call fcn.004ee486
push esi
push 1
jmp 0x41d575
cmp dword [0x80c334], esi
je 0x41d604
lea edx, [esp + 8]
push str.This_character_does_not_exist_anymore.__You_will_have_to_recreate_it.
push edx
call fcn.004ee486
mov eax, dword [0xcf153c]
mov ecx, dword [0x80c334]
add esp, 8
push eax
call fcn.0047a740
mov eax, dword [0xcf153c]
dec eax
mov dword [0xcf153c], eax
jns 0x41d5e4
mov dword [0xcf153c], esi
mov ecx, dword [0x80c334]
push esi
push esi
push 1
lea edx, [esp + 0x14]
push ecx
push edx
call fcn.004683f0
add esp, 0x14
pop esi
add esp, 0x104
ret
lea eax, [esp + 8]
push str.Character_does_not_exist._n_Closing...
push eax
call fcn.004ee486
push esi
lea ecx, [esp + 0x14]
push str.Access_Denied_
push ecx
call fcn.004e7830
add esp, 0x14
push esi
call fcn.004edfc3
mov eax, dword [0x80c30c]
cmp eax, esi
je 0x41d649
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx]
mov ecx, dword [0x80c318]
mov dword [0x80c30c], esi
cmp ecx, esi
je 0x41d659
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [0x80c318], esi
mov ecx, dword [0x80c334]
push esi
push esi
push 1
push ecx
push str.Another_character_from_this_account_is_currently_online_in_this_world.__You_must_either_log_in_as_that_character_or_wait_for_it_to_time_out.
call fcn.004683f0
add esp, 0x14
pop esi
add esp, 0x104
ret
mov edx, dword [0x80c334]
push esi
push esi
push 1
push edx
push str.An_error_has_occurred_in_the_synchronization_between_the_login_servers_and_this_world.__Please_close_your_client_and_try_again.
call fcn.004683f0
add esp, 0x14
pop esi
add esp, 0x104
ret
mov eax, dword [0x80c334]
push esi
cmp eax, esi
push esi
push 1
jne 0x41d6ab
mov eax, dword [0x80c330]
push eax
push str.The_client_could_not_attach_to_the_game_server._It_must_have_been_taken_down__please_wait_a_few_minutes_and_try_again.
call fcn.004683f0
add esp, 0x14
pop esi
add esp, 0x104
ret