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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5a8d33
push eax
mov dword fs:[0], esp
sub esp, 0x10c
lea eax, [esp + 0xc]
push ebx
push ebp
mov ebx, ecx
push esi
mov ecx, dword [esp + 0x128]
push edi
mov esi, dword [ebx + 4]
push eax
push ecx
mov ecx, ebx
call fcn.00472f60
test al, al
jne 0x47324b
mov ebp, dword [esi + 0x7c]
mov edx, dword [esi]
inc ebp
mov ecx, esi
mov eax, ebp
mov dword [esi + 0x7c], ebp
push eax
lea eax, [esp + 0x20]
push eax
call dword [edx + 0x90]
mov eax, dword [0x637760]
xor ebx, ebx
cmp eax, ebx
je 0x4730e5
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4730e5
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esi + 0x78]
lea ecx, [esp + 0x1c]
push ecx
push str._RX_
push ebx
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x637760]
push str.command
push str.esms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004eb100
mov edx, dword [0x637760]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
call fcn.0044c4d0
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x47313b
lea edx, [esp + 0x1c]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str._RX_
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esi + 0x78]
push ecx
add eax, 0x3c
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
mov dword [esp + 0x134], ebx
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x631fb8]
mov dword [esp + 0x130], 0xffffffff
call fcn.00401140
mov eax, dword [0x631fc0]
cmp eax, ebx
je 0x4736a7
cmp dword [eax + 0x50], ebx
jle 0x4736a7
mov ebp, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebx*4]
test edi, edi
je 0x47323a
mov cl, byte [edi + 0x88]
test cl, cl
je 0x47323a
call fcn.0044c4d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x473235
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x473235
mov ecx, dword [esi + 0x78]
add ecx, 0x3c
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x10]
mov dword [esp + 0x124], 1
mov eax, dword [edx - 8]
test eax, eax
je 0x473221
mov al, byte [edi + 0x80]
test al, al
jne 0x473221
mov eax, dword [esi + 0x78]
mov ecx, dword [edi + 0x84]
mov eax, dword [eax + 0x3c]
push eax
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x473221
lea ecx, [esp + 0x1c]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str._RX_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x78]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
mov byte [esp + 0x134], 2
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [esp + 0x130], 1
call fcn.00402490
lea ecx, [esp + 0x10]
mov dword [esp + 0x124], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fc0]
mov ecx, dword [eax + 0x50]
inc ebx
cmp ebx, ecx
jl 0x473157
jmp 0x4736a7
mov ecx, dword [0x637760]
xor edi, edi
mov eax, dword [ecx + 0x304]
test eax, eax
jle 0x473297
mov eax, dword [ecx + 0x300]
mov eax, dword [eax + edi*4]
mov eax, dword [eax + 0x78]
test eax, eax
je 0x47328c
mov ecx, dword [ebx + 0x20]
mov eax, dword [eax + 0x3c]
push ecx
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
je 0x473394
mov ecx, dword [0x637760]
mov eax, dword [ecx + 0x304]
inc edi
cmp edi, eax
jl 0x47325d
mov eax, dword [ebx + 0x20]
lea ecx, [esp + 0x1c]
push eax
push str.__s_is_offline
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
mov ebp, dword [esi + 0x7c]
mov edx, dword [esi]
add esp, 0xc
inc ebp
mov eax, ebp
mov ecx, esi
push eax
lea eax, [esp + 0x20]
push eax
mov dword [esi + 0x7c], ebp
call dword [edx + 0x90]
mov eax, dword [0x637760]
test eax, eax
je 0x473332
mov cl, byte [eax + 0x40]
test cl, cl
je 0x473332
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esi + 0x78]
lea ecx, [esp + 0x1c]
push ecx
push str._RX_
push 0
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x637760]
push str.command
push str.esms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004eb100
mov edx, dword [0x637760]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
call fcn.0044c4d0
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x47359b
lea edx, [esp + 0x1c]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str._RX_
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esi + 0x78]
push ecx
add eax, 0x3c
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
mov dword [esp + 0x134], 6
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x631fb8]
or ebp, 0xffffffff
mov dword [esp + 0x130], ebp
call fcn.00401140
jmp 0x47359e
mov ecx, dword [ebx + 0x20]
lea edx, [esp + 0x1c]
push ecx
push str.__s_is_online
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
mov ebp, dword [esi + 0x7c]
mov edx, dword [esi]
add esp, 0xc
inc ebp
mov eax, ebp
mov ecx, esi
push eax
lea eax, [esp + 0x20]
push eax
mov dword [esi + 0x7c], ebp
call dword [edx + 0x90]
mov eax, dword [0x637760]
test eax, eax
je 0x47342f
mov cl, byte [eax + 0x40]
test cl, cl
je 0x47342f
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esi + 0x78]
lea ecx, [esp + 0x1c]
push ecx
push str._RX_
push 0
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x637760]
push str.command
push str.esms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004eb100
mov edx, dword [0x637760]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
call fcn.0044c4d0
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x47348a
lea edx, [esp + 0x1c]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str._RX_
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esi + 0x78]
push ecx
add eax, 0x3c
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
mov dword [esp + 0x134], 3
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x631fb8]
or ebp, 0xffffffff
mov dword [esp + 0x130], ebp
call fcn.00401140
jmp 0x47348d
or ebp, 0xffffffff
mov eax, dword [0x631fc0]
test eax, eax
je 0x4736a7
mov ecx, dword [eax + 0x50]
xor ebx, ebx
test ecx, ecx
jle 0x4736a7
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebx*4]
test edi, edi
je 0x47358a
mov cl, byte [edi + 0x88]
test cl, cl
je 0x47358a
call fcn.0044c4d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x473585
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x473585
mov ecx, dword [esi + 0x78]
add ecx, 0x3c
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x10]
mov dword [esp + 0x124], 4
mov eax, dword [edx - 8]
test eax, eax
je 0x473575
mov al, byte [edi + 0x80]
test al, al
jne 0x473575
mov eax, dword [esi + 0x78]
mov ecx, dword [edi + 0x84]
mov eax, dword [eax + 0x3c]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x473575
lea ecx, [esp + 0x1c]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str._RX_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x78]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
mov byte [esp + 0x134], 5
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [esp + 0x130], 4
call fcn.00402490
lea ecx, [esp + 0x10]
mov dword [esp + 0x124], ebp
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fc0]
mov ecx, dword [eax + 0x50]
inc ebx
cmp ebx, ecx
jl 0x4734a7
jmp 0x4736a7
or ebp, 0xffffffff
mov eax, dword [0x631fc0]
test eax, eax
je 0x4736a7
mov ecx, dword [eax + 0x50]
xor ebx, ebx
test ecx, ecx
jle 0x4736a7
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebx*4]
test edi, edi
je 0x47369b
mov cl, byte [edi + 0x88]
test cl, cl
je 0x47369b
call fcn.0044c4d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x473696
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x473696
mov ecx, dword [esi + 0x78]
add ecx, 0x3c
push ecx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x18]
mov dword [esp + 0x124], 7
mov eax, dword [edx - 8]
test eax, eax
je 0x473686
mov al, byte [edi + 0x80]
test al, al
jne 0x473686
mov eax, dword [esi + 0x78]
mov ecx, dword [edi + 0x84]
mov eax, dword [eax + 0x3c]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x473686
lea ecx, [esp + 0x1c]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str._RX_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x78]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
mov byte [esp + 0x134], 8
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [esp + 0x130], 7
call fcn.00402490
lea ecx, [esp + 0x18]
mov dword [esp + 0x124], ebp
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fc0]
mov ecx, dword [eax + 0x50]
inc ebx
cmp ebx, ecx
jl 0x4735b8
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
pop ebp
mov al, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x118
ret 4