Function at 0x407400
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4af58a
mov eax, dword fs:[0]
push eax
sub esp, 0x86c
mov eax, dword [0x4dc8d0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x14]
push 0xfd1
mov dword [ebp - 0x828], ebx
mov dword [ebp - 0x834], eax
mov dword [ebp - 0x81c], ecx
mov byte [ebx + 0xae1], dl
call fcn.0041d010
test eax, eax
je 0x407474
push 0xfd1
push eax
lea ecx, [ebx + 0x114]
call fcn.00401790
mov esi, dword [esi]
lea ecx, [ebx + 0xac4]
test esi, esi
jne 0x407484
xor eax, eax
jmp 0x4074a3
mov eax, esi
lea edx, [eax + 2]
mov dword [ebp - 0x820], edx
nop
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x407490
sub eax, dword [ebp - 0x820]
sar eax, 1
push eax
push esi
call fcn.004023f0
mov eax, dword [ebp - 0x81c]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x824]
call fcn.004161e0
mov dword [ebp - 4], 0
mov edx, dword [edi]
push edx
lea ecx, [ebp - 0x82c]
call fcn.004161e0
lea ecx, [ebp - 0x858]
mov byte [ebp - 4], 1
call fcn.0043fc80
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x824]
push 0
push eax
lea ecx, [ebp - 0x858]
call fcn.0043fe30
lea ecx, [ebp - 0x868]
test eax, eax
jne 0x40755a
call fcn.0043e010
push 0
mov byte [ebp - 4], 3
push 0x1021
mov ecx, dword [ebp - 0x824]
push ecx
lea ecx, [ebp - 0x868]
call fcn.0043e4a0
cmp eax, 1
je 0x407569
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00412df0
mov edx, dword [ebx]
mov eax, dword [edx + 0x1bc]
add esp, 4
mov ecx, ebx
call eax
lea ecx, [ebp - 0x868]
mov byte [ebp - 4], 2
call fcn.0043e170
jmp 0x4089c7
call fcn.0043e010
push 0
mov byte [ebp - 4], 4
push 1
jmp 0x407514
lea ecx, [ebp - 0x868]
call fcn.0043ecd0
lea ecx, [ebp - 0x868]
mov byte [ebp - 4], 2
call fcn.0043e170
lea ecx, [ebp - 0x858]
call fcn.0043fd80
push 0
push 1
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x4e1294], eax
test eax, eax
jne 0x4075b9
push 0x1b1
push str..PatchMgrHTMLDlg.cpp
call fcn.0042f900
test eax, eax
je 0x4075b9
int3
push 0
push 0x4e1278
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
test eax, eax
jne 0x407628
push 0x1b5
push str..PatchMgrHTMLDlg.cpp
call fcn.0042f900
test eax, eax
je 0x4075de
int3
cmp byte [ebx + 0xae1], 0
jne 0x407617
mov ecx, dword [0x4e1290]
push 0xfa3
lea esi, [ebx + 0xae4]
push ecx
mov ecx, esi
call fcn.00401790
mov eax, dword [ebx + 0x114]
mov esi, dword [esi]
mov ecx, dword [ebx + 0x118]
push 0x30
push eax
push esi
call fcn.00424040
mov edx, dword [ebx]
mov eax, dword [edx + 0x1bc]
mov ecx, ebx
call eax
jmp 0x4089c7
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov esi, dword [sym.imp.ole32.dll_CoCreateInstance]
lea edi, [ebx + 0xaec]
push edi
push 0x4cb9a8
push 1
push 0
push 0x4de180
mov dword [ebx + 0xab8], eax
call esi
mov dword [ebx + 0xab8], eax
test eax, eax
jge 0x4076c0
cmp dword [edi], 0
jne 0x407676
push 0x1c5
push str..PatchMgrHTMLDlg.cpp
call fcn.0042f900
test eax, eax
je 0x407676
int3
cmp byte [ebx + 0xae1], 0
jne 0x4076af
mov ecx, dword [0x4e1290]
push 0xfa3
lea esi, [ebx + 0xae4]
push ecx
mov ecx, esi
call fcn.00401790
mov eax, dword [ebx + 0x114]
mov esi, dword [esi]
mov ecx, dword [ebx + 0x118]
push 0x30
push eax
push esi
call fcn.00424040
mov edx, dword [ebx]
mov eax, dword [edx + 0x1bc]
mov ecx, ebx
call eax
jmp 0x4089c7
lea edi, [ebx + 0xaf0]
push edi
push 0x4cb9a8
push 1
push 0
push 0x4de180
call esi
mov dword [ebx + 0xab8], eax
test eax, eax
jge 0x407744
cmp dword [edi], 0
jne 0x4076fa
push 0x1d2
push str..PatchMgrHTMLDlg.cpp
call fcn.0042f900
test eax, eax
je 0x4076fa
int3
cmp byte [ebx + 0xae1], 0
jne 0x407733
mov ecx, dword [0x4e1290]
push 0xfa3
lea esi, [ebx + 0xae4]
push ecx
mov ecx, esi
call fcn.00401790
mov eax, dword [ebx + 0x114]
mov esi, dword [esi]
mov ecx, dword [ebx + 0x118]
push 0x30
push eax
push esi
call fcn.00424040
mov edx, dword [ebx]
mov eax, dword [edx + 0x1bc]
mov ecx, ebx
call eax
jmp 0x4089c7
lea edi, [ebx + 0xaf4]
push edi
push 0x4cb9a8
push 1
push 0
push 0x4de180
call esi
mov dword [ebx + 0xab8], eax
test eax, eax
jge 0x4077c8
cmp dword [edi], 0
jne 0x40777e
push 0x1df
push str..PatchMgrHTMLDlg.cpp
call fcn.0042f900
test eax, eax
je 0x40777e
int3
cmp byte [ebx + 0xae1], 0
jne 0x4077b7
mov ecx, dword [0x4e1290]
push 0xfa3
lea esi, [ebx + 0xae4]
push ecx
mov ecx, esi
call fcn.00401790
mov eax, dword [ebx + 0x114]
mov esi, dword [esi]
mov ecx, dword [ebx + 0x118]
push 0x30
push eax
push esi
call fcn.00424040
mov edx, dword [ebx]
mov eax, dword [edx + 0x1bc]
mov ecx, ebx
call eax
jmp 0x4089c7
lea ecx, [ebx + 0xb48]
call fcn.0042e2a0
test eax, eax
jne 0x407820
cmp byte [ebx + 0xae1], al
jne 0x40780f
mov ecx, dword [0x4e1290]
push 0xfa3
lea esi, [ebx + 0xae4]
push ecx
mov ecx, esi
call fcn.00401790
mov eax, dword [ebx + 0x114]
mov esi, dword [esi]
mov ecx, dword [ebx + 0x118]
push 0x30
push eax
push esi
call fcn.00424040
mov edx, dword [ebx]
mov eax, dword [edx + 0x1bc]
mov ecx, ebx
call eax
jmp 0x4089c7
cmp byte [ebx + 0xae1], 0
jne 0x407b75
push 0x4cba28
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea ecx, [ebp - 0x81c]
mov dword [ebx + 0x128], eax
call fcn.00401a80
lea edi, [ebp - 0x81c]
mov byte [ebp - 4], 6
call fcn.00403280
mov eax, dword [ebx + 0x128]
push 0xfaa
lea edi, [ebx + 0xc0c]
push edi
call fcn.00416410
mov eax, dword [ebx + 0x128]
push 0xfab
lea esi, [ebx + 0xb94]
push esi
call fcn.00416410
lea eax, [ebx + 0xbd0]
push 0xfac
push eax
mov eax, dword [ebx + 0x128]
call fcn.00416410
lea eax, [ebx + 0xc48]
push 0x1b69
push eax
mov eax, dword [ebx + 0x128]
call fcn.00416410
lea eax, [ebx + 0xc84]
push 0x1b6a
push eax
mov eax, dword [ebx + 0x128]
call fcn.00416410
lea eax, [ebx + 0xcc0]
push 0x1b6b
push eax
mov eax, dword [ebx + 0x128]
call fcn.00416410
lea eax, [ebx + 0xcfc]
push 0x1b6c
push eax
mov eax, dword [ebx + 0x128]
call fcn.00416410
lea eax, [ebx + 0xdb0]
push 0x1b6d
push eax
mov eax, dword [ebx + 0x128]
call fcn.00416410
lea eax, [ebx + 0xd38]
push 0x1b6e
push eax
mov eax, dword [ebx + 0x128]
call fcn.00416410
lea eax, [ebx + 0xd74]
push 0x1b6f
push eax
mov eax, dword [ebx + 0x128]
call fcn.00416410
push str.pending.png
lea ecx, [ebp - 0x81c]
push ecx
lea edx, [ebp - 0x820]
push edx
call fcn.00402190
add esp, 0xc
mov byte [ebp - 4], 7
call fcn.004164f0
lea ecx, [ebp - 0x820]
mov byte [ebp - 4], 6
call fcn.004018a0
push str.local.png
lea eax, [ebp - 0x81c]
push eax
lea ecx, [ebp - 0x820]
push ecx
call fcn.00402190
add esp, 0xc
mov byte [ebp - 4], 8
mov edi, esi
call fcn.004164f0
lea ecx, [ebp - 0x820]
mov byte [ebp - 4], 6
call fcn.004018a0
push str._failed.png
lea edx, [ebp - 0x81c]
push edx
lea eax, [ebp - 0x820]
push eax
call fcn.00402190
add esp, 0xc
lea edi, [ebx + 0xbd0]
mov byte [ebp - 4], 9
call fcn.004164f0
lea ecx, [ebp - 0x820]
mov byte [ebp - 4], 6
call fcn.004018a0
push str._reset.png
lea ecx, [ebp - 0x81c]
push ecx
lea edx, [ebp - 0x820]
push edx
call fcn.00402190
add esp, 0xc
lea edi, [ebx + 0xc48]
mov byte [ebp - 4], 0xa
call fcn.004164f0
lea ecx, [ebp - 0x820]
mov byte [ebp - 4], 6
call fcn.004018a0
push str._npladd.png
lea eax, [ebp - 0x81c]
push eax
lea ecx, [ebp - 0x820]
push ecx
call fcn.00402190
add esp, 0xc
lea edi, [ebx + 0xc84]
mov byte [ebp - 4], 0xb
call fcn.004164f0
lea ecx, [ebp - 0x820]
mov byte [ebp - 4], 6
call fcn.004018a0
push str._nplrem.png
lea edx, [ebp - 0x81c]
push edx
lea eax, [ebp - 0x820]
push eax
call fcn.00402190
add esp, 0xc
lea edi, [ebx + 0xcc0]
mov byte [ebp - 4], 0xc
call fcn.004164f0
lea ecx, [ebp - 0x820]
mov byte [ebp - 4], 6
call fcn.004018a0
push str._resetgray.png
lea ecx, [ebp - 0x81c]
push ecx
lea edx, [ebp - 0x820]
push edx
call fcn.00402190
add esp, 0xc
lea edi, [ebx + 0xcfc]
mov byte [ebp - 4], 0xd
call fcn.004164f0
lea ecx, [ebp - 0x820]
mov byte [ebp - 4], 6
call fcn.004018a0
push str.cntxtadd.png
lea eax, [ebp - 0x81c]
push eax
lea ecx, [ebp - 0x820]
push ecx
call fcn.00402190
add esp, 0xc
lea edi, [ebx + 0xd38]
mov byte [ebp - 4], 0xe
call fcn.004164f0
lea ecx, [ebp - 0x820]
mov byte [ebp - 4], 6
call fcn.004018a0
push str.cntxtrem.png
lea edx, [ebp - 0x81c]
push edx
lea eax, [ebp - 0x820]
push eax
call fcn.00402190
add esp, 0xc
lea edi, [ebx + 0xd74]
mov byte [ebp - 4], 0xf
call fcn.004164f0
lea ecx, [ebp - 0x820]
mov byte [ebp - 4], 6
call fcn.004018a0
push str.cntxtreset.png
lea ecx, [ebp - 0x81c]
push ecx
lea edx, [ebp - 0x820]
push edx
call fcn.00402190
add esp, 0xc
lea edi, [ebx + 0xdb0]
mov byte [ebp - 4], 0x10
call fcn.004164f0
lea ecx, [ebp - 0x820]
call fcn.004018a0
lea ecx, [ebp - 0x81c]
call fcn.004018a0
mov dword [ebp - 4], 2
cmp byte [ebx + 0xae1], 0
jne 0x407c35
push 0xfd4
push 0xfd4
lea esi, [ebx + 0xb48]
push pe_nt_image_headers32
mov ecx, esi
call fcn.0042e320
test eax, eax
jne 0x407bba
push 0x34
push str..CustomMenu.cpp
call fcn.0042f900
test eax, eax
je 0x407bba
int3
push 0xfd5
push 0xfd5
push pe_nt_image_headers32
mov ecx, esi
call fcn.0042e320
test eax, eax
jne 0x407be5
push 0x34
push str..CustomMenu.cpp
call fcn.0042f900
test eax, eax
je 0x407be5
int3
push 0
push 0
push 0x800
mov ecx, esi
call fcn.0042e320
test eax, eax
jne 0x407c0a
push 0x32
push str..CustomMenu.cpp
call fcn.0042f900
test eax, eax
je 0x407c0a
int3
push 0xfd6
push 0xfd6
push pe_nt_image_headers32
mov ecx, esi
call fcn.0042e320
test eax, eax
jne 0x407c35
push 0x34
push str..CustomMenu.cpp
call fcn.0042f900
test eax, eax
je 0x407c35
int3
mov eax, dword [ebp - 0x834]
push eax
push ebx
call fcn.00406df0
lea eax, [ebp - 0x82c]
mov ecx, ebx
call fcn.004073a0
lea ecx, [ebp - 0x824]
push ecx
push ebx
call fcn.00407180
cmp byte [ebx + 0xae0], 0
lea eax, [ebx + 0xad0]
push eax
je 0x407ceb
lea ecx, [ebp - 0x820]
call fcn.00402320
push 0x4cc09c
push 0x4cc8f0
lea edx, [ebp - 0x820]
push edx
mov byte [ebp - 4], 0x12
call fcn.00415490
lea eax, [ebp - 0x820]
push eax
lea ecx, [ebx + 0xadc]
push ecx
lea edx, [ebp - 0x834]
push edx
call fcn.004020b0
add esp, 0xc
lea esi, [ebx + 0xad4]
push eax
mov ecx, esi
mov byte [ebp - 4], 0x13
call fcn.00402580
lea ecx, [ebp - 0x834]
call fcn.004018a0
lea ecx, [ebp - 0x820]
jmp 0x407d19
lea eax, [ebx + 0xad8]
push eax
lea ecx, [ebp - 0x834]
push ecx
call fcn.004020b0
add esp, 0xc
lea esi, [ebx + 0xad4]
push eax
mov ecx, esi
mov byte [ebp - 4], 0x14
call fcn.00402580
lea ecx, [ebp - 0x834]
mov byte [ebp - 4], 2
call fcn.004018a0
push esi
lea ecx, [ebp - 0x828]
call fcn.00402320
push 0x2f
mov ecx, esi
mov byte [ebp - 4], 0x15
call fcn.004156e0
mov dword [ebp - 0x830], eax
cmp eax, 0xffffffff
je 0x407d8c
mov esi, eax
dec esi
lea edi, [ebp - 0x828]
call fcn.00415890
cmp ax, 0x3a
jne 0x407d6d
lea eax, [ebx + 0xad0]
push eax
mov ecx, edi
call fcn.00402580
jmp 0x407dfc
mov edx, dword [ebp - 0x830]
push edx
lea eax, [ebp - 0x834]
push eax
lea ecx, [ebx + 0xad4]
call fcn.004157f0
mov byte [ebp - 4], 0x16
jmp 0x407de1
push 0x5c
mov ecx, esi
call fcn.004156e0
mov dword [ebp - 0x830], eax
cmp eax, 0xffffffff
je 0x407dfc
mov esi, eax
dec esi
lea edi, [ebp - 0x828]
call fcn.00415890
cmp ax, 0x3a
jne 0x407dc4
lea eax, [ebx + 0xad0]
push eax
mov ecx, edi
call fcn.00402580
jmp 0x407dfc
mov ecx, dword [ebp - 0x830]
push ecx
lea edx, [ebp - 0x834]
push edx
lea ecx, [ebx + 0xad4]
call fcn.004157f0
mov byte [ebp - 4], 0x17
push eax
lea ecx, [ebp - 0x828]
call fcn.00402580
lea ecx, [ebp - 0x834]
mov byte [ebp - 4], 0x15
call fcn.004018a0
push 0
push 4
push 0
push 0
push 0x4ceba4
call fcn.00435360
mov edi, eax
test edi, edi
je 0x408963
push 0x4cc9bc
mov dword [edi + 0x28], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [edi + 0x54], eax
mov eax, dword [ebx + 0xacc]
push eax
push 0x4cc9c4
lea esi, [ebx + 0xac8]
push esi
call fcn.00415490
mov ecx, esi
call fcn.00415870
push 0x84
mov dword [edi + 0x58], eax
call fcn.00419020
mov esi, eax
mov dword [ebp - 0x834], esi
mov byte [ebp - 4], 0x18
test esi, esi
je 0x407e92
push 0
push 0x1f41
mov ecx, esi
call fcn.00419f10
mov dword [esi + 0x74], edi
mov dword [esi], vtable.CCommAdskSrv.0
mov byte [0x4e1274], 0
mov byte [esi + 0x80], 0
xor edi, edi
jmp 0x407e96
xor edi, edi
xor esi, esi
mov byte [ebp - 4], 0x15
mov dword [ebx + 0x120], esi
mov byte [esi + 0x80], 1
mov ecx, dword [ebx + 0x120]
cmp ecx, edi
je 0x408939
mov eax, dword [ecx]
mov edx, dword [eax + 0x154]
call edx
cmp eax, 3
je 0x4088a6
cmp eax, 0xffffffff
je 0x4088a6
cmp eax, 2
jne 0x407efd
mov ecx, dword [ebx + 0x120]
mov eax, dword [ecx + 0x7c]
mov dword [ebx + 0x9e8], eax
cmp ecx, edi
je 0x407ef2
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov dword [ebx + 0x120], edi
jmp 0x4089b0
cmp eax, edi
jne 0x407f20
mov ecx, dword [ebx + 0x120]
mov dword [ebx + 0x9e8], edi
cmp ecx, edi
je 0x407f1a
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov dword [ebx + 0x120], edi
lea ecx, [ebp - 0x81c]
call fcn.00401a80
lea ecx, [ebp - 0x818]
push ecx
push 0x400
mov byte [ebp - 4], 0x19
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, eax
cmp esi, edi
jne 0x407f9c
cmp byte [ebx + 0xae1], 0
jne 0x407f80
mov edx, dword [0x4e1290]
push 0xfa3
lea esi, [ebx + 0xae4]
push edx
mov ecx, esi
call fcn.00401790
mov eax, dword [ebx + 0x114]
mov esi, dword [esi]
mov ecx, dword [ebx + 0x118]
push 0x30
push eax
push esi
call fcn.00424040
mov eax, dword [ebx]
mov edx, dword [eax + 0x1bc]
mov ecx, ebx
call edx
lea ecx, [ebp - 0x81c]
call fcn.004018a0
jmp 0x4089bc
cmp esi, 0x400
jbe 0x40803e
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00419220
add esp, 4
mov edi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x408025
cmp byte [ebx + 0xae1], 0
jne 0x408009
mov eax, dword [0x4e1290]
push 0xfa3
push eax
lea esi, [ebx + 0xae4]
mov ecx, esi
call fcn.00401790
mov eax, dword [ebx + 0x114]
mov esi, dword [esi]
mov ecx, dword [ebx + 0x118]
push 0x30
push eax
push esi
call fcn.00424040
mov edx, dword [ebx]
mov eax, dword [edx + 0x1bc]
mov ecx, ebx
call eax
lea ecx, [ebp - 0x81c]
call fcn.004018a0
jmp 0x4089bc
push edi
lea ecx, [ebp - 0x81c]
call fcn.00403420
push edi
call fcn.00419200
add esp, 4
xor edi, edi
jmp 0x408050
lea ecx, [ebp - 0x818]
push ecx
lea ecx, [ebp - 0x81c]
call fcn.00403420
lea edx, [ebp - 0x838]
push edx
push 0x4cb9a8
push 1
push edi
push 0x4de180
mov dword [ebp - 0x838], edi
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, edi
mov dword [ebx + 0xab8], eax
jge 0x4080a3
cmp dword [ebp - 0x838], edi
jne 0x407fd1
push 0x2c6
push str..PatchMgrHTMLDlg.cpp
call fcn.0042f900
test eax, eax
je 0x407fd1
int3
push str.patchlist.xml
lea ecx, [ebp - 0x81c]
call fcn.00402740
lea ecx, [ebp - 0x81c]
lea esi, [ebx + 0xaa8]
push ecx
call fcn.00408cc0
mov edx, dword [ebp - 0x838]
mov ecx, dword [edx]
mov edx, dword [esi]
mov ecx, dword [ecx + 0xe8]
lea edi, [ebx + 0xb0c]
push edi
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esi + 4]
mov dword [eax + 4], edx
mov edx, dword [esi + 8]
mov dword [eax + 8], edx
mov edx, dword [esi + 0xc]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x838]
push eax
call ecx
mov edx, dword [ebx + 0xab0]
push edx
mov dword [ebx + 0xab8], eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp word [edi], 0xffff
je 0x408134
mov eax, dword [ebp - 0x838]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 0x838], 0
jmp 0x407fd1
push str.__xml_version_1.0__encoding_utf_8____t_xsl:stylesheet_version_1.0__xmlns:xsl_http:__www.w3.org_1999_XSL_Transform___t___xsl:template_match__text__processing_instruction__comment_____t_t_xsl:copy__t_t______copy_all_elements_if_this_were_the_only_rule____t_t___xsl:copy_of_select______t_t___xsl:apply_templates_select_node______t_t__xsl:copy__t____xsl:template__t___xsl:template_match____t_t_xsl:element_name_translate_name___ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz____t_t______copy_all_elements_if_this_were_the_only_rule____t_t___xsl:copy_of_select______t_t___xsl:apply_templates_select_node______t_t__xsl:element__t____xsl:template__t__xsl:stylesheet_
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea ecx, [ebp - 0x83c]
push ecx
push 0x4cb9a8
push 1
push 0
push 0x4de180
mov dword [ebp - 0x820], eax
mov dword [ebp - 0x83c], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebx + 0xab8], eax
test eax, eax
jge 0x4081f3
cmp dword [ebp - 0x83c], 0
jne 0x408191
push 0x2fa
push str..PatchMgrHTMLDlg.cpp
call fcn.0042f900
test eax, eax
je 0x408191
int3
cmp byte [ebx + 0xae1], 0
jne 0x4081ca
mov edx, dword [0x4e1290]
push 0xfa3
lea esi, [ebx + 0xae4]
push edx
mov ecx, esi
call fcn.00401790
mov eax, dword [ebx + 0x114]
mov esi, dword [esi]
mov ecx, dword [ebx + 0x118]
push 0x30
push eax
push esi
call fcn.00424040
mov eax, dword [ebx]
mov edx, dword [eax + 0x1bc]
mov ecx, ebx
call edx
mov eax, dword [ebp - 0x820]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [ebp - 0x81c]
call fcn.004018a0
jmp 0x4089bc
mov eax, dword [ebp - 0x83c]
mov edx, dword [ebp - 0x820]
mov ecx, dword [eax]
push edi
push edx
push eax
mov eax, dword [ecx + 0x104]
call eax
mov ecx, dword [ebp - 0x820]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp word [edi], 0xffff
je 0x408255
mov eax, dword [ebp - 0x83c]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [ebp - 0x83c], 0
cmp byte [ebx + 0xae1], 0
jne 0x408009
mov ecx, dword [0x4e1290]
push 0xfa3
push ecx
jmp 0x407fe5
mov eax, dword [ebp - 0x838]
lea edx, [ebp - 0x874]
push edx
mov edx, dword [ebp - 0x83c]
mov dword [ebp - 0x874], 0
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x8c]
call eax
mov dword [ebx + 0xab8], eax
mov eax, dword [ebp - 0x838]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x83c]
mov dword [ebp - 0x838], 0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp dword [ebx + 0xab8], 0
mov dword [ebp - 0x83c], 0
jl 0x407fd1
mov eax, dword [ebx + 0xaf0]
mov edx, dword [ebp - 0x874]
mov ecx, dword [eax]
push edi
push edx
push eax
mov eax, dword [ecx + 0x104]
call eax
cmp word [edi], 0xffff
jne 0x408237
push str._availablecontent_updates_upivalue
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ecx, dword [ebx + 0xaf0]
lea edi, [ebx + 0xaf8]
push edi
mov dword [ebx + 0xabc], eax
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x90]
push ecx
call eax
mov ecx, dword [ebx + 0xabc]
push ecx
mov dword [ebx + 0xab8], eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [edi]
lea ecx, [ebp - 0x870]
mov dword [ebp - 0x870], 0
mov edx, dword [eax]
mov edx, dword [edx + 0x20]
push ecx
push eax
call edx
cmp dword [ebp - 0x870], 1
mov dword [ebx + 0xab8], eax
jne 0x407fd1
mov eax, dword [edi]
mov edx, dword [eax]
lea ecx, [ebx + 0xafc]
push ecx
push 0
push eax
mov eax, dword [edx + 0x1c]
call eax
mov eax, dword [edi]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [ebx + 0xac0]
push eax
mov dword [edi], 0
call fcn.00408cc0
mov edi, dword [esi]
mov ecx, dword [ebx + 0xaf4]
mov edx, dword [ecx]
lea eax, [ebx + 0xb0c]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [esi + 4]
mov dword [eax + 4], edi
mov edi, dword [esi + 8]
mov esi, dword [esi + 0xc]
mov dword [eax + 8], edi
mov dword [eax + 0xc], esi
mov eax, dword [edx + 0xe8]
push ecx
call eax
mov ecx, dword [ebx + 0xab0]
push ecx
mov dword [ebx + 0xab8], eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [ebx + 0xab8], 0
jl 0x408487
cmp word [ebx + 0xb0c], 0xffff
jne 0x408487
xor edi, edi
push str._availablecontent
mov dword [ebp - 0x820], edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ecx, dword [ebx + 0xaf4]
lea esi, [ebp - 0x820]
push esi
mov dword [ebx + 0xabc], eax
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x94]
push ecx
call eax
mov ecx, dword [ebx + 0xabc]
push ecx
mov dword [ebx + 0xab8], eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [ebx + 0xab8], edi
jl 0x408443
mov eax, dword [ebp - 0x820]
cmp eax, edi
je 0x408443
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x4084f1
cmp byte [ebx + 0xae1], 0
jne 0x40847c
mov ecx, dword [0x4e1290]
push 0xfa3
lea esi, [ebx + 0xae4]
push ecx
mov ecx, esi
call fcn.00401790
mov eax, dword [ebx + 0x114]
mov esi, dword [esi]
mov ecx, dword [ebx + 0x118]
push 0x30
push eax
push esi
call fcn.00424040
mov dword [ebp - 0x820], edi
jmp 0x408009
mov edi, ebx
call fcn.00408a10
cmp al, 1
jne 0x408009
lea eax, [ebx + 0xac0]
push eax
lea esi, [ebp - 0x868]
call fcn.00408cc0
mov esi, dword [ebp - 0x868]
mov ecx, dword [ebx + 0xaf4]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [ebp - 0x864]
mov dword [eax + 4], esi
mov esi, dword [ebp - 0x860]
mov dword [eax + 8], esi
mov esi, dword [ebp - 0x85c]
mov dword [eax + 0xc], esi
mov eax, dword [edx + 0x108]
push ecx
call eax
xor edi, edi
cmp eax, edi
mov dword [ebx + 0xab8], eax
jl 0x408237
push str._availablecontent_updates_upivalue
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ecx, dword [ebx + 0xaf4]
lea esi, [ebx + 0xaf8]
push esi
mov dword [ebx + 0xabc], eax
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x90]
push ecx
call eax
mov ecx, dword [ebx + 0xabc]
push ecx
mov dword [ebx + 0xab8], eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi]
lea ecx, [ebp - 0x86c]
mov dword [ebp - 0x86c], edi
mov dword [ebx + 0xb08], edi
mov edx, dword [eax]
mov edx, dword [edx + 0x20]
push ecx
push eax
call edx
mov dword [ebx + 0xab8], eax
cmp dword [ebp - 0x86c], edi
je 0x4085a9
mov eax, dword [esi]
mov ecx, dword [ebx + 0xafc]
push eax
push ebx
call fcn.00408d00
mov dword [ebx + 0xb00], eax
cmp eax, edi
je 0x408595
mov edx, dword [eax]
lea ecx, [ebx + 0xb08]
push ecx
push eax
mov eax, dword [edx + 0x2c]
call eax
mov eax, dword [ebx + 0xb00]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebx + 0xb00], edi
cmp dword [ebp - 0x86c], edi
je 0x4085a9
cmp dword [ebx + 0xb08], edi
jne 0x4087ec
push str._availablecontent
mov dword [ebp - 0x820], edi
mov dword [ebp - 0x830], edi
mov dword [ebp - 0x840], edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ecx, dword [ebx + 0xaf4]
lea esi, [ebp - 0x820]
push esi
mov dword [ebx + 0xabc], eax
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x94]
push ecx
call eax
mov ecx, dword [ebx + 0xabc]
push ecx
mov dword [ebx + 0xab8], eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push str._availablecontent_updates
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ecx, dword [ebx + 0xaf0]
lea esi, [ebp - 0x830]
push esi
mov dword [ebx + 0xabc], eax
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x94]
push ecx
call eax
mov ecx, dword [ebx + 0xabc]
push ecx
mov dword [ebx + 0xab8], eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [ebx + 0xab8], edi
jge 0x408692
cmp byte [ebx + 0xae1], 0
jne 0x408676
mov edx, dword [0x4e1290]
push 0xfa3
lea esi, [ebx + 0xae4]
push edx
mov ecx, esi
call fcn.00401790
mov eax, dword [ebx + 0x114]
mov esi, dword [esi]
mov ecx, dword [ebx + 0x118]
push 0x30
push eax
push esi
call fcn.00424040
mov eax, dword [ebx]
mov edx, dword [eax + 0x1bc]
mov ecx, ebx
call edx
lea ecx, [ebp - 0x81c]
call fcn.004018a0
jmp 0x4089bc
mov eax, dword [ebp - 0x830]
mov ecx, dword [eax]
lea edx, [ebp - 0x840]
push edx
push edi
push eax
mov eax, dword [ecx + 0x60]
call eax
mov dword [ebx + 0xab8], eax
mov eax, dword [ebp - 0x830]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp dword [ebx + 0xab8], edi
mov dword [ebp - 0x830], edi
jl 0x407fd1
mov eax, dword [ebp - 0x820]
mov edx, dword [ebp - 0x840]
mov ecx, dword [eax]
lea esi, [ebx + 0xb08]
push esi
push edx
push eax
mov eax, dword [ecx + 0x54]
call eax
mov dword [ebx + 0xab8], eax
mov eax, dword [ebp - 0x820]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp dword [ebx + 0xab8], edi
mov dword [ebp - 0x820], edi
jl 0x407fd1
mov eax, dword [ebp - 0x840]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebx + 0xafc]
lea edx, [ebp - 0x840]
push edx
mov dword [ebp - 0x840], edi
mov ecx, dword [eax]
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x60]
call eax
lea edx, [ebp - 0x830]
push edx
mov edx, dword [ebp - 0x840]
mov dword [ebx + 0xab8], eax
mov eax, dword [esi]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x54]
call eax
mov dword [ebx + 0xab8], eax
mov eax, dword [ebp - 0x840]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp dword [ebx + 0xab8], edi
mov dword [ebp - 0x840], edi
jl 0x407fd1
mov eax, dword [ebp - 0x830]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [ebp - 0x824]
push eax
lea esi, [ebp - 0x868]
mov dword [ebp - 0x830], edi
call fcn.00408cc0
mov esi, dword [ebp - 0x868]
mov ecx, dword [ebx + 0xaf4]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [ebp - 0x864]
mov dword [eax + 4], esi
mov esi, dword [ebp - 0x860]
mov dword [eax + 8], esi
mov esi, dword [ebp - 0x85c]
mov dword [eax + 0xc], esi
mov eax, dword [edx + 0x108]
push ecx
call eax
cmp eax, edi
mov dword [ebx + 0xab8], eax
jl 0x408237
mov eax, dword [ebx + 0xaf8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebx + 0xafc]
mov dword [ebx + 0xaf8], edi
mov ecx, dword [eax]
mov edx, dword [ecx + 0x2c]
lea esi, [ebx + 0xb04]
push esi
push eax
call edx
mov eax, dword [ebx + 0xafc]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [esi]
mov edx, ebx
mov dword [ebx + 0xafc], edi
call fcn.004096e0
mov dword [ebx + 0xb1c], eax
cmp eax, edi
je 0x407fd1
mov ecx, dword [ebx + 0xb08]
cmp ecx, edi
je 0x408856
push ebx
call fcn.0040a770
mov dword [ebx + 0xb18], eax
cmp dword [ebx + 0xb38], edi
jle 0x408864
push ebx
call fcn.0040b360
lea ecx, [ebp - 0x81c]
call fcn.004018a0
lea ecx, [ebp - 0x828]
call fcn.004018a0
lea ecx, [ebp - 0x858]
mov byte [ebp - 4], 1
call fcn.0043fd10
lea ecx, [ebp - 0x82c]
call fcn.004018a0
lea ecx, [ebp - 0x824]
call fcn.004018a0
mov al, 1
jmp 0x4089ee
push 0x4e1278
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x4e1278
mov byte [0x4e1274], 1
mov dword [0x4e1270], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [ebx + 0xae1], 0
jne 0x408906
mov ecx, dword [0x4e1290]
push 0xfa3
lea esi, [ebx + 0xae4]
push ecx
mov ecx, esi
call fcn.00401790
mov eax, dword [ebx + 0x114]
mov esi, dword [esi]
mov ecx, dword [ebx + 0x118]
push 0x30
push eax
push esi
call fcn.00424040
mov ecx, dword [ebx + 0x120]
mov edx, dword [ecx + 0x7c]
mov dword [ebx + 0x9e8], edx
cmp ecx, edi
je 0x408922
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 1
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0x1bc]
mov ecx, ebx
mov dword [ebx + 0x120], edi
call edx
jmp 0x4089bc
push 0x284
push str..PatchMgrHTMLDlg.cpp
call fcn.0042f900
test eax, eax
je 0x40894d
int3
cmp byte [ebx + 0xae1], 0
jne 0x4089b0
mov eax, dword [0x4e1290]
push 0xfa3
push eax
jmp 0x40898c
push 0x291
push str..PatchMgrHTMLDlg.cpp
call fcn.0042f900
test eax, eax
je 0x408977
int3
cmp byte [ebx + 0xae1], 0
jne 0x4089b0
mov ecx, dword [0x4e1290]
push 0xfa3
push ecx
lea esi, [ebx + 0xae4]
mov ecx, esi
call fcn.00401790
mov eax, dword [ebx + 0x114]
mov esi, dword [esi]
mov ecx, dword [ebx + 0x118]
push 0x30
push eax
push esi
call fcn.00424040
mov edx, dword [ebx]
mov eax, dword [edx + 0x1bc]
mov ecx, ebx
call eax
lea ecx, [ebp - 0x828]
call fcn.004018a0
lea ecx, [ebp - 0x858]
mov byte [ebp - 4], 1
call fcn.0043fd10
lea ecx, [ebp - 0x82c]
call fcn.004018a0
lea ecx, [ebp - 0x824]
call fcn.004018a0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00477740
mov esp, ebp
pop ebp
ret 0x10