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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5aadd4
push eax
mov dword fs:[0], esp
sub esp, 0x20c
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov esi, dword [edi + 4]
mov eax, dword [esi + 0x78]
mov cl, byte [eax + 0x211]
test cl, cl
jne 0x488d3b
mov eax, dword [esi + 0x7c]
mov edx, dword [esi]
inc eax
mov ecx, esi
push eax
push 0x614b54
call dword [edx + 0x90]
mov eax, dword [0x637770]
xor ebp, ebp
cmp eax, ebp
je 0x488bd5
mov cl, byte [eax + 0x40]
test cl, cl
je 0x488bd5
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esi + 0x78]
push 0x614b34
push str._RX_
push ebp
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x20], 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 0x488c2b
push 0x614b34
push ecx
mov ecx, esp
mov dword [esp + 0x18], 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 + 0x20], esp
push edx
mov dword [esp + 0x234], ebp
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x631fc8]
mov dword [esp + 0x230], 0xffffffff
call fcn.00401160
mov eax, dword [0x631fd0]
mov ebx, 1
cmp eax, ebp
je 0x488d34
cmp dword [eax + 0x50], ebp
jle 0x488d34
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x488d28
mov cl, byte [edi + 0x88]
test cl, cl
je 0x488d28
call fcn.0044c540
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x488d23
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x488d23
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 + 0x224], ebx
mov eax, dword [edx - 8]
test eax, eax
je 0x488d0f
mov al, byte [edi + 0x80]
test al, al
jne 0x488d0f
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 0x488d0f
push 0x614b34
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 + 0x234], 2
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [esp + 0x230], bl
call fcn.00402500
lea ecx, [esp + 0x10]
mov dword [esp + 0x224], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fd0]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x488c46
mov al, bl
jmp 0x489354
mov edx, dword [esp + 0x22c]
mov eax, dword [edi]
lea ecx, [esp + 0x1c]
push ecx
push edx
mov ecx, edi
call dword [eax + 4]
test al, al
jne 0x488f42
mov ecx, dword [esi + 0x7c]
mov eax, dword [esi]
inc ecx
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, esi
call dword [eax + 0x90]
mov eax, dword [0x637770]
test eax, eax
je 0x488dd6
mov cl, byte [eax + 0x40]
test cl, cl
je 0x488dd6
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esi + 0x78]
lea eax, [esp + 0x1c]
push eax
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 0x488e30
lea edx, [esp + 0x1c]
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 + 0x1c], esp
push eax
mov dword [esp + 0x234], 3
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x631fc8]
mov dword [esp + 0x230], 0xffffffff
call fcn.00401160
mov eax, dword [0x631fd0]
test eax, eax
je 0x489352
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x489352
mov ebx, 4
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x488f31
mov cl, byte [edi + 0x88]
test cl, cl
je 0x488f31
call fcn.0044c540
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x488f2c
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x488f2c
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 + 0x224], ebx
mov eax, dword [edx - 8]
test eax, eax
je 0x488f18
mov al, byte [edi + 0x80]
test al, al
jne 0x488f18
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 0x488f18
lea ecx, [esp + 0x1c]
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 + 0x234], 5
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [esp + 0x230], bl
call fcn.00402500
lea ecx, [esp + 0x10]
mov dword [esp + 0x224], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fd0]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x488e4f
jmp 0x489352
mov eax, dword [edi + 0x20]
cmp eax, 0x602
jne 0x489152
mov eax, dword [esi + 0x1218]
lea ecx, [esp + 0x1c]
push eax
push 0x614b20
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
mov edx, dword [esi]
add esp, 0xc
lea eax, [esp + 0x1c]
mov ecx, esi
push 0
push eax
call dword [edx + 0x90]
mov eax, dword [0x637770]
test eax, eax
je 0x488fe6
mov cl, byte [eax + 0x40]
test cl, cl
je 0x488fe6
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esi + 0x78]
lea ecx, [esp + 0x1c]
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 0x489040
lea edx, [esp + 0x1c]
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 + 0x1c], esp
push eax
mov dword [esp + 0x234], 6
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x631fc8]
mov dword [esp + 0x230], 0xffffffff
call fcn.00401160
mov eax, dword [0x631fd0]
test eax, eax
je 0x489352
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x489352
mov ebx, 7
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x489141
mov cl, byte [edi + 0x88]
test cl, cl
je 0x489141
call fcn.0044c540
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x48913c
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x48913c
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 + 0x224], ebx
mov eax, dword [edx - 8]
test eax, eax
je 0x489128
mov al, byte [edi + 0x80]
test al, al
jne 0x489128
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 0x489128
lea ecx, [esp + 0x1c]
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 + 0x234], 8
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [esp + 0x230], bl
call fcn.00402500
lea ecx, [esp + 0x10]
mov dword [esp + 0x224], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fd0]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x48905f
jmp 0x489352
mov dword [esi + 0x1218], eax
mov eax, dword [edi + 0x20]
push eax
lea ecx, [esp + 0x20]
push 0x614b0c
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
mov edx, dword [esi]
add esp, 0xc
lea eax, [esp + 0x1c]
mov ecx, esi
push 0
push eax
call dword [edx + 0x90]
mov eax, dword [0x637770]
test eax, eax
je 0x4891eb
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4891eb
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esi + 0x78]
lea ecx, [esp + 0x1c]
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 0x489245
lea edx, [esp + 0x1c]
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 + 0x1c], esp
push eax
mov dword [esp + 0x234], 9
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x631fc8]
mov dword [esp + 0x230], 0xffffffff
call fcn.00401160
mov eax, dword [0x631fd0]
test eax, eax
je 0x489352
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x489352
mov ebx, 0xa
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x489346
mov cl, byte [edi + 0x88]
test cl, cl
je 0x489346
call fcn.0044c540
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x489341
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x489341
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 dword [esp + 0x224], ebx
mov eax, dword [edx - 8]
test eax, eax
je 0x48932d
mov al, byte [edi + 0x80]
test al, al
jne 0x48932d
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 0x48932d
lea ecx, [esp + 0x1c]
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 + 0x234], 0xb
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [esp + 0x230], bl
call fcn.00402500
lea ecx, [esp + 0x18]
mov dword [esp + 0x224], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fd0]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x489264
mov al, 1
mov ecx, dword [esp + 0x21c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x218
ret 4