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

Disassembly:
push 0xffffffffffffffff
push 0x5a98fd
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.0048b0f0
test al, al
jne 0x48b78b
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 [0x635490]
cmp eax, ebx
je 0x48b625
mov cl, byte [eax + 0x40]
test cl, cl
je 0x48b625
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 [0x635490]
push str.command
push str.esms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004eba10
mov eax, dword [0x635490]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
call fcn.0044c560
mov eax, dword [eax + 0xd0]
cmp byte [eax], 0
je 0x48b67b
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 [0x62fce8]
mov dword [esp + 0x23c], 0xffffffff
call fcn.00401140
mov eax, dword [0x62fcf0]
cmp eax, ebx
je 0x48bcde
cmp dword [eax + 0x50], ebx
jle 0x48bcde
mov ebp, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebx*4]
test edi, edi
je 0x48b77a
mov cl, byte [edi + 0x88]
test cl, cl
je 0x48b77a
call fcn.0044c560
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x48b775
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x48b775
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 0x48b761
mov al, byte [edi + 0x80]
test al, al
jne 0x48b761
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 0x48b761
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.004024b0
lea ecx, [esp + 0x10]
mov dword [esp + 0x230], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x62fcf0]
mov ecx, dword [eax + 0x50]
inc ebx
cmp ebx, ecx
jl 0x48b697
jmp 0x48bcde
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 0x48b882
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 0x48b802
push 0x613e00
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 0x48b83b
push 0x613dfc
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x48b839
push 0x613dec
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 0x48b83b
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 0x48b865
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 0x48b928
lea ecx, [esp + 0x14]
jmp 0x48b923
mov eax, dword [ebp + 0x28]
lea edi, [ebp + 0x28]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x48b8b0
push 0x613de4
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 0x48b8e5
push 0x613dfc
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x48b8e3
push 0x613dd4
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 0x48b8e5
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 0x48b90f
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 0x48b928
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp + 0x24]
mov ebx, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x60a2d8
push eax
call ebx
add esp, 8
test eax, eax
jne 0x48b957
push str._AND_q_cflagFalse
lea ecx, [esi + 0x11c0]
call fcn.00592caa
push 0x613dc8
jmp 0x48b9a7
mov eax, dword [ebp + 0x24]
push 0x60a2dc
push eax
call ebx
add esp, 8
test eax, eax
jne 0x48b980
push str._AND_q_cflagTrue
lea ecx, [esi + 0x11c0]
call fcn.00592caa
push 0x613dbc
jmp 0x48b9a7
mov eax, dword [ebp + 0x24]
push 0x613d24
push eax
call ebx
add esp, 8
test eax, eax
jne 0x48b9b0
push str._AND_11
lea ecx, [esi + 0x11c0]
call fcn.00592caa
push 0x613da4
lea ecx, [esp + 0x20]
call fcn.00592caa
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x48ba2c
mov edx, dword [edi]
mov eax, dword [edx - 8]
test eax, eax
je 0x48ba2c
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [edi]
push 0x613dfc
push eax
mov byte [esp + 0x238], 9
call ebx
add esp, 8
test eax, eax
je 0x48b9f9
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 0x48ba0b
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.00592f4a
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 0x48baa2
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
mov edx, dword [ebp + 0x2c]
lea eax, [esp + 0x10]
push edx
push 0x60c268
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.00592f4a
mov edx, dword [ebp + 0x2c]
lea eax, [esp + 0x10]
push edx
push 0x613d88
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x20]
call fcn.00592f4a
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 0x613d6c
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 [0x635490]
test eax, eax
je 0x48bb46
mov cl, byte [eax + 0x40]
test cl, cl
je 0x48bb46
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 [0x635490]
push str.command
push str.esms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004eba10
mov edx, dword [0x635490]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
call fcn.0044c560
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x48bb9a
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 [0x62fce8]
mov byte [esp + 0x23c], 0xb
call fcn.00401140
mov eax, dword [0x62fcf0]
test eax, eax
je 0x48bca1
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x48bca1
mov bl, 0xd
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x48bc95
mov cl, byte [edi + 0x88]
test cl, cl
je 0x48bc95
call fcn.0044c560
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x48bc90
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x48bc90
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 0x48bc7f
mov al, byte [edi + 0x80]
test al, al
jne 0x48bc7f
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 0x48bc7f
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.004024b0
lea ecx, [esp + 0x18]
mov byte [esp + 0x230], 0xb
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x62fcf0]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x48bbb6
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