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

Disassembly:
push 0xffffffffffffffff
push 0x5aef75
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 0x498492
mov esi, dword [esp + 0x120]
push 0x659680
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
jmp 0x49a0d6
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 0x49857f
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.004a5690
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.004a1330
cmp dword [ebp + 0xc], ebx
je 0x498548
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
cmp ecx, ebx
je 0x498548
cmp byte [eax + 8], 0x1f
jne 0x498548
cmp byte [ecx + 8], 0x1f
jne 0x498548
mov edx, dword [eax + 0xd]
mov esi, dword [ecx + 0xd]
cmp edx, esi
jne 0x498548
cmp ecx, ebx
mov dword [ebp + 8], ecx
je 0x49852b
mov dword [ecx], ebx
jmp 0x49852e
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 0x498500
mov ecx, ebp
call fcn.0046c130
jmp 0x498500
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.00498440
mov dword [esp + 0x40], 1
mov byte [esp + 0x118], 1
lea ecx, [esp + 0x2c]
jmp 0x49a0c0
push esi
call dword [esi + 0x50]
add esp, 4
cmp eax, 0x72
jne 0x4986f0
push 0
push esi
call dword [esi + 0x38]
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x498788
push 0
push ebp
call dword [ebp + 0x38]
mov esi, eax
add esp, 8
test esi, esi
jne 0x4985d1
mov esi, dword [esp + 0x120]
push 0x659680
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
mov dword [esp + 0x40], 1
jmp 0x49a0c5
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.004be14e
lea edx, [esp + 0x74]
push ebp
push edx
mov ecx, edi
mov byte [esp + 0x120], 3
call fcn.004a5690
mov eax, dword [eax]
mov byte [esp + 0x118], 4
push eax
lea eax, [esp + 0x74]
push eax
call fcn.004a5440
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.004974a0
mov dword [esp + 0x40], 1
jmp 0x49a0c5
push esi
call dword [esi + 0x50]
add esp, 4
cmp eax, 0x75
jne 0x49874f
mov eax, dword [edi + 0x190]
test eax, eax
jne 0x49873a
push 0
push 0x3b5
push 0xc
push esi
call dword [esi + 0x58]
add esp, 4
mov ecx, edi
push eax
call fcn.00494f90
mov esi, dword [esp + 0x120]
push 0x659680
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
mov dword [esp + 0x40], ebp
jmp 0x49a0c5
mov ecx, dword [edi + 0x18c]
add ecx, 8
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_3
jmp 0x498788
lea edx, [esp + 0x30]
push esi
push edx
mov ecx, edi
call fcn.004a5690
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 0x498821
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 0x498821
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 0x49a0b4
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 0x4988db
cmp dword [esp + 0x48], 1
jne 0x4988db
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x30]
push ecx
push edx
call fcn.004a5440
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 0x659680
push ebp
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x49892d
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 0x49892d
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 0x49892d
cmp dword [esp + 0x48], 1
jne 0x49892d
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x30]
push edx
push eax
call fcn.004a5440
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 0x499aaa
mov ecx, dword [esp + 0x68]
push ecx
push ebx
call dword [ebx + 0x38]
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x498969
mov eax, dword [esp + 0x68]
test eax, eax
jne 0x499aaa
push ebp
call dword [ebp + 0x50]
add esp, 4
cmp eax, 0x78
jne 0x498a2a
push 0x2e
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_2
test eax, eax
jge 0x4989c3
mov edx, dword [esp + 0x10]
lea eax, [esp + 0xc4]
push edx
push eax
call fcn.004a5440
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.004be538
lea ecx, [esp + 0xb8]
push ebp
push ecx
mov ecx, edi
call fcn.004a5690
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 0x499782
push ebp
call dword [ebp + 0x50]
add esp, 4
cmp eax, 0x66
jne 0x499fa7
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 0x498b0b
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 0x659680
push ecx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x498b0b
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.004be14e
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 0x498b75
cmp dword [esp + 0x48], 5
jne 0x498b75
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.004974a0
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 0x499764
mov edx, dword [esp + 0x24]
push 0x659680
push edx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x49945e
xor ebx, ebx
push ebp
mov dword [esp + 0x34], ebx
call dword [ebp + 0x44]
add esp, 4
test eax, eax
jbe 0x499351
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.00496920
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 0x64ab00
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 0x49931c
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 0x49931c
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 0x499314
push str.F2730835_2229_445E_97C7_l3F7612771DA
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::Find_3
test eax, eax
jne 0x4992ff
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 0x498e61
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 0x498d5f
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 0x498d5f
inc ecx
mov edx, dword [esi + 0x10]
mov dword [eax], edx
mov dword [esi + 0x10], eax
sub eax, 0x18
dec ecx
jne 0x498d51
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.0046bf80
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 0x498db9
mov dword [eax], ebx
jmp 0x498dbc
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, 0x678c50
call fcn.004d3090
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 0x498fb4
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 0x498eee
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 0x498eee
inc ecx
mov edx, dword [esi + 0x10]
mov dword [eax], edx
mov dword [esi + 0x10], eax
sub eax, 0x18
dec ecx
jne 0x498ee0
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.0046bf80
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 0x498f48
mov dword [eax], ebx
jmp 0x498f4b
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 0x499189
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 0x499069
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 0x499070
inc ecx
mov edx, dword [ebx + 0x10]
mov dword [eax], edx
mov dword [ebx + 0x10], eax
sub eax, 0x18
dec ecx
jne 0x499059
jmp 0x499070
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.0046bf80
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 0x4990d9
mov edx, dword [esp + 0x34]
mov dword [eax], edx
jmp 0x4990e0
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, 0x678c50
call fcn.004d3090
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 0x4992e7
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 0x49920f
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 0x499216
inc ecx
mov edx, dword [ebx + 0x10]
mov dword [eax], edx
mov dword [ebx + 0x10], eax
sub eax, 0x18
dec ecx
jne 0x4991ff
jmp 0x499216
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.0046bf80
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 0x499273
mov edx, dword [esp + 0x34]
mov dword [eax], edx
jmp 0x49927a
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 0x49931c
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 0x49931c
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 0x498ba5
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CString::CString_3
inc ebx
lea edx, [esp + 0x44]
push ebx
push 0x64ab00
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 0x499391
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 0x4993bb
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 0x499410
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 0x4993e5
test ebp, ebp
je 0x499430
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.00494f90
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 0x499764
mov edx, dword [esp + 0x10]
push str.BEGINTHREAD
push edx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x499796
mov eax, dword [esp + 0x10]
push str.ISVALIDUSER
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x499ae1
push 0xa
lea ecx, [esp + 0xf8]
call fcn.004be2a4
push ebp
mov byte [esp + 0x11c], 0x2c
xor ebx, ebx
call dword [ebp + 0x44]
add esp, 4
test eax, eax
jbe 0x499505
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.00496920
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 0x4994b7
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 0x499553
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_3
jmp 0x4995de
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 0x49959a
mov ebx, dword [eax + edx*4]
test ebx, ebx
je 0x49959a
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 0x49961e
mov ebx, dword [ebx]
test ebx, ebx
jne 0x49957a
push 0x2e
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_2
test eax, eax
jge 0x4995de
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x28]
push ecx
push edx
call fcn.004a5440
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.004be538
mov ebx, dword [esp + 0xf8]
test ebx, ebx
je 0x499723
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 0x499723
push 0x2c
lea ecx, [esp + 0x14]
call fcn.004be538
jmp 0x4995f8
test ebx, ebx
je 0x49959a
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 0x499f22
mov ecx, dword [ebx + 4]
mov eax, dword [esp + 0x100]
cmp ecx, eax
jne 0x499f22
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 0x4995d9
push 0x29
lea ecx, [esp + 0x14]
call fcn.004be538
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 0x49894b
jmp 0x499aaa
push ebx
mov ecx, edi
call fcn.004a0960
mov eax, dword [edi + 0x13c]
push 0x659680
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.00498380
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 0x499969
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 0x49987d
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 0x49987d
inc ecx
mov edx, dword [esi + 0x10]
mov dword [eax], edx
mov dword [esi + 0x10], eax
sub eax, 0x18
dec ecx
jne 0x49986f
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 0x4998cd
mov dword [ecx], eax
jmp 0x4998d0
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, 0x678c50
call fcn.004d3090
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 0x499a90
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 0x4999e0
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 0x4999e0
inc ecx
mov edx, dword [esi + 0x10]
mov dword [eax], edx
mov dword [esi + 0x10], eax
sub eax, 0x18
dec ecx
jne 0x4999d2
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 0x499a30
mov dword [ecx], eax
jmp 0x499a33
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.0049a1b0
test eax, eax
je 0x499fdd
lea ecx, [esp + 0x10]
push ecx
jmp 0x49a08d
mov eax, dword [edi + 0x17c]
test eax, eax
je 0x499c3d
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 0x499b70
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 0x499b70
inc ecx
mov edx, dword [esi + 0x10]
mov dword [eax], edx
mov dword [esi + 0x10], eax
sub eax, 0x18
dec ecx
jne 0x499b62
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 0x499bc0
mov dword [ecx], eax
jmp 0x499bc3
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, 0x678c50
call fcn.004d3090
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 0x499d1d
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 0x499cb7
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 0x499cb7
inc ecx
mov edx, dword [esi + 0x10]
mov dword [eax], edx
mov dword [esi + 0x10], eax
sub eax, 0x18
dec ecx
jne 0x499ca9
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 0x499d07
mov dword [ecx], eax
jmp 0x499d0a
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 0x499d91
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 0x499d91
inc ecx
mov edx, dword [esi + 0x10]
mov dword [eax], edx
mov dword [esi + 0x10], eax
sub eax, 0x18
dec ecx
jne 0x499d83
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 0x499de1
mov dword [ecx], eax
jmp 0x499de4
mov dword [esi + 4], eax
push str.F2730835_2229_445E_97C7_l3F76l2771DA
lea ecx, [esp + 0x14]
mov dword [esi + 8], eax
call fcn.004be14e
mov ebx, 0x17
call dword [sym.imp.MSVCRT.dll_rand]
cdq
mov ecx, 6
idiv ecx
cmp edx, 4
ja case.default.0x499e0d
jmp dword [edx*4 + 0x49a0f4]
mov ebx, 0xc
jmp case.default.0x499e0d
mov ebx, 5
jmp case.default.0x499e0d
mov ebx, 0x1d
jmp case.default.0x499e0d
mov ebx, 0x15
jmp case.default.0x499e0d
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 0x499ec1
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 0x499ec1
inc ecx
mov edx, dword [esi + 0x10]
mov dword [eax], edx
mov dword [esi + 0x10], eax
sub eax, 0x18
dec ecx
jne 0x499eb3
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 0x499f17
mov dword [ecx], eax
mov dword [esi + 8], eax
jmp 0x499a95
mov dword [esi + 4], eax
mov dword [esi + 8], eax
jmp 0x499a95
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.00494f90
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 0x49a0a3
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.00494f90
mov esi, dword [esp + 0x120]
push 0x659680
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
jmp 0x49a09b
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 0x49a03c
cmp dword [esp + 0x48], 5
jne 0x49a03c
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.004974a0
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 0x49a088
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x28]
push eax
push ecx
call fcn.004a5440
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