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

Disassembly:
push 0xffffffffffffffff
push 0x535f19
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 0xc04d54
lea ecx, [esp + 0xb0]
call fcn.00456f90
mov esi, 1
xor ebx, ebx
push esi
lea ecx, [esp + 0xb0]
mov dword [esp + 0x148], ebx
call fcn.004579a0
cmp byte [ebp + 0x180], bl
jne 0x507da5
lea ecx, [esp + 0x6c]
mov dword [esp + 0x6c], ebx
call fcn.00459540
lea ecx, [esp + 0x3c]
mov byte [esp + 0x144], 1
mov dword [esp + 0x3c], ebx
call fcn.00459540
lea ecx, [esp + 0x54]
mov byte [esp + 0x144], 2
mov dword [esp + 0x54], ebx
call fcn.00459540
lea ecx, [esp + 0x60]
mov byte [esp + 0x144], 3
mov dword [esp + 0x60], ebx
call fcn.00459540
lea ecx, [esp + 0x48]
mov byte [esp + 0x144], 4
mov dword [esp + 0x48], ebx
call fcn.00459540
lea ecx, [esp + 0x18]
mov byte [esp + 0x144], 5
mov dword [esp + 0x18], ebx
call fcn.00459540
lea ecx, [esp + 0xa0]
mov byte [esp + 0x144], 6
mov dword [esp + 0xa0], ebx
call fcn.00459540
mov eax, dword [ebp + 0x1d8]
mov byte [esp + 0x144], 7
cmp eax, esi
mov dword [esp + 0x14], esi
jl 0x507bf6
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.0051be3e
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 0x507421
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0xc], esi
mov eax, dword [esp + 0x6c]
mov byte [esp + 0x144], 8
cmp eax, ebx
jne 0x50744d
push 0xa
lea ecx, [esp + 0x70]
call fcn.0041bf10
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x70]
cmp ecx, eax
jne 0x507466
lea edx, [eax + eax]
lea ecx, [esp + 0x6c]
push edx
call fcn.0041bf10
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 0x5074c2
call fcn.0046f6d0
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 0x507514
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
je 0x507514
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 0x507503
mov ecx, dword [esp + 0x28]
mov dword [ecx + 0xc], edi
mov eax, dword [esp + 0x3c]
mov byte [esp + 0x144], 0xa
cmp eax, ebx
jne 0x50752f
push 0xa
lea ecx, [esp + 0x40]
call fcn.0041bf10
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
cmp ecx, eax
jne 0x507548
lea edx, [eax + eax]
lea ecx, [esp + 0x3c]
push edx
call fcn.0041bf10
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 0x5075a8
call fcn.0046f6d0
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 0x5075fa
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
je 0x5075fa
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 0x5075e9
mov ecx, dword [esp + 0x2c]
mov dword [ecx + 0xc], edi
mov eax, dword [esp + 0x54]
mov byte [esp + 0x144], 0xc
cmp eax, ebx
jne 0x507615
push 0xa
lea ecx, [esp + 0x58]
call fcn.0041bf10
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
cmp ecx, eax
jne 0x50762e
lea edx, [eax + eax]
lea ecx, [esp + 0x54]
push edx
call fcn.0041bf10
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 0x50768e
call fcn.0046f6d0
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.0051be3e
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 0x5076eb
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.0051be3e
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 0x507761
mov edx, dword [esp + 0x30]
mov dword [edx + 0xc], esi
lea eax, [esp + 0x30]
push 0x5455e8
lea ecx, [esp + 0x7c]
push eax
push ecx
mov byte [esp + 0x150], 0xf
call fcn.0040d850
lea edx, [esp + 0x30]
mov byte [esp + 0x150], 0x10
push edx
push eax
lea eax, [esp + 0x98]
push eax
call fcn.00417a00
add esp, 0x18
mov esi, eax
mov eax, dword [esp + 0x60]
mov byte [esp + 0x144], 0x11
cmp eax, ebx
jne 0x5077c9
push 0xa
lea ecx, [esp + 0x64]
call fcn.0041bf10
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
cmp ecx, eax
jne 0x5077e2
lea ecx, [eax + eax]
push ecx
lea ecx, [esp + 0x64]
call fcn.0041bf10
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 0x507844
call fcn.0046f6d0
mov dword [esp + 0x84], ebx
mov ecx, dword [esp + 0x78]
mov byte [esp + 0x144], 0xf
cmp ecx, ebx
je 0x50785d
call fcn.0046f6d0
mov dword [esp + 0x78], ebx
mov ecx, dword [esp + 0x30]
mov byte [esp + 0x144], 0xe
cmp ecx, ebx
je 0x507876
call fcn.0046f6d0
mov dword [esp + 0x30], ebx
mov ecx, dword [esp + 0x24]
mov byte [esp + 0x144], 7
cmp ecx, ebx
je 0x50788f
call fcn.0046f6d0
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.0051be3e
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 0x5078ec
mov edx, dword [esp + 0x34]
mov dword [edx + 0xc], esi
mov eax, dword [esp + 0x48]
mov byte [esp + 0x144], 0x13
cmp eax, ebx
jne 0x507918
push 0xa
lea ecx, [esp + 0x4c]
call fcn.0041bf10
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
cmp ecx, eax
jne 0x507930
add eax, eax
lea ecx, [esp + 0x48]
push eax
call fcn.0041bf10
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 0x507990
call fcn.0046f6d0
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 0x507a91
mov al, byte [0x56a60c]
mov dword [esp + 0x10], ebx
cmp al, bl
je 0x5079f8
mov edi, 0x56a60c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
je 0x5079f8
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, 0x56a60c
mov edx, dword [edx]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
cmp al, bl
jne 0x5079e7
mov eax, dword [esp + 0x10]
mov dword [eax + 0xc], esi
mov eax, dword [esp + 0x18]
mov byte [esp + 0x144], 0x15
cmp eax, ebx
jne 0x507a13
push 0xa
lea ecx, [esp + 0x1c]
call fcn.0041bf10
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
cmp ecx, eax
jne 0x507a2c
lea ecx, [eax + eax]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0041bf10
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 0x507b9e
call fcn.0046f6d0
jmp 0x507b9e
cmp eax, 2
jne 0x507b60
mov al, byte [0x56a608]
mov dword [esp + 0x10], ebx
cmp al, bl
je 0x507ae5
mov edi, 0x56a608
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
je 0x507ae5
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, 0x56a608
mov edx, dword [eax]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
cmp al, bl
jne 0x507ad4
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0xc], esi
mov eax, dword [esp + 0x18]
mov byte [esp + 0x144], 0x17
cmp eax, ebx
jne 0x507b00
push 0xa
lea ecx, [esp + 0x1c]
call fcn.0041bf10
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
cmp ecx, eax
jne 0x507b19
lea edx, [eax + eax]
lea ecx, [esp + 0x18]
push edx
call fcn.0041bf10
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 0x507b91
push 0x56a604
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.00508ef0
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.00508ef0
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 0x5073d4
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 [0x537748]
fsub dword [0x5396d4]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fmul dword [0x537744]
call fcn.0051bfdc
push eax
push ebx
push str.Server_Name
call fcn.0047f3a0
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.00506cd0
fld dword [esp + 0x10]
fmul dword [0x537740]
lea edx, [esp + 0x54]
push edx
call fcn.0051bfdc
push eax
push ebx
push 0x5470f0
call fcn.0047f3a0
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.00506cd0
fld dword [esp + 0x10]
fmul dword [0x53773c]
lea eax, [esp + 0x60]
push eax
call fcn.0051bfdc
push eax
push ebx
push str.Players
call fcn.0047f3a0
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.00506cd0
fld dword [esp + 0x10]
fmul dword [0x537738]
lea ecx, [esp + 0xa0]
push ecx
call fcn.0051bfdc
push eax
push ebx
push str.GameType
call fcn.0047f3a0
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.00506cd0
fld dword [esp + 0x10]
fmul dword [0x537734]
lea edx, [esp + 0x48]
push edx
call fcn.0051bfdc
push eax
push ebx
push str.Ping
call fcn.0047f3a0
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.00506cd0
mov ecx, ebp
call fcn.00507130
lea ecx, [esp + 0xa0]
mov byte [ebp + 0x180], 1
mov byte [esp + 0x144], 6
call fcn.00459540
lea ecx, [esp + 0x18]
mov byte [esp + 0x144], 5
call fcn.00459540
lea ecx, [esp + 0x48]
mov byte [esp + 0x144], 4
call fcn.00459540
lea ecx, [esp + 0x60]
mov byte [esp + 0x144], 3
call fcn.00459540
lea ecx, [esp + 0x54]
mov byte [esp + 0x144], 2
call fcn.00459540
lea ecx, [esp + 0x3c]
mov byte [esp + 0x144], 1
call fcn.00459540
lea ecx, [esp + 0x6c]
mov byte [esp + 0x144], bl
call fcn.00459540
lea ecx, [esp + 0xac]
mov dword [esp + 0x144], 0xffffffff
call fcn.004572e0
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x138
ret