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

Disassembly:
push 0xffffffffffffffff
push 0x5ab260
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [esp + 0x28]
push ebx
push ebp
mov ebp, ecx
mov ecx, eax
and eax, 0xff
push esi
mov edx, eax
mov eax, dword [ebp + 0x304]
push edi
sar ecx, 8
xor edi, edi
xor esi, esi
test eax, eax
mov dword [esp + 0x10], edx
jle 0x49c083
mov eax, dword [ebp + 0x300]
mov eax, dword [eax + esi*4]
test eax, eax
je 0x49bf65
mov eax, dword [eax + 0x78]
test eax, eax
je 0x49bf65
mov ebx, dword [esp + 0x34]
cmp dword [eax + 0x10c], ebx
jne 0x49bf65
cmp ecx, 1
jne 0x49bef4
xor ebx, ebx
test edx, edx
setne bl
mov dword [eax + 0x174], ebx
jmp 0x49bf64
cmp ecx, 2
jne 0x49bf07
cmp edx, 1
sete bl
mov byte [eax + 0x17f], bl
jmp 0x49bf64
cmp ecx, 3
jne 0x49bf1a
cmp edx, 1
sete bl
mov byte [eax + 0x17c], bl
jmp 0x49bf64
cmp ecx, 4
jne 0x49bf2d
cmp edx, 1
sete bl
mov byte [eax + 0x17d], bl
jmp 0x49bf64
cmp ecx, 5
jne 0x49bf40
cmp edx, 1
sete bl
mov byte [eax + 0x20b], bl
jmp 0x49bf64
cmp ecx, 6
jne 0x49bf53
cmp edx, 1
sete bl
mov byte [eax + 0x127], bl
jmp 0x49bf64
cmp ecx, 7
jne 0x49bf64
cmp edx, 1
sete bl
mov byte [eax + 0x17e], bl
inc edi
mov eax, dword [ebp + 0x304]
inc esi
cmp esi, eax
jl 0x49beb4
test edi, edi
jle 0x49c083
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::CString_1
push edi
lea ecx, [esp + 0x3c]
push 0x615b58
push ecx
mov dword [esp + 0x38], 0
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x635400]
add esp, 0xc
test eax, eax
je 0x49c00b
mov cl, byte [eax + 0x40]
test cl, cl
je 0x49c00b
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
lea ecx, [esp + 0x3c]
call fcn.0041a8d0
push eax
push 0x6095c0
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push str..scc.
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [0x635400]
push str.runtime
push 0x601760
mov eax, dword [edx + 0x44]
push eax
call fcn.004eb7d0
mov ecx, dword [0x635400]
add esp, 0x1c
add ecx, 0x248
mov edx, dword [ecx]
call dword [edx + 0x1c]
push ecx
lea eax, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x34], 1
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x6095c0
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x38], 2
mov ecx, esp
mov dword [esp + 0x28], esp
push str..scc.
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x3c], 3
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x60175c
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x62ffdc]
mov byte [esp + 0x3c], 0
call fcn.00458cb0
lea ecx, [esp + 0x38]
mov dword [esp + 0x2c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x10]
mov eax, dword [ebp + 0x2f0]
xor esi, esi
xor edi, edi
test eax, eax
jle 0x49c1e2
mov ecx, dword [ebp + 0x2ec]
xor eax, eax
mov ecx, dword [ecx + edi*4]
mov ebx, dword [ecx + 0x20]
test ebx, ebx
jle 0x49c0c9
cmp edx, 1
sete bl
mov edx, dword [ecx + 0x1c]
inc esi
mov edx, dword [edx + eax*4]
inc eax
mov edx, dword [edx + 0x70]
mov byte [edx + 0xe1], bl
mov edx, dword [ecx + 0x20]
cmp eax, edx
jl 0x49c0ad
mov edx, dword [esp + 0x10]
mov eax, dword [ebp + 0x2f0]
inc edi
cmp edi, eax
jl 0x49c095
test esi, esi
jle 0x49c1e2
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::CString_1
push esi
lea eax, [esp + 0x38]
push 0x615b40
push eax
mov dword [esp + 0x38], 4
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x635400]
add esp, 0xc
test eax, eax
je 0x49c16e
mov cl, byte [eax + 0x40]
test cl, cl
je 0x49c16e
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
lea ecx, [esp + 0x38]
call fcn.0041a8d0
push eax
push 0x6095c0
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push str..scc.
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x635400]
push str.runtime
push 0x601760
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]
push ecx
lea eax, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x34], 5
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x6095c0
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x38], 6
mov ecx, esp
mov dword [esp + 0x28], esp
push str..scc.
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x3c], 7
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x60175c
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x62ffdc]
mov byte [esp + 0x3c], 4
call fcn.00458cb0
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 8