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

Disassembly:
push 0xffffffffffffffff
push 0x5aae4d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x218
push ebx
push ebp
push esi
mov ebp, ecx
push edi
xor ebx, ebx
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x29]
mov byte [esp + 0x28], bl
rep stosd dword es:[edi], eax
mov esi, dword [ebp + 4]
mov dword [esp + 0x10], ebx
stosw word es:[edi], ax
stosb byte es:[edi], al
lea edi, [esi + 0x11c0]
mov ecx, edi
call sub.MFC42.DLL_CString::Empty
mov ecx, dword [esp + 0x238]
lea eax, [esp + 0x28]
push eax
push ecx
mov ecx, ebp
call fcn.0048a7f0
test al, al
jne 0x48ae8b
mov eax, dword [esi + 0x7c]
mov edx, dword [esi]
inc eax
lea ecx, [esp + 0x28]
push eax
push ecx
mov ecx, esi
call dword [edx + 0x90]
mov eax, dword [0x637760]
cmp eax, ebx
je 0x48ad25
mov cl, byte [eax + 0x40]
test cl, cl
je 0x48ad25
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x78]
lea edx, [esp + 0x28]
push edx
push str._RX_
push ebx
push ecx
add eax, 0x3c
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x637760]
push str.command
push str.esms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004eb100
mov eax, dword [0x637760]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
call fcn.0044c4d0
mov eax, dword [eax + 0xd0]
cmp byte [eax], 0
je 0x48ad7b
lea ecx, [esp + 0x28]
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 dword [esp + 0x240], ebx
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x631fb8]
mov dword [esp + 0x23c], 0xffffffff
call fcn.00401140
mov eax, dword [0x631fc0]
cmp eax, ebx
je 0x48b3de
cmp dword [eax + 0x50], ebx
jle 0x48b3de
mov ebp, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebx*4]
test edi, edi
je 0x48ae7a
mov cl, byte [edi + 0x88]
test cl, cl
je 0x48ae7a
call fcn.0044c4d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x48ae75
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x48ae75
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 + 0x230], 1
mov eax, dword [edx - 8]
test eax, eax
je 0x48ae61
mov al, byte [edi + 0x80]
test al, al
jne 0x48ae61
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 0x48ae61
lea ecx, [esp + 0x28]
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 + 0x240], 2
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [esp + 0x23c], 1
call fcn.00402490
lea ecx, [esp + 0x10]
mov dword [esp + 0x230], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fc0]
mov ecx, dword [eax + 0x50]
inc ebx
cmp ebx, ecx
jl 0x48ad97
jmp 0x48b3de
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x1c]
mov dword [esp + 0x230], 3
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [ebp + 0x20]
mov byte [esp + 0x230], 4
cmp eax, 1
jne 0x48af82
mov eax, dword [esi + 0x78]
mov ecx, dword [eax + 0x10c]
push ecx
push str._AND_group_id_d
push edi
call sub.MFC42.DLL_CString::Format
mov eax, dword [ebp + 0x28]
lea edi, [ebp + 0x28]
add esp, 0xc
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x48af02
push 0x615af0
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_3
mov ebx, 1
mov dword [esp + 0x10], ebx
mov byte [esp + 0x230], 5
jmp 0x48af3b
push 0x615aec
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x48af39
push 0x615adc
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_3
mov ebx, 2
mov dword [esp + 0x10], ebx
mov dword [esp + 0x230], 6
jmp 0x48af3b
mov eax, edi
push eax
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::operator_1
test bl, 2
mov dword [esp + 0x230], 5
je 0x48af65
and ebx, 0xfffffffd
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], ebx
call sub.MFC42.DLL_CString::CString
test bl, 1
mov dword [esp + 0x230], 4
je 0x48b028
lea ecx, [esp + 0x14]
jmp 0x48b023
mov eax, dword [ebp + 0x28]
lea edi, [ebp + 0x28]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x48afb0
push 0x615ad4
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_3
mov ebx, 4
mov dword [esp + 0x10], ebx
mov byte [esp + 0x230], 7
jmp 0x48afe5
push 0x615aec
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x48afe3
push 0x615ac4
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_3
mov ebx, 8
mov dword [esp + 0x10], ebx
mov dword [esp + 0x230], ebx
jmp 0x48afe5
mov eax, edi
push eax
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::operator_1
test bl, 8
mov dword [esp + 0x230], 7
je 0x48b00f
and ebx, 0xfffffff7
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], ebx
call sub.MFC42.DLL_CString::CString
test bl, 4
mov dword [esp + 0x230], 4
je 0x48b028
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp + 0x24]
mov ebx, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x60c2d8
push eax
call ebx
add esp, 8
test eax, eax
jne 0x48b057
push str._AND_q_cflagFalse
lea ecx, [esi + 0x11c0]
call fcn.0059429a
push 0x615ab8
jmp 0x48b0a7
mov eax, dword [ebp + 0x24]
push 0x60c2dc
push eax
call ebx
add esp, 8
test eax, eax
jne 0x48b080
push str._AND_q_cflagTrue
lea ecx, [esi + 0x11c0]
call fcn.0059429a
push 0x615aac
jmp 0x48b0a7
mov eax, dword [ebp + 0x24]
push 0x615a14
push eax
call ebx
add esp, 8
test eax, eax
jne 0x48b0b0
push str._AND_11
lea ecx, [esi + 0x11c0]
call fcn.0059429a
push 0x615a94
lea ecx, [esp + 0x20]
call fcn.0059429a
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x48b12c
mov edx, dword [edi]
mov eax, dword [edx - 8]
test eax, eax
je 0x48b12c
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [edi]
push 0x615aec
push eax
mov byte [esp + 0x238], 9
call ebx
add esp, 8
test eax, eax
je 0x48b0f9
mov eax, dword [edi]
lea ecx, [esp + 0x10]
push eax
push str._AND_account_s
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
jmp 0x48b10b
lea edx, [esp + 0x10]
push str._AND_account
push edx
call sub.MFC42.DLL_CString::Format
add esp, 8
lea eax, [esp + 0x10]
lea ecx, [esi + 0x11c0]
push eax
call fcn.0059453a
lea ecx, [esp + 0x10]
mov byte [esp + 0x230], 4
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp + 0x2c]
mov eax, dword [ecx - 8]
test eax, eax
je 0x48b1a2
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
mov edx, dword [ebp + 0x2c]
lea eax, [esp + 0x10]
push edx
push 0x60e268
push eax
mov byte [esp + 0x23c], 0xa
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esi + 0x11c0]
call fcn.0059453a
mov edx, dword [ebp + 0x2c]
lea eax, [esp + 0x10]
push edx
push 0x615a78
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x20]
call fcn.0059453a
lea ecx, [esp + 0x10]
mov byte [esp + 0x230], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_1
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x20]
push edx
push 0x615a5c
push eax
mov byte [esp + 0x23c], 0xb
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x2c]
mov edx, dword [esi]
add esp, 0xc
mov ecx, esi
push 0
push eax
call dword [edx + 0x90]
mov eax, dword [0x637760]
test eax, eax
je 0x48b246
mov cl, byte [eax + 0x40]
test cl, cl
je 0x48b246
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esp + 0x20]
mov edx, dword [esi + 0x78]
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 0x48b29a
mov edx, dword [esp + 0x20]
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 + 0x24], esp
push eax
mov byte [esp + 0x240], 0xc
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x631fb8]
mov byte [esp + 0x23c], 0xb
call fcn.00401140
mov eax, dword [0x631fc0]
test eax, eax
je 0x48b3a1
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x48b3a1
mov bl, 0xd
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x48b395
mov cl, byte [edi + 0x88]
test cl, cl
je 0x48b395
call fcn.0044c4d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x48b390
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x48b390
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 byte [esp + 0x230], bl
mov eax, dword [edx - 8]
test eax, eax
je 0x48b37f
mov al, byte [edi + 0x80]
test al, al
jne 0x48b37f
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 0x48b37f
mov ecx, dword [esp + 0x20]
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 + 0x240], 0xe
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [esp + 0x23c], bl
call fcn.00402490
lea ecx, [esp + 0x18]
mov byte [esp + 0x230], 0xb
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fc0]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x48b2b6
lea ecx, [esp + 0x20]
mov byte [esi + 0x11d8], 1
mov byte [esp + 0x230], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x230], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov dword [esp + 0x230], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x228]
pop edi
pop esi
pop ebp
mov al, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x224
ret 4