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

Disassembly:
push 0xffffffffffffffff
push 0x5aa690
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
mov ebx, dword [ecx + 4]
mov ecx, dword [ebx + 0x11f0]
push ebp
lea eax, [ebx + 0x11f0]
push esi
mov edx, dword [ecx - 8]
xor esi, esi
cmp edx, esi
push edi
mov dword [esp + 0x34], ebx
jne 0x485a0e
mov eax, dword [ebx + 0x78]
add eax, 0xc
push eax
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::CString_2
push 0x614788
lea ecx, [esp + 0x18]
mov dword [esp + 0x4c], esi
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], 1
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x20]
mov byte [esp + 0x48], 2
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x48], 3
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x48], 4
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x48], 5
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x38]
mov byte [esp + 0x48], 6
call sub.MFC42.DLL_CString::CString_1
mov edx, dword [0x637760]
mov byte [esp + 0x48], 7
add edx, 0x210
xor edi, edi
push edx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x637760]
mov ecx, dword [eax + 0x2f0]
cmp ecx, esi
jle 0x485cc5
mov eax, dword [eax + 0x2ec]
mov ecx, dword [esp + 0x30]
mov ebp, dword [eax + esi*4]
mov eax, dword [ebp + 4]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
je 0x485add
mov eax, dword [0x637760]
inc esi
cmp esi, dword [eax + 0x2f0]
jl 0x485aab
jmp 0x485cc5
mov eax, dword [ebp + 0x20]
test eax, eax
jle 0x485cc0
xor ebx, ebx
mov edx, dword [ebp + 0x1c]
lea ecx, [esp + 0x20]
mov esi, dword [ebx + edx]
mov eax, dword [esi + 0x70]
add eax, 0xa8
push eax
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x20]
push 0xa
push ecx
call fcn.004ec140
mov edx, dword [esi + 0x70]
add esp, 8
lea ecx, [esp + 0x1c]
push edx
call sub.MFC42.DLL_CString::operator_1
lea eax, [esp + 0x1c]
push 0xa
push eax
call fcn.004ec140
add esp, 8
lea ecx, [esp + 0x10]
push 0x631fbc
call sub.MFC42.DLL_CString::operator
mov eax, dword [esi + 0x74]
add eax, 0xfffffffd
cmp eax, 0x1c
ja case.0x485b52.12
xor ecx, ecx
mov cl, byte [eax + 0x485fc0]
jmp dword [ecx*4 + 0x485f98]
push 0x614780
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator
jmp 0x485bfc
mov al, byte [esi + 0x12a]
test al, al
jne 0x485b9d
cmp byte [esi + 0xc34], 1
jne 0x485b86
push 0x61476c
jmp 0x485bf3
cmp byte [esi + 0xc35], 1
jne 0x485b96
push 0x61475c
jmp 0x485bf3
push 0x61474c
jmp 0x485bf3
push 0x60f768
jmp 0x485bf3
push 0x614740
jmp 0x485bf3
push 0x614734
jmp 0x485bf3
push 0x614728
jmp 0x485bf3
push 0x614720
jmp 0x485bf3
push 0x614718
jmp 0x485bf3
push 0x61470c
jmp 0x485bf3
mov al, byte [esi + 0x128]
test al, al
mov eax, 0x614700
jne 0x485be2
mov eax, 0x6146f4
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator
jmp 0x485bfc
push 0x6146e8
lea ecx, [esp + 0x14]
call fcn.0059429a
lea edx, [esp + 0x10]
push 0x12
push edx
call fcn.004ec140
mov eax, dword [esi + 0x70]
add esp, 8
add eax, 0x48
lea ecx, [esp + 0x28]
push eax
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x28]
push 6
push ecx
mov byte [esp + 0x50], 8
call fcn.004ec140
add esp, 8
lea edx, [esi + 0xc28]
lea ecx, [esp + 0x24]
push edx
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x24]
push 7
push eax
mov byte [esp + 0x50], 9
call fcn.004ec140
mov ecx, dword [esi + 0x34]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x2c]
add esp, 8
inc edi
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x2c]
push ecx
push edx
push eax
push edi
lea ecx, [esp + 0x34]
push str.__4d__s__s__s__s__s__s_r
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0x24
lea edx, [esp + 0x18]
lea ecx, [esp + 0x14]
push edx
call fcn.0059453a
lea ecx, [esp + 0x24]
mov byte [esp + 0x48], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x48], 7
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp + 0x20]
add ebx, 4
cmp edi, eax
jl 0x485aea
mov ebx, dword [esp + 0x34]
mov eax, dword [0x637760]
lea ecx, [eax + 0x208]
mov eax, dword [eax + 0x208]
call dword [eax + 0x1c]
push str.____________________________________________________________________________r
lea ecx, [esp + 0x18]
call fcn.0059429a
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x2c]
push ecx
push 0x6146c0
push edx
mov byte [esp + 0x54], 0xa
call sub.MFC42.DLL_CString::Format
lea eax, [esp + 0x1c]
push 0x28
push eax
call fcn.004ec140
mov ecx, dword [esp + 0x40]
add esp, 0x14
lea edx, [esp + 0x18]
push edi
push ecx
push 0x6146b0
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea eax, [esp + 0x18]
lea ecx, [esp + 0x14]
push eax
call fcn.0059453a
mov eax, dword [esp + 0x14]
mov edx, dword [ebx]
push 0
push eax
mov ecx, ebx
call dword [edx + 0x90]
mov eax, dword [0x637760]
test eax, eax
je 0x485db5
mov cl, byte [eax + 0x40]
test cl, cl
je 0x485db5
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esp + 0x14]
mov edx, dword [ebx + 0x78]
push ecx
push str._RX_
push 0
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x44], 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 0x485e03
mov edx, dword [esp + 0x14]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push str._RX_
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [ebx + 0x78]
push ecx
add eax, 0x3c
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
mov byte [esp + 0x58], 0xb
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x631fb8]
mov byte [esp + 0x54], 0xa
call fcn.00401140
mov eax, dword [0x631fc0]
test eax, eax
je 0x485efe
mov ecx, dword [eax + 0x50]
xor edi, edi
test ecx, ecx
jle 0x485efe
mov ecx, dword [eax + 0x4c]
mov esi, dword [ecx + edi*4]
test esi, esi
je 0x485ef2
mov cl, byte [esi + 0x88]
test cl, cl
je 0x485ef2
call fcn.0044c4d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x485eed
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x485eed
mov ecx, dword [ebx + 0x78]
add ecx, 0x3c
push ecx
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x28]
mov byte [esp + 0x48], 0xc
mov eax, dword [edx - 8]
test eax, eax
je 0x485edf
mov al, byte [esi + 0x80]
test al, al
jne 0x485edf
mov eax, dword [ebx + 0x78]
mov ecx, dword [esi + 0x84]
mov eax, dword [eax + 0x3c]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x485edf
mov ecx, dword [esp + 0x14]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push str._RX_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [ebx + 0x78]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
mov byte [esp + 0x58], 0xd
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
mov byte [esp + 0x54], 0xc
call fcn.00402490
lea ecx, [esp + 0x28]
mov byte [esp + 0x48], 0xa
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fc0]
mov ecx, dword [eax + 0x50]
inc edi
cmp edi, ecx
jl 0x485e1d
lea ecx, [esp + 0x2c]
mov byte [esp + 0x48], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov byte [esp + 0x48], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x48], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov byte [esp + 0x48], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x48], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x48], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x48], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov dword [esp + 0x48], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebp
mov al, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x3c
ret 4
adc bh, bh
invalid