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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5818a9
push eax
mov dword fs:[0], esp
sub esp, 0xa4
push ebx
push ebp
push esi
mov esi, dword [esp + 0xc0]
push edi
xor edi, edi
cmp esi, edi
mov ebp, ecx
je 0x499f9e
push edi
push esi
call dword [esi + 0x38]
mov ebx, eax
mov al, byte [0x643db8]
add esp, 8
mov dword [esp + 0x2c], edi
test al, 1
jne 0x49995b
mov dl, al
mov ecx, 0x643db4
or dl, 1
mov byte [0x643db8], dl
call sub.MFC42.DLL_CString::CString_3
push 0x49a8b0
call fcn.0043c02e
add esp, 4
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x38]
mov dword [esp + 0xbc], edi
call sub.MFC42.DLL_CString::CString_3
push esi
mov byte [esp + 0xc0], 1
call dword [esi + 0x50]
mov dword [esp + 0x38], eax
add eax, 0xfffffff9
add esp, 4
cmp eax, 0x6b
ja case.0x49999b.15
xor ecx, ecx
mov cl, byte [eax + 0x49a83c]
jmp dword [ecx*4 + 0x49a818]
push esi
xor ebx, ebx
call dword [esi + 0x44]
add esp, 4
test eax, eax
jbe case.0x49999b.15
push ebx
push esi
call dword [esi + 0x38]
add esp, 8
lea edx, [esp + 0x74]
mov ecx, ebp
push eax
push edx
call fcn.0049b350
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xc0], 2
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x74]
mov byte [esp + 0xbc], 1
call sub.MFC42.DLL_CString::CString
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x643db4
call sub.MFC42.DLL_CString::CString_2
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
mov byte [esp + 0xcc], 3
call sub.MFC42.DLL_CString::CString_2
push esi
mov ecx, ebp
mov byte [esp + 0xcc], 1
call fcn.0049ad10
push esi
inc ebx
call dword [esi + 0x44]
add esp, 4
cmp ebx, eax
jb 0x4999b3
jmp case.0x49999b.15
push esi
xor ebx, ebx
call dword [esi + 0x44]
add esp, 4
test eax, eax
jbe case.0x49999b.15
mov edx, dword [esp + 0x34]
xor ecx, ecx
cmp edx, 0xa
setne cl
add ecx, 2
mov edi, ecx
push ebx
push esi
call dword [esi + 0x38]
add esp, 8
lea edx, [esp + 0xa8]
mov ecx, ebp
push eax
push edx
call fcn.0049b2a0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xc0], 4
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0xa8]
mov byte [esp + 0xbc], 1
call sub.MFC42.DLL_CString::CString
push edi
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x621dc4
call sub.MFC42.DLL_CString::CString_1
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
mov byte [esp + 0xcc], 5
call sub.MFC42.DLL_CString::CString_2
push esi
mov ecx, ebp
mov byte [esp + 0xcc], 1
call fcn.0049ad10
push esi
inc ebx
call dword [esi + 0x44]
add esp, 4
cmp ebx, eax
jb 0x499a5a
jmp 0x499f2b
lea ecx, [esp + 0xb0]
push ebx
push ecx
mov ecx, ebp
call fcn.0049b2a0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xc0], 6
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0xb0]
mov byte [esp + 0xbc], 1
call sub.MFC42.DLL_CString::CString
push 4
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x643db4
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0xc8], 7
mov ecx, esp
mov dword [esp + 0x20], esp
jmp 0x499b9a
lea eax, [esp + 0xac]
push ebx
push eax
mov ecx, ebp
call fcn.0049b2a0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xc0], 8
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0xac]
mov byte [esp + 0xbc], 1
call sub.MFC42.DLL_CString::CString
push 7
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x643db4
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0xc8], 9
mov ecx, esp
mov dword [esp + 0x20], esp
lea edx, [esp + 0x1c]
push edx
call sub.MFC42.DLL_CString::CString_2
push esi
mov ecx, ebp
mov byte [esp + 0xcc], 1
call fcn.0049ad10
jmp case.0x49999b.15
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::CString_3
lea eax, [esp + 0x68]
push ebx
push eax
mov ecx, ebp
mov byte [esp + 0xc4], 0xa
mov dword [esp + 0x34], 1
call fcn.0049b2a0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xc0], 0xb
call sub.MFC42.DLL_CString::operator_1
push eax
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x68]
mov byte [esp + 0xbc], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::MakeUpper
push 5
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x621dc4
call sub.MFC42.DLL_CString::CString_1
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
mov byte [esp + 0xcc], 0xc
call sub.MFC42.DLL_CString::CString_2
push esi
mov ecx, ebp
mov byte [esp + 0xcc], 0xa
call fcn.0049ad10
mov dword [esp + 0x40], 0x58c2c0
lea ecx, [esp + 0x44]
mov byte [esp + 0xbc], 0xd
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x48]
mov byte [esp + 0xbc], 0xe
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x54]
mov byte [esp + 0xbc], 0xf
call sub.MFC42.DLL_CStringArray::CStringArray
mov dword [esp + 0x40], 0x58d140
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
lea ecx, [esp + 0x10]
lea eax, [ebp + 0x140]
push ecx
lea edx, [esp + 0x98]
push eax
push edx
mov byte [esp + 0xc8], 0x10
call sub.MFC42.DLL_operator_3
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0xc0], 0x11
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x94]
mov byte [esp + 0xbc], 0x10
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x30]
lea ecx, [esp + 0x48]
push eax
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [esp + 0x34]
mov dword [esp + 0x4c], edi
xor ecx, ecx
cmp eax, 0x14
push 1
sete cl
push esi
mov dword [esp + 0x58], ecx
call dword [esi + 0x38]
mov ebx, eax
add esp, 8
cmp ebx, edi
je 0x499dda
push ebx
call dword [ebx + 0x50]
add esp, 4
cmp eax, 0x6c
jne 0x499dda
push ebx
call dword [ebx + 0x44]
add esp, 4
lea ecx, [esp + 0x54]
mov dword [esp + 0x14], eax
push 0xffffffffffffffff
push eax
call sub.MFC42.DLL_CStringArray::SetSize
mov eax, dword [esp + 0x14]
xor edi, edi
test eax, eax
jbe 0x499dda
push edi
push ebx
call dword [ebx + 0x38]
add esp, 8
lea edx, [esp + 0x7c]
mov ecx, ebp
push eax
push edx
call fcn.0049b2a0
push eax
mov eax, dword [esp + 0x5c]
mov byte [esp + 0xc0], 0x12
lea ecx, [eax + edi*4]
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x7c]
mov byte [esp + 0xbc], 0x10
call sub.MFC42.DLL_CString::CString
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
lea edx, [esp + 0x18]
push 0x3a
push edx
push ecx
call sub.MFC42.DLL_operator_1
push edi
lea ecx, [esp + 0x60]
mov byte [esp + 0xc8], 0x13
call fcn.0046bd10
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call sub.MFC42.DLL_CString::CString_2
push esi
mov ecx, ebp
mov byte [esp + 0xcc], 0x10
call fcn.0049ad10
mov eax, dword [esp + 0x14]
inc edi
cmp edi, eax
jb 0x499d4d
lea eax, [esp + 0x10]
lea ecx, [esp + 0xa4]
push eax
lea eax, [ebp + 0x140]
push eax
push ecx
call sub.MFC42.DLL_operator_3
mov eax, dword [eax]
mov byte [esp + 0xbc], 0x14
push eax
mov dword [esp + 0x18], eax
lea ebx, [ebp + 0x94]
call sub.MFC42.DLL_HashKey
xor edx, edx
div dword [ebx + 8]
mov eax, dword [ebx + 4]
test eax, eax
mov dword [esp + 0x20], edx
je 0x499e46
mov edi, dword [eax + edx*4]
test edi, edi
je 0x499e46
mov ecx, dword [esp + 0x14]
mov eax, dword [edi + 8]
push ecx
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x499e42
mov edi, dword [edi]
test edi, edi
jne 0x499e24
jmp 0x499e46
test edi, edi
jne 0x499e89
mov eax, dword [ebx + 4]
test eax, eax
jne 0x499e5a
mov edx, dword [ebx + 8]
push 1
push edx
mov ecx, ebx
call fcn.00401ea1
mov ecx, ebx
call fcn.00401758
mov ecx, dword [esp + 0x14]
mov edi, eax
mov eax, dword [esp + 0x20]
push ecx
lea ecx, [edi + 8]
mov dword [edi + 4], eax
call sub.MFC42.DLL_CString::operator
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0x20]
mov ecx, dword [edx + eax*4]
mov dword [edi], ecx
mov edx, dword [ebx + 4]
mov dword [edx + eax*4], edi
lea eax, [esp + 0x40]
lea ecx, [edi + 0xc]
push eax
call fcn.0044c040
lea ecx, [esp + 0xa4]
mov byte [esp + 0xbc], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x54]
mov byte [esp + 0xbc], 0x17
call fcn.0043bc5a
lea ecx, [esp + 0x48]
mov byte [esp + 0xbc], 0x16
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x44]
mov byte [esp + 0xbc], 0x15
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x40], 0x58c2c0
mov byte [esp + 0xbc], 1
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x10]
push 0x3a
lea eax, [esp + 0x40]
push edx
push eax
call sub.MFC42.DLL_operator_1
push eax
mov ecx, 0x643db4
mov byte [esp + 0xc0], 0x35
call sub.MFC42.DLL_CString::operator_1
mov byte [esp + 0xbc], 1
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::CString
xor edi, edi
mov eax, dword [esp + 0x34]
cmp eax, 0x10
je 0x499f64
cmp eax, 0x32
je 0x499f64
push esi
xor ebx, ebx
call dword [esi + 0x44]
add esp, 4
test eax, eax
jbe 0x499f64
push ebx
push esi
call dword [esi + 0x38]
add esp, 8
mov ecx, ebp
push eax
call fcn.004998f0
push esi
inc ebx
call dword [esi + 0x44]
add esp, 4
cmp ebx, eax
jb 0x499f48
cmp dword [esp + 0x2c], edi
je 0x499f79
push 0x621dc4
mov ecx, 0x643db4
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x38]
mov byte [esp + 0xbc], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0xbc], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xb4]
pop edi
pop esi
pop ebp
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0xb0
ret 4
push edi
push esi
call dword [esi + 0x38]
add esp, 8
lea ecx, [esp + 0x28]
push eax
push ecx
mov ecx, ebp
call fcn.0049b2a0
push 1
push esi
mov byte [esp + 0xc4], 0x18
call dword [esi + 0x38]
add esp, 8
lea edx, [esp + 0x1c]
mov ecx, ebp
push eax
push edx
call fcn.0049b2a0
mov eax, dword [esp + 0x34]
mov byte [esp + 0xbc], 0x19
cmp eax, 0x3c
jne 0x49a049
push 0x2e
lea ecx, [esp + 0x20]
call fcn.0043bae6
push 2
push esi
call dword [esi + 0x38]
add esp, 8
mov ecx, ebp
push eax
lea eax, [esp + 0x88]
push eax
call fcn.0049b2a0
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0xc0], 0x1a
call fcn.0043b6c6
lea ecx, [esp + 0x84]
mov byte [esp + 0xbc], 0x19
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::MakeUpper
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::MakeUpper
lea ecx, [esp + 0x28]
push 0x2e
lea edx, [esp + 0xa0]
push ecx
push edx
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x14]
push ecx
push eax
push edx
mov byte [esp + 0xc8], 0x1b
call sub.MFC42.DLL_operator_3
lea ecx, [esp + 0x9c]
mov byte [esp + 0xbc], 0x1d
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x1c]
push 0x2e
lea ecx, [esp + 0x90]
push eax
push ecx
call sub.MFC42.DLL_operator_1
lea edx, [esp + 0x28]
mov byte [esp + 0xbc], 0x1e
push edx
push eax
lea eax, [esp + 0x2c]
push eax
call sub.MFC42.DLL_operator_3
lea ecx, [esp + 0x8c]
mov byte [esp + 0xbc], 0x20
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x40], 0x58c2c0
lea ecx, [esp + 0x44]
mov byte [esp + 0xbc], 0x21
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x48]
mov byte [esp + 0xbc], 0x22
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x54]
mov byte [esp + 0xbc], 0x23
call sub.MFC42.DLL_CStringArray::CStringArray
mov dword [esp + 0x40], 0x58d140
mov dword [esp + 0x50], edi
mov eax, dword [esp + 0x14]
mov byte [esp + 0xbc], 0x24
push eax
mov dword [esp + 0x50], edi
mov dword [esp + 0x24], eax
lea ebx, [ebp + 0xb0]
mov dword [esp + 0x1c], eax
call sub.MFC42.DLL_HashKey
xor edx, edx
div dword [ebx + 8]
mov eax, dword [ebx + 4]
cmp eax, edi
mov dword [esp + 0x2c], edx
je 0x49a17f
mov edi, dword [eax + edx*4]
test edi, edi
je 0x49a17f
mov ecx, dword [esp + 0x18]
mov eax, dword [edi + 8]
push ecx
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x49a17b
mov edi, dword [edi]
test edi, edi
jne 0x49a15d
jmp 0x49a17f
test edi, edi
jne 0x49a1ec
mov eax, dword [ebx + 4]
test eax, eax
jne 0x49a1bd
mov eax, dword [ebx + 8]
mov dword [esp + 0x18], eax
lea edi, [eax*4]
push edi
call sub.MFC42.DLL_operatornew
mov edx, eax
mov ecx, edi
mov dword [ebx + 4], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x18]
mov dword [ebx + 8], eax
mov ecx, ebx
call fcn.00401758
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
mov edi, eax
push edx
mov dword [edi + 4], ecx
lea ecx, [edi + 8]
call sub.MFC42.DLL_CString::operator
mov ecx, dword [ebx + 4]
mov eax, dword [esp + 0x2c]
mov edx, dword [ecx + eax*4]
mov dword [edi], edx
mov ecx, dword [ebx + 4]
mov dword [ecx + eax*4], edi
lea edx, [esp + 0x40]
lea ecx, [edi + 0xc]
push edx
call fcn.0044c040
push 5
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x621dc4
call sub.MFC42.DLL_CString::CString_1
push ecx
lea eax, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
mov byte [esp + 0xcc], 0x25
call sub.MFC42.DLL_CString::CString_2
push esi
mov ecx, ebp
mov byte [esp + 0xcc], 0x24
call fcn.0049ad10
lea ecx, [esp + 0x24]
lea edx, [ebp + 0x140]
push ecx
lea eax, [esp + 0x74]
push edx
push eax
call sub.MFC42.DLL_operator_3
mov eax, dword [eax]
lea ecx, [esp + 0x6c]
mov bl, 0x26
push eax
push ecx
mov byte [esp + 0xc4], bl
call fcn.0049b050
add esp, 8
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0xc0], 0x27
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x6c]
mov byte [esp + 0xbc], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x70]
mov byte [esp + 0xbc], 0x24
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x24]
lea ecx, [esp + 0x48]
push edx
call sub.MFC42.DLL_CString::operator_1
xor eax, eax
lea ebx, [ebp + 0x94]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], eax
call sub.MFC42.DLL_HashKey
xor edx, edx
div dword [ebx + 8]
mov eax, dword [ebx + 4]
test eax, eax
mov dword [esp + 0x20], edx
je 0x49a302
mov ecx, edx
mov edi, dword [eax + ecx*4]
test edi, edi
je 0x49a302
mov edx, dword [esp + 0x18]
mov eax, dword [edi + 8]
push edx
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x49a2fe
mov edi, dword [edi]
test edi, edi
jne 0x49a2e0
jmp 0x49a302
test edi, edi
jne 0x49a36f
mov eax, dword [ebx + 4]
test eax, eax
jne 0x49a340
mov eax, dword [ebx + 8]
mov dword [esp + 0x18], eax
lea edi, [eax*4]
push edi
call sub.MFC42.DLL_operatornew
mov edx, eax
mov ecx, edi
mov dword [ebx + 4], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x18]
mov dword [ebx + 8], eax
mov ecx, ebx
call fcn.00401758
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
mov edi, eax
push edx
mov dword [edi + 4], ecx
lea ecx, [edi + 8]
call sub.MFC42.DLL_CString::operator
mov ecx, dword [ebx + 4]
mov eax, dword [esp + 0x20]
mov edx, dword [ecx + eax*4]
mov dword [edi], edx
mov ecx, dword [ebx + 4]
mov dword [ecx + eax*4], edi
lea edx, [esp + 0x40]
lea ecx, [edi + 0xc]
push edx
call fcn.0044c040
lea eax, [esp + 0x44]
lea ecx, [esp + 0x10]
push eax
call sub.MFC42.DLL_CString::operator_1
mov dword [esp + 0x2c], 1
lea ecx, [esp + 0x54]
mov byte [esp + 0xbc], 0x2a
call fcn.0043bc5a
lea ecx, [esp + 0x48]
mov byte [esp + 0xbc], 0x29
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x44]
mov byte [esp + 0xbc], 0x28
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov dword [esp + 0x40], 0x58c2c0
mov byte [esp + 0xbc], 0x1d
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0xbc], 0x19
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0xbc], 0x18
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0xbc], 1
lea ecx, [esp + 0x28]
jmp 0x499ef1
push esi
mov ecx, ebp
call fcn.00496830
jmp case.0x49999b.15
lea ecx, [esp + 0x78]
push ebx
push ecx
mov ecx, ebp
call fcn.0049b2a0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xc0], 0x2b
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x78]
mov byte [esp + 0xbc], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x1c]
mov byte [esp + 0xbc], 0x2c
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x24]
mov byte [esp + 0xbc], 0x2d
call sub.MFC42.DLL_CString::CString_3
push 1
push esi
mov byte [esp + 0xc4], 0x2e
mov dword [esp + 0x38], edi
call dword [esi + 0x38]
mov ebx, eax
add esp, 8
cmp ebx, edi
je 0x49a7df
push ebx
call dword [ebx + 0x50]
add esp, 4
cmp eax, 0x73
jne 0x49a7df
push ebx
call dword [ebx + 0x44]
add esp, 4
test eax, eax
jbe 0x49a7df
push edi
push ebx
call dword [ebx + 0x38]
add esp, 8
lea edx, [esp + 0x80]
mov ecx, ebp
push eax
push edx
call fcn.0049b2a0
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0xc0], 0x2f
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x80]
mov byte [esp + 0xbc], 0x2e
call sub.MFC42.DLL_CString::CString
push 2
push esi
call dword [esi + 0x38]
mov ebx, eax
add esp, 8
cmp ebx, edi
je 0x49a556
push ebx
call dword [ebx + 0x50]
add esp, 4
cmp eax, 0x74
jne 0x49a556
push ebx
call dword [ebx + 0x44]
add esp, 4
test eax, eax
jbe 0x49a556
push edi
push ebx
call dword [ebx + 0x38]
add esp, 8
mov ecx, ebp
push eax
lea eax, [esp + 0x8c]
push eax
call fcn.0049b2a0
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0xc0], 0x30
call sub.MFC42.DLL_CString::operator_1
mov byte [esp + 0xbc], 0x2e
lea ecx, [esp + 0x88]
jmp 0x49a5b7
lea ecx, [esp + 0x10]
lea edx, [esp + 0x98]
push ecx
push 0x22
push edx
call sub.MFC42.DLL_operator_2
push 0x22
push eax
lea eax, [esp + 0x98]
mov bl, 0x31
push eax
mov byte [esp + 0xc8], bl
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0xc0], 0x32
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x90]
mov byte [esp + 0xbc], bl
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0xbc], 0x2e
lea ecx, [esp + 0x98]
call sub.MFC42.DLL_CString::CString
push 3
push esi
mov dword [esp + 0x20], 0
call dword [esi + 0x38]
mov edi, eax
add esp, 8
test edi, edi
je 0x49a727
push edi
call dword [edi + 0x50]
add esp, 4
cmp eax, 0x6c
jne 0x49a727
push edi
call dword [edi + 0x44]
add esp, 4
mov dword [esp + 0x30], eax
test eax, eax
mov dword [esp + 0x14], 0
jbe 0x49a727
mov ecx, dword [esp + 0x14]
push ecx
push edi
call dword [edi + 0x38]
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x49a6b7
push ebx
call dword [ebx + 0x50]
add esp, 4
cmp eax, 0x4a
jne 0x49a6b7
push 0
push ebx
call dword [ebx + 0x38]
add esp, 8
lea ecx, [esp + 0x28]
mov ebx, eax
call sub.MFC42.DLL_CString::CString_3
test ebx, ebx
mov byte [esp + 0xbc], 0x33
je 0x49a67e
lea edx, [esp + 0xa0]
push ebx
push edx
mov ecx, ebp
call fcn.0049b2a0
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0xc0], 0x34
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0xa0]
mov byte [esp + 0xbc], 0x33
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::MakeUpper
mov eax, dword [esp + 0x28]
push str.STRING
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x49a6a6
mov dword [esp + 0x18], 1
lea ecx, [esp + 0x28]
mov byte [esp + 0xbc], 0x2e
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jb 0x49a602
mov eax, dword [esp + 0x18]
test eax, eax
je 0x49a727
mov ecx, dword [esp + 0x1c]
cmp dword [ecx - 8], 2
jle 0x49a727
lea edx, [esp + 0x3c]
push 2
push edx
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push 0x614244
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
lea ecx, [esp + 0x3c]
test eax, eax
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x49a727
mov eax, dword [esp + 0x1c]
push 0x57
lea ecx, [esp + 0x20]
mov eax, dword [eax - 8]
add eax, 0xfffffffe
push eax
call sub.MFC42.DLL_CString::SetAt
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::MakeUpper
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x30]
push ecx
push edx
push edi
lea eax, [esp + 0x30]
push str.QMLibrary.CallAPI_d__s___s
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x14
xor eax, eax
test edi, edi
jbe 0x49a785
lea ebx, [eax + 1]
lea ecx, [esp + 0x38]
push ebx
push str.____d
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea edx, [esp + 0x38]
lea ecx, [esp + 0x24]
push edx
call fcn.0043b6c6
mov ecx, dword [esp + 0x30]
mov eax, ebx
cmp eax, ecx
jb 0x49a757
push 0x29
lea ecx, [esp + 0x28]
call fcn.0043bae6
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
push eax
push ecx
lea ecx, [ebp + 0x120]
call sub.MFC42.DLL_CMapStringToString::operator__
mov ecx, eax
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x24]
mov byte [esp + 0xbc], 0x2d
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0xbc], 0x2c
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0xbc], 1
lea ecx, [esp + 0x20]
jmp 0x499f26
lea ecx, [esp + 0x24]
mov byte [esp + 0xbc], 0x2d
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0xbc], 0x2c
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0xbc], 1
call sub.MFC42.DLL_CString::CString
jmp case.0x49999b.15