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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4bbfdc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x278
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x44], edi
call sub.MFC42.DLL_AfxGetThread
xor ebp, ebp
cmp eax, ebp
je 0x49a863
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
mov dword [esp + 0x4c], eax
jmp 0x49a867
mov dword [esp + 0x4c], ebp
lea ecx, [esp + 0xd8]
call sub.MFC42.DLL_CFile::CFile
lea ecx, [esp + 0x38]
mov dword [esp + 0x290], ebp
call fcn.004a6948
mov eax, dword [edi + 0x38]
lea ecx, [esp + 0x38]
add eax, 8
mov byte [esp + 0x290], 1
push eax
push str._sCurrentData.dat
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x44]
add esp, 0xc
lea ecx, [esp + 0xd8]
push ebp
push 0x9001
push edx
call sub.MFC42.DLL_CFile::Open
test eax, eax
je 0x49b98f
lea eax, [esp + 0x84]
push eax
call sub.MFC42.DLL_CTime::GetTickCount
lea ecx, [esp + 0x84]
push 4
push ecx
lea ecx, [esp + 0xe0]
call sub.MFC42.DLL_CFile::Write
mov dword [esp + 0x14], ebp
mov esi, dword [edi + 0x38]
mov byte [esp + 0x290], 2
add esi, 0x10c
cmp dword [esi], ebp
jne 0x49a909
push 0x80004003
call fcn.004a796b
mov ecx, dword [esi]
lea edx, [esp + 0x14c]
push edx
call fcn.0041a810
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x294], 3
mov dword [esp + 0x24], ebp
call fcn.00418c00
cmp eax, ebp
jge 0x49a93f
cmp eax, 0x80004002
je 0x49a93f
push eax
call fcn.004a796b
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [esp + 0x14c]
push eax
mov byte [esp + 0x294], 5
call ebx
cmp eax, ebp
jge 0x49a961
push eax
call fcn.004a796b
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x34], ebp
lea ecx, [esp + 0x18]
mov byte [esp + 0x290], 7
call fcn.004a6948
mov esi, dword [edi + 0x38]
mov dword [esp + 0x28], ebp
add esi, 0x110
mov dword [esp + 0x24], ebp
mov dword [esp + 0x2c], ebp
mov byte [esp + 0x290], 8
cmp dword [esi], ebp
jne 0x49a9a5
push 0x80004003
call fcn.004a796b
mov esi, dword [esi]
lea edx, [esp + 0x6c]
push edx
push 0x4c5460
mov ecx, dword [esi]
push esi
call dword [ecx]
lea eax, [esp + 0x160]
push eax
call sub.MFC42.DLL_COleDateTime::GetTickCount
mov esi, dword [edi + 0x38]
mov dword [esp + 0x50], 0xffffffff
add esi, 0x10c
cmp dword [esi], ebp
jne 0x49a9e2
push 0x80004003
call fcn.004a796b
mov ecx, dword [esi]
lea edx, [esp + 0x14c]
push edx
call fcn.0041a870
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x294], 9
mov dword [esp + 0x44], ebp
call fcn.00418820
cmp eax, ebp
jge 0x49aa18
cmp eax, 0x80004002
je 0x49aa18
push eax
call fcn.004a796b
lea eax, [esp + 0x14c]
mov byte [esp + 0x290], 0xb
push eax
call ebx
cmp eax, ebp
jge 0x49aa34
push eax
call fcn.004a796b
mov dword [esp + 0x3c], ebp
push ebp
push 1
lea ecx, [esp + 0xf0]
mov byte [esp + 0x298], 0xc
mov dword [esp + 0xf4], ebp
mov dword [esp + 0xf0], ebp
mov dword [esp + 0xf8], ebp
call sub.MFC42.DLL_COleCurrency::SetCurrency
mov dword [esp + 0x30], ebp
mov ecx, dword [edi + 0x38]
mov bl, 0xd
push 0xc
mov byte [esp + 0x294], bl
mov esi, dword [ecx + 0x514]
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x64], eax
cmp eax, ebp
mov byte [esp + 0x290], 0xe
je 0x49aa9e
push esi
mov ecx, eax
call fcn.00419a60
jmp 0x49aaa0
xor eax, eax
cmp eax, ebp
mov byte [esp + 0x290], bl
mov dword [esp + 0x68], eax
jne 0x49aab9
push 0x8007000e
call fcn.004a796b
mov byte [esp + 0x290], 0xf
xor esi, esi
mov eax, dword [esp + 0x20]
cmp eax, ebp
jne 0x49aad9
push 0x80004003
call fcn.004a796b
mov eax, dword [esp + 0x20]
mov edx, dword [eax]
lea ecx, [esp + 0xbc]
push ecx
push eax
mov edi, eax
call dword [edx + 0x20]
cmp eax, ebp
jge 0x49aaf9
push 0x4da520
push edi
push eax
call fcn.004a7979
cmp esi, dword [esp + 0xbc]
jge 0x49b92a
mov ecx, 0x2a
xor eax, eax
lea edi, [esp + 0x1dc]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
cmp dword [esp + 0x20], ebp
jne 0x49ab27
push 0x80004003
call fcn.004a796b
mov ecx, dword [esp + 0x20]
inc esi
lea edx, [esp + 0x1b4]
push esi
push edx
mov dword [esp + 0x6c], esi
call fcn.00461060
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x294], 0x10
call fcn.0041f220
cmp eax, ebp
jge 0x49ab61
cmp eax, 0x80004002
je 0x49ab61
push eax
call fcn.004a796b
lea eax, [esp + 0x1b4]
mov byte [esp + 0x290], 0xf
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp eax, ebp
jge 0x49ab81
push eax
call fcn.004a796b
cmp dword [esp + 0x14], ebp
jne 0x49ab91
push 0x80004003
call fcn.004a796b
lea ecx, [esp + 0xcc]
push ecx
mov ecx, dword [esp + 0x18]
call fcn.0041a160
mov esi, eax
mov ecx, esi
call fcn.0041f4a0
lea ecx, [esp + 0x1c]
call fcn.00407880
mov edx, dword [esi]
lea ecx, [esp + 0xcc]
mov dword [esp + 0x1c], edx
call fcn.00407880
lea ecx, [esp + 0x1c]
call fcn.0041f4a0
lea ecx, [esp + 0x34]
call fcn.00407880
mov ecx, dword [esp + 0x1c]
cmp ecx, ebp
mov dword [esp + 0x34], ecx
je 0x49abeb
call fcn.00407920
jmp 0x49abed
xor eax, eax
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x1dc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x14]
and ecx, 3
cmp eax, ebp
rep movsb byte es:[edi], byte [esi]
jne 0x49ac25
push 0x80004003
call fcn.004a796b
lea ecx, [esp + 0xd4]
push ecx
mov ecx, dword [esp + 0x18]
call fcn.0041a200
mov esi, eax
mov ecx, esi
call fcn.0041f4a0
lea ecx, [esp + 0x30]
call fcn.00407880
mov edx, dword [esi]
lea ecx, [esp + 0xd4]
mov dword [esp + 0x30], edx
call fcn.00407880
mov ecx, dword [esp + 0x30]
cmp ecx, ebp
je 0x49ac69
call fcn.00407920
jmp 0x49ac6b
xor eax, eax
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x1e6]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x14]
and ecx, 3
cmp eax, ebp
rep movsb byte es:[edi], byte [esi]
jne 0x49aca7
push 0x80004003
call fcn.004a796b
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0xd0]
push edx
push eax
mov esi, eax
call dword [ecx + 0x78]
cmp eax, ebp
jge 0x49acc7
push 0x4da530
push esi
push eax
call fcn.004a7979
mov eax, dword [esp + 0xd0]
mov ebx, dword [esp + 0x44]
lea ecx, [esp + 0xc4]
push eax
push ecx
mov ecx, ebx
call fcn.00499260
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x294], 0x11
call fcn.004a6a50
lea ecx, [esp + 0xc4]
mov byte [esp + 0x290], 0xf
call sub.MFC42.DLL_CString::CString
mov edi, dword [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x1f7]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x14]
and ecx, 3
cmp eax, ebp
rep movsb byte es:[edi], byte [esi]
jne 0x49ad42
push 0x80004003
call fcn.004a796b
lea ecx, [esp + 0x88]
push ecx
mov ecx, dword [esp + 0x18]
call fcn.0041a480
mov esi, eax
mov ecx, esi
call fcn.0041f4a0
lea ecx, [esp + 0x1c]
call fcn.00407880
mov edx, dword [esi]
lea ecx, [esp + 0x88]
mov dword [esp + 0x1c], edx
call fcn.00407880
mov ecx, dword [esp + 0x1c]
cmp ecx, ebp
je 0x49ad86
call fcn.00407920
jmp 0x49ad88
xor eax, eax
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x1ff]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x14]
and ecx, 3
cmp eax, ebp
rep movsb byte es:[edi], byte [esi]
jne 0x49adc4
push 0x80004003
call fcn.004a796b
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0xb4]
push edx
push eax
mov esi, eax
call dword [ecx + 0x98]
cmp eax, ebp
jge 0x49ade7
push 0x4da530
push esi
push eax
call fcn.004a7979
mov eax, dword [esp + 0xb4]
lea ecx, [esp + 0x90]
push eax
push ecx
mov ecx, dword [ebx + 0x38]
call fcn.0043b850
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x294], 0x12
call fcn.004a6a50
lea ecx, [esp + 0x90]
mov byte [esp + 0x290], 0xf
call sub.MFC42.DLL_CString::CString
mov edi, dword [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x210]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x14]
and ecx, 3
cmp eax, ebp
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], ebp
jne 0x49ae77
push 0x80004003
call fcn.004a796b
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0xfc]
push edx
push eax
mov esi, eax
call dword [ecx + 0x50]
cmp eax, ebp
jge 0x49ae97
push 0x4da530
push esi
push eax
call fcn.004a7979
mov eax, dword [esp + 0x100]
mov ecx, dword [esp + 0xfc]
push eax
push ecx
lea ecx, [esp + 0x78]
call sub.MFC42.DLL_COleDateTime::operator
lea edx, [esp + 0xb8]
push str._m__d__H:_M
push edx
lea ecx, [esp + 0x78]
call sub.MFC42.DLL_COleDateTime::Format
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x294], 0x13
call fcn.004a6a50
lea ecx, [esp + 0xb8]
mov byte [esp + 0x290], 0xf
call sub.MFC42.DLL_CString::CString
mov edi, dword [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x224]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x14]
and ecx, 3
cmp eax, ebp
rep movsb byte es:[edi], byte [esi]
jne 0x49af2a
push 0x80004003
call fcn.004a796b
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x108]
push edx
push eax
mov esi, eax
call dword [ecx + 0x68]
cmp eax, ebp
jge 0x49af4a
push 0x4da530
push esi
push eax
call fcn.004a7979
mov eax, dword [esp + 0x108]
mov ecx, dword [esp + 0x10c]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x14]
cmp eax, ebp
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], ebp
jne 0x49af7a
push 0x80004003
call fcn.004a796b
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
lea ecx, [esp + 0x118]
push ecx
push eax
mov esi, eax
call dword [edx + 0x70]
cmp eax, ebp
jge 0x49af9a
push 0x4da530
push esi
push eax
call fcn.004a7979
mov edx, dword [esp + 0x118]
mov eax, dword [esp + 0x11c]
mov dword [esp + 0x140], edx
lea ecx, [esp + 0x140]
lea edx, [esp + 0x1c4]
push ecx
push edx
lea ecx, [esp + 0x60]
mov dword [esp + 0x14c], eax
mov dword [esp + 0x150], ebp
call fcn.004a6c48
push eax
lea ecx, [esp + 0x5c]
call fcn.004a6a8c
mov esi, dword [ebx + 0x38]
add esi, 0x128
cmp dword [esi], ebp
jne 0x49aff7
push 0x80004003
call fcn.004a796b
mov ecx, dword [esi]
lea eax, [esp + 0x58]
lea edx, [esp + 0x98]
push eax
push edx
call fcn.00407980
mov esi, eax
mov ecx, esi
call fcn.0041f4a0
lea ecx, [esp + 0x1c]
call fcn.00407880
mov eax, dword [esi]
lea ecx, [esp + 0x98]
mov dword [esp + 0x1c], eax
call fcn.00407880
mov ecx, dword [esp + 0x1c]
cmp ecx, ebp
je 0x49b03e
call fcn.00407920
jmp 0x49b040
xor eax, eax
push eax
lea ecx, [esp + 0x1c]
call fcn.004a6942
lea ecx, [esp + 0x18]
lea edx, [esp + 0xc8]
push ecx
push 0x4de2ec
push edx
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x294], 0x14
call fcn.004a6a50
lea ecx, [esp + 0xc8]
mov byte [esp + 0x290], 0xf
call sub.MFC42.DLL_CString::CString
mov edi, dword [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x249]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x14]
and ecx, 3
cmp eax, ebp
rep movsb byte es:[edi], byte [esi]
jne 0x49b0c5
push 0x80004003
call fcn.004a796b
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0xf4]
push edx
push eax
mov esi, eax
call dword [ecx + 0x50]
cmp eax, ebp
jge 0x49b0e5
push 0x4da530
push esi
push eax
call fcn.004a7979
mov eax, dword [esp + 0xf8]
mov ecx, dword [esp + 0xf4]
push eax
push ecx
lea ecx, [esp + 0x78]
call sub.MFC42.DLL_COleDateTime::operator
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
push edx
lea ecx, [esp + 0xa4]
push eax
push ecx
mov ecx, ebx
call fcn.00499310
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x294], 0x15
call fcn.004a6a50
lea ecx, [esp + 0xa0]
mov byte [esp + 0x290], 0xf
call sub.MFC42.DLL_CString::CString
mov edi, dword [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x235]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x14]
and ecx, 3
cmp eax, ebp
rep movsb byte es:[edi], byte [esi]
jne 0x49b17b
push 0x80004003
call fcn.004a796b
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x4a]
push edx
push eax
mov esi, eax
call dword [ecx + 0xbc]
cmp eax, ebp
jge 0x49b19b
push 0x4da530
push esi
push eax
call fcn.004a7979
movsx edi, word [esp + 0x4a]
mov eax, dword [esp + 0x14]
cmp edi, ebp
jle 0x49b226
cmp eax, ebp
jne 0x49b1ba
push 0x80004003
call fcn.004a796b
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x138]
push edx
push eax
mov esi, eax
call dword [ecx + 0xb4]
cmp eax, ebp
jge 0x49b1dd
push 0x4da530
push esi
push eax
call fcn.004a7979
mov eax, dword [esp + 0x13c]
mov ecx, dword [esp + 0x138]
push eax
push ecx
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_COleCurrency::operator_1
mov eax, dword [esp + 0x14]
cmp eax, ebp
jne 0x49b20c
push 0x80004003
call fcn.004a796b
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
dec edi
push edi
push eax
mov esi, eax
call dword [edx + 0xc0]
cmp eax, ebp
jge 0x49b414
jmp 0x49b408
cmp eax, ebp
jne 0x49b238
push 0x80004003
call fcn.004a796b
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x48]
push edx
push eax
mov esi, eax
call dword [ecx + 0x90]
cmp eax, ebp
jge 0x49b258
push 0x4da530
push esi
push eax
call fcn.004a7979
cmp word [esp + 0x48], bp
je 0x49b2bb
mov eax, dword [ebx + 0x38]
mov edi, dword [eax + 0x118]
mov eax, dword [esp + 0x14]
cmp eax, ebp
jne 0x49b27e
push 0x80004003
call fcn.004a796b
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x128]
push edx
mov edx, dword [esp + 0x70]
push edi
push ebp
push ebp
push ebp
push edx
push eax
mov esi, eax
call dword [ecx + 0x30]
cmp eax, ebp
jge 0x49b2a7
push 0x4da530
push esi
push eax
call fcn.004a7979
mov eax, dword [esp + 0x12c]
mov ecx, dword [esp + 0x128]
push eax
jmp 0x49b3cf
push ecx
lea ecx, [esp + 0x18]
mov edx, esp
mov dword [esp + 0x160], esp
push edx
call fcn.00418170
mov ecx, eax
call fcn.0041a480
lea eax, [esp + 0x198]
lea ecx, [esp + 0x44]
push eax
mov byte [esp + 0x298], 0xf
call fcn.00418170
mov ecx, eax
call fcn.0041b0e0
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x294], 0x17
call fcn.00418a10
cmp eax, ebp
jge 0x49b319
cmp eax, 0x80004002
je 0x49b319
push eax
call fcn.004a796b
lea ecx, [esp + 0x194]
mov byte [esp + 0x290], 0xf
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp eax, ebp
jge 0x49b339
push eax
call fcn.004a796b
mov eax, dword [esp + 0x3c]
cmp eax, ebp
je 0x49b36c
mov edx, dword [eax]
lea ecx, [esp + 0xc0]
push ecx
push eax
mov esi, eax
call dword [edx + 0x34]
cmp eax, ebp
jge 0x49b361
push 0x4da400
push esi
push eax
call fcn.004a7979
mov edx, dword [esp + 0xc0]
mov dword [esp + 0x50], edx
mov eax, dword [esp + 0x14]
cmp eax, ebp
jne 0x49b382
push 0x80004003
call fcn.004a796b
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x110]
mov ecx, dword [eax]
push edx
mov edx, dword [esp + 0x168]
push ebp
push edx
mov edx, dword [esp + 0x16c]
mov esi, eax
push edx
mov edx, dword [esp + 0x60]
push edx
mov edx, dword [esp + 0x80]
push edx
push eax
call dword [ecx + 0x30]
cmp eax, ebp
jge 0x49b3c0
push 0x4da530
push esi
push eax
call fcn.004a7979
mov eax, dword [esp + 0x114]
mov ecx, dword [esp + 0x110]
push eax
push ecx
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_COleCurrency::operator_1
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
test eax, eax
jne 0x49b3f7
push 0x80004003
call fcn.004a796b
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
push ebp
push edi
push eax
mov esi, eax
call dword [edx + 0xb8]
test eax, eax
jge 0x49b414
push 0x4da530
push esi
push eax
call fcn.004a7979
lea eax, [esp + 0x68]
lea ecx, [esp + 0x30]
push eax
call fcn.0041f4c0
test eax, eax
jne 0x49b50e
mov ebp, dword [esp + 0x44]
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
mov esi, dword [ebp + 0x38]
add esi, 0x110
cmp dword [esi], 0
jne 0x49b44e
push 0x80004003
call fcn.004a796b
mov esi, dword [esi]
lea edx, [esp + 0xa8]
push edx
push esi
mov ecx, dword [esi]
call dword [ecx + 0x1c]
test eax, eax
jge 0x49b46e
push 0x4da610
push esi
push eax
call fcn.004a7979
mov esi, dword [ebp + 0x38]
add esi, 0x110
cmp dword [esi], 0
jne 0x49b486
push 0x80004003
call fcn.004a796b
mov esi, dword [esi]
lea ecx, [esp + 0xb0]
push ecx
push esi
mov eax, dword [esi]
call dword [eax + 0x20]
test eax, eax
jge 0x49b4a6
push 0x4da610
push esi
push eax
call fcn.004a7979
mov esi, dword [ebp + 0x38]
add esi, 0x128
cmp dword [esi], 0
jne 0x49b4be
push 0x80004003
call fcn.004a796b
mov ecx, dword [esp + 0xa8]
mov esi, dword [esi]
lea eax, [esp + 0x130]
mov edx, dword [esi]
push eax
mov eax, dword [esp + 0xb4]
push ecx
push eax
push ebx
push edi
push esi
call dword [edx + 0x34]
test eax, eax
jge 0x49b4f0
push 0x4da278
push esi
push eax
call fcn.004a7979
mov ecx, dword [esp + 0x134]
mov edx, dword [esp + 0x130]
push ecx
push edx
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_COleCurrency::operator_1
jmp 0x49b6e0
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x49b524
push 0x80004003
call fcn.004a796b
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x80]
push edx
push eax
mov esi, eax
call dword [ecx + 0xd0]
test eax, eax
jge 0x49b547
push 0x4da530
push esi
push eax
call fcn.004a7979
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x49b559
push 0x80004003
call fcn.004a796b
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x54]
push eax
call fcn.0041a200
mov ecx, dword [esp + 0x54]
mov byte [esp + 0x290], 0x18
test ecx, ecx
je 0x49b57e
call fcn.00407920
jmp 0x49b580
xor eax, eax
push eax
lea ecx, [esp + 0x90]
call sub.MFC42.DLL_CString::CString_1
mov esi, eax
mov ecx, dword [esp + 0x34]
mov byte [esp + 0x290], 0x19
test ecx, ecx
je 0x49b5a6
call fcn.00407920
jmp 0x49b5a8
xor eax, eax
push eax
lea ecx, [esp + 0x80]
call sub.MFC42.DLL_CString::CString_1
mov edx, dword [esp + 0x80]
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x50]
push esi
push edx
push eax
lea eax, [esp + 0x1e0]
push eax
add ecx, 0xe0
mov byte [esp + 0x2a4], 0x1a
call fcn.004627c0
push eax
lea ecx, [esp + 0x28]
call fcn.004a6a8c
lea ecx, [esp + 0x7c]
mov byte [esp + 0x290], 0x19
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x8c]
mov byte [esp + 0x290], 0x18
call sub.MFC42.DLL_CString::CString
mov ebp, dword [esp + 0x44]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x120], edx
mov esi, dword [ebp + 0x38]
mov dword [esp + 0x124], eax
add esi, 0x110
cmp dword [esi], 0
jne 0x49b644
push 0x80004003
call fcn.004a796b
mov esi, dword [esi]
lea edx, [esp + 0x94]
push edx
push esi
mov ecx, dword [esi]
call dword [ecx + 0x1c]
test eax, eax
jge 0x49b664
push 0x4da610
push esi
push eax
call fcn.004a7979
mov esi, dword [ebp + 0x38]
add esi, 0x110
cmp dword [esi], 0
jne 0x49b67c
push 0x80004003
call fcn.004a796b
mov edi, dword [esi]
mov esi, dword [ebp + 0x38]
add esi, 0x128
cmp dword [esi], 0
jne 0x49b696
push 0x80004003
call fcn.004a796b
mov eax, dword [esp + 0x94]
mov esi, dword [esi]
push eax
mov ecx, edi
call fcn.0041b700
lea ecx, [esp + 0x124]
push eax
lea edx, [esp + 0x1b4]
push ecx
push edx
mov ecx, esi
call fcn.0041b830
mov ecx, dword [eax + 4]
push ecx
lea ecx, [esp + 0x28]
mov edx, dword [eax]
push edx
call sub.MFC42.DLL_COleCurrency::operator_1
lea ecx, [esp + 0x54]
mov byte [esp + 0x290], 0xf
call fcn.00407880
lea eax, [esp + 0x18c]
lea ecx, [esp + 0x14]
push eax
call fcn.00418170
mov ecx, eax
call fcn.0049e120
mov ecx, dword [eax + 4]
push ecx
lea ecx, [esp + 0x17c]
mov edx, dword [eax]
push edx
call fcn.004193d0
lea eax, [esp + 0x178]
lea ecx, [esp + 0x24]
push eax
call fcn.00419310
lea ecx, [esp + 0x1a4]
push ecx
lea ecx, [esp + 0x18]
call fcn.00418170
mov ecx, eax
call fcn.0041a3a0
mov edx, dword [eax + 4]
lea ecx, [esp + 0x58]
push edx
mov eax, dword [eax]
push eax
call sub.MFC42.DLL_COleCurrency::operator_1
lea ecx, [esp + 0x184]
push ecx
lea ecx, [esp + 0x18]
call fcn.00418170
mov ecx, eax
call fcn.0041a3e0
mov edx, dword [eax + 4]
lea ecx, [esp + 0x16c]
push edx
mov eax, dword [eax]
push eax
call fcn.004193d0
lea ecx, [esp + 0x16c]
push ecx
lea ecx, [esp + 0x5c]
call fcn.00419310
lea edx, [esp + 0xe8]
lea eax, [esp + 0x24]
push edx
lea ecx, [esp + 0x150]
push eax
push ecx
lea ecx, [esp + 0x64]
call fcn.004a6bb2
mov ecx, eax
call fcn.0049e0f0
test eax, eax
je 0x49b7bf
lea ecx, [esp + 0x14]
call fcn.00418170
mov ecx, eax
call fcn.0041a370
cmp ax, 2
je 0x49b7d5
lea ecx, [esp + 0x14]
call fcn.00418170
mov ecx, eax
call fcn.0041a370
cmp ax, 5
jne 0x49b7e7
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call fcn.00418170
mov ecx, eax
call fcn.0049e160
mov ecx, dword [ebp + 0x38]
lea edx, [esp + 0x24]
lea eax, [esp + 0x9c]
push edx
push eax
add ecx, 0x128
call fcn.00418170
mov ecx, eax
call fcn.00407980
push eax
lea ecx, [esp + 0x20]
call fcn.004195a0
lea ecx, [esp + 0x9c]
call fcn.00407880
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x49b82e
call fcn.00407920
jmp 0x49b830
xor eax, eax
push eax
lea ecx, [esp + 0x1c]
call fcn.004a6942
lea ecx, [esp + 0x18]
lea edx, [esp + 0xa4]
push ecx
push 0x4de2ec
push edx
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x294], 0x1b
call fcn.004a6a50
lea ecx, [esp + 0xa4]
mov byte [esp + 0x290], 0xf
call sub.MFC42.DLL_CString::CString
mov edi, dword [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x258]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0xac]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x24]
push ecx
push edx
push eax
mov ecx, ebp
call fcn.00499480
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x294], 0x1c
call fcn.004a6a50
lea ecx, [esp + 0xac]
mov byte [esp + 0x290], 0xf
call sub.MFC42.DLL_CString::CString
mov edi, dword [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x267]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0xa9
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1e0]
push ecx
lea ecx, [esp + 0xe0]
call sub.MFC42.DLL_CFile::Write
mov esi, dword [esp + 0x64]
xor ebp, ebp
jmp 0x49aac3
lea ecx, [esp + 0xd8]
call sub.MFC42.DLL_CFile::Close
lea ecx, [esp + 0x68]
call fcn.00407880
lea ecx, [esp + 0x30]
call fcn.00407880
lea ecx, [esp + 0x3c]
call fcn.004013c0
lea ecx, [esp + 0x40]
call fcn.004013c0
lea ecx, [esp + 0x18]
mov byte [esp + 0x290], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
call fcn.00407880
lea ecx, [esp + 0x1c]
call fcn.00407880
lea ecx, [esp + 0x20]
call fcn.004013c0
lea ecx, [esp + 0x14]
call fcn.004013c0
lea ecx, [esp + 0x38]
mov byte [esp + 0x290], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xd8]
mov dword [esp + 0x290], 0xffffffff
call fcn.004a6d38
mov ecx, dword [esp + 0x288]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret