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

Disassembly:
push 0xffffffffffffffff
push 0x5348f9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x12c
push ebx
push ebp
push esi
push edi
mov ebp, ecx
push 0xbf39e4
lea ecx, [esp + 0xb0]
call fcn.00457080
mov esi, 1
xor ebx, ebx
push esi
lea ecx, [esp + 0xb0]
mov dword [esp + 0x148], ebx
call fcn.00457a90
cmp byte [ebp + 0x180], bl
jne 0x506735
lea ecx, [esp + 0x6c]
mov dword [esp + 0x6c], ebx
call fcn.00459630
lea ecx, [esp + 0x3c]
mov byte [esp + 0x144], 1
mov dword [esp + 0x3c], ebx
call fcn.00459630
lea ecx, [esp + 0x54]
mov byte [esp + 0x144], 2
mov dword [esp + 0x54], ebx
call fcn.00459630
lea ecx, [esp + 0x60]
mov byte [esp + 0x144], 3
mov dword [esp + 0x60], ebx
call fcn.00459630
lea ecx, [esp + 0x48]
mov byte [esp + 0x144], 4
mov dword [esp + 0x48], ebx
call fcn.00459630
lea ecx, [esp + 0x18]
mov byte [esp + 0x144], 5
mov dword [esp + 0x18], ebx
call fcn.00459630
lea ecx, [esp + 0xa0]
mov byte [esp + 0x144], 6
mov dword [esp + 0xa0], ebx
call fcn.00459630
mov eax, dword [ebp + 0x1d8]
mov byte [esp + 0x144], 7
cmp eax, esi
mov dword [esp + 0x14], esi
jl 0x506586
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0xfc]
push eax
push sym.MOHAA.exe____C__02MECO___CFd__AA_
push ecx
mov dword [esp + 0x1c], ebx
call fcn.0051a7be
lea edi, [esp + 0x108]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov esi, ecx
lea ecx, [esp + 0x14]
lea edx, [esi + 1]
push edx
call sym.MOHAA.exe_private:_void___thiscall_str::EnsureAlloced_int__bool_
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0xfc]
mov edx, dword [eax]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
cmp al, bl
jne 0x505db1
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0xc], esi
mov eax, dword [esp + 0x6c]
mov byte [esp + 0x144], 8
cmp eax, ebx
jne 0x505ddd
push 0xa
lea ecx, [esp + 0x70]
call fcn.0041c210
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x70]
cmp ecx, eax
jne 0x505df6
lea edx, [eax + eax]
lea ecx, [esp + 0x6c]
push edx
call fcn.0041c210
lea eax, [esp + 0x10]
lea ecx, [esp + 0x90]
push eax
call sym.MOHAA.exe_public:_void___thiscall_str::constructor_class_str_const__
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
push eax
mov byte [esp + 0x148], 9
lea ecx, [ecx + edx*4]
call sym.MOHAA.exe_public:_void___thiscall_str::operator_class_str_const__
lea ecx, [esp + 0x90]
mov byte [esp + 0x144], 8
call sym.MOHAA.exe_public:_void___thiscall_str::destructor_void_
mov ecx, dword [esp + 0x70]
mov byte [esp + 0x144], 7
inc ecx
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
je 0x505e52
call fcn.0046f7c0
mov eax, dword [ebp + 0x1c4]
mov ecx, dword [esp + 0x14]
mov esi, dword [eax + ecx*4 - 4]
mov dword [esp + 0x28], ebx
mov al, byte [esi + 0x14]
add esi, 0x14
cmp al, bl
je 0x505ea4
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
je 0x505ea4
lea edx, [edi + 1]
push 1
push edx
lea ecx, [esp + 0x30]
call sym.MOHAA.exe_private:_void___thiscall_str::EnsureAlloced_int__bool_
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
mov al, byte [esi]
inc esi
mov byte [ecx], al
inc ecx
cmp al, bl
jne 0x505e93
mov ecx, dword [esp + 0x28]
mov dword [ecx + 0xc], edi
mov eax, dword [esp + 0x3c]
mov byte [esp + 0x144], 0xa
cmp eax, ebx
jne 0x505ebf
push 0xa
lea ecx, [esp + 0x40]
call fcn.0041c210
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
cmp ecx, eax
jne 0x505ed8
lea edx, [eax + eax]
lea ecx, [esp + 0x3c]
push edx
call fcn.0041c210
lea eax, [esp + 0x28]
lea ecx, [esp + 0x94]
push eax
call sym.MOHAA.exe_public:_void___thiscall_str::constructor_class_str_const__
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
push eax
mov byte [esp + 0x148], 0xb
lea ecx, [ecx + edx*4]
call sym.MOHAA.exe_public:_void___thiscall_str::operator_class_str_const__
lea ecx, [esp + 0x94]
mov byte [esp + 0x144], 0xa
call sym.MOHAA.exe_public:_void___thiscall_str::destructor_void_
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x144], 7
inc ecx
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x28]
cmp ecx, ebx
je 0x505f38
call fcn.0046f7c0
mov dword [esp + 0x28], ebx
mov eax, dword [ebp + 0x1c4]
mov ecx, dword [esp + 0x14]
mov esi, dword [eax + ecx*4 - 4]
mov dword [esp + 0x2c], ebx
mov al, byte [esi + 0x34]
add esi, 0x34
cmp al, bl
je 0x505f8a
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
je 0x505f8a
lea edx, [edi + 1]
push 1
push edx
lea ecx, [esp + 0x34]
call sym.MOHAA.exe_private:_void___thiscall_str::EnsureAlloced_int__bool_
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
mov al, byte [esi]
inc esi
mov byte [ecx], al
inc ecx
cmp al, bl
jne 0x505f79
mov ecx, dword [esp + 0x2c]
mov dword [ecx + 0xc], edi
mov eax, dword [esp + 0x54]
mov byte [esp + 0x144], 0xc
cmp eax, ebx
jne 0x505fa5
push 0xa
lea ecx, [esp + 0x58]
call fcn.0041c210
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
cmp ecx, eax
jne 0x505fbe
lea edx, [eax + eax]
lea ecx, [esp + 0x54]
push edx
call fcn.0041c210
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x9c]
push eax
call sym.MOHAA.exe_public:_void___thiscall_str::constructor_class_str_const__
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
push eax
mov byte [esp + 0x148], 0xd
lea ecx, [ecx + edx*4]
call sym.MOHAA.exe_public:_void___thiscall_str::operator_class_str_const__
lea ecx, [esp + 0x9c]
mov byte [esp + 0x144], 0xc
call sym.MOHAA.exe_public:_void___thiscall_str::destructor_void_
mov ecx, dword [esp + 0x58]
mov byte [esp + 0x144], 7
inc ecx
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x2c]
cmp ecx, ebx
je 0x50601e
call fcn.0046f7c0
mov dword [esp + 0x2c], ebx
mov eax, dword [ebp + 0x1c4]
mov ecx, dword [esp + 0x14]
mov edx, dword [eax + ecx*4 - 4]
mov eax, dword [edx + 0xa0]
mov dword [esp + 0x24], ebx
push eax
lea eax, [esp + 0xc0]
push sym.MOHAA.exe____C__02MECO___CFd__AA_
push eax
call fcn.0051a7be
lea edi, [esp + 0xc8]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov esi, ecx
lea ecx, [esi + 1]
push ecx
lea ecx, [esp + 0x2c]
call sym.MOHAA.exe_private:_void___thiscall_str::EnsureAlloced_int__bool_
mov edx, dword [esp + 0x24]
lea eax, [esp + 0xbc]
mov ecx, dword [edx]
mov dl, byte [eax]
inc eax
mov byte [ecx], dl
inc ecx
cmp dl, bl
jne 0x50607b
mov eax, dword [esp + 0x24]
mov dword [eax + 0xc], esi
mov ecx, dword [ebp + 0x1c4]
mov edx, dword [esp + 0x14]
mov byte [esp + 0x144], 0xe
mov eax, dword [ecx + edx*4 - 4]
lea ecx, [esp + 0xdc]
mov eax, dword [eax + 0x9c]
mov dword [esp + 0x30], ebx
push eax
push sym.MOHAA.exe____C__02MECO___CFd__AA_
push ecx
call fcn.0051a7be
lea edi, [esp + 0xe8]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov esi, ecx
lea ecx, [esp + 0x34]
lea edx, [esi + 1]
push edx
call sym.MOHAA.exe_private:_void___thiscall_str::EnsureAlloced_int__bool_
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0xdc]
mov ecx, dword [ecx]
mov dl, byte [eax]
inc eax
mov byte [ecx], dl
inc ecx
cmp dl, bl
jne 0x5060f1
mov edx, dword [esp + 0x30]
mov dword [edx + 0xc], esi
lea eax, [esp + 0x30]
push 0x5435e8
lea ecx, [esp + 0x7c]
push eax
push ecx
mov byte [esp + 0x150], 0xf
call fcn.0040d870
lea edx, [esp + 0x30]
mov byte [esp + 0x150], 0x10
push edx
push eax
lea eax, [esp + 0x98]
push eax
call fcn.00417b90
add esp, 0x18
mov esi, eax
mov eax, dword [esp + 0x60]
mov byte [esp + 0x144], 0x11
cmp eax, ebx
jne 0x506159
push 0xa
lea ecx, [esp + 0x64]
call fcn.0041c210
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
cmp ecx, eax
jne 0x506172
lea ecx, [eax + eax]
push ecx
lea ecx, [esp + 0x64]
call fcn.0041c210
push esi
lea ecx, [esp + 0x8c]
call sym.MOHAA.exe_public:_void___thiscall_str::constructor_class_str_const__
mov edx, dword [esp + 0x60]
push eax
mov eax, dword [esp + 0x68]
mov byte [esp + 0x148], 0x12
lea ecx, [edx + eax*4]
call sym.MOHAA.exe_public:_void___thiscall_str::operator_class_str_const__
lea ecx, [esp + 0x88]
mov byte [esp + 0x144], 0x11
call sym.MOHAA.exe_public:_void___thiscall_str::destructor_void_
mov ecx, dword [esp + 0x64]
mov byte [esp + 0x144], 0x10
inc ecx
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x84]
cmp ecx, ebx
je 0x5061d4
call fcn.0046f7c0
mov dword [esp + 0x84], ebx
mov ecx, dword [esp + 0x78]
mov byte [esp + 0x144], 0xf
cmp ecx, ebx
je 0x5061ed
call fcn.0046f7c0
mov dword [esp + 0x78], ebx
mov ecx, dword [esp + 0x30]
mov byte [esp + 0x144], 0xe
cmp ecx, ebx
je 0x506206
call fcn.0046f7c0
mov dword [esp + 0x30], ebx
mov ecx, dword [esp + 0x24]
mov byte [esp + 0x144], 7
cmp ecx, ebx
je 0x50621f
call fcn.0046f7c0
mov dword [esp + 0x24], ebx
mov ecx, dword [ebp + 0x1c4]
mov edx, dword [esp + 0x14]
mov eax, dword [ecx + edx*4 - 4]
lea ecx, [esp + 0x11c]
mov eax, dword [eax + 0xac]
mov dword [esp + 0x34], ebx
push eax
push sym.MOHAA.exe____C__02MECO___CFd__AA_
push ecx
call fcn.0051a7be
lea edi, [esp + 0x128]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov esi, ecx
lea ecx, [esp + 0x38]
lea edx, [esi + 1]
push edx
call sym.MOHAA.exe_private:_void___thiscall_str::EnsureAlloced_int__bool_
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x11c]
mov ecx, dword [ecx]
mov dl, byte [eax]
inc eax
mov byte [ecx], dl
inc ecx
cmp dl, bl
jne 0x50627c
mov edx, dword [esp + 0x34]
mov dword [edx + 0xc], esi
mov eax, dword [esp + 0x48]
mov byte [esp + 0x144], 0x13
cmp eax, ebx
jne 0x5062a8
push 0xa
lea ecx, [esp + 0x4c]
call fcn.0041c210
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
cmp ecx, eax
jne 0x5062c0
add eax, eax
lea ecx, [esp + 0x48]
push eax
call fcn.0041c210
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x9c]
call sym.MOHAA.exe_public:_void___thiscall_str::constructor_class_str_const__
mov edx, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x50]
mov byte [esp + 0x148], 0x14
lea ecx, [edx + eax*4]
call sym.MOHAA.exe_public:_void___thiscall_str::operator_class_str_const__
lea ecx, [esp + 0x98]
mov byte [esp + 0x144], 0x13
call sym.MOHAA.exe_public:_void___thiscall_str::destructor_void_
mov ecx, dword [esp + 0x4c]
mov byte [esp + 0x144], 7
inc ecx
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x34]
cmp ecx, ebx
je 0x506320
call fcn.0046f7c0
mov dword [esp + 0x34], ebx
mov ecx, dword [ebp + 0x1c4]
mov edx, dword [esp + 0x14]
mov eax, dword [ecx + edx*4 - 4]
mov eax, dword [eax + 0x94]
cmp eax, 1
jne 0x506421
mov al, byte [0x5681d4]
mov dword [esp + 0x10], ebx
cmp al, bl
je 0x506388
mov edi, 0x5681d4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
je 0x506388
lea ecx, [esi + 1]
push 1
push ecx
lea ecx, [esp + 0x18]
call sym.MOHAA.exe_private:_void___thiscall_str::EnsureAlloced_int__bool_
mov edx, dword [esp + 0x10]
mov ecx, 0x5681d4
mov edx, dword [edx]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
cmp al, bl
jne 0x506377
mov eax, dword [esp + 0x10]
mov dword [eax + 0xc], esi
mov eax, dword [esp + 0x18]
mov byte [esp + 0x144], 0x15
cmp eax, ebx
jne 0x5063a3
push 0xa
lea ecx, [esp + 0x1c]
call fcn.0041c210
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
cmp ecx, eax
jne 0x5063bc
lea ecx, [eax + eax]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0041c210
lea edx, [esp + 0x10]
lea ecx, [esp + 0x8c]
push edx
call sym.MOHAA.exe_public:_void___thiscall_str::constructor_class_str_const__
mov ecx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x148], 0x16
lea ecx, [eax + ecx*4]
call sym.MOHAA.exe_public:_void___thiscall_str::operator_class_str_const__
lea ecx, [esp + 0x8c]
mov byte [esp + 0x144], 0x15
call sym.MOHAA.exe_public:_void___thiscall_str::destructor_void_
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x144], 7
inc ecx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
je 0x50652e
call fcn.0046f7c0
jmp 0x50652e
cmp eax, 2
jne 0x5064f0
mov al, byte [0x5681d0]
mov dword [esp + 0x10], ebx
cmp al, bl
je 0x506475
mov edi, 0x5681d0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
je 0x506475
lea edx, [esi + 1]
push 1
push edx
lea ecx, [esp + 0x18]
call sym.MOHAA.exe_private:_void___thiscall_str::EnsureAlloced_int__bool_
mov eax, dword [esp + 0x10]
mov ecx, 0x5681d0
mov edx, dword [eax]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
cmp al, bl
jne 0x506464
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0xc], esi
mov eax, dword [esp + 0x18]
mov byte [esp + 0x144], 0x17
cmp eax, ebx
jne 0x506490
push 0xa
lea ecx, [esp + 0x1c]
call fcn.0041c210
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
cmp ecx, eax
jne 0x5064a9
lea edx, [eax + eax]
lea ecx, [esp + 0x18]
push edx
call fcn.0041c210
lea eax, [esp + 0x10]
lea ecx, [esp + 0x38]
push eax
call sym.MOHAA.exe_public:_void___thiscall_str::constructor_class_str_const__
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
push eax
mov byte [esp + 0x148], 0x18
lea ecx, [ecx + edx*4]
call sym.MOHAA.exe_public:_void___thiscall_str::operator_class_str_const__
lea ecx, [esp + 0x38]
mov byte [esp + 0x144], 0x17
call sym.MOHAA.exe_public:_void___thiscall_str::destructor_void_
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x10]
inc eax
mov dword [esp + 0x1c], eax
jmp 0x506521
push 0x5681cc
lea ecx, [esp + 0x84]
call sym.MOHAA.exe_public:_void___thiscall_str::constructor_char_const__
lea eax, [esp + 0x80]
lea ecx, [esp + 0x18]
push eax
mov byte [esp + 0x148], 0x19
call fcn.00507880
lea ecx, [esp + 0x80]
mov byte [esp + 0x144], 7
call sym.MOHAA.exe_public:_void___thiscall_str::destructor_void_
mov ecx, dword [ebp + 0x1c4]
mov esi, dword [esp + 0x14]
mov edx, dword [ecx + esi*4 - 4]
lea ecx, [esp + 0x7c]
add edx, 0x74
push edx
call sym.MOHAA.exe_public:_void___thiscall_str::constructor_char_const__
lea eax, [esp + 0x7c]
lea ecx, [esp + 0xa0]
push eax
mov byte [esp + 0x148], 0x1a
call fcn.00507880
lea ecx, [esp + 0x7c]
mov byte [esp + 0x144], 7
call sym.MOHAA.exe_public:_void___thiscall_str::destructor_void_
mov eax, dword [ebp + 0x1d8]
inc esi
cmp esi, eax
mov dword [esp + 0x14], esi
jle 0x505d64
fld dword [ebp + 0x1c]
fdiv dword [ebp + 0x24]
lea ecx, [esp + 0x3c]
mov dword [ebp + 0x1dc], 0x40800000
mov dword [ebp + 0x1d0], ebx
push ecx
fsub dword [0x535738]
fsub dword [0x5376c4]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fmul dword [0x535734]
call fcn.0051a95c
push eax
push ebx
push str.Server_Name
call fcn.0047f490
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
call sym.MOHAA.exe_public:_void___thiscall_str::constructor_char_const__
mov ecx, ebp
call fcn.00505660
fld dword [esp + 0x10]
fmul dword [0x535730]
lea edx, [esp + 0x54]
push edx
call fcn.0051a95c
push eax
push ebx
push 0x5450e0
call fcn.0047f490
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
call sym.MOHAA.exe_public:_void___thiscall_str::constructor_char_const__
mov ecx, ebp
call fcn.00505660
fld dword [esp + 0x10]
fmul dword [0x53572c]
lea eax, [esp + 0x60]
push eax
call fcn.0051a95c
push eax
push ebx
push str.Players
call fcn.0047f490
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
call sym.MOHAA.exe_public:_void___thiscall_str::constructor_char_const__
mov ecx, ebp
call fcn.00505660
fld dword [esp + 0x10]
fmul dword [0x535728]
lea ecx, [esp + 0xa0]
push ecx
call fcn.0051a95c
push eax
push ebx
push str.GameType
call fcn.0047f490
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
call sym.MOHAA.exe_public:_void___thiscall_str::constructor_char_const__
mov ecx, ebp
call fcn.00505660
fld dword [esp + 0x10]
fmul dword [0x535724]
lea edx, [esp + 0x48]
push edx
call fcn.0051a95c
push eax
push ebx
push str.Ping
call fcn.0047f490
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
call sym.MOHAA.exe_public:_void___thiscall_str::constructor_char_const__
mov ecx, ebp
call fcn.00505660
mov ecx, ebp
call fcn.00505ac0
lea ecx, [esp + 0xa0]
mov byte [ebp + 0x180], 1
mov byte [esp + 0x144], 6
call fcn.00459630
lea ecx, [esp + 0x18]
mov byte [esp + 0x144], 5
call fcn.00459630
lea ecx, [esp + 0x48]
mov byte [esp + 0x144], 4
call fcn.00459630
lea ecx, [esp + 0x60]
mov byte [esp + 0x144], 3
call fcn.00459630
lea ecx, [esp + 0x54]
mov byte [esp + 0x144], 2
call fcn.00459630
lea ecx, [esp + 0x3c]
mov byte [esp + 0x144], 1
call fcn.00459630
lea ecx, [esp + 0x6c]
mov byte [esp + 0x144], bl
call fcn.00459630
lea ecx, [esp + 0xac]
mov dword [esp + 0x144], 0xffffffff
call fcn.004573d0
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x138
ret