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

Disassembly:
push 0xffffffffffffffff
push 0x4a1244
mov eax, dword fs:[0]
push eax
sub esp, 0x1cc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4cd4a4]
xor eax, esp
push eax
lea eax, [esp + 0x1e0]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x18], edi
xor ebx, ebx
xor ebp, ebp
mov dword [esp + 0x14], ebx
cmp byte [edi + 0x22be], bl
mov dword [esp + 0x1e8], ebp
je 0x408bb5
mov dword [esp + 0x44], ebp
mov eax, dword [esp + 0x1f4]
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x4b3c14
mov byte [esp + 0x1f0], 1
mov dword [esp + 0x50], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x48], ebp
mov dword [esp + 0x60], ebp
mov byte [esp + 0x33], bl
call fcn.004027a0
mov esi, dword [esp + 0x1f4]
cmp esi, ebp
mov byte [esp + 0x1ec], 2
jne 0x4076b7
push 0x80004003
call fcn.0049fa80
mov ecx, esi
mov byte [esp + 0x1ec], 1
call fcn.00404e50
cmp dword [edi + 0x229c], ebp
jne 0x4076d8
push 0x80004003
call fcn.0049fa80
mov ecx, dword [edi + 0x229c]
push 1
lea eax, [esp + 0x28]
push eax
call fcn.00403960
mov esi, eax
cmp dword [esi], ebp
mov byte [esp + 0x1e8], 3
jne 0x407702
push 0x80004003
call fcn.0049fa80
mov esi, dword [esi]
mov ecx, dword [esi]
mov edx, dword [ecx + 0x17c]
push esi
call edx
cmp eax, ebp
jge 0x40771f
push 0x4b3a68
push esi
push eax
call fcn.0049fa90
mov eax, dword [esp + 0x24]
cmp eax, ebp
mov byte [esp + 0x1e8], 1
je 0x407737
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, edi
call fcn.00404420
fldz
fstp dword [esp + 0xa0]
mov word [esp + 0x98], 4
cmp dword [edi + 0x114], ebp
mov byte [esp + 0x1e8], 4
jne 0x40776b
push 0x80004003
call fcn.0049fa80
mov ecx, dword [edi + 0x114]
lea eax, [esp + 0x24]
push eax
call fcn.004034e0
mov esi, eax
cmp dword [esi], ebp
mov byte [esp + 0x1e8], 5
jne 0x407793
push 0x80004003
call fcn.0049fa80
mov esi, dword [esi]
mov ecx, dword [esi]
mov eax, dword [ecx + 0x13c]
lea edx, [esp + 0x98]
push edx
push esi
call eax
cmp eax, ebp
jge 0x4077b8
push 0x4b3b08
push esi
push eax
call fcn.0049fa90
mov eax, dword [esp + 0x24]
cmp eax, ebp
mov byte [esp + 0x1e8], 4
je 0x4077d0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x98]
push eax
mov byte [esp + 0x1ec], 1
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp dword [edi + 0x114], ebp
jne 0x4077f8
push 0x80004003
call fcn.0049fa80
mov ecx, dword [edi + 0x114]
lea edx, [esp + 0x24]
push edx
call fcn.004034e0
mov eax, dword [eax]
mov esi, dword [edi + 0x118]
cmp esi, eax
je 0x407832
cmp eax, ebp
mov dword [edi + 0x118], eax
je 0x407826
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
cmp esi, ebp
je 0x407832
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov eax, dword [esp + 0x24]
cmp eax, ebp
je 0x407842
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
cmp dword [edi + 0x118], ebp
jne 0x407854
push 0x80004003
call fcn.0049fa80
mov ecx, dword [edi + 0x118]
push 6
lea edx, [esp + 0xf0]
push edx
call fcn.004018a0
mov ecx, eax
mov byte [esp + 0x1e8], 6
call fcn.004029a0
fstp dword [esp + 0x20]
lea eax, [esp + 0xec]
push eax
mov byte [esp + 0x1ec], 1
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp dword [edi + 0x118], ebp
jne 0x4078a4
push 0x80004003
call fcn.0049fa80
mov esi, dword [edi + 0x118]
mov ecx, dword [esi]
mov eax, dword [ecx + 0x2c]
lea edx, [esp + 0x30]
push edx
push esi
call eax
cmp eax, ebp
jge 0x4078d0
push 0x4b3b08
push esi
push eax
call fcn.0049fa90
jmp 0x4078d0
fld dword [0x4b3c0c]
mov word [esp + 0x98], 4
fstp dword [esp + 0xa0]
cmp dword [edi + 0x114], ebp
mov byte [esp + 0x1e8], 7
jne 0x407901
push 0x80004003
call fcn.0049fa80
mov ecx, dword [edi + 0x114]
lea edx, [esp + 0xac]
push edx
call fcn.004034e0
mov esi, eax
cmp dword [esi], ebp
mov byte [esp + 0x1e8], 8
jne 0x40792c
push 0x80004003
call fcn.0049fa80
mov esi, dword [esi]
mov eax, dword [esi]
mov eax, dword [eax + 0x210]
lea ecx, [esp + 0xfc]
push ecx
push 0x4cd4c8
lea edx, [esp + 0xa0]
push edx
push esi
call eax
cmp eax, ebp
jge 0x40795e
push 0x4b3b08
push esi
push eax
call fcn.0049fa90
mov eax, dword [esp + 0xac]
cmp eax, ebp
mov byte [esp + 0x1e8], 7
je 0x407979
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x98]
push eax
mov byte [esp + 0x1ec], 1
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp dword [edi + 0x114], ebp
jne 0x4079a1
push 0x80004003
call fcn.0049fa80
mov ecx, dword [edi + 0x114]
lea edx, [esp + 0xd0]
push edx
call fcn.004034e0
mov esi, eax
or ebx, 1
cmp dword [esi], ebp
mov byte [esp + 0x1e8], 9
mov dword [esp + 0x14], ebx
jne 0x4079d3
push 0x80004003
call fcn.0049fa80
mov ecx, dword [esi]
lea eax, [esp + 0x7c]
push eax
call fcn.00403d20
mov esi, eax
or ebx, 2
cmp dword [esi], ebp
mov dword [esp + 0x1e8], 0xa
mov dword [esp + 0x14], ebx
jne 0x407a01
push 0x80004003
call fcn.0049fa80
mov ecx, dword [esi]
push 1
lea edx, [esp + 0xcc]
push edx
call fcn.00403960
mov esi, eax
or ebx, 4
cmp dword [esi], ebp
mov dword [esp + 0x1e8], 0xb
mov dword [esp + 0x14], ebx
jne 0x407a34
push 0x80004003
call fcn.0049fa80
mov ecx, dword [esi]
lea eax, [esp + 0x4c]
push eax
call fcn.00404db0
mov eax, dword [eax]
or ebx, 8
cmp eax, ebp
mov dword [esp + 0x1e8], 0xc
mov dword [esp + 0x14], ebx
je 0x407a5c
mov eax, dword [eax]
jmp 0x407a5e
xor eax, eax
cmp word [eax], 0xb
je 0x407d06
cmp dword [edi + 0x114], ebp
jne 0x407a7a
push 0x80004003
call fcn.0049fa80
mov ecx, dword [edi + 0x114]
lea edx, [esp + 0x74]
push edx
call fcn.004034e0
mov esi, eax
or ebx, 0x10
cmp dword [esi], ebp
mov dword [esp + 0x1e8], 0xd
mov dword [esp + 0x14], ebx
jne 0x407aac
push 0x80004003
call fcn.0049fa80
mov ecx, dword [esi]
lea eax, [esp + 0xc0]
push eax
call fcn.00403d20
mov esi, eax
or ebx, 0x20
cmp dword [esi], ebp
mov dword [esp + 0x1e8], 0xe
mov dword [esp + 0x14], ebx
jne 0x407add
push 0x80004003
call fcn.0049fa80
mov ecx, dword [esi]
push 1
lea edx, [esp + 0x70]
push edx
call fcn.00403960
mov esi, eax
or ebx, 0x40
cmp dword [esi], ebp
mov dword [esp + 0x1e8], 0xf
mov dword [esp + 0x14], ebx
jne 0x407b0d
push 0x80004003
call fcn.0049fa80
mov ecx, dword [esi]
lea eax, [esp + 0x34]
push eax
call fcn.00404db0
mov eax, dword [eax]
or ebx, 0x80
cmp eax, ebp
mov dword [esp + 0x1e8], 0x10
mov dword [esp + 0x14], ebx
je 0x407b38
mov eax, dword [eax]
jmp 0x407b3a
xor eax, eax
cmp word [eax], 0x2d
je 0x407d06
cmp dword [edi + 0x114], ebp
jne 0x407b56
push 0x80004003
call fcn.0049fa80
mov ecx, dword [edi + 0x114]
lea edx, [esp + 0xb8]
push edx
call fcn.004034e0
mov esi, eax
or ebx, 0x100
cmp dword [esi], ebp
mov dword [esp + 0x1e8], 0x11
mov dword [esp + 0x14], ebx
jne 0x407b8e
push 0x80004003
call fcn.0049fa80
mov ecx, dword [esi]
lea eax, [esp + 0x64]
push eax
call fcn.00403d20
mov esi, eax
or ebx, 0x200
cmp dword [esi], ebp
mov dword [esp + 0x1e8], 0x12
mov dword [esp + 0x14], ebx
jne 0x407bbf
push 0x80004003
call fcn.0049fa80
mov ecx, dword [esi]
push 1
lea edx, [esp + 0xb4]
push edx
call fcn.00403960
mov esi, eax
or ebx, 0x400
cmp dword [esi], ebp
mov dword [esp + 0x1e8], 0x13
mov dword [esp + 0x14], ebx
jne 0x407bf5
push 0x80004003
call fcn.0049fa80
mov ecx, dword [esi]
lea eax, [esp + 0x38]
push eax
call fcn.00404db0
mov eax, dword [eax]
or ebx, 0x800
cmp eax, ebp
mov dword [esp + 0x1e8], 0x14
mov dword [esp + 0x14], ebx
je 0x407c20
mov eax, dword [eax]
jmp 0x407c22
xor eax, eax
cmp word [eax], 0x20
je 0x407d06
cmp dword [edi + 0x114], ebp
jne 0x407c3e
push 0x80004003
call fcn.0049fa80
mov ecx, dword [edi + 0x114]
lea edx, [esp + 0x5c]
push edx
call fcn.004034e0
mov esi, eax
or ebx, 0x1000
cmp dword [esi], ebp
mov dword [esp + 0x1e8], 0x15
mov dword [esp + 0x14], ebx
jne 0x407c73
push 0x80004003
call fcn.0049fa80
mov ecx, dword [esi]
lea eax, [esp + 0xa8]
push eax
call fcn.00403d20
mov esi, eax
or ebx, 0x2000
cmp dword [esi], ebp
mov dword [esp + 0x1e8], 0x16
mov dword [esp + 0x14], ebx
jne 0x407ca7
push 0x80004003
call fcn.0049fa80
mov ecx, dword [esi]
push 1
lea edx, [esp + 0x8c]
push edx
call fcn.00403960
mov esi, eax
or ebx, 0x4000
cmp dword [esi], ebp
mov dword [esp + 0x1e8], 0x17
mov dword [esp + 0x14], ebx
jne 0x407cdd
push 0x80004003
call fcn.0049fa80
mov ecx, dword [esi]
lea eax, [esp + 0x3c]
push eax
call fcn.00404db0
mov eax, dword [eax]
or ebx, 0x8000
cmp eax, ebp
je 0x407cf9
mov eax, dword [eax]
jmp 0x407cfb
xor eax, eax
cmp word [eax], 9
mov byte [esp + 0x1f], 0
jne 0x407d0b
mov byte [esp + 0x1f], 1
test ebx, 0x8000
je 0x407d5f
mov eax, dword [esp + 0x3c]
and ebx, 0xffff7fff
cmp eax, ebp
je 0x407d5f
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ebp
jne 0x407d5b
cmp esi, ebp
je 0x407d5b
mov eax, dword [esi]
cmp eax, ebp
je 0x407d42
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x407d52
push eax
call sub.MFC80U.DLL_Ordinal_266
add esp, 4
push esi
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
mov dword [esp + 0x3c], ebp
test ebx, 0x4000
mov dword [esp + 0x1e8], 0x16
je 0x407d8f
mov eax, dword [esp + 0x88]
and ebx, 0xffffbfff
cmp eax, ebp
mov dword [esp + 0x14], ebx
je 0x407d8f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
test ebx, 0x2000
mov dword [esp + 0x1e8], 0x15
je 0x407dbf
mov eax, dword [esp + 0xa8]
and ebx, 0xffffdfff
cmp eax, ebp
mov dword [esp + 0x14], ebx
je 0x407dbf
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
test ebx, 0x1000
mov dword [esp + 0x1e8], 0x14
je 0x407dec
mov eax, dword [esp + 0x5c]
and ebx, 0xffffefff
cmp eax, ebp
mov dword [esp + 0x14], ebx
je 0x407dec
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
test ebx, 0x800
je 0x407e40
mov eax, dword [esp + 0x38]
and ebx, 0xfffff7ff
cmp eax, ebp
je 0x407e40
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ebp
jne 0x407e3c
cmp esi, ebp
je 0x407e3c
mov eax, dword [esi]
cmp eax, ebp
je 0x407e23
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x407e33
push eax
call sub.MFC80U.DLL_Ordinal_266
add esp, 4
push esi
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
mov dword [esp + 0x38], ebp
test ebx, 0x400
mov dword [esp + 0x1e8], 0x12
je 0x407e70
mov eax, dword [esp + 0xb0]
and ebx, 0xfffffbff
cmp eax, ebp
mov dword [esp + 0x14], ebx
je 0x407e70
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
test ebx, 0x200
mov dword [esp + 0x1e8], 0x11
je 0x407e9d
mov eax, dword [esp + 0x64]
and ebx, 0xfffffdff
cmp eax, ebp
mov dword [esp + 0x14], ebx
je 0x407e9d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
test ebx, 0x100
mov dword [esp + 0x1e8], 0x10
je 0x407ecd
mov eax, dword [esp + 0xb8]
and ebx, 0xfffffeff
cmp eax, ebp
mov dword [esp + 0x14], ebx
je 0x407ecd
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
test bl, bl
jns 0x407f1d
mov eax, dword [esp + 0x34]
and ebx, 0xffffff7f
cmp eax, ebp
je 0x407f1d
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ebp
jne 0x407f19
cmp esi, ebp
je 0x407f19
mov eax, dword [esi]
cmp eax, ebp
je 0x407f00
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x407f10
push eax
call sub.MFC80U.DLL_Ordinal_266
add esp, 4
push esi
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
mov dword [esp + 0x34], ebp
test bl, 0x40
mov dword [esp + 0x1e8], 0xe
je 0x407f44
mov eax, dword [esp + 0x6c]
and ebx, 0xffffffbf
cmp eax, ebp
mov dword [esp + 0x14], ebx
je 0x407f44
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
test bl, 0x20
mov dword [esp + 0x1e8], 0xd
je 0x407f6e
mov eax, dword [esp + 0xc0]
and ebx, 0xffffffdf
cmp eax, ebp
mov dword [esp + 0x14], ebx
je 0x407f6e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
test bl, 0x10
mov dword [esp + 0x1e8], 0xc
je 0x407f95
mov eax, dword [esp + 0x74]
and ebx, 0xffffffef
cmp eax, ebp
mov dword [esp + 0x14], ebx
je 0x407f95
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
test bl, 8
je 0x407fe3
mov eax, dword [esp + 0x4c]
and ebx, 0xfffffff7
cmp eax, ebp
je 0x407fe3
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ebp
jne 0x407fdf
cmp esi, ebp
je 0x407fdf
mov eax, dword [esi]
cmp eax, ebp
je 0x407fc6
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x407fd6
push eax
call sub.MFC80U.DLL_Ordinal_266
add esp, 4
push esi
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
mov dword [esp + 0x4c], ebp
test bl, 4
mov dword [esp + 0x1e8], 0xa
je 0x40800d
mov eax, dword [esp + 0xc8]
and ebx, 0xfffffffb
cmp eax, ebp
mov dword [esp + 0x14], ebx
je 0x40800d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
test bl, 2
mov dword [esp + 0x1e8], 9
je 0x408034
mov eax, dword [esp + 0x7c]
and ebx, 0xfffffffd
cmp eax, ebp
mov dword [esp + 0x14], ebx
je 0x408034
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
test bl, 1
mov dword [esp + 0x1e8], 1
je 0x40805a
mov eax, dword [esp + 0xd0]
and ebx, 0xfffffffe
cmp eax, ebp
je 0x40805a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp dword [edi + 0x114], ebp
jne 0x40806c
push 0x80004003
call fcn.0049fa80
mov ecx, dword [edi + 0x114]
lea eax, [esp + 0x84]
push eax
call fcn.004034e0
mov esi, eax
cmp dword [esi], ebp
mov byte [esp + 0x1e8], 0x18
jne 0x408097
push 0x80004003
call fcn.0049fa80
mov esi, dword [esi]
mov ecx, dword [esi]
mov eax, dword [ecx + 0x2c]
lea edx, [esp + 0xe0]
push edx
push esi
call eax
cmp eax, ebp
jge 0x4080b9
push 0x4b3b08
push esi
push eax
call fcn.0049fa90
mov eax, dword [esp + 0x84]
cmp eax, ebp
mov byte [esp + 0x1e8], 1
je 0x4080d4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
fldz
mov eax, 4
fstp dword [esp + 0x194]
mov word [esp + 0x18c], ax
mov word [esp + 0x138], 3
mov dword [esp + 0x140], 1
fld1
fstp dword [esp + 0x1a8]
mov word [esp + 0x1a0], ax
cmp dword [edi + 0x114], ebp
mov byte [esp + 0x1e8], 0x1b
jne 0x40812a
push 0x80004003
call fcn.0049fa80
mov ecx, dword [edi + 0x114]
lea eax, [esp + 0xd8]
push eax
call fcn.004034e0
mov esi, eax
cmp dword [esi], ebp
mov byte [esp + 0x1e8], 0x1c
jne 0x408155
push 0x80004003
call fcn.0049fa80
mov esi, dword [esi]
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x200]
lea edx, [esp + 0x124]
push edx
lea eax, [esp + 0x190]
push eax
lea edx, [esp + 0x140]
push edx
lea eax, [esp + 0x1ac]
push eax
push esi
call ecx
cmp eax, ebp
jge 0x408192
push 0x4b3b08
push esi
push eax
call fcn.0049fa90
mov eax, dword [esp + 0xd8]
cmp eax, ebp
mov byte [esp + 0x1e8], 0x1b
je 0x4081ad
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [esp + 0x1a0]
push ecx
call esi
lea edx, [esp + 0x138]
push edx
call esi
lea eax, [esp + 0x18c]
push eax
mov byte [esp + 0x1ec], 1
call esi
cmp dword [edi + 0x114], ebp
jne 0x4081eb
push 0x80004003
call fcn.0049fa80
mov ecx, dword [edi + 0x114]
lea edx, [esp + 0x8c]
push edx
call fcn.004034e0
mov esi, eax
cmp dword [esi], ebp
mov byte [esp + 0x1e8], 0x1d
jne 0x408216
push 0x80004003
call fcn.0049fa80
mov esi, dword [esi]
mov eax, dword [esi]
mov edx, dword [eax + 0x2c]
lea ecx, [esp + 0xe8]
push ecx
push esi
call edx
cmp eax, ebp
jge 0x408238
push 0x4b3b08
push esi
push eax
call fcn.0049fa90
mov eax, dword [esp + 0x8c]
cmp eax, ebp
mov byte [esp + 0x1e8], 1
je 0x408253
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0xe0]
cmp eax, dword [esp + 0xe8]
je 0x408b9d
mov esi, dword [esp + 0x18]
cmp dword [esi + 0x114], ebp
jne 0x40827d
push 0x80004003
call fcn.0049fa80
mov ecx, dword [esi + 0x114]
lea edx, [esp + 0xcc]
push edx
call fcn.004034e0
mov esi, eax
cmp dword [esi], ebp
mov byte [esp + 0x1e8], 0x1e
jne 0x4082a8
push 0x80004003
call fcn.0049fa80
mov ecx, dword [esi]
lea eax, [esp + 0x50]
push eax
call fcn.00403e10
mov esi, eax
cmp dword [esi], ebp
mov byte [esp + 0x1e8], 0x1f
jne 0x4082cc
push 0x80004003
call fcn.0049fa80
mov ecx, dword [esi]
lea edx, [esp + 0xe4]
push edx
call fcn.004036c0
mov esi, eax
cmp dword [esi], ebp
mov byte [esp + 0x1e8], 0x20
jne 0x4082f3
push 0x80004003
call fcn.0049fa80
mov ecx, dword [esi]
push 1
lea eax, [esp + 0x98]
push eax
call fcn.004039b0
mov esi, eax
cmp dword [esi], ebp
mov byte [esp + 0x1e8], 0x21
jne 0x40831c
push 0x80004003
call fcn.0049fa80
mov ecx, dword [esi]
lea edx, [esp + 0x2c]
push edx
call fcn.00404e00
mov eax, dword [esp + 0x94]
cmp eax, ebp
mov byte [esp + 0x1e8], 0x23
je 0x408343
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0xe4]
cmp eax, ebp
mov byte [esp + 0x1e8], 0x24
je 0x40835e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x50]
cmp eax, ebp
mov byte [esp + 0x1e8], 0x25
je 0x408376
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0xcc]
cmp eax, ebp
mov byte [esp + 0x1e8], 0x26
je 0x408391
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov edi, dword [esp + 0x2c]
cmp edi, ebp
je 0x408b94
mov eax, dword [edi]
cmp eax, ebp
je 0x408b94
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x408b94
cmp dword [edi + 4], ebp
jne 0x4083c6
mov eax, dword [edi]
push eax
call fcn.0049fd90
mov dword [edi + 4], eax
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.MSVCR80.dll_atoi]
add esp, 4
cmp eax, 1
jne 0x408b94
cmp byte [esp + 0x1f], 0
jne 0x4084f4
fldz
mov eax, 4
fstp dword [esp + 0x108]
mov word [esp + 0x100], ax
mov word [esp + 0x1b0], 3
mov dword [esp + 0x1b8], 1
fld1
fstp dword [esp + 0x160]
mov word [esp + 0x158], ax
mov ecx, dword [esp + 0x18]
cmp dword [ecx + 0x114], ebp
mov byte [esp + 0x1e8], 0x29
jne 0x408441
push 0x80004003
call fcn.0049fa80
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 0x114]
lea eax, [esp + 0xb4]
push eax
call fcn.004034e0
mov esi, eax
cmp dword [esi], ebp
mov byte [esp + 0x1e8], 0x2a
jne 0x408470
push 0x80004003
call fcn.0049fa80
mov esi, dword [esi]
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x1fc]
lea edx, [esp + 0x19c]
push edx
lea eax, [esp + 0x104]
push eax
lea edx, [esp + 0x1b8]
push edx
lea eax, [esp + 0x164]
push eax
push esi
call ecx
cmp eax, ebp
jge 0x4084ad
push 0x4b3b08
push esi
push eax
call fcn.0049fa90
mov eax, dword [esp + 0xb4]
cmp eax, ebp
mov byte [esp + 0x1e8], 0x29
je 0x4084c8
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [esp + 0x158]
push ecx
call esi
lea edx, [esp + 0x1b0]
push edx
call esi
lea eax, [esp + 0x100]
push eax
mov byte [esp + 0x1ec], 0x26
call esi
mov ecx, dword [esp + 0x18]
cmp dword [ecx + 0x114], ebp
jne 0x40850a
push 0x80004003
call fcn.0049fa80
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 0x114]
lea eax, [esp + 0xdc]
push eax
call fcn.004034e0
mov esi, eax
cmp dword [esi], ebp
mov byte [esp + 0x1e8], 0x2b
jne 0x408539
push 0x80004003
call fcn.0049fa80
mov ecx, dword [esi]
push 6
lea edx, [esp + 0x1c4]
push edx
call fcn.004018a0
mov ecx, eax
mov byte [esp + 0x1e8], 0x2c
call fcn.004029a0
fstp dword [esp + 0x14]
lea eax, [esp + 0x1c0]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [esp + 0xdc]
cmp eax, ebp
mov byte [esp + 0x1e8], 0x26
je 0x408586
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
fld dword [esp + 0x14]
fld dword [esp + 0x20]
fcompp
fnstsw ax
test ah, 0x41
jne 0x40895c
fldz
mov eax, 4
fstp dword [esp + 0x150]
mov word [esp + 0x148], ax
mov word [esp + 0x128], 3
mov dword [esp + 0x130], 1
fld1
fstp dword [esp + 0x11c]
mov word [esp + 0x114], ax
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x114], ebp
mov byte [esp + 0x1e8], 0x2f
jne 0x4085f5
push 0x80004003
call fcn.0049fa80
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + 0x114]
lea edx, [esp + 0xbc]
push edx
call fcn.004034e0
mov esi, eax
cmp dword [esi], ebp
mov byte [esp + 0x1e8], 0x30
jne 0x408624
push 0x80004003
call fcn.0049fa80
mov esi, dword [esi]
mov eax, dword [esi]
mov eax, dword [eax + 0x1fc]
lea ecx, [esp + 0x110]
push ecx
lea edx, [esp + 0x14c]
push edx
lea ecx, [esp + 0x130]
push ecx
lea edx, [esp + 0x120]
push edx
push esi
call eax
cmp eax, ebp
jge 0x408661
push 0x4b3b08
push esi
push eax
call fcn.0049fa90
mov eax, dword [esp + 0xbc]
cmp eax, ebp
mov byte [esp + 0x1e8], 0x2f
je 0x40867c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [esp + 0x114]
push eax
call esi
lea ecx, [esp + 0x128]
push ecx
call esi
lea edx, [esp + 0x148]
push edx
call esi
fldz
mov eax, 4
fstp dword [esp + 0xf4]
mov word [esp + 0xec], ax
mov word [esp + 0x17c], 3
mov dword [esp + 0x184], 1
fld1
fstp dword [esp + 0x170]
mov word [esp + 0x168], ax
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x114], ebp
mov byte [esp + 0x1e8], 0x33
jne 0x4086fa
push 0x80004003
call fcn.0049fa80
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + 0x114]
lea edx, [esp + 0xd4]
push edx
call fcn.004034e0
mov esi, eax
cmp dword [esi], ebp
mov byte [esp + 0x1e8], 0x34
jne 0x408729
push 0x80004003
call fcn.0049fa80
mov esi, dword [esi]
mov eax, dword [esi]
mov eax, dword [eax + 0x200]
lea ecx, [esp + 0x178]
push ecx
lea edx, [esp + 0xf0]
push edx
lea ecx, [esp + 0x184]
push ecx
lea edx, [esp + 0x174]
push edx
push esi
call eax
cmp eax, ebp
jge 0x408766
push 0x4b3b08
push esi
push eax
call fcn.0049fa90
mov eax, dword [esp + 0xd4]
cmp eax, ebp
mov byte [esp + 0x1e8], 0x33
je 0x408781
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [esp + 0x168]
push eax
call esi
lea ecx, [esp + 0x17c]
push ecx
call esi
lea edx, [esp + 0xec]
push edx
mov byte [esp + 0x1ec], 0x26
call esi
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x114], ebp
jne 0x4087c3
push 0x80004003
call fcn.0049fa80
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + 0x114]
lea edx, [esp + 0xc4]
push edx
call fcn.004034e0
mov esi, eax
cmp dword [esi], ebp
mov byte [esp + 0x1e8], 0x35
jne 0x4087f2
push 0x80004003
call fcn.0049fa80
mov ecx, dword [esi]
push 6
lea eax, [esp + 0x1d4]
push eax
call fcn.004018a0
mov ecx, eax
mov byte [esp + 0x1e8], 0x36
call fcn.004029a0
fstp dword [esp + 0x14]
lea ecx, [esp + 0x1d0]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [esp + 0xc4]
cmp eax, ebp
mov byte [esp + 0x1e8], 0x26
je 0x40883f
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov ecx, dword [esp + 0x18]
cmp dword [ecx + 0x114], ebp
jne 0x408855
push 0x80004003
call fcn.0049fa80
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 0x114]
lea eax, [esp + 0x54]
push eax
call fcn.004034e0
mov esi, eax
cmp dword [esi], ebp
mov byte [esp + 0x1e8], 0x37
jne 0x408881
push 0x80004003
call fcn.0049fa80
mov esi, dword [esi]
mov ecx, dword [esi]
mov eax, dword [ecx + 0x2c]
lea edx, [esp + 0x90]
push edx
push esi
call eax
cmp eax, ebp
jge 0x4088a3
push 0x4b3b08
push esi
push eax
call fcn.0049fa90
mov esi, dword [esp + 0x90]
mov eax, dword [esp + 0x54]
add esi, 0xffffffff
cmp eax, ebp
mov byte [esp + 0x1e8], 0x26
je 0x4088c5
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x78]
push ecx
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x38]
push eax
push esi
push esi
lea ecx, [esp + 0x4f]
push ecx
mov ecx, dword [esp + 0x40]
cmp dword [ecx + 0x2300], ebp
setne dl
push edx
call fcn.004044f0
sub esi, dword [esp + 0x48]
mov eax, dword [esp + 0x40]
lea ecx, [esi + eax + 1]
lea edx, [esp + 0x20]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x200]
push edx
call fcn.00405990
mov ecx, dword [esp + 0x204]
lea eax, [esp + 0x20]
mov esi, 0xfffffff6
push eax
mov dword [esp + 0x24], esi
call fcn.00405990
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x20c]
mov dword [esp + 0x24], esi
call fcn.00405920
mov eax, dword [esp + 0x1fc]
add dword [eax], 1
mov edx, dword [esp + 0x18]
fld dword [esp + 0x14]
cmp dword [edx + 0x114], ebp
fstp dword [esp + 0x20]
jne 0x40897a
push 0x80004003
call fcn.0049fa80
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x114]
lea edx, [esp + 0x30]
push edx
call fcn.004034e0
mov esi, eax
cmp dword [esi], ebp
mov byte [esp + 0x1e8], 0x38
jne 0x4089a6
push 0x80004003
call fcn.0049fa80
mov ecx, dword [esi]
lea eax, [esp + 0x80]
push eax
call fcn.00403e10
mov esi, eax
cmp dword [esi], ebp
mov byte [esp + 0x1e8], 0x39
jne 0x4089cd
push 0x80004003
call fcn.0049fa80
mov ecx, dword [esi]
lea edx, [esp + 0x78]
push edx
call fcn.004036c0
mov esi, eax
cmp dword [esi], ebp
mov byte [esp + 0x1e8], 0x3a
jne 0x4089f1
push 0x80004003
call fcn.0049fa80
mov ecx, dword [esi]
push 1
lea eax, [esp + 0x74]
push eax
call fcn.004039b0
mov esi, eax
cmp dword [esi], ebp
mov byte [esp + 0x1e8], 0x3b
jne 0x408a17
push 0x80004003
call fcn.0049fa80
mov ecx, dword [esi]
lea edx, [esp + 0x24]
push edx
call fcn.00404e00
mov esi, eax
lea eax, [esp + 0x2c]
cmp eax, esi
je 0x408a75
lea ecx, [edi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ebp
jne 0x408a61
mov eax, dword [edi]
cmp eax, ebp
je 0x408a48
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [edi + 4]
cmp eax, ebp
je 0x408a58
push eax
call sub.MFC80U.DLL_Ordinal_266
add esp, 4
push edi
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
mov edi, dword [esi]
cmp edi, ebp
mov dword [esp + 0x2c], edi
je 0x408a75
lea edx, [edi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov esi, dword [esp + 0x24]
cmp esi, ebp
je 0x408ab9
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ebp
jne 0x408ab5
cmp esi, ebp
je 0x408ab5
mov eax, dword [esi]
cmp eax, ebp
je 0x408a9c
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x408aac
push eax
call sub.MFC80U.DLL_Ordinal_266
add esp, 4
push esi
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
mov dword [esp + 0x24], ebp
mov eax, dword [esp + 0x70]
cmp eax, ebp
mov byte [esp + 0x1e8], 0x3a
je 0x408ad1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x78]
cmp eax, ebp
mov byte [esp + 0x1e8], 0x39
je 0x408ae9
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x80]
cmp eax, ebp
mov byte [esp + 0x1e8], 0x38
je 0x408b04
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x30]
cmp eax, ebp
mov byte [esp + 0x1e8], 0x26
je 0x408b1c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp edi, ebp
je 0x408b94
mov eax, dword [edi]
cmp eax, ebp
je 0x408b94
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x408b94
cmp dword [edi + 4], ebp
jne 0x408b41
mov eax, dword [edi]
push eax
call fcn.0049fd90
mov dword [edi + 4], eax
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.MSVCR80.dll_atoi]
add esp, 4
cmp eax, 1
jne 0x408b94
lea ecx, [edi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x408b87
mov eax, dword [edi]
cmp eax, ebp
je 0x408b6e
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [edi + 4]
cmp eax, ebp
je 0x408b7e
push eax
call sub.MFC80U.DLL_Ordinal_266
add esp, 4
push edi
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
mov edi, dword [esp + 0x18]
mov dword [esp + 0x2c], ebp
jmp 0x4078d0
lea ecx, [esp + 0x2c]
call fcn.00404d30
mov eax, dword [esp + 0x44]
cmp eax, ebp
mov byte [esp + 0x1e8], 0
je 0x408bb5
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esp + 0x1f0]
cmp eax, ebp
mov dword [esp + 0x1e8], 0xffffffff
je 0x408bd3
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [esp + 0x1e0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1d8
ret 0x20