Function at 0x497510
Capabilities:
Authenticate hmac
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5ae045
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x100
push ebx
push ebp
push esi
mov esi, dword [esp + 0x120]
mov ebx, esi
push edi
test esi, esi
mov edi, ecx
mov dword [esp + 0x40], 0
mov dword [esp + 0x50], ebx
jne 0x497562
mov esi, dword [esp + 0x120]
push 0x658680
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
jmp 0x4991a6
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_3
mov ebp, 1
push esi
mov dword [esp + 0x11c], ebp
call dword [esi + 0x50]
add esp, 4
cmp eax, 0x71
jne 0x49764f
xor ebx, ebx
push ebx
push esi
call dword [esi + 0x38]
add esp, 8
mov dword [esp + 0x30], eax
mov ecx, edi
push eax
lea eax, [esp + 0x30]
push eax
call fcn.004a4760
mov ebp, dword [esp + 0x128]
lea edx, [esp + 0x2c]
push ebp
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
mov byte [esp + 0x124], 2
call sub.MFC42.DLL_CString::CString_4
push esi
mov ecx, edi
call fcn.004a0400
cmp dword [ebp + 0xc], ebx
je 0x497618
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
cmp ecx, ebx
je 0x497618
cmp byte [eax + 8], 0x1f
jne 0x497618
cmp byte [ecx + 8], 0x1f
jne 0x497618
mov edx, dword [eax + 0xd]
mov esi, dword [ecx + 0xd]
cmp edx, esi
jne 0x497618
cmp ecx, ebx
mov dword [ebp + 8], ecx
je 0x4975fb
mov dword [ecx], ebx
jmp 0x4975fe
mov dword [ebp + 4], ebx
mov ecx, dword [ebp + 0x10]
mov dword [eax], ecx
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0xc]
dec eax
mov dword [ebp + 0xc], eax
jne 0x4975d0
mov ecx, ebp
call fcn.0046b200
jmp 0x4975d0
mov edx, dword [esp + 0x12c]
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x120]
push ebx
push edx
push ebp
push eax
push esi
mov ecx, edi
call fcn.00497510
mov dword [esp + 0x40], 1
mov byte [esp + 0x118], 1
lea ecx, [esp + 0x2c]
jmp 0x499190
push esi
call dword [esi + 0x50]
add esp, 4
cmp eax, 0x72
jne 0x4977c0
push 0
push esi
call dword [esi + 0x38]
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x497858
push 0
push ebp
call dword [ebp + 0x38]
mov esi, eax
add esp, 8
test esi, esi
jne 0x4976a1
mov esi, dword [esp + 0x120]
push 0x658680
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
mov dword [esp + 0x40], 1
jmp 0x499195
push esi
call dword [esi + 0x6c]
mov ebx, dword [eax + 4]
add esp, 4
call sub.MFC42.DLL_AfxGetEmptyString
mov ecx, dword [eax]
push ebx
mov dword [esp + 0x50], ecx
lea ecx, [esp + 0x50]
call fcn.004bd21e
lea edx, [esp + 0x74]
push ebp
push edx
mov ecx, edi
mov byte [esp + 0x120], 3
call fcn.004a4760
mov eax, dword [eax]
mov byte [esp + 0x118], 4
push eax
lea eax, [esp + 0x74]
push eax
call fcn.004a4510
add esp, 8
push 0x2e
lea ecx, [esp + 0x30]
push eax
push ecx
mov byte [esp + 0x124], 5
call sub.MFC42.DLL_operator_1
lea edx, [esp + 0x4c]
mov bl, 6
push edx
push eax
lea eax, [esp + 0x38]
mov byte [esp + 0x120], bl
push eax
call sub.MFC42.DLL_operator_4
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x11c], 7
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x30]
mov byte [esp + 0x118], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x118], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x70]
mov byte [esp + 0x118], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x74]
mov byte [esp + 0x118], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x4c]
mov byte [esp + 0x118], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::MakeUpper
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [esp + 0x12c]
mov ecx, edi
push eax
push esi
mov esi, dword [esp + 0x12c]
push esi
call fcn.00496570
mov dword [esp + 0x40], 1
jmp 0x499195
push esi
call dword [esi + 0x50]
add esp, 4
cmp eax, 0x75
jne 0x49781f
mov eax, dword [edi + 0x190]
test eax, eax
jne 0x49780a
push 0
push 0x3b5
push 0xc
push esi
call dword [esi + 0x58]
add esp, 4
mov ecx, edi
push eax
call fcn.00494060
mov esi, dword [esp + 0x120]
push 0x658680
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
mov dword [esp + 0x40], ebp
jmp 0x499195
mov ecx, dword [edi + 0x18c]
add ecx, 8
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_3
jmp 0x497858
lea edx, [esp + 0x30]
push esi
push edx
mov ecx, edi
call fcn.004a4760
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x11c], 8
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x30]
mov byte [esp + 0x118], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::MakeUpper
lea eax, [esp + 0x10]
lea ecx, [esp + 0x60]
push eax
call sub.MFC42.DLL_CString::CString_4
push esi
mov byte [esp + 0x11c], 9
call dword [esi + 0x44]
add esp, 4
test eax, eax
jne 0x4978f1
lea ecx, [esp + 0x10]
push 0x3a
lea edx, [esp + 0x34]
push ecx
push edx
call sub.MFC42.DLL_operator_1
mov ecx, dword [edi + 0x13c]
mov eax, dword [eax]
push ecx
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
lea ecx, [esp + 0x30]
test eax, eax
sete byte [esp + 0x5f]
call sub.MFC42.DLL_CString::CString
mov al, byte [esp + 0x5f]
test al, al
je 0x4978f1
push str.F273O835_2229_445E_97C7_l3F76l277lDA
push str.F2730835_2229_445E_97C7_l3F7612771DA
lea eax, [esp + 0x18]
push str._s._s
push eax
call sub.MFC42.DLL_CString::Format_1
mov esi, dword [esp + 0x130]
add esp, 0x10
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_4
mov dword [esp + 0x40], 1
jmp 0x499184
lea edx, [esp + 0x10]
lea ebp, [edi + 0x13c]
push edx
lea eax, [esp + 0x5c]
push ebp
push eax
mov dword [esp + 0x54], 0
call sub.MFC42.DLL_operator_4
mov eax, dword [esp + 0x58]
lea edx, [esp + 0x48]
push edx
lea ecx, [edi + 0x5c]
push eax
mov byte [esp + 0x120], 0xa
call sub.MFC42.DLL_CMapStringToPtr::Lookup
test eax, eax
je 0x4979ab
cmp dword [esp + 0x48], 1
jne 0x4979ab
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x30]
push ecx
push edx
call fcn.004a4510
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x11c], 0xb
call sub.MFC42.DLL_CString::operator_3
lea ecx, [esp + 0x30]
mov byte [esp + 0x118], 0xa
call sub.MFC42.DLL_CString::CString
mov ebp, dword [ebp]
push 0x658680
push ebp
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x4979fd
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x58]
push eax
push str.F2730835_2229_445E_97C7_l3F7612771DA
push str._s._s
push ecx
call sub.MFC42.DLL_CString::Format_1
add esp, 0x10
lea edx, [esp + 0x58]
lea ecx, [esp + 0x10]
push edx
call sub.MFC42.DLL_CString::operator_3
jmp 0x4979fd
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x48]
push eax
push ecx
lea ecx, [edi + 0x5c]
call sub.MFC42.DLL_CMapStringToPtr::Lookup
test eax, eax
je 0x4979fd
cmp dword [esp + 0x48], 1
jne 0x4979fd
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x30]
push edx
push eax
call fcn.004a4510
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x11c], 0xc
call sub.MFC42.DLL_CString::operator_3
lea ecx, [esp + 0x30]
mov byte [esp + 0x118], 0xa
call sub.MFC42.DLL_CString::CString
push esi
mov dword [esp + 0x6c], 0
call dword [esi + 0x44]
mov esi, dword [esp + 0x12c]
add esp, 4
test eax, eax
je 0x498b7a
mov ecx, dword [esp + 0x68]
push ecx
push ebx
call dword [ebx + 0x38]
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x497a39
mov eax, dword [esp + 0x68]
test eax, eax
jne 0x498b7a
push ebp
call dword [ebp + 0x50]
add esp, 4
cmp eax, 0x78
jne 0x497afa
push 0x2e
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_2
test eax, eax
jge 0x497a93
mov edx, dword [esp + 0x10]
lea eax, [esp + 0xc4]
push edx
push eax
call fcn.004a4510
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x11c], 0xd
call sub.MFC42.DLL_CString::operator_3
lea ecx, [esp + 0xc4]
mov byte [esp + 0x118], 0xa
call sub.MFC42.DLL_CString::CString
push 0x2e
lea ecx, [esp + 0x14]
call fcn.004bd608
lea ecx, [esp + 0xb8]
push ebp
push ecx
mov ecx, edi
call fcn.004a4760
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x11c], 0xe
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0xb8]
mov byte [esp + 0x118], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::MakeUpper
mov ebx, ebp
mov dword [esp + 0x68], 0
mov dword [esp + 0x50], ebx
mov dword [edi + 0x17c], 1
jmp 0x498852
push ebp
call dword [ebp + 0x50]
add esp, 4
cmp eax, 0x66
jne 0x499077
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x24]
push edx
lea ecx, [edi + 0x120]
push eax
mov byte [esp + 0x120], 0xf
call sub.MFC42.DLL_CMapStringToString::Lookup
test eax, eax
jne 0x497bdb
lea ecx, [esp + 0x10]
lea edx, [esp + 0xb0]
push ecx
push str.CoreLibQMLibrary_
push edx
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push 0
push 0
push eax
lea eax, [esp + 0xc8]
mov byte [esp + 0x124], 0x10
push eax
call fcn.00401127
add esp, 0x10
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x11c], 0x11
call sub.MFC42.DLL_CString::operator_3
lea ecx, [esp + 0xbc]
mov byte [esp + 0x118], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xb0]
mov byte [esp + 0x118], 0xf
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x24]
push 0x658680
push ecx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x497bdb
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
push edx
push eax
lea ecx, [edi + 0x120]
call sub.MFC42.DLL_CMapStringToString::operator__
mov ecx, eax
call fcn.004bd21e
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x48]
push ecx
push edx
lea ecx, [edi + 0x40]
call sub.MFC42.DLL_CMapStringToPtr::Lookup
test eax, eax
je 0x497c45
cmp dword [esp + 0x48], 5
jne 0x497c45
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x68], esp
push eax
call sub.MFC42.DLL_CString::CString_4
push esi
lea ecx, [esp + 0xd4]
push ebx
push ecx
mov ecx, edi
call fcn.00496570
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x11c], 0x12
call sub.MFC42.DLL_CString::operator_3
lea ecx, [esp + 0xcc]
mov byte [esp + 0x118], 0xf
call sub.MFC42.DLL_CString::CString
jmp 0x498834
mov edx, dword [esp + 0x24]
push 0x658680
push edx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x49852e
xor ebx, ebx
push ebp
mov dword [esp + 0x34], ebx
call dword [ebp + 0x44]
add esp, 4
test eax, eax
jbe 0x498421
push esi
push ebx
push ebp
call dword [ebp + 0x38]
add esp, 8
mov ecx, edi
push eax
lea eax, [esp + 0x40]
push eax
call fcn.004959f0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x118], 0x13
call sub.MFC42.DLL_CString::CString_3
lea eax, [ebx + 1]
lea ecx, [esp + 0x3c]
push eax
push 0x649b00
push ecx
mov byte [esp + 0x124], 0x14
mov dword [esp + 0x38], eax
call sub.MFC42.DLL_CString::Format_1
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
add esp, 0xc
lea ecx, [esp + 0x24]
push edx
push eax
call sub.MFC42.DLL_CString::Replace
test eax, eax
jne 0x4983ec
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x3c]
push ecx
push str.___d
push edx
call sub.MFC42.DLL_CString::Format_1
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
add esp, 0xc
push eax
push ecx
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::Replace
test eax, eax
jne 0x4983ec
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x3c]
push edx
push str.__d
push eax
call sub.MFC42.DLL_CString::Format_1
mov ecx, dword [esp + 0x48]
add esp, 0xc
push ecx
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::Find_3
test eax, eax
jl 0x4983e4
push str.F2730835_2229_445E_97C7_l3F7612771DA
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::Find_3
test eax, eax
jne 0x4983cf
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CString::CString_3
push ebx
push str.F278O335_2229_445E_97C7_l3F76l2771DA
lea edx, [esp + 0x5c]
push str._s___u
push edx
mov byte [esp + 0x128], 0x15
call sub.MFC42.DLL_CString::Format_1
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x4c]
add esp, 0x10
push eax
push ecx
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::Replace
mov eax, dword [edi + 0x17c]
test eax, eax
je 0x497f31
mov dword [edi + 0x17c], 0
mov eax, dword [edi + 0x1d4]
xor ebx, ebx
push ebp
mov dword [esp + 0x99], ebx
mov dword [esp + 0x95], ebx
mov byte [esp + 0x94], 0x1e
mov dword [esp + 0x99], eax
call dword [ebp + 0x58]
mov edx, dword [edi + 0x180]
mov ecx, ebx
xor eax, ecx
xor edx, ebx
and eax, 0xfffff
and edx, 1
xor ecx, eax
mov eax, dword [esi + 8]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x10]
add esp, 4
xor ebx, edx
test eax, eax
mov dword [esp + 0x91], ecx
mov dword [esp + 0x99], ebx
jne 0x497e2f
mov ecx, dword [esi + 0x18]
push 0x18
lea edx, [esi + 0x14]
push ecx
push edx
call sub.MFC42.DLL_CPlex::Create
mov ecx, dword [esi + 0x18]
lea edx, [ecx + ecx*2]
dec ecx
test ecx, ecx
lea eax, [eax + edx*8 - 0x14]
jl 0x497e2f
inc ecx
mov edx, dword [esi + 0x10]
mov dword [eax], edx
mov dword [esi + 0x10], eax
sub eax, 0x18
dec ecx
jne 0x497e21
mov ebx, dword [esi + 0x10]
mov ecx, dword [esp + 0x34]
push 1
mov eax, dword [ebx]
mov dword [esi + 0x10], eax
mov dword [ebx + 4], ecx
mov dword [ebx], 0
mov edx, dword [esi + 0xc]
lea eax, [ebx + 8]
inc edx
push eax
mov dword [esi + 0xc], edx
call fcn.0046b050
mov edx, dword [esp + 0x90]
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x98]
mov dword [ebx + 8], edx
mov dl, byte [esp + 0x9c]
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], ecx
mov byte [ebx + 0x14], dl
mov eax, dword [esi + 8]
test eax, eax
je 0x497e89
mov dword [eax], ebx
jmp 0x497e8c
mov dword [esi + 4], ebx
lea eax, [esp + 0x54]
push 0x3d
lea ecx, [esp + 0xd8]
push eax
push ecx
mov dword [esi + 8], ebx
call sub.MFC42.DLL_operator_1
lea edx, [esp + 0x38]
mov byte [esp + 0x118], 0x16
push edx
push eax
lea eax, [esp + 0x7c]
push eax
call sub.MFC42.DLL_operator_4
lea ecx, [esp + 0xd4]
mov byte [esp + 0x118], 0x18
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x74]
push 0
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x78]
inc eax
push eax
push 0
call sub.MFC42.DLL_CString::GetBuffer
lea edx, [esp + 0xe4]
push eax
push edx
mov ecx, 0x68ba58
call fcn.004d2160
lea ecx, [edi + 0x1c8]
push eax
mov byte [esp + 0x11c], 0x19
call sub.MFC42.DLL_CStringList::AddTail_1
lea ecx, [esp + 0xdc]
mov byte [esp + 0x118], 0x18
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x118], 0x15
lea ecx, [esp + 0x74]
jmp 0x498084
mov eax, dword [edi + 0x1d4]
xor ebx, ebx
mov dword [esp + 0x85], ebx
push ebp
mov dword [esp + 0x85], ebx
mov byte [esp + 0x84], 2
mov dword [esp + 0x89], eax
call dword [ebp + 0x58]
mov ecx, ebx
add esp, 4
xor eax, ecx
and eax, 0xfffff
xor ecx, eax
mov eax, dword [edi + 0x180]
xor eax, ebx
mov dword [esp + 0x81], ecx
mov ecx, dword [esi + 8]
and eax, 1
xor ebx, eax
mov eax, dword [esi + 0x10]
test eax, eax
mov dword [esp + 0x89], ebx
mov dword [esp + 0x34], ecx
jne 0x497fbe
mov edx, dword [esi + 0x18]
push 0x18
lea eax, [esi + 0x14]
push edx
push eax
call sub.MFC42.DLL_CPlex::Create
mov ecx, dword [esi + 0x18]
lea edx, [ecx + ecx*2]
dec ecx
test ecx, ecx
lea eax, [eax + edx*8 - 0x14]
jl 0x497fbe
inc ecx
mov edx, dword [esi + 0x10]
mov dword [eax], edx
mov dword [esi + 0x10], eax
sub eax, 0x18
dec ecx
jne 0x497fb0
mov ebx, dword [esi + 0x10]
mov ecx, dword [esp + 0x34]
push 1
mov eax, dword [ebx]
mov dword [esi + 0x10], eax
mov dword [ebx + 4], ecx
mov dword [ebx], 0
mov edx, dword [esi + 0xc]
lea eax, [ebx + 8]
inc edx
push eax
mov dword [esi + 0xc], edx
call fcn.0046b050
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x88]
mov dword [ebx + 8], edx
mov dl, byte [esp + 0x8c]
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], ecx
mov byte [ebx + 0x14], dl
mov eax, dword [esi + 8]
test eax, eax
je 0x498018
mov dword [eax], ebx
jmp 0x49801b
mov dword [esi + 4], ebx
lea eax, [esp + 0x54]
push 0x3d
lea ecx, [esp + 0xf0]
push eax
push ecx
mov dword [esi + 8], ebx
call sub.MFC42.DLL_operator_1
lea edx, [esp + 0x38]
mov byte [esp + 0x118], 0x1a
push edx
push eax
lea eax, [esp + 0xec]
push eax
call sub.MFC42.DLL_operator_4
lea ecx, [edi + 0x1c8]
push eax
mov byte [esp + 0x11c], 0x1b
call sub.MFC42.DLL_CStringList::AddTail_1
lea ecx, [esp + 0xe4]
mov byte [esp + 0x118], 0x1a
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x118], 0x15
lea ecx, [esp + 0xec]
call sub.MFC42.DLL_CString::CString
mov eax, dword [edi + 0x17c]
test eax, eax
je 0x498259
mov dword [edi + 0x17c], 0
mov eax, dword [edi + 0x1d4]
xor ebx, ebx
push ebp
mov dword [esp + 0xa9], ebx
mov dword [esp + 0xa5], ebx
mov byte [esp + 0xa4], 0x1e
mov dword [esp + 0xa9], eax
call dword [ebp + 0x58]
mov ecx, ebx
add esp, 4
xor eax, ecx
and eax, 0xfffff
xor ecx, eax
mov eax, dword [esp + 0x12c]
mov dword [esp + 0xa1], ecx
mov ecx, dword [edi + 0x180]
mov edx, dword [eax + 8]
xor ecx, ebx
and ecx, 1
mov dword [esp + 0x64], edx
xor ebx, ecx
mov ecx, dword [eax + 0x10]
test ecx, ecx
mov dword [esp + 0xa9], ebx
jne 0x498139
mov ebx, eax
push 0x18
mov eax, dword [ebx + 0x18]
lea ecx, [ebx + 0x14]
push eax
push ecx
call sub.MFC42.DLL_CPlex::Create
mov ecx, dword [ebx + 0x18]
lea edx, [ecx + ecx*2]
dec ecx
test ecx, ecx
lea eax, [eax + edx*8 - 0x14]
jl 0x498140
inc ecx
mov edx, dword [ebx + 0x10]
mov dword [eax], edx
mov dword [ebx + 0x10], eax
sub eax, 0x18
dec ecx
jne 0x498129
jmp 0x498140
mov ebx, dword [esp + 0x12c]
mov eax, dword [ebx + 0x10]
mov edx, dword [esp + 0x64]
mov dword [esp + 0x34], eax
push 1
mov ecx, dword [eax]
add eax, 8
mov dword [ebx + 0x10], ecx
mov dword [eax - 4], edx
mov dword [eax - 8], 0
mov edx, dword [ebx + 0xc]
inc edx
push eax
mov dword [ebx + 0xc], edx
call fcn.0046b050
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0xa0]
lea eax, [edx + 8]
mov edx, dword [esp + 0xa8]
mov dword [eax], ecx
mov ecx, dword [esp + 0xa4]
mov dword [eax + 4], ecx
mov cl, byte [esp + 0xac]
mov dword [eax + 8], edx
mov byte [eax + 0xc], cl
mov eax, dword [ebx + 8]
test eax, eax
je 0x4981a9
mov edx, dword [esp + 0x34]
mov dword [eax], edx
jmp 0x4981b0
mov eax, dword [esp + 0x34]
mov dword [ebx + 4], eax
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x38]
push 0x3d
lea eax, [esp + 0xdc]
push edx
push eax
mov dword [ebx + 8], ecx
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x54]
lea edx, [esp + 0x70]
push ecx
push eax
push edx
mov byte [esp + 0x124], 0x1c
call sub.MFC42.DLL_operator_4
lea ecx, [esp + 0xd8]
mov byte [esp + 0x118], 0x1e
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x70]
push 0
lea ecx, [esp + 0x74]
mov eax, dword [eax - 8]
inc eax
push eax
push 0
call sub.MFC42.DLL_CString::GetBuffer
lea ecx, [esp + 0xc8]
push eax
push ecx
mov ecx, 0x68ba58
call fcn.004d2160
push eax
lea ecx, [edi + 0x1c8]
mov byte [esp + 0x11c], 0x1f
call sub.MFC42.DLL_CStringList::AddTail_1
lea ecx, [esp + 0xc0]
mov byte [esp + 0x118], 0x1e
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x118], 0x15
lea ecx, [esp + 0x70]
jmp 0x4983b7
mov eax, dword [edi + 0x1d4]
xor ebx, ebx
mov dword [esp + 0x19], ebx
push ebp
mov dword [esp + 0x19], ebx
mov byte [esp + 0x18], 2
mov dword [esp + 0x1d], eax
call dword [ebp + 0x58]
mov ecx, ebx
mov edx, dword [edi + 0x180]
xor eax, ecx
xor edx, ebx
and eax, 0xfffff
and edx, 1
xor ecx, eax
mov eax, dword [esp + 0x130]
mov dword [esp + 0x19], ecx
add esp, 4
mov ecx, dword [eax + 8]
xor ebx, edx
mov dword [esp + 0x64], ecx
mov ecx, dword [eax + 0x10]
test ecx, ecx
mov dword [esp + 0x1d], ebx
jne 0x4982df
mov ebx, eax
push 0x18
mov edx, dword [ebx + 0x18]
lea eax, [ebx + 0x14]
push edx
push eax
call sub.MFC42.DLL_CPlex::Create
mov ecx, dword [ebx + 0x18]
lea edx, [ecx + ecx*2]
dec ecx
test ecx, ecx
lea eax, [eax + edx*8 - 0x14]
jl 0x4982e6
inc ecx
mov edx, dword [ebx + 0x10]
mov dword [eax], edx
mov dword [ebx + 0x10], eax
sub eax, 0x18
dec ecx
jne 0x4982cf
jmp 0x4982e6
mov ebx, dword [esp + 0x12c]
mov eax, dword [ebx + 0x10]
mov edx, dword [esp + 0x64]
mov dword [esp + 0x34], eax
push 1
mov ecx, dword [eax]
add eax, 8
mov dword [ebx + 0x10], ecx
mov dword [eax - 4], edx
mov dword [eax - 8], 0
mov edx, dword [ebx + 0xc]
inc edx
push eax
mov dword [ebx + 0xc], edx
call fcn.0046b050
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x14]
lea eax, [edx + 8]
mov edx, dword [esp + 0x1c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x18]
mov dword [eax + 4], ecx
mov cl, byte [esp + 0x20]
mov dword [eax + 8], edx
mov byte [eax + 0xc], cl
mov eax, dword [ebx + 8]
test eax, eax
je 0x498343
mov edx, dword [esp + 0x34]
mov dword [eax], edx
jmp 0x49834a
mov eax, dword [esp + 0x34]
mov dword [ebx + 4], eax
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x38]
push 0x3d
lea eax, [esp + 0xcc]
push edx
push eax
mov dword [ebx + 8], ecx
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x54]
lea edx, [esp + 0xe8]
push ecx
push eax
push edx
mov byte [esp + 0x124], 0x20
call sub.MFC42.DLL_operator_4
push eax
lea ecx, [edi + 0x1c8]
mov byte [esp + 0x11c], 0x21
call sub.MFC42.DLL_CStringList::AddTail_1
lea ecx, [esp + 0xe8]
mov byte [esp + 0x118], 0x20
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x118], 0x15
lea ecx, [esp + 0xc8]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x54]
mov byte [esp + 0x118], 0x14
call sub.MFC42.DLL_CString::CString
jmp 0x4983ec
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
push eax
push ecx
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::Replace
jmp 0x4983ec
mov dword [esp + 0x30], 1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x118], 0x13
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov byte [esp + 0x118], 0xf
call sub.MFC42.DLL_CString::CString
mov ebx, dword [esp + 0x2c]
push ebp
call dword [ebp + 0x44]
add esp, 4
cmp ebx, eax
jb 0x497c75
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CString::CString_3
inc ebx
lea edx, [esp + 0x44]
push ebx
push 0x649b00
push edx
mov byte [esp + 0x124], 0x22
call sub.MFC42.DLL_CString::Format_1
mov eax, dword [esp + 0x50]
add esp, 0xc
lea ecx, [esp + 0x24]
push eax
call sub.MFC42.DLL_CString::Find_3
test eax, eax
mov ebp, 1
jge 0x498461
mov ebp, dword [esp + 0x30]
push ebx
lea ecx, [esp + 0x48]
push str.__d
push ecx
call sub.MFC42.DLL_CString::Format_1
mov edx, dword [esp + 0x50]
add esp, 0xc
lea ecx, [esp + 0x24]
push edx
call sub.MFC42.DLL_CString::Find_3
test eax, eax
jl 0x49848b
mov ebp, 1
push ebx
lea eax, [esp + 0x48]
push str.___d
push eax
call sub.MFC42.DLL_CString::Format_1
mov ecx, dword [esp + 0x50]
add esp, 0xc
push str.Null
push ecx
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::Replace
test eax, eax
je 0x4984e0
inc ebx
lea edx, [esp + 0x44]
push ebx
push str.___d
push edx
call sub.MFC42.DLL_CString::Format_1
mov eax, dword [esp + 0x50]
add esp, 0xc
lea ecx, [esp + 0x24]
push str.Null
push eax
call sub.MFC42.DLL_CString::Replace
test eax, eax
jne 0x4984b5
test ebp, ebp
je 0x498500
mov eax, dword [esp + 0x50]
push 0
push 0x432
push 5
push eax
call dword [eax + 0x58]
add esp, 4
mov ecx, edi
push eax
call fcn.00494060
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_3
lea ecx, [esp + 0x44]
mov dword [edi + 0x17c], 1
mov byte [esp + 0x118], 0xf
call sub.MFC42.DLL_CString::CString
jmp 0x498834
mov edx, dword [esp + 0x10]
push str.BEGINTHREAD
push edx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x498866
mov eax, dword [esp + 0x10]
push str.ISVALIDUSER
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x498bb1
push 0xa
lea ecx, [esp + 0xf8]
call fcn.004bd374
push ebp
mov byte [esp + 0x11c], 0x2c
xor ebx, ebx
call dword [ebp + 0x44]
add esp, 4
test eax, eax
jbe 0x4985d5
push esi
push ebx
push ebp
call dword [ebp + 0x38]
add esp, 8
lea ecx, [esp + 0xe4]
push eax
push ecx
mov ecx, edi
call fcn.004959f0
push eax
lea ecx, [esp + 0xf8]
mov byte [esp + 0x11c], 0x2d
call sub.MFC42.DLL_CStringList::AddTail_1
lea ecx, [esp + 0xe0]
mov byte [esp + 0x118], 0x2c
call sub.MFC42.DLL_CString::CString
push ebp
inc ebx
call dword [ebp + 0x44]
add esp, 4
cmp ebx, eax
jb 0x498587
lea ecx, [esp + 0x7c]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x4c]
mov byte [esp + 0x118], 0x2e
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x4c]
push edx
push eax
lea ecx, [edi + 0x104]
mov byte [esp + 0x120], 0x2f
call sub.MFC42.DLL_CMapStringToString::Lookup
test eax, eax
je 0x498623
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_3
jmp 0x4986ae
mov eax, dword [esp + 0x10]
push eax
mov dword [esp + 0x68], eax
call sub.MFC42.DLL_HashKey
xor edx, edx
div dword [edi + 0xd4]
mov eax, dword [edi + 0xd0]
test eax, eax
je 0x49866a
mov ebx, dword [eax + edx*4]
test ebx, ebx
je 0x49866a
mov edx, dword [esp + 0x64]
mov eax, dword [ebx + 8]
push edx
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x4986ee
mov ebx, dword [ebx]
test ebx, ebx
jne 0x49864a
push 0x2e
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_2
test eax, eax
jge 0x4986ae
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x28]
push ecx
push edx
call fcn.004a4510
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x11c], 0x34
call sub.MFC42.DLL_CString::operator_3
mov byte [esp + 0x118], 0x2f
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString
push 0x28
lea ecx, [esp + 0x14]
call fcn.004bd608
mov ebx, dword [esp + 0xf8]
test ebx, ebx
je 0x4987f3
mov eax, ebx
mov ebx, dword [ebx]
add eax, 8
lea ecx, [esp + 0x10]
push eax
call sub.MFC42.DLL_CString::operator_2
test ebx, ebx
je 0x4987f3
push 0x2c
lea ecx, [esp + 0x14]
call fcn.004bd608
jmp 0x4986c8
test ebx, ebx
je 0x49866a
mov eax, dword [ebx + 0xc]
add ebx, 0x10
push ebx
lea ecx, [esp + 0x80]
mov dword [esp + 0x7c], eax
call sub.MFC42.DLL_CString::operator_3
mov ebx, dword [esp + 0x78]
test ebx, ebx
je 0x498ff2
mov ecx, dword [ebx + 4]
mov eax, dword [esp + 0x100]
cmp ecx, eax
jne 0x498ff2
lea edx, [esp + 0x7c]
lea eax, [esp + 0xf0]
push edx
push 0x22
push eax
call sub.MFC42.DLL_operator_2
push 0x22
lea ecx, [esp + 0xd4]
push eax
push ecx
mov byte [esp + 0x124], 0x30
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0xf8]
mov byte [esp + 0x11c], 0x31
call sub.MFC42.DLL_CStringList::AddHead
lea ecx, [esp + 0xd0]
mov byte [esp + 0x118], 0x30
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xf0]
mov byte [esp + 0x118], 0x2f
call sub.MFC42.DLL_CString::CString
push str.QUIMethodObj.
lea ecx, [esp + 0x70]
call sub.MFC42.DLL_CString::CString_1
mov edx, dword [ebx + 8]
mov byte [esp + 0x118], 0x32
push edx
push eax
lea eax, [esp + 0xbc]
push eax
call sub.MFC42.DLL_operator_3
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x11c], 0x33
call sub.MFC42.DLL_CString::operator_3
lea ecx, [esp + 0xb4]
mov byte [esp + 0x118], 0x32
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x118], 0x2f
lea ecx, [esp + 0x6c]
jmp 0x4986a9
push 0x29
lea ecx, [esp + 0x14]
call fcn.004bd608
lea ecx, [esp + 0x4c]
mov byte [esp + 0x118], 0x2e
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x7c]
mov byte [esp + 0x118], 0x2c
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xf4]
mov byte [esp + 0x118], 0xf
call sub.MFC42.DLL_CStringList::CStringList
mov eax, dword [esp + 0x68]
lea ecx, [esp + 0x24]
inc eax
mov byte [esp + 0x118], 0xa
mov dword [esp + 0x68], eax
call sub.MFC42.DLL_CString::CString
mov ebx, dword [esp + 0x50]
push ebx
call dword [ebx + 0x44]
add esp, 4
test eax, eax
jne 0x497a1b
jmp 0x498b7a
push ebx
mov ecx, edi
call fcn.0049fa30
mov eax, dword [edi + 0x13c]
push 0x658680
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
lea ecx, [esp + 0x28]
test eax, eax
setne al
and eax, 0xff
push eax
push ecx
lea ecx, [edi + 0x38]
call fcn.00497450
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x11c], 0x23
call sub.MFC42.DLL_CString::operator_3
lea ecx, [esp + 0x28]
mov byte [esp + 0x118], 0xf
call sub.MFC42.DLL_CString::CString
mov eax, dword [edi + 0x17c]
test eax, eax
je 0x498a39
mov dword [edi + 0x17c], 0
mov eax, dword [edi + 0x1d4]
xor ebx, ebx
push ebp
mov dword [esp + 0x1d], ebx
mov dword [esp + 0x19], ebx
mov byte [esp + 0x18], 0x1e
mov dword [esp + 0x1d], eax
call dword [ebp + 0x58]
mov edx, dword [edi + 0x180]
mov ecx, ebx
xor eax, ecx
xor edx, ebx
and eax, 0xfffff
and edx, 1
xor ecx, eax
mov eax, dword [esi + 0x10]
xor ebx, edx
add esp, 4
mov dword [esp + 0x1d], ebx
mov ebx, dword [esi + 8]
test eax, eax
mov dword [esp + 0x15], ecx
jne 0x49894d
mov eax, dword [esi + 0x18]
push 0x18
lea ecx, [esi + 0x14]
push eax
push ecx
call sub.MFC42.DLL_CPlex::Create
mov ecx, dword [esi + 0x18]
lea edx, [ecx + ecx*2]
dec ecx
test ecx, ecx
lea eax, [eax + edx*8 - 0x14]
jl 0x49894d
inc ecx
mov edx, dword [esi + 0x10]
mov dword [eax], edx
mov dword [esi + 0x10], eax
sub eax, 0x18
dec ecx
jne 0x49893f
mov eax, dword [esi + 0x10]
xor edx, edx
mov ecx, dword [eax]
mov dword [esi + 0x10], ecx
mov dword [eax + 4], ebx
mov dword [eax], 0
mov ebx, dword [esi + 0xc]
inc ebx
lea ecx, [eax + 8]
mov dword [esi + 0xc], ebx
mov ebx, ecx
mov dword [ebx], edx
mov dword [ebx + 4], edx
mov dword [ebx + 8], edx
mov byte [ebx + 0xc], dl
mov edx, dword [esp + 0x14]
mov dword [ecx], edx
mov edx, dword [esp + 0x18]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x1c]
mov dword [ecx + 8], edx
mov dl, byte [esp + 0x20]
mov byte [ecx + 0xc], dl
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x49899d
mov dword [ecx], eax
jmp 0x4989a0
mov dword [esi + 4], eax
mov dword [esi + 8], eax
lea eax, [esp + 0x10]
push 0x3d
lea ecx, [esp + 0x2c]
push eax
push ecx
call sub.MFC42.DLL_operator_1
push str.F2730835_2229_445E_97C7_l3F76l2771DA
lea edx, [esp + 0x30]
push eax
push edx
mov byte [esp + 0x124], 0x24
call sub.MFC42.DLL_operator_3
mov bl, 0x26
lea ecx, [esp + 0x28]
mov byte [esp + 0x118], bl
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x2c]
push 0
lea ecx, [esp + 0x30]
mov eax, dword [eax - 8]
inc eax
push eax
push 0
call sub.MFC42.DLL_CString::GetBuffer
lea ecx, [esp + 0x74]
push eax
push ecx
mov ecx, 0x68ba58
call fcn.004d2160
push eax
lea ecx, [edi + 0x1c8]
mov byte [esp + 0x11c], 0x27
call sub.MFC42.DLL_CStringList::AddTail_1
lea ecx, [esp + 0x6c]
mov byte [esp + 0x118], bl
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x118], 0xf
lea ecx, [esp + 0x2c]
jmp 0x498b60
mov eax, dword [edi + 0x1d4]
xor ebx, ebx
mov dword [esp + 0x19], ebx
push ebp
mov dword [esp + 0x19], ebx
mov byte [esp + 0x18], 2
mov dword [esp + 0x1d], eax
call dword [ebp + 0x58]
mov edx, dword [edi + 0x180]
mov ecx, ebx
xor eax, ecx
xor edx, ebx
and eax, 0xfffff
and edx, 1
xor ecx, eax
mov eax, dword [esi + 0x10]
xor ebx, edx
add esp, 4
mov dword [esp + 0x1d], ebx
mov ebx, dword [esi + 8]
test eax, eax
mov dword [esp + 0x15], ecx
jne 0x498ab0
mov eax, dword [esi + 0x18]
push 0x18
lea ecx, [esi + 0x14]
push eax
push ecx
call sub.MFC42.DLL_CPlex::Create
mov ecx, dword [esi + 0x18]
lea edx, [ecx + ecx*2]
dec ecx
test ecx, ecx
lea eax, [eax + edx*8 - 0x14]
jl 0x498ab0
inc ecx
mov edx, dword [esi + 0x10]
mov dword [eax], edx
mov dword [esi + 0x10], eax
sub eax, 0x18
dec ecx
jne 0x498aa2
mov eax, dword [esi + 0x10]
xor edx, edx
mov ecx, dword [eax]
mov dword [esi + 0x10], ecx
mov dword [eax + 4], ebx
mov dword [eax], 0
mov ebx, dword [esi + 0xc]
inc ebx
lea ecx, [eax + 8]
mov dword [esi + 0xc], ebx
mov ebx, ecx
mov dword [ebx], edx
mov dword [ebx + 4], edx
mov dword [ebx + 8], edx
mov byte [ebx + 0xc], dl
mov edx, dword [esp + 0x14]
mov dword [ecx], edx
mov edx, dword [esp + 0x18]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x1c]
mov dword [ecx + 8], edx
mov dl, byte [esp + 0x20]
mov byte [ecx + 0xc], dl
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x498b00
mov dword [ecx], eax
jmp 0x498b03
mov dword [esi + 4], eax
mov dword [esi + 8], eax
lea eax, [esp + 0x10]
push 0x3d
lea ecx, [esp + 0x70]
push eax
push ecx
call sub.MFC42.DLL_operator_1
push str.F2730835_2229_445E_97C7_l3F76l2771DA
lea edx, [esp + 0x2c]
push eax
push edx
mov byte [esp + 0x124], 0x28
call sub.MFC42.DLL_operator_3
push eax
lea ecx, [edi + 0x1c8]
mov byte [esp + 0x11c], 0x29
call sub.MFC42.DLL_CStringList::AddTail_1
lea ecx, [esp + 0x28]
mov byte [esp + 0x118], 0x28
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x118], 0xf
lea ecx, [esp + 0x6c]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x118], 0xa
call sub.MFC42.DLL_CString::CString
mov ebx, dword [esp + 0x50]
mov ecx, dword [esp + 0x130]
mov edx, dword [esp + 0x12c]
push ecx
push edx
push esi
push ebx
call dword [ebx + 0x58]
add esp, 4
mov ecx, edi
push eax
lea eax, [esp + 0x20]
push eax
call fcn.00499280
test eax, eax
je 0x4990ad
lea ecx, [esp + 0x10]
push ecx
jmp 0x49915d
mov eax, dword [edi + 0x17c]
test eax, eax
je 0x498d0d
mov dword [edi + 0x17c], 0
mov eax, dword [edi + 0x1d4]
xor ebx, ebx
push ebp
mov dword [esp + 0x1d], ebx
mov dword [esp + 0x19], ebx
mov byte [esp + 0x18], 0x1e
mov dword [esp + 0x1d], eax
call dword [ebp + 0x58]
mov ecx, ebx
add esp, 4
xor eax, ecx
and eax, 0xfffff
xor ecx, eax
mov eax, dword [edi + 0x180]
xor eax, ebx
mov dword [esp + 0x15], ecx
and eax, 1
xor ebx, eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x1d], ebx
mov ebx, dword [esi + 8]
test eax, eax
jne 0x498c40
mov ecx, dword [esi + 0x18]
push 0x18
lea edx, [esi + 0x14]
push ecx
push edx
call sub.MFC42.DLL_CPlex::Create
mov ecx, dword [esi + 0x18]
lea edx, [ecx + ecx*2]
dec ecx
test ecx, ecx
lea eax, [eax + edx*8 - 0x14]
jl 0x498c40
inc ecx
mov edx, dword [esi + 0x10]
mov dword [eax], edx
mov dword [esi + 0x10], eax
sub eax, 0x18
dec ecx
jne 0x498c32
mov eax, dword [esi + 0x10]
xor edx, edx
mov ecx, dword [eax]
mov dword [esi + 0x10], ecx
mov dword [eax + 4], ebx
mov dword [eax], 0
mov ebx, dword [esi + 0xc]
inc ebx
lea ecx, [eax + 8]
mov dword [esi + 0xc], ebx
mov ebx, ecx
mov dword [ebx], edx
mov dword [ebx + 4], edx
mov dword [ebx + 8], edx
mov byte [ebx + 0xc], dl
mov edx, dword [esp + 0x14]
mov dword [ecx], edx
mov edx, dword [esp + 0x18]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x1c]
mov dword [ecx + 8], edx
mov dl, byte [esp + 0x20]
mov byte [ecx + 0xc], dl
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x498c90
mov dword [ecx], eax
jmp 0x498c93
mov dword [esi + 4], eax
push str.F2730835_2229_445E_97C7_l3F76l2771DA0
lea ecx, [esp + 0x30]
mov dword [esi + 8], eax
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esp + 0x2c]
push 0
mov bl, 0x2a
lea ecx, [esp + 0x30]
mov eax, dword [eax - 8]
mov byte [esp + 0x11c], bl
inc eax
push eax
push 0
call sub.MFC42.DLL_CString::GetBuffer
lea ecx, [esp + 0x30]
push eax
push ecx
mov ecx, 0x68ba58
call fcn.004d2160
push eax
lea ecx, [edi + 0x1c8]
mov byte [esp + 0x11c], 0x2b
call sub.MFC42.DLL_CStringList::AddTail_1
lea ecx, [esp + 0x28]
mov byte [esp + 0x118], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x118], 0xf
call sub.MFC42.DLL_CString::CString
jmp 0x498ded
mov eax, dword [edi + 0x1d4]
xor ebx, ebx
mov dword [esp + 0x19], ebx
push ebp
mov dword [esp + 0x19], ebx
mov byte [esp + 0x18], 2
mov dword [esp + 0x1d], eax
call dword [ebp + 0x58]
mov ecx, ebx
add esp, 4
mov edx, ecx
xor edx, eax
mov eax, dword [edi + 0x180]
xor eax, ebx
and edx, 0xfffff
and eax, 1
xor ecx, edx
xor ebx, eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x1d], ebx
mov ebx, dword [esi + 8]
test eax, eax
mov dword [esp + 0x15], ecx
jne 0x498d87
mov ecx, dword [esi + 0x18]
push 0x18
lea edx, [esi + 0x14]
push ecx
push edx
call sub.MFC42.DLL_CPlex::Create
mov ecx, dword [esi + 0x18]
lea edx, [ecx + ecx*2]
dec ecx
test ecx, ecx
lea eax, [eax + edx*8 - 0x14]
jl 0x498d87
inc ecx
mov edx, dword [esi + 0x10]
mov dword [eax], edx
mov dword [esi + 0x10], eax
sub eax, 0x18
dec ecx
jne 0x498d79
mov eax, dword [esi + 0x10]
xor edx, edx
mov ecx, dword [eax]
mov dword [esi + 0x10], ecx
mov dword [eax + 4], ebx
mov dword [eax], 0
mov ebx, dword [esi + 0xc]
inc ebx
lea ecx, [eax + 8]
mov dword [esi + 0xc], ebx
mov ebx, ecx
mov dword [ebx], edx
mov dword [ebx + 4], edx
mov dword [ebx + 8], edx
mov byte [ebx + 0xc], dl
mov edx, dword [esp + 0x14]
mov dword [ecx], edx
mov edx, dword [esp + 0x18]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x1c]
mov dword [ecx + 8], edx
mov dl, byte [esp + 0x20]
mov byte [ecx + 0xc], dl
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x498dd7
mov dword [ecx], eax
jmp 0x498dda
mov dword [esi + 4], eax
push str.F2730835_2229_445E_97C7_l3F76l2771DA0
lea ecx, [edi + 0x1c8]
mov dword [esi + 8], eax
call sub.MFC42.DLL_CStringList::AddTail
mov eax, dword [esp + 0x50]
xor ebp, ebp
mov dword [esp + 0x19], ebp
push eax
mov ebx, ebp
mov byte [esp + 0x18], 0x19
mov dword [esp + 0x1d], ebp
call dword [eax + 0x58]
mov edx, dword [edi + 0x180]
mov ecx, ebx
xor ecx, eax
mov eax, dword [esi + 0x10]
xor edx, ebp
and ecx, 0xfffff
and edx, 1
xor ebx, ecx
add esp, 4
xor ebp, edx
mov dword [esp + 0x15], ebx
mov ebx, dword [esi + 8]
test eax, eax
mov dword [esp + 0x1d], ebp
jne 0x498e61
mov eax, dword [esi + 0x18]
push 0x18
lea ecx, [esi + 0x14]
push eax
push ecx
call sub.MFC42.DLL_CPlex::Create
mov ecx, dword [esi + 0x18]
lea edx, [ecx + ecx*2]
dec ecx
test ecx, ecx
lea eax, [eax + edx*8 - 0x14]
jl 0x498e61
inc ecx
mov edx, dword [esi + 0x10]
mov dword [eax], edx
mov dword [esi + 0x10], eax
sub eax, 0x18
dec ecx
jne 0x498e53
mov eax, dword [esi + 0x10]
xor edx, edx
mov ecx, dword [eax]
mov dword [esi + 0x10], ecx
mov dword [eax + 4], ebx
mov dword [eax], 0
mov ebx, dword [esi + 0xc]
inc ebx
lea ecx, [eax + 8]
mov dword [esi + 0xc], ebx
mov ebx, ecx
mov dword [ebx], edx
mov dword [ebx + 4], edx
mov dword [ebx + 8], edx
mov byte [ebx + 0xc], dl
mov edx, dword [esp + 0x14]
mov dword [ecx], edx
mov edx, dword [esp + 0x18]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x1c]
mov dword [ecx + 8], edx
mov dl, byte [esp + 0x20]
mov byte [ecx + 0xc], dl
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x498eb1
mov dword [ecx], eax
jmp 0x498eb4
mov dword [esi + 4], eax
push str.F2730835_2229_445E_97C7_l3F76l2771DA
lea ecx, [esp + 0x14]
mov dword [esi + 8], eax
call fcn.004bd21e
mov ebx, 0x17
call dword [sym.imp.MSVCRT.dll_rand]
cdq
mov ecx, 6
idiv ecx
cmp edx, 4
ja case.default.0x498edd
jmp dword [edx*4 + 0x4991c4]
mov ebx, 0xc
jmp case.default.0x498edd
mov ebx, 5
jmp case.default.0x498edd
mov ebx, 0x1d
jmp case.default.0x498edd
mov ebx, 0x15
jmp case.default.0x498edd
mov ebx, 0xd
mov eax, dword [esp + 0x50]
xor ebp, ebp
push eax
mov dword [esp + 0x19], ebp
mov dword [esp + 0x1d], ebp
mov byte [esp + 0x18], bl
call dword [eax + 0x58]
mov ebx, eax
call dword [sym.imp.MSVCRT.dll_rand]
xor edx, edx
div ebx
mov eax, dword [esp + 0x54]
push eax
inc edx
mov dword [esp + 0x21], edx
call dword [eax + 0x58]
mov ecx, ebp
mov ebx, dword [esi + 8]
mov edx, ecx
add esp, 8
xor edx, eax
mov eax, dword [edi + 0x180]
xor eax, ebp
and edx, 0xfffff
and eax, 1
xor ecx, edx
xor ebp, eax
mov eax, dword [esi + 0x10]
test eax, eax
mov dword [esp + 0x15], ecx
mov dword [esp + 0x1d], ebp
jne 0x498f91
mov ecx, dword [esi + 0x18]
push 0x18
lea edx, [esi + 0x14]
push ecx
push edx
call sub.MFC42.DLL_CPlex::Create
mov ecx, dword [esi + 0x18]
lea edx, [ecx + ecx*2]
dec ecx
test ecx, ecx
lea eax, [eax + edx*8 - 0x14]
jl 0x498f91
inc ecx
mov edx, dword [esi + 0x10]
mov dword [eax], edx
mov dword [esi + 0x10], eax
sub eax, 0x18
dec ecx
jne 0x498f83
mov eax, dword [esi + 0x10]
xor edx, edx
mov ecx, dword [eax]
mov dword [esi + 0x10], ecx
mov dword [eax + 4], ebx
mov dword [eax], 0
mov ebx, dword [esi + 0xc]
inc ebx
lea ecx, [eax + 8]
mov dword [esi + 0xc], ebx
mov ebx, ecx
mov dword [ebx], edx
mov dword [ebx + 4], edx
mov dword [ebx + 8], edx
mov byte [ebx + 0xc], dl
mov edx, dword [esp + 0x14]
mov dword [ecx], edx
mov edx, dword [esp + 0x18]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x1c]
mov dword [ecx + 8], edx
mov dl, byte [esp + 0x20]
mov byte [ecx + 0xc], dl
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x498fe7
mov dword [ecx], eax
mov dword [esi + 8], eax
jmp 0x498b65
mov dword [esi + 4], eax
mov dword [esi + 8], eax
jmp 0x498b65
push ebp
call dword [ebp + 0x50]
add esp, 4
push eax
push 0x466
push 5
push ebp
call dword [ebp + 0x58]
add esp, 4
mov ecx, edi
push eax
call fcn.00494060
mov esi, dword [esp + 0x120]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x4c]
mov dword [esp + 0x40], 1
mov byte [esp + 0x118], 0x2e
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x7c]
mov byte [esp + 0x118], 0x2c
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xf4]
mov byte [esp + 0x118], 0xf
call sub.MFC42.DLL_CStringList::CStringList
lea ecx, [esp + 0x24]
mov byte [esp + 0x118], 0xa
call sub.MFC42.DLL_CString::CString
jmp 0x499173
push ebp
call dword [ebp + 0x50]
add esp, 4
push eax
push 0x47d
push 1
push ebp
call dword [ebp + 0x58]
add esp, 4
mov ecx, edi
push eax
call fcn.00494060
mov esi, dword [esp + 0x120]
push 0x658680
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
jmp 0x49916b
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x48]
push edx
push eax
lea ecx, [edi + 0x40]
call sub.MFC42.DLL_CMapStringToPtr::Lookup
test eax, eax
je 0x49910c
cmp dword [esp + 0x48], 5
jne 0x49910c
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call sub.MFC42.DLL_CString::CString_4
push esi
lea eax, [esp + 0x30]
push ebx
push eax
mov ecx, edi
call fcn.00496570
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x11c], 0x35
call sub.MFC42.DLL_CString::operator_3
lea ecx, [esp + 0x28]
mov byte [esp + 0x118], 0xa
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x60]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x499158
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x28]
push eax
push ecx
call fcn.004a4510
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x11c], 0x36
call sub.MFC42.DLL_CString::operator_3
lea ecx, [esp + 0x28]
mov byte [esp + 0x118], 0xa
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x10]
push edx
mov esi, dword [esp + 0x124]
mov ecx, esi
call sub.MFC42.DLL_CString::CString_4
mov dword [esp + 0x40], 1
lea ecx, [esp + 0x58]
mov byte [esp + 0x118], 9
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x118], 1
lea ecx, [esp + 0x60]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x118], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x110]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x10c
ret 0x14