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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4bc266
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2a8
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x1c], edi
call sub.MFC42.DLL_AfxGetThread
xor ebx, ebx
cmp eax, ebx
je 0x49cd93
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
mov dword [esp + 0x50], eax
jmp 0x49cd97
mov dword [esp + 0x50], ebx
mov dword [esp + 0x14], ebx
mov esi, dword [edi + 0x38]
mov dword [esp + 0x2c0], ebx
add esi, 0x10c
cmp dword [esi], ebx
jne 0x49cdb9
push 0x80004003
call fcn.004a796b
mov esi, dword [esi]
lea eax, [esp + 0x1f4]
push eax
mov ecx, esi
call fcn.0041a810
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2c4], 1
mov dword [esp + 0x2c], ebx
call fcn.00418c00
cmp eax, ebx
jge 0x49cdf1
cmp eax, 0x80004002
je 0x49cdf1
push eax
call fcn.004a796b
lea ecx, [esp + 0x1f4]
mov byte [esp + 0x2c0], 3
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp eax, ebx
jge 0x49ce11
push eax
call fcn.004a796b
mov dword [esp + 0x20], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x18], ebx
lea edx, [esp + 0x1b8]
mov byte [esp + 0x2c0], 6
push edx
call sub.MFC42.DLL_COleDateTime::GetTickCount
mov eax, dword [edi + 0x38]
mov dword [esp + 0x90], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x94], ebx
mov esi, dword [eax + 0x514]
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x7c], eax
cmp eax, ebx
mov byte [esp + 0x2c0], 7
je 0x49ce74
push esi
mov ecx, eax
call fcn.00419a60
jmp 0x49ce76
xor eax, eax
cmp eax, ebx
mov byte [esp + 0x2c0], 6
mov dword [esp + 0x3c], eax
jne 0x49ce90
push 0x8007000e
call fcn.004a796b
mov byte [esp + 0x2c0], 8
xor ebp, ebp
mov eax, dword [esp + 0x28]
mov dword [esp + 0x4c], ebp
cmp eax, ebx
jne 0x49ceb4
push 0x80004003
call fcn.004a796b
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
lea edx, [esp + 0xb4]
push edx
push eax
mov esi, eax
call dword [ecx + 0x20]
cmp eax, ebx
jge 0x49ced4
push 0x4da520
push esi
push eax
call fcn.004a7979
cmp ebp, dword [esp + 0xb4]
jge 0x49e09f
cmp dword [esp + 0x28], ebx
jne 0x49cef1
push 0x80004003
call fcn.004a796b
mov ecx, dword [esp + 0x28]
inc ebp
lea eax, [esp + 0x248]
push ebp
push eax
call fcn.00461060
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c4], 9
call fcn.0041f220
cmp eax, ebx
jge 0x49cf27
cmp eax, 0x80004002
je 0x49cf27
push eax
call fcn.004a796b
lea ecx, [esp + 0x248]
mov byte [esp + 0x2c0], 8
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp eax, ebx
jge 0x49cf47
push eax
call fcn.004a796b
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
je 0x49e095
lea edx, [esp + 0xc4]
push edx
call fcn.0041a160
mov esi, eax
mov ecx, esi
call fcn.0041f4a0
lea ecx, [esp + 0x20]
call fcn.00407880
mov eax, dword [esi]
lea ecx, [esp + 0xc4]
mov dword [esp + 0x20], eax
call fcn.00407880
cmp dword [esp + 0x14], ebx
jne 0x49cf94
push 0x80004003
call fcn.004a796b
lea ecx, [esp + 0xcc]
push ecx
mov ecx, dword [esp + 0x18]
call fcn.0041a200
mov esi, eax
mov ecx, esi
call fcn.0041f4a0
lea ecx, [esp + 0x18]
call fcn.00407880
mov edx, dword [esi]
lea ecx, [esp + 0xcc]
mov dword [esp + 0x18], edx
call fcn.00407880
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x49cfdf
push 0x80004003
call fcn.004a796b
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x5a]
push edx
push eax
mov esi, eax
call dword [ecx + 0x60]
cmp eax, ebx
jge 0x49cffc
push 0x4da530
push esi
push eax
call fcn.004a7979
mov ax, word [esp + 0x5a]
cmp ax, 1
jne 0x49d0fb
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x49d021
push 0x80004003
call fcn.004a796b
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0xd4]
push edx
push eax
mov esi, eax
call dword [ecx + 0x58]
cmp eax, ebx
jge 0x49d041
push 0x4da530
push esi
push eax
call fcn.004a7979
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x49d057
push 0x80004003
call fcn.004a796b
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x1d4]
push edx
push eax
mov esi, eax
call dword [ecx + 0x50]
cmp eax, ebx
jge 0x49d077
push 0x4da530
push esi
push eax
call fcn.004a7979
fld qword [esp + 0x1d4]
lea eax, [esp + 0x1c4]
lea ecx, [esp + 0x204]
push eax
push ecx
fstp qword [esp + 0x1cc]
lea ecx, [esp + 0x1c0]
mov dword [esp + 0x1d4], ebx
call fcn.004a6c42
fld qword [esp + 0x204]
fmul qword [0x4bfd78]
fadd qword [0x4bfd70]
call sub.MSVCRT.dll__ftol
mov ecx, dword [esp + 0xd4]
sub ecx, eax
cmp ecx, ebx
jg 0x49e095
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x18]
push edx
call fcn.0041f4c0
test eax, eax
jne 0x49d574
mov eax, dword [edi + 0x38]
cmp dword [eax + 0x42c], ebx
je 0x49e095
jmp 0x49d574
cmp ax, 2
je 0x49d10b
cmp ax, 5
jne 0x49e095
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x49d121
push 0x80004003
call fcn.004a796b
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x158]
push edx
push eax
mov esi, eax
call dword [ecx + 0x68]
cmp eax, ebx
jge 0x49d141
push 0x4da530
push esi
push eax
call fcn.004a7979
mov eax, dword [esp + 0x15c]
mov ecx, dword [esp + 0x158]
push eax
push ecx
lea ecx, [esp + 0x94]
call sub.MFC42.DLL_COleCurrency::operator_1
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x49d173
push 0x80004003
call fcn.004a796b
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
lea ecx, [esp + 0x138]
push ecx
push eax
mov esi, eax
call dword [edx + 0x70]
cmp eax, ebx
jge 0x49d193
push 0x4da530
push esi
push eax
call fcn.004a7979
mov edx, dword [esp + 0x138]
mov eax, dword [esp + 0x13c]
mov dword [esp + 0x188], edx
lea ecx, [esp + 0x188]
lea edx, [esp + 0x27c]
push ecx
push edx
lea ecx, [esp + 0x94]
mov dword [esp + 0x194], eax
mov dword [esp + 0x198], ebx
call fcn.004a6c48
push eax
lea ecx, [esp + 0x90]
call fcn.004a6a8c
mov esi, dword [edi + 0x38]
add esi, 0x110
cmp dword [esi], ebx
jne 0x49d1f6
push 0x80004003
call fcn.004a796b
mov esi, dword [esi]
lea ecx, [esp + 0x1d0]
push ecx
push 0x4c5460
mov eax, dword [esi]
push esi
call dword [eax]
mov eax, dword [esp + 0x14]
mov dword [esp + 0xa8], ebx
cmp eax, ebx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xac], ebx
mov dword [esp + 0x198], ebx
mov dword [esp + 0x194], ebx
mov dword [esp + 0x19c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x64], ebx
jne 0x49d256
push 0x80004003
call fcn.004a796b
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
lea ecx, [esp + 0x140]
push ecx
push eax
mov esi, eax
call dword [edx + 0xb4]
cmp eax, ebx
jge 0x49d279
push 0x4da530
push esi
push eax
call fcn.004a7979
mov edx, dword [esp + 0x144]
mov eax, dword [esp + 0x140]
push edx
push eax
lea ecx, [esp + 0x64]
call sub.MFC42.DLL_COleCurrency::operator_1
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0041f4c0
test eax, eax
je 0x49d480
lea edx, [esp + 0x5c]
lea ecx, [esp + 0x194]
push edx
call fcn.004a6a8c
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x49d2cf
push 0x80004003
call fcn.004a796b
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0xdc]
push edx
push eax
mov esi, eax
call dword [ecx + 0xd0]
cmp eax, ebx
jge 0x49d2f2
push 0x4da530
push esi
push eax
call fcn.004a7979
mov ecx, dword [esp + 0x18]
cmp ecx, ebx
je 0x49d301
call fcn.00407920
jmp 0x49d303
xor eax, eax
push eax
lea ecx, [esp + 0xf0]
call sub.MFC42.DLL_CString::CString_1
mov esi, eax
mov ecx, dword [esp + 0x20]
mov byte [esp + 0x2c0], 0xa
cmp ecx, ebx
je 0x49d329
call fcn.00407920
jmp 0x49d32b
xor eax, eax
push eax
lea ecx, [esp + 0xe8]
call sub.MFC42.DLL_CString::CString_1
mov edx, dword [esp + 0xdc]
lea ecx, [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x54]
push esi
push edx
push eax
lea eax, [esp + 0x2b0]
push eax
add ecx, 0xe0
mov byte [esp + 0x2d4], 0xb
call fcn.004627c0
push eax
lea ecx, [esp + 0x60]
call fcn.004a6a8c
lea ecx, [esp + 0xe4]
mov byte [esp + 0x2c0], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xec]
mov byte [esp + 0x2c0], 8
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x5c]
mov edi, dword [esp + 0x60]
mov esi, dword [edx + 0x38]
add esi, 0x110
cmp dword [esi], ebx
jne 0x49d3bb
push 0x80004003
call fcn.004a796b
mov esi, dword [esi]
lea ecx, [esp + 0xb0]
push ecx
push esi
mov eax, dword [esi]
call dword [eax + 0x1c]
cmp eax, ebx
jge 0x49d3db
push 0x4da610
push esi
push eax
call fcn.004a7979
mov edx, dword [esp + 0x1c]
mov esi, dword [edx + 0x38]
add esi, 0x110
cmp dword [esi], ebx
jne 0x49d3f6
push 0x80004003
call fcn.004a796b
mov esi, dword [esi]
lea ecx, [esp + 0x100]
push ecx
push esi
mov eax, dword [esi]
call dword [eax + 0x3c]
cmp eax, ebx
jge 0x49d416
push 0x4da610
push esi
push eax
call fcn.004a7979
mov edx, dword [esp + 0x1c]
mov esi, dword [edx + 0x38]
add esi, 0x128
cmp dword [esi], ebx
jne 0x49d431
push 0x80004003
call fcn.004a796b
mov edx, dword [esp + 0xb0]
mov esi, dword [esi]
lea ecx, [esp + 0x150]
mov eax, dword [esi]
push ecx
mov ecx, dword [esp + 0x104]
push edx
push ecx
push edi
push ebp
push esi
call dword [eax + 0x34]
cmp eax, ebx
jge 0x49d463
push 0x4da278
push esi
push eax
call fcn.004a7979
mov edx, dword [esp + 0x154]
mov eax, dword [esp + 0x150]
push edx
push eax
lea ecx, [esp + 0x64]
call sub.MFC42.DLL_COleCurrency::operator_1
mov edi, dword [esp + 0x1c]
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0xa8]
call fcn.004a6a8c
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x49d4a7
push 0x80004003
call fcn.004a796b
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
lea ecx, [esp + 0x110]
push ecx
push eax
mov esi, eax
call dword [edx + 0xac]
cmp eax, ebx
jge 0x49d4ca
push 0x4da530
push esi
push eax
call fcn.004a7979
mov edx, dword [esp + 0x110]
mov eax, dword [esp + 0x114]
mov dword [esp + 0x1a0], edx
lea ecx, [esp + 0x1a0]
lea edx, [esp + 0x270]
push ecx
push edx
lea ecx, [esp + 0xac]
mov dword [esp + 0x1ac], eax
mov dword [esp + 0x1b0], ebx
call fcn.004a6c48
push eax
lea ecx, [esp + 0xa8]
call fcn.004a6a8c
lea eax, [esp + 0xa4]
lea ecx, [esp + 0x8c]
push eax
call fcn.004a6c60
test eax, eax
je 0x49e095
mov ecx, dword [edi + 0x38]
cmp dword [ecx + 0x270], ebx
jne 0x49d553
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x18]
push edx
call fcn.0041f4c0
test eax, eax
jne 0x49e095
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x18]
push eax
call fcn.0041f4c0
test eax, eax
jne 0x49d574
mov ecx, dword [edi + 0x38]
cmp dword [ecx + 0x42c], ebx
je 0x49e095
mov dword [esp + 0x38], ebx
mov esi, dword [edi + 0x38]
mov byte [esp + 0x2c0], 0xc
add esi, 0x10c
cmp dword [esi], ebx
jne 0x49d597
push 0x80004003
call fcn.004a796b
mov ecx, dword [esi]
lea edx, [esp + 0x260]
push edx
call fcn.0041a870
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x2c4], 0xd
mov dword [esp + 0x48], ebx
call fcn.00418820
cmp eax, ebx
jge 0x49d5cd
cmp eax, 0x80004002
je 0x49d5cd
push eax
call fcn.004a796b
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [esp + 0x260]
push eax
mov byte [esp + 0x2c4], 0xf
call edi
cmp eax, ebx
jge 0x49d5ef
push eax
call fcn.004a796b
cmp dword [esp + 0x14], ebx
jne 0x49d5ff
push 0x80004003
call fcn.004a796b
lea ecx, [esp + 0xfc]
push ecx
mov ecx, dword [esp + 0x18]
call fcn.0041a480
mov esi, eax
mov ecx, esi
call fcn.0041f4a0
lea ecx, [esp + 0x48]
call fcn.00407880
mov edx, dword [esi]
lea ecx, [esp + 0xfc]
mov dword [esp + 0x48], edx
call fcn.00407880
mov eax, dword [esp + 0x48]
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
mov dword [ecx], eax
call fcn.0041f4a0
lea ecx, [esp + 0x21c]
mov byte [esp + 0x2c4], 0xf
push ecx
lea ecx, [esp + 0x4c]
call fcn.00418170
mov ecx, eax
call fcn.0041b0e0
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x2c4], 0x11
call fcn.00418a10
cmp eax, ebx
jge 0x49d689
cmp eax, 0x80004002
je 0x49d689
push eax
call fcn.004a796b
lea edx, [esp + 0x218]
mov byte [esp + 0x2c0], 0xf
push edx
call edi
cmp eax, ebx
jge 0x49d6a5
push eax
call fcn.004a796b
push ebx
lea ecx, [esp + 0x3c]
or ebp, 0xffffffff
call fcn.00417f50
test al, al
jne 0x49d6f3
mov eax, dword [esp + 0x38]
cmp eax, ebx
jne 0x49d6cc
push 0x80004003
call fcn.004a796b
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
lea edx, [esp + 0xb8]
push edx
push eax
mov esi, eax
call dword [ecx + 0x34]
cmp eax, ebx
jge 0x49d6ec
push 0x4da400
push esi
push eax
call fcn.004a7979
mov ebp, dword [esp + 0xb8]
mov ecx, dword [esp + 0x1bc]
mov eax, dword [esp + 0x1b8]
mov dword [esp + 0x1ec], ecx
push ebx
push ebx
lea ecx, [esp + 0x70]
mov dword [esp + 0x1f0], eax
mov dword [esp + 0x74], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa8], ebx
call sub.MFC42.DLL_COleCurrency::SetCurrency
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x38]
mov esi, dword [eax + 0x118]
mov edi, dword [eax + 0x110]
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x49d785
push 0x80004003
call fcn.004a796b
mov eax, dword [esp + 0x14]
fld qword [esp + 0x1e8]
lea edx, [esp + 0x160]
mov ecx, dword [eax]
push edx
push esi
sub esp, 8
mov ebx, eax
fstp qword [esp]
push ebp
push edi
push eax
call dword [ecx + 0x30]
test eax, eax
jge 0x49d7b5
push 0x4da530
push ebx
push eax
call fcn.004a7979
mov eax, dword [esp + 0x164]
mov ecx, dword [esp + 0x160]
push eax
push ecx
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_COleCurrency::operator_1
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
xor ebx, ebx
mov edx, dword [ebp + 0x38]
cmp eax, ebx
mov edi, dword [edx + 0x118]
jne 0x49d7f3
push 0x80004003
call fcn.004a796b
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x118]
push edx
push edi
push eax
mov esi, eax
call dword [ecx + 0x2c]
cmp eax, ebx
jge 0x49d814
push 0x4da530
push esi
push eax
call fcn.004a7979
mov eax, dword [esp + 0x11c]
mov ecx, dword [esp + 0x118]
push eax
push ecx
lea ecx, [esp + 0x88]
call sub.MFC42.DLL_COleCurrency::operator_1
mov edx, dword [ebp + 0x38]
mov dword [esp + 0x108], ebx
mov dword [esp + 0x104], ebx
mov dword [esp + 0x10c], ebx
mov esi, dword [edx + 0x514]
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x40], eax
cmp eax, ebx
mov byte [esp + 0x2c0], 0x12
je 0x49d872
push esi
mov ecx, eax
call fcn.00419a60
jmp 0x49d874
xor eax, eax
cmp eax, ebx
mov byte [esp + 0x2c0], 0xf
mov dword [esp + 0x74], eax
jne 0x49d88e
push 0x8007000e
call fcn.004a796b
lea eax, [esp + 0x74]
lea ecx, [esp + 0x18]
push eax
call fcn.0041f4c0
test eax, eax
lea ecx, [esp + 0x74]
setne bl
call fcn.00407880
test bl, bl
je 0x49da79
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x108]
call fcn.004a6a8c
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x49d8d9
push 0x80004003
call fcn.004a796b
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
lea ecx, [esp + 0xe0]
push ecx
push eax
mov esi, eax
call dword [edx + 0xd0]
test eax, eax
jge 0x49d8fc
push 0x4da530
push esi
push eax
call fcn.004a7979
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x49d90b
call fcn.00407920
jmp 0x49d90d
xor eax, eax
push eax
lea ecx, [esp + 0xf8]
call sub.MFC42.DLL_CString::CString_1
mov esi, eax
mov ecx, dword [esp + 0x20]
mov byte [esp + 0x2c0], 0x13
test ecx, ecx
je 0x49d933
call fcn.00407920
jmp 0x49d935
xor eax, eax
push eax
lea ecx, [esp + 0xc4]
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esp + 0xe0]
lea edx, [esp + 0x2c]
push edx
push esi
push ecx
push eax
mov eax, dword [esp + 0x60]
lea edx, [esp + 0x2a4]
push edx
mov byte [esp + 0x2d4], 0x14
lea ecx, [eax + 0xe0]
call fcn.004627c0
push eax
lea ecx, [esp + 0x30]
call fcn.004a6a8c
lea ecx, [esp + 0xc0]
mov byte [esp + 0x2c0], 0x13
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xf4]
mov byte [esp + 0x2c0], 0xf
call sub.MFC42.DLL_CString::CString
mov esi, dword [ebp + 0x38]
mov edi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
add esi, 0x110
cmp dword [esi], 0
jne 0x49d9c2
push 0x80004003
call fcn.004a796b
mov esi, dword [esi]
lea edx, [esp + 0xc8]
push edx
push esi
mov ecx, dword [esi]
call dword [ecx + 0x1c]
test eax, eax
jge 0x49d9e2
push 0x4da610
push esi
push eax
call fcn.004a7979
mov esi, dword [ebp + 0x38]
add esi, 0x110
cmp dword [esi], 0
jne 0x49d9fa
push 0x80004003
call fcn.004a796b
mov esi, dword [esi]
lea ecx, [esp + 0xe8]
push ecx
push esi
mov eax, dword [esi]
call dword [eax + 0x3c]
test eax, eax
jge 0x49da1a
push 0x4da610
push esi
push eax
call fcn.004a7979
mov esi, dword [ebp + 0x38]
add esi, 0x128
cmp dword [esi], 0
jne 0x49da32
push 0x80004003
call fcn.004a796b
mov ecx, dword [esp + 0xc8]
mov esi, dword [esi]
lea eax, [esp + 0x128]
mov edx, dword [esi]
push eax
mov eax, dword [esp + 0xec]
push ecx
push eax
push ebx
push edi
push esi
call dword [edx + 0x34]
test eax, eax
jge 0x49da64
push 0x4da278
push esi
push eax
call fcn.004a7979
mov ecx, dword [esp + 0x12c]
mov edx, dword [esp + 0x128]
push ecx
push edx
jmp 0x49db4b
mov esi, dword [ebp + 0x38]
mov edi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
add esi, 0x110
cmp dword [esi], 0
jne 0x49da99
push 0x80004003
call fcn.004a796b
mov esi, dword [esi]
lea ecx, [esp + 0xd0]
push ecx
push esi
mov eax, dword [esi]
call dword [eax + 0x1c]
test eax, eax
jge 0x49dab9
push 0x4da610
push esi
push eax
call fcn.004a7979
mov esi, dword [ebp + 0x38]
add esi, 0x110
cmp dword [esi], 0
jne 0x49dad1
push 0x80004003
call fcn.004a796b
mov esi, dword [esi]
lea eax, [esp + 0xf8]
push eax
push esi
mov edx, dword [esi]
call dword [edx + 0x20]
test eax, eax
jge 0x49daf1
push 0x4da610
push esi
push eax
call fcn.004a7979
mov esi, dword [ebp + 0x38]
add esi, 0x128
cmp dword [esi], 0
jne 0x49db09
push 0x80004003
call fcn.004a796b
mov eax, dword [esp + 0xd0]
mov esi, dword [esi]
lea edx, [esp + 0x120]
mov ecx, dword [esi]
push edx
mov edx, dword [esp + 0xfc]
push eax
push edx
push ebx
push edi
push esi
call dword [ecx + 0x34]
test eax, eax
jge 0x49db3b
push 0x4da278
push esi
push eax
call fcn.004a7979
mov eax, dword [esp + 0x124]
mov ecx, dword [esp + 0x120]
push eax
push ecx
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_COleCurrency::operator_1
mov edx, dword [ebp + 0x38]
push 0xc
mov esi, dword [edx + 0x514]
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x40], eax
test eax, eax
mov byte [esp + 0x2c0], 0x15
je 0x49db81
push esi
mov ecx, eax
call fcn.00419a60
jmp 0x49db83
xor eax, eax
test eax, eax
mov byte [esp + 0x2c0], 0xf
mov dword [esp + 0x78], eax
jne 0x49db9d
push 0x8007000e
call fcn.004a796b
lea eax, [esp + 0x78]
lea ecx, [esp + 0x18]
push eax
call fcn.0041f4c0
test eax, eax
lea ecx, [esp + 0x78]
setne bl
call fcn.00407880
test bl, bl
je 0x49dcab
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x9c]
call fcn.004a6a8c
lea edx, [esp + 0x80]
lea eax, [esp + 0x2ac]
push edx
push eax
lea ecx, [esp + 0xa0]
call fcn.004a6c48
push eax
lea ecx, [esp + 0x9c]
call fcn.004a6a8c
lea ecx, [esp + 0x98]
push ecx
lea ecx, [esp + 0x90]
call sub.MFC42.DLL_COleCurrency::operator__1
test eax, eax
je 0x49dc57
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
test eax, eax
jne 0x49dc31
push 0x80004003
call fcn.004a796b
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
push ebx
push edi
push eax
mov esi, eax
call dword [edx + 0xb8]
test eax, eax
jge 0x49e075
push 0x4da530
push esi
push eax
call fcn.004a7979
jmp 0x49e075
lea eax, [esp + 0x8c]
lea ecx, [esp + 0x1dc]
push eax
push ecx
lea ecx, [esp + 0xa0]
call fcn.004a6bb2
lea edx, [esp + 0x68]
lea ecx, [esp + 0x1dc]
push edx
call fcn.004a6c84
test eax, eax
je 0x49dcab
lea eax, [esp + 0x1dc]
lea ecx, [esp + 0x288]
push eax
push ecx
lea ecx, [esp + 0x34]
call fcn.004a6bb2
push eax
lea ecx, [esp + 0x30]
call fcn.004a6a8c
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x174], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x170], edx
mov edx, dword [esp + 0x84]
mov dword [esp + 0x180], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x130], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x134], edx
test eax, eax
mov dword [esp + 0x184], ecx
jne 0x49dd05
push 0x80004003
call fcn.004a796b
lea edx, [esp + 0x170]
lea eax, [esp + 0x130]
push edx
lea ecx, [esp + 0x184]
push eax
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0xe4]
push 0
push edx
call fcn.0041a0f0
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x2c4], 0x16
call fcn.00419270
lea ecx, [esp + 0xd8]
mov byte [esp + 0x2c0], 0x18
call fcn.004013c0
lea eax, [esp + 0xf0]
push eax
call fcn.00418e70
mov ecx, dword [ebp + 0x38]
mov edx, dword [0x4bfd0c]
mov eax, dword [esp + 0xf0]
add ecx, 0x294
push ecx
mov ecx, dword [esp + 0x18]
add eax, edx
push 0x4bdba8
push eax
push ecx
call fcn.00419bb0
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x80]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x17c], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x178], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x168], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x148], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x14c], edx
test eax, eax
mov dword [esp + 0x16c], ecx
jne 0x49dde6
push 0x80004003
call fcn.004a796b
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x240]
push ecx
mov ecx, dword [esp + 0x28]
mov eax, dword [edx + 0x38]
mov esi, dword [eax + 0x124]
mov edi, dword [eax + 0x120]
mov ebp, dword [eax + 0x11c]
mov ebx, dword [eax + 0x118]
mov eax, dword [eax + 0x138]
mov dword [esp + 0x44], eax
call fcn.0041b020
lea edx, [esp + 0x230]
push eax
push edx
lea ecx, [esp + 0x2c]
call fcn.00418170
mov ecx, eax
call fcn.0041b020
push eax
lea eax, [esp + 0x260]
push eax
lea ecx, [esp + 0x30]
call fcn.00418170
mov ecx, eax
call fcn.0041afe0
lea ecx, [esp + 0x180]
push eax
lea edx, [esp + 0x154]
push ecx
lea eax, [esp + 0x178]
push edx
lea ecx, [esp + 0x23c]
push eax
push ecx
lea ecx, [esp + 0x40]
call fcn.00418170
mov ecx, eax
call fcn.0041b060
lea edx, [esp + 0x228]
push eax
push edx
lea ecx, [esp + 0x44]
call fcn.00418170
mov ecx, eax
call fcn.0041b0a0
push eax
mov eax, dword [esp + 0x60]
push esi
push edi
push ebp
push ebx
push eax
lea ecx, [esp + 0x48]
call fcn.00418170
mov ecx, eax
call fcn.00419f30
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x38]
mov edx, dword [ecx + 0x294]
push edx
push 0x4bdba8
push eax
call fcn.00419c70
push ecx
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
call fcn.00419440
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2c4], 0x18
call fcn.00418170
mov ecx, eax
call fcn.0041ac50
mov eax, dword [esi + 0x38]
lea ecx, [esp + 0xbc]
mov eax, dword [eax + 0x514]
push eax
call fcn.00419460
push eax
lea ecx, [esp + 0x1c]
call fcn.0041f4c0
test eax, eax
lea ecx, [esp + 0xbc]
setne bl
call fcn.00407880
test bl, bl
je 0x49e063
lea ecx, [esp + 0x1ac]
call fcn.004192e0
lea ecx, [esp + 0x238]
push ecx
lea ecx, [esp + 0x28]
call fcn.00418170
mov ecx, eax
call fcn.0041afe0
mov edx, dword [eax + 4]
lea ecx, [esp + 0x1ac]
push edx
mov eax, dword [eax]
push eax
call sub.MFC42.DLL_COleCurrency::operator_1
mov dword [esp + 0x54], 0
push 7
push 0
push 0x4bfda0
lea ecx, [esp + 0x60]
mov byte [esp + 0x2cc], 0x1a
call fcn.004185a0
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esp + 0x1b0]
call fcn.00419370
test eax, eax
je 0x49dfe3
mov edx, esi
lea ecx, [esp + 0x1f4]
push ecx
lea ecx, [esp + 0x1b0]
mov eax, dword [edx + 0x38]
mov esi, dword [eax + 0x124]
call fcn.004a6c5a
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x49dfce
mov edx, dword [ecx]
jmp 0x49dfd0
xor edx, edx
mov ecx, dword [esp + 0x54]
push esi
mov esi, dword [eax + 4]
mov eax, dword [eax]
mov edi, dword [ecx]
push esi
push eax
push edx
push ecx
call dword [edi + 0x2c]
call sub.MFC42.DLL_AfxGetThread
test eax, eax
je 0x49dff7
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
mov esi, eax
jmp 0x49dff9
xor esi, esi
cmp word [esi + 0xe8], 2
jne 0x49e052
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x49e012
call fcn.00407920
jmp 0x49e014
xor eax, eax
push eax
lea ecx, [esp + 0x80]
call sub.MFC42.DLL_CString::CString_1
push 2
lea ecx, [esp + 0x108]
push 0
push ecx
push eax
lea ecx, [esi + 0xe0]
mov byte [esp + 0x2d0], 0x1b
call fcn.004622e0
lea ecx, [esp + 0x7c]
mov byte [esp + 0x2c0], 0x1a
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x54]
mov byte [esp + 0x2c0], 0x18
call fcn.004013c0
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x24]
dec eax
mov dword [esp + 0x4c], eax
call fcn.004013c0
lea ecx, [esp + 0x44]
call fcn.004013c0
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c0], 8
call fcn.004013c0
mov edi, dword [esp + 0x1c]
xor ebx, ebx
mov ebp, dword [esp + 0x4c]
inc ebp
jmp 0x49ce9a
lea ecx, [esp + 0x3c]
call fcn.00407880
lea ecx, [esp + 0x18]
call fcn.00407880
lea ecx, [esp + 0x48]
call fcn.00407880
lea ecx, [esp + 0x20]
call fcn.00407880
lea ecx, [esp + 0x28]
call fcn.004013c0
lea ecx, [esp + 0x14]
call fcn.004013c0
mov ecx, dword [esp + 0x2b8]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret