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

Disassembly:
push 0xffffffffffffffff
push 0x5ab18d
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.0048abd0
test al, al
jne 0x48b26b
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 [0x637770]
cmp eax, ebx
je 0x48b105
mov cl, byte [eax + 0x40]
test cl, cl
je 0x48b105
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 [0x637770]
push str.command
push str.esms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004eb4c0
mov eax, dword [0x637770]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
call fcn.0044c540
mov eax, dword [eax + 0xd0]
cmp byte [eax], 0
je 0x48b15b
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 [0x631fc8]
mov dword [esp + 0x23c], 0xffffffff
call fcn.00401160
mov eax, dword [0x631fd0]
cmp eax, ebx
je 0x48b7be
cmp dword [eax + 0x50], ebx
jle 0x48b7be
mov ebp, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebx*4]
test edi, edi
je 0x48b25a
mov cl, byte [edi + 0x88]
test cl, cl
je 0x48b25a
call fcn.0044c540
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x48b255
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x48b255
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 0x48b241
mov al, byte [edi + 0x80]
test al, al
jne 0x48b241
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 0x48b241
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.00402500
lea ecx, [esp + 0x10]
mov dword [esp + 0x230], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fd0]
mov ecx, dword [eax + 0x50]
inc ebx
cmp ebx, ecx
jl 0x48b177
jmp 0x48b7be
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 0x48b362
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 0x48b2e2
push 0x615b50
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 0x48b31b
push 0x615b4c
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x48b319
push 0x615b3c
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 0x48b31b
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 0x48b345
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 0x48b408
lea ecx, [esp + 0x14]
jmp 0x48b403
mov eax, dword [ebp + 0x28]
lea edi, [ebp + 0x28]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x48b390
push 0x615b34
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 0x48b3c5
push 0x615b4c
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x48b3c3
push 0x615b24
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 0x48b3c5
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 0x48b3ef
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 0x48b408
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 0x48b437
push str._AND_q_cflagFalse
lea ecx, [esi + 0x11c0]
call fcn.005945ea
push 0x615b18
jmp 0x48b487
mov eax, dword [ebp + 0x24]
push 0x60c2dc
push eax
call ebx
add esp, 8
test eax, eax
jne 0x48b460
push str._AND_q_cflagTrue
lea ecx, [esi + 0x11c0]
call fcn.005945ea
push 0x615b0c
jmp 0x48b487
mov eax, dword [ebp + 0x24]
push 0x615a74
push eax
call ebx
add esp, 8
test eax, eax
jne 0x48b490
push str._AND_11
lea ecx, [esi + 0x11c0]
call fcn.005945ea
push 0x615af4
lea ecx, [esp + 0x20]
call fcn.005945ea
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x48b50c
mov edx, dword [edi]
mov eax, dword [edx - 8]
test eax, eax
je 0x48b50c
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [edi]
push 0x615b4c
push eax
mov byte [esp + 0x238], 9
call ebx
add esp, 8
test eax, eax
je 0x48b4d9
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 0x48b4eb
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.0059488a
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 0x48b582
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.0059488a
mov edx, dword [ebp + 0x2c]
lea eax, [esp + 0x10]
push edx
push 0x615ad8
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x20]
call fcn.0059488a
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 0x615abc
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 [0x637770]
test eax, eax
je 0x48b626
mov cl, byte [eax + 0x40]
test cl, cl
je 0x48b626
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 [0x637770]
push str.command
push str.esms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004eb4c0
mov edx, dword [0x637770]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
call fcn.0044c540
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x48b67a
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 [0x631fc8]
mov byte [esp + 0x23c], 0xb
call fcn.00401160
mov eax, dword [0x631fd0]
test eax, eax
je 0x48b781
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x48b781
mov bl, 0xd
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x48b775
mov cl, byte [edi + 0x88]
test cl, cl
je 0x48b775
call fcn.0044c540
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x48b770
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x48b770
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 0x48b75f
mov al, byte [edi + 0x80]
test al, al
jne 0x48b75f
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 0x48b75f
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.00402500
lea ecx, [esp + 0x18]
mov byte [esp + 0x230], 0xb
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fd0]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x48b696
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