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

Disassembly:
push 0xffffffffffffffff
push 0x5a7e60
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [esp + 0x20]
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ebp, [eax + 5]
lea ecx, [esp + 0x30]
mov esi, dword [edi + 4]
push ebp
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::TrimRight
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx - 8]
cmp eax, 6
jl 0x47b9d8
cmp eax, 0x10
jg 0x47b9d8
mov cl, byte [ecx]
cmp cl, 0x30
jl 0x47b806
cmp cl, 0x39
jg 0x47b806
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esi + 0x78]
push ebp
lea eax, [esp + 0x14]
mov byte [esp + 0x2c], 7
mov edx, dword [ecx + 0x3c]
push edx
push str.ATEL__s__s
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::TrimRight
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, edi
call fcn.0047bc20
lea ecx, [esp + 0x10]
mov bl, al
mov byte [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov al, bl
jmp 0x47bbb8
mov ebp, dword [esi + 0x7c]
mov edx, dword [esi]
inc ebp
mov ecx, esi
mov eax, ebp
mov dword [esi + 0x7c], ebp
push eax
push 0x6105d4
call dword [edx + 0x90]
mov eax, dword [0x635400]
test eax, eax
je 0x47b88a
mov cl, byte [eax + 0x40]
test cl, cl
je 0x47b88a
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x78]
push 0x6105b4
push str._RX_
push 0
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 0x47b8d8
push 0x6105b4
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 + 0x38], 4
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x62fc58]
mov byte [esp + 0x34], 0
call fcn.00401140
mov eax, dword [0x62fc60]
test eax, eax
je 0x47bba5
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x47bba5
mov bl, 5
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x47b9c7
mov cl, byte [edi + 0x88]
test cl, cl
je 0x47b9c7
call fcn.0044c560
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x47b9c2
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x47b9c2
mov ecx, dword [esi + 0x78]
add ecx, 0x3c
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x14]
mov byte [esp + 0x28], bl
mov eax, dword [edx - 8]
test eax, eax
je 0x47b9b4
mov al, byte [edi + 0x80]
test al, al
jne 0x47b9b4
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 0x47b9b4
push 0x6105b4
push ecx
mov ecx, esp
mov dword [esp + 0x20], 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 + 0x28], esp
push edx
mov byte [esp + 0x38], 6
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [esp + 0x34], bl
call fcn.004024b0
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x62fc60]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x47b8f4
jmp 0x47bba5
mov ebp, dword [esi + 0x7c]
mov edx, dword [esi]
inc ebp
mov ecx, esi
mov eax, ebp
mov dword [esi + 0x7c], ebp
push eax
push 0x610584
call dword [edx + 0x90]
mov eax, dword [0x635400]
test eax, eax
je 0x47ba5c
mov cl, byte [eax + 0x40]
test cl, cl
je 0x47ba5c
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x78]
push 0x610570
push str._RX_
push 0
push ecx
add eax, 0x3c
mov ecx, esp
mov dword [esp + 0x2c], 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 0x47baaa
push 0x610570
push ecx
mov ecx, esp
mov dword [esp + 0x24], 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 + 0x38], 1
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x62fc58]
mov byte [esp + 0x34], 0
call fcn.00401140
mov eax, dword [0x62fc60]
test eax, eax
je 0x47bba5
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x47bba5
mov bl, 2
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x47bb99
mov cl, byte [edi + 0x88]
test cl, cl
je 0x47bb99
call fcn.0044c560
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x47bb94
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x47bb94
mov ecx, dword [esi + 0x78]
add ecx, 0x3c
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x14]
mov byte [esp + 0x28], bl
mov eax, dword [edx - 8]
test eax, eax
je 0x47bb86
mov al, byte [edi + 0x80]
test al, al
jne 0x47bb86
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 0x47bb86
push 0x610570
push ecx
mov ecx, esp
mov dword [esp + 0x24], 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 + 0x38], 3
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [esp + 0x34], bl
call fcn.004024b0
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x62fc60]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x47bac6
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov al, 1
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret 4