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

Disassembly:
push 0xffffffffffffffff
push 0x5a951d
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.0048aef0
test al, al
jne 0x48b58b
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 [0x635400]
cmp eax, ebx
je 0x48b425
mov cl, byte [eax + 0x40]
test cl, cl
je 0x48b425
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 [0x635400]
push str.command
push str.esms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004eb7d0
mov eax, dword [0x635400]
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 0x48b47b
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 [0x62fc58]
mov dword [esp + 0x23c], 0xffffffff
call fcn.00401140
mov eax, dword [0x62fc60]
cmp eax, ebx
je 0x48bade
cmp dword [eax + 0x50], ebx
jle 0x48bade
mov ebp, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebx*4]
test edi, edi
je 0x48b57a
mov cl, byte [edi + 0x88]
test cl, cl
je 0x48b57a
call fcn.0044c560
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x48b575
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x48b575
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 0x48b561
mov al, byte [edi + 0x80]
test al, al
jne 0x48b561
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 0x48b561
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 [0x62fc60]
mov ecx, dword [eax + 0x50]
inc ebx
cmp ebx, ecx
jl 0x48b497
jmp 0x48bade
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 0x48b682
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 0x48b602
push 0x613df0
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 0x48b63b
push 0x613dec
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x48b639
push 0x613ddc
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 0x48b63b
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 0x48b665
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 0x48b728
lea ecx, [esp + 0x14]
jmp 0x48b723
mov eax, dword [ebp + 0x28]
lea edi, [ebp + 0x28]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x48b6b0
push 0x613dd4
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 0x48b6e5
push 0x613dec
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x48b6e3
push 0x613dc4
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 0x48b6e5
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 0x48b70f
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 0x48b728
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 0x48b757
push str._AND_q_cflagFalse
lea ecx, [esi + 0x11c0]
call fcn.005928ca
push 0x613db8
jmp 0x48b7a7
mov eax, dword [ebp + 0x24]
push 0x60a2dc
push eax
call ebx
add esp, 8
test eax, eax
jne 0x48b780
push str._AND_q_cflagTrue
lea ecx, [esi + 0x11c0]
call fcn.005928ca
push 0x613dac
jmp 0x48b7a7
mov eax, dword [ebp + 0x24]
push 0x613d14
push eax
call ebx
add esp, 8
test eax, eax
jne 0x48b7b0
push str._AND_11
lea ecx, [esi + 0x11c0]
call fcn.005928ca
push 0x613d94
lea ecx, [esp + 0x20]
call fcn.005928ca
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x48b82c
mov edx, dword [edi]
mov eax, dword [edx - 8]
test eax, eax
je 0x48b82c
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [edi]
push 0x613dec
push eax
mov byte [esp + 0x238], 9
call ebx
add esp, 8
test eax, eax
je 0x48b7f9
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 0x48b80b
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.00592b6a
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 0x48b8a2
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
mov edx, dword [ebp + 0x2c]
lea eax, [esp + 0x10]
push edx
push 0x60c258
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.00592b6a
mov edx, dword [ebp + 0x2c]
lea eax, [esp + 0x10]
push edx
push 0x613d78
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x20]
call fcn.00592b6a
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 0x613d5c
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 [0x635400]
test eax, eax
je 0x48b946
mov cl, byte [eax + 0x40]
test cl, cl
je 0x48b946
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 [0x635400]
push str.command
push str.esms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004eb7d0
mov edx, dword [0x635400]
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 0x48b99a
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 [0x62fc58]
mov byte [esp + 0x23c], 0xb
call fcn.00401140
mov eax, dword [0x62fc60]
test eax, eax
je 0x48baa1
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x48baa1
mov bl, 0xd
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x48ba95
mov cl, byte [edi + 0x88]
test cl, cl
je 0x48ba95
call fcn.0044c560
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x48ba90
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x48ba90
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 0x48ba7f
mov al, byte [edi + 0x80]
test al, al
jne 0x48ba7f
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 0x48ba7f
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 [0x62fc60]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x48b9b6
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