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

Disassembly:
push 0xffffffffffffffff
push 0x5acb90
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 0x49b983
mov eax, dword [ebp + 0x300]
mov eax, dword [eax + esi*4]
test eax, eax
je 0x49b865
mov eax, dword [eax + 0x78]
test eax, eax
je 0x49b865
mov ebx, dword [esp + 0x34]
cmp dword [eax + 0x10c], ebx
jne 0x49b865
cmp ecx, 1
jne 0x49b7f4
xor ebx, ebx
test edx, edx
setne bl
mov dword [eax + 0x174], ebx
jmp 0x49b864
cmp ecx, 2
jne 0x49b807
cmp edx, 1
sete bl
mov byte [eax + 0x17f], bl
jmp 0x49b864
cmp ecx, 3
jne 0x49b81a
cmp edx, 1
sete bl
mov byte [eax + 0x17c], bl
jmp 0x49b864
cmp ecx, 4
jne 0x49b82d
cmp edx, 1
sete bl
mov byte [eax + 0x17d], bl
jmp 0x49b864
cmp ecx, 5
jne 0x49b840
cmp edx, 1
sete bl
mov byte [eax + 0x20b], bl
jmp 0x49b864
cmp ecx, 6
jne 0x49b853
cmp edx, 1
sete bl
mov byte [eax + 0x127], bl
jmp 0x49b864
cmp ecx, 7
jne 0x49b864
cmp edx, 1
sete bl
mov byte [eax + 0x17e], bl
inc edi
mov eax, dword [ebp + 0x304]
inc esi
cmp esi, eax
jl 0x49b7b4
test edi, edi
jle 0x49b983
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::CString_1
push edi
lea ecx, [esp + 0x3c]
push 0x617858
push ecx
mov dword [esp + 0x38], 0
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x637760]
add esp, 0xc
test eax, eax
je 0x49b90b
mov cl, byte [eax + 0x40]
test cl, cl
je 0x49b90b
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
lea ecx, [esp + 0x3c]
call fcn.0041a890
push eax
push 0x60b5c0
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push str..scc.
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [0x637760]
push str.runtime
push 0x603760
mov eax, dword [edx + 0x44]
push eax
call fcn.004eb100
mov ecx, dword [0x637760]
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 0x60b5c0
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 0x60375c
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63233c]
mov byte [esp + 0x3c], 0
call fcn.00458d90
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 0x49bae2
mov ecx, dword [ebp + 0x2ec]
xor eax, eax
mov ecx, dword [ecx + edi*4]
mov ebx, dword [ecx + 0x20]
test ebx, ebx
jle 0x49b9c9
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 0x49b9ad
mov edx, dword [esp + 0x10]
mov eax, dword [ebp + 0x2f0]
inc edi
cmp edi, eax
jl 0x49b995
test esi, esi
jle 0x49bae2
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::CString_1
push esi
lea eax, [esp + 0x38]
push 0x617840
push eax
mov dword [esp + 0x38], 4
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x637760]
add esp, 0xc
test eax, eax
je 0x49ba6e
mov cl, byte [eax + 0x40]
test cl, cl
je 0x49ba6e
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
lea ecx, [esp + 0x38]
call fcn.0041a890
push eax
push 0x60b5c0
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push str..scc.
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x637760]
push str.runtime
push 0x603760
mov edx, dword [ecx + 0x44]
push edx
call fcn.004eb100
mov eax, dword [0x637760]
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 0x60b5c0
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 0x60375c
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63233c]
mov byte [esp + 0x3c], 4
call fcn.00458d90
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