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

Disassembly:
push 0xffffffffffffffff
push 0x5ab640
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 0x49c283
mov eax, dword [ebp + 0x300]
mov eax, dword [eax + esi*4]
test eax, eax
je 0x49c165
mov eax, dword [eax + 0x78]
test eax, eax
je 0x49c165
mov ebx, dword [esp + 0x34]
cmp dword [eax + 0x10c], ebx
jne 0x49c165
cmp ecx, 1
jne 0x49c0f4
xor ebx, ebx
test edx, edx
setne bl
mov dword [eax + 0x174], ebx
jmp 0x49c164
cmp ecx, 2
jne 0x49c107
cmp edx, 1
sete bl
mov byte [eax + 0x17f], bl
jmp 0x49c164
cmp ecx, 3
jne 0x49c11a
cmp edx, 1
sete bl
mov byte [eax + 0x17c], bl
jmp 0x49c164
cmp ecx, 4
jne 0x49c12d
cmp edx, 1
sete bl
mov byte [eax + 0x17d], bl
jmp 0x49c164
cmp ecx, 5
jne 0x49c140
cmp edx, 1
sete bl
mov byte [eax + 0x20b], bl
jmp 0x49c164
cmp ecx, 6
jne 0x49c153
cmp edx, 1
sete bl
mov byte [eax + 0x127], bl
jmp 0x49c164
cmp ecx, 7
jne 0x49c164
cmp edx, 1
sete bl
mov byte [eax + 0x17e], bl
inc edi
mov eax, dword [ebp + 0x304]
inc esi
cmp esi, eax
jl 0x49c0b4
test edi, edi
jle 0x49c283
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::CString_1
push edi
lea ecx, [esp + 0x3c]
push 0x615b68
push ecx
mov dword [esp + 0x38], 0
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x635490]
add esp, 0xc
test eax, eax
je 0x49c20b
mov cl, byte [eax + 0x40]
test cl, cl
je 0x49c20b
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
lea ecx, [esp + 0x3c]
call fcn.0041a850
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 [0x635490]
push str.runtime
push 0x601760
mov eax, dword [edx + 0x44]
push eax
call fcn.004eba10
mov ecx, dword [0x635490]
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 [0x63006c]
mov byte [esp + 0x3c], 0
call fcn.00458d40
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 0x49c3e2
mov ecx, dword [ebp + 0x2ec]
xor eax, eax
mov ecx, dword [ecx + edi*4]
mov ebx, dword [ecx + 0x20]
test ebx, ebx
jle 0x49c2c9
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 0x49c2ad
mov edx, dword [esp + 0x10]
mov eax, dword [ebp + 0x2f0]
inc edi
cmp edi, eax
jl 0x49c295
test esi, esi
jle 0x49c3e2
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::CString_1
push esi
lea eax, [esp + 0x38]
push 0x615b50
push eax
mov dword [esp + 0x38], 4
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x635490]
add esp, 0xc
test eax, eax
je 0x49c36e
mov cl, byte [eax + 0x40]
test cl, cl
je 0x49c36e
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
lea ecx, [esp + 0x38]
call fcn.0041a850
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 [0x635490]
push str.runtime
push 0x601760
mov edx, dword [ecx + 0x44]
push edx
call fcn.004eba10
mov eax, dword [0x635490]
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 [0x63006c]
mov byte [esp + 0x3c], 4
call fcn.00458d40
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