Function at 0x525170
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x520
push ebp
mov ebp, ecx
push edi
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], ebp
call fcn.0051f850
mov ecx, 0x3b
xor eax, eax
lea edi, [esp + 0x3c]
mov dword [esp + 0x38], 0
rep stosd dword es:[edi], eax
push 0x800
lea ecx, [esp + 0x2c]
call fcn.004b9680
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_2
push 0x5965b8
push str._s_templatesoptimizationreport.htm
lea eax, [esp + 0x130]
push 0x3ff
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x10
lea ecx, [esp + 0x128]
push ecx
lea ecx, [esp + 0x14]
call fcn.0051f900
test eax, eax
jne 0x52520e
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
call fcn.004b96b0
lea ecx, [esp + 0x10]
call fcn.0051f8c0
pop edi
pop ebp
add esp, 0x520
ret 8
lea edx, [esp + 0x38]
push esi
push edx
lea ecx, [ebp + 0x58c0]
call fcn.005275a0
lea eax, [esp + 0x12c]
push 0x3ff
push eax
lea ecx, [esp + 0x1c]
call fcn.0051fc00
cmp eax, 1
jne 0x52557b
push ebx
jmp 0x525245
mov ebp, dword [esp + 0x14]
mov esi, str.____EXPERTNAME___
lea eax, [esp + 0x130]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x525279
test cl, cl
je 0x525275
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x525279
add eax, 2
add esi, 2
test cl, cl
jne 0x525251
xor eax, eax
jmp 0x52527e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x52528d
push eax
lea eax, [esp + 0x48]
push eax
jmp 0x525552
mov esi, str.____TESTSYMBOL___
lea eax, [esp + 0x130]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x5252c1
test cl, cl
je 0x5252bd
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x5252c1
add eax, 2
add esi, 2
test cl, cl
jne 0x525299
xor eax, eax
jmp 0x5252c6
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x5252d8
push eax
lea eax, [esp + 0xc8]
push eax
jmp 0x525552
mov ecx, 0xd
mov edi, str.____TESTGRAPH
lea esi, [esp + 0x130]
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x52541e
mov esi, dword [sym.imp.MSVCRT.dll_atoi]
lea eax, [esp + 0x13d]
push eax
call esi
lea ecx, [esp + 0x141]
push 0x58debc
push ecx
mov ebx, eax
mov ebp, 0xc8
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 0xc
test eax, eax
je 0x52532d
inc eax
push eax
call esi
add esp, 4
mov ebp, eax
cmp ebx, 0x64
jl 0x52555b
cmp ebx, 0x1000
jg 0x52555b
cmp ebp, 0x32
jl 0x52555b
cmp ebp, 0x1000
jg 0x52555b
mov edx, dword [esp + 0x534]
push 0x3ff
lea eax, [esp + 0x134]
push edx
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
lea ecx, [esp + 0x13c]
push 0x2e
push ecx
mov byte [esp + 0x543], 0
call dword [sym.imp.MSVCRT.dll_strrchr]
add esp, 0x14
test eax, eax
je 0x525394
mov byte [eax], 0
mov edi, str..gif
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x130]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push eax
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
lea eax, [esp + 0x138]
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
push ebx
push eax
add ecx, 0x4ca8
call fcn.0052e590
cmp eax, 1
jne 0x52555b
lea edx, [esp + 0x130]
push 0x5c
push edx
call dword [sym.imp.MSVCRT.dll_strrchr]
add esp, 8
test eax, eax
je 0x52555b
push ebp
inc eax
push ebx
push eax
lea eax, [esp + 0x24]
push str._img_src__s__width_d_height_d_border0_alt_Optimization_Graph__
push eax
call fcn.0051fb10
add esp, 0x14
jmp 0x52555b
mov esi, str.____TESTSUMMARY___
lea eax, [esp + 0x130]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x525452
test cl, cl
je 0x52544e
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x525452
add eax, 2
add esi, 2
test cl, cl
jne 0x52542a
xor eax, eax
jmp 0x525457
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x52555b
mov esi, str.____TESTDETAILS___
lea eax, [esp + 0x130]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x525493
test cl, cl
je 0x52548f
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x525493
add eax, 2
add esi, 2
test cl, cl
jne 0x52546b
xor eax, eax
jmp 0x525498
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x5254c4
mov dword [esp + 0x38], eax
lea eax, [esp + 0x18]
lea ecx, [esp + 0x30]
push eax
push ecx
lea ecx, [ebp + 0x2738]
call fcn.00530410
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
push edx
push eax
jmp 0x525552
mov esi, str.____TESTMODE___
lea eax, [esp + 0x130]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x5254f8
test cl, cl
je 0x5254f4
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x5254f8
add eax, 2
add esi, 2
test cl, cl
jne 0x5254d0
xor eax, eax
jmp 0x5254fd
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x525548
mov eax, dword [esp + 0xd4]
sub eax, 0
je 0x525528
dec eax
je 0x52551c
lea eax, [esp + 0x10]
push eax
push 0x152b
jmp 0x525532
lea ecx, [esp + 0x10]
push ecx
push 0x152a
jmp 0x525532
lea edx, [esp + 0x10]
push edx
push 0x1529
mov ecx, dword [0x5a0f78]
call fcn.004c2690
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
push ecx
push eax
jmp 0x525552
lea edx, [esp + 0x130]
push 0
push edx
lea ecx, [esp + 0x20]
call fcn.0051fba0
lea eax, [esp + 0x130]
push 0x3ff
push eax
lea ecx, [esp + 0x20]
call fcn.0051fc00
cmp eax, 1
je 0x525241
pop ebx
mov esi, dword [esp + 0x530]
lea ecx, [esp + 0x14]
push esi
call fcn.0051fa00
cmp eax, 1
jne 0x5255af
cmp dword [esp + 0x534], 1
jne 0x5255af
push 5
push 0
push 0
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
call fcn.004b96b0
lea ecx, [esp + 0x14]
call fcn.0051f8c0
pop esi
pop edi
pop ebp
add esp, 0x520
ret 8