Function at 0x524b40
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4bc8
call fcn.00563290
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 0x1000
lea ecx, [esp + 0x2c]
call fcn.004b9680
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_2
push 0x5965b8
push str._s_templates_strategytester.htm
lea eax, [esp + 0x130]
push 0xfff
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 0x524be2
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, 0x4bc8
ret 8
push ebx
lea ebx, [ebp + 0x30b0]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea edx, [esp + 0x40]
test edx, edx
je 0x524c0a
lea esi, [ebp + 0x3358]
mov ecx, 0x3c
lea edi, [esp + 0x40]
rep movsd dword es:[edi], dword [esi]
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [esp + 0x130]
push 0xfff
push eax
lea ecx, [esp + 0x20]
call fcn.0051fc00
cmp eax, 1
jne 0x5250c2
jmp 0x524c36
mov ebp, dword [esp + 0x14]
xor ebx, ebx
mov esi, str.____EXPERTNAME___
lea eax, [esp + 0x130]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x524c68
test cl, cl
je 0x524c64
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x524c68
add eax, 2
add esi, 2
test cl, cl
jne 0x524c44
xor eax, eax
jmp 0x524c6d
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x524c7c
lea eax, [esp + 0x44]
push ebx
push eax
jmp 0x52509a
mov esi, str.____TESTSYMBOL___
lea eax, [esp + 0x130]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x524cac
test cl, cl
je 0x524ca8
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x524cac
add eax, 2
add esi, 2
test cl, cl
jne 0x524c88
xor eax, eax
jmp 0x524cb1
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x524cc3
lea eax, [esp + 0xc4]
push ebx
push eax
jmp 0x52509a
mov esi, str.____VERSION___
lea eax, [esp + 0x130]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x524cf3
test cl, cl
je 0x524cef
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x524cf3
add eax, 2
add esi, 2
test cl, cl
jne 0x524ccf
xor eax, eax
jmp 0x524cf8
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x524d2a
push 0xe1
push str.Build__d
lea eax, [esp + 0x138]
push 0xfff
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x10
lea ecx, [esp + 0x130]
push ebx
push ecx
jmp 0x52509a
mov esi, str.____SERVER___
lea eax, [esp + 0x130]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x524d5a
test cl, cl
je 0x524d56
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x524d5a
add eax, 2
add esi, 2
test cl, cl
jne 0x524d36
xor eax, eax
jmp 0x524d5f
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x524de7
mov ecx, 0xc1
xor eax, eax
lea edi, [esp + 0x1134]
mov word [esp + 0x1130], bx
rep stosd dword es:[edi], eax
mov ecx, 0xde7
lea edi, [esp + 0x143c]
mov dword [esp + 0x1438], ebx
rep stosd dword es:[edi], eax
lea eax, [esp + 0x1130]
mov ecx, 0x593d48
push eax
call fcn.0042f040
mov eax, dword [esp + 0x1138]
cmp eax, ebx
jle 0x5250a3
mov ecx, dword [0x5937a4]
cmp ecx, ebx
je 0x5250a3
lea edx, [esp + 0x1438]
push edx
push eax
call fcn.0040a370
test eax, eax
je 0x5250a3
lea eax, [esp + 0x1450]
push ebx
push eax
jmp 0x52509a
mov ecx, 0xd
mov edi, str.____TESTGRAPH
lea esi, [esp + 0x130]
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x524f2d
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 0x524e3c
inc eax
push eax
call esi
add esp, 4
mov ebp, eax
cmp ebx, 0x64
jl 0x5250a3
cmp ebx, 0x1000
jg 0x5250a3
cmp ebp, 0x32
jl 0x5250a3
cmp ebp, 0x1000
jg 0x5250a3
mov edx, dword [esp + 0x4bdc]
push 0xfff
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 + 0x1143], 0
call dword [sym.imp.MSVCRT.dll_strrchr]
add esp, 0x14
test eax, eax
je 0x524ea3
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, 0x49f0
call fcn.00529b60
cmp eax, 1
jne 0x5250a3
lea edx, [esp + 0x130]
push 0x5c
push edx
call dword [sym.imp.MSVCRT.dll_strrchr]
add esp, 8
test eax, eax
je 0x5250a3
push ebp
inc eax
push ebx
push eax
lea eax, [esp + 0x24]
push str._img_src__s__width_d_height_d_border0_alt_Graph__
push eax
call fcn.0051fb10
add esp, 0x14
jmp 0x5250a3
mov esi, str.____TESTSUMMARY___
lea eax, [esp + 0x130]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x524f5d
test cl, cl
je 0x524f59
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x524f5d
add eax, 2
add esi, 2
test cl, cl
jne 0x524f39
xor eax, eax
jmp 0x524f62
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x524fb1
lea eax, [esp + 0x130]
push 0xfff
push eax
lea ecx, [ebp + 0x250]
mov dword [esp + 0x40], ebx
mov byte [esp + 0x138], 0
call fcn.00539d30
lea ecx, [esp + 0x130]
lea edx, [esp + 0x30]
push ecx
push edx
lea ecx, [ebp + 0x3070]
call fcn.005323a0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
push eax
push ecx
jmp 0x52509a
mov esi, str.____TESTDETAILS___
lea eax, [esp + 0x130]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x524fe1
test cl, cl
je 0x524fdd
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x524fe1
add eax, 2
add esi, 2
test cl, cl
jne 0x524fbd
xor eax, eax
jmp 0x524fe6
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x525012
lea eax, [esp + 0x18]
lea ecx, [esp + 0x30]
push eax
push ecx
lea ecx, [ebp + 0x2430]
mov dword [esp + 0x40], ebx
call fcn.005343d0
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
push edx
push eax
jmp 0x52509a
mov esi, str.____TESTMODE___
lea eax, [esp + 0x130]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x525042
test cl, cl
je 0x52503e
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x525042
add eax, 2
add esi, 2
test cl, cl
jne 0x52501e
xor eax, eax
jmp 0x525047
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x525091
mov eax, dword [esp + 0xd4]
sub eax, ebx
je 0x525071
dec eax
je 0x525065
lea eax, [esp + 0x10]
push eax
push 0x152b
jmp 0x52507b
lea ecx, [esp + 0x10]
push ecx
push 0x152a
jmp 0x52507b
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 0x52509a
lea edx, [esp + 0x130]
push ebx
push edx
lea ecx, [esp + 0x20]
call fcn.0051fba0
lea eax, [esp + 0x130]
push 0xfff
push eax
lea ecx, [esp + 0x20]
call fcn.0051fc00
cmp eax, 1
je 0x524c32
mov esi, dword [esp + 0x4bdc]
lea ecx, [esp + 0x18]
push esi
call fcn.0051fa00
cmp eax, 1
jne 0x5250f6
cmp dword [esp + 0x4be0], 1
jne 0x5250f6
push 5
push 0
push 0
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
call fcn.004b96b0
lea ecx, [esp + 0x18]
call fcn.0051f8c0
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x4bc8
ret 8