Function at 0x10148060
Capabilities:
Create process on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1019f80d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x148
push esi
mov dword [ebp - 0x24], 0
cmp byte [0x10320510], 0
push edi
je 0x10148ad9
mov eax, dword [0x10255824]
mov edx, 0x10320510
movss xmm0, dword [0x1023d35c]
mov ecx, str.Material_Manager
movss xmm1, dword [0x1023d358]
push 0x20
or dword [eax + 0x470c], 2
movss dword [eax + 0x472c], xmm0
movss dword [eax + 0x4730], xmm1
mov dword [eax + 0x4714], 2
call fcn.100f2d90
add esp, 4
test al, al
je 0x10148ad9
push 0
lea edx, [ebp - 0x20]
mov dword [ebp - 0x20], 0
mov ecx, str.Refresh
mov dword [ebp - 0x1c], 0
call fcn.10121230
add esp, 4
test al, al
je 0x10148123
call fcn.10147810
movss xmm1, dword [0x1023d440]
xorps xmm0, xmm0
call fcn.100f9ef0
push 0
lea edx, [ebp - 0x20]
mov dword [ebp - 0x20], 0
mov ecx, str.Edit
mov dword [ebp - 0x1c], 0
call fcn.10121230
add esp, 4
test al, al
je 0x10148393
push 0x103204f4
lea eax, [ebp - 0x50]
push eax
call fcn.10147700
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x68]
mov byte [ebp - 0x30], 0
mov edx, eax
push dword [ebp - 0x30]
call fcn.1009a490
add esp, 4
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 1
call fcn.10098bb0
lea ecx, [ebp - 0x68]
mov byte [ebp - 0x11], al
call fcn.10074410
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0xf
jbe 0x101481d8
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x101481ce
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x101481ce
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1019873b
add esp, 8
cmp byte [ebp - 0x11], 0
je 0x10148393
push 0x103204f4
lea eax, [ebp - 0x68]
push eax
call fcn.10147700
mov dword [ebp - 4], 2
cmp dword [eax + 0x14], 0xf
jbe 0x101481ff
mov eax, dword [eax]
sub esp, 0xc
lea ecx, [ebp - 0x158]
push eax
call fcn.10099b40
mov eax, dword [ebp - 0x158]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x158]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x15c], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x54]
cmp ecx, 0xf
jbe 0x1014826f
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10148265
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10148265
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1019873b
add esp, 8
mov eax, dword [ebp - 0x158]
lea ecx, [ebp - 0x158]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_bool___thiscall_std::ios_base::good_void_const]
test al, al
je 0x10148381
mov eax, dword [ebp - 0x158]
xorps xmm0, xmm0
mov byte [ebp - 0x1b], 0
mov word [ebp - 0x34], 1
mov eax, dword [eax + 4]
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov edx, dword [ebp + eax - 0x120]
test edx, edx
movzx eax, word [ebp - 0x1a]
mov word [ebp - 0x32], ax
sete cl
movzx eax, word [ebp - 0x1a]
mov byte [ebp - 0x1c], cl
lea ecx, [ebp - 0x20]
mov word [ebp - 0x1a], ax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], edx
lea edx, [ebp - 0x34]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], eax
call fcn.100df930
test al, al
je 0x1014831e
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
jmp 0x10148333
push ecx
push dword [ebp - 0x30]
lea ecx, [ebp - 0x50]
push dword [ebp - 0x34]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.10149850
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 5
push eax
call fcn.1013f4d0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x3c]
mov byte [0x103204d8], 1
cmp ecx, 0xf
jbe 0x10148381
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10148377
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10148377
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1019873b
add esp, 8
lea ecx, [ebp - 0x158]
mov dword [ebp - 4], 0xffffffff
call fcn.10072640
movss xmm1, dword [0x1023d440]
xorps xmm0, xmm0
call fcn.100f9ef0
push 0
lea edx, [ebp - 0x20]
mov dword [ebp - 0x20], 0
mov ecx, str.Remove
mov dword [ebp - 0x1c], 0
call fcn.10121230
add esp, 4
test al, al
je 0x101483e5
push 0x103204f4
lea eax, [ebp - 0x68]
push eax
call fcn.10147700
mov ecx, 1
cmp dword [eax + 0x10], 0
je 0x101483e8
mov byte [ebp - 0x11], cl
jmp 0x101483ec
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 0x11], 0
test cl, 1
je 0x10148427
mov ecx, dword [ebp - 0x54]
cmp ecx, 0xf
jbe 0x10148427
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1014841d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1014841d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1019873b
add esp, 8
cmp byte [ebp - 0x11], 0
je 0x101484c4
push 0x103204f4
lea eax, [ebp - 0x50]
push eax
call fcn.10147700
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x68]
mov byte [ebp - 0x24], 0
mov edx, eax
push dword [ebp - 0x24]
call fcn.1009a490
add esp, 4
mov byte [ebp - 4], 7
lea eax, [ebp - 0x68]
cmp dword [ebp - 0x54], 7
cmova eax, dword [ebp - 0x68]
push eax
call fcn.101981aa
mov dword [ebp - 0x20], eax
test edx, edx
jne 0x10148aec
lea ecx, [ebp - 0x68]
call fcn.10074410
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0xf
jbe 0x101484bf
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x101484b5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x101484b5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1019873b
add esp, 8
call fcn.10147810
movss xmm1, dword [0x1023d440]
xorps xmm0, xmm0
call fcn.100f9ef0
push 0
lea edx, [ebp - 0x20]
mov dword [ebp - 0x20], 0
mov ecx, str.Open_Folder
mov dword [ebp - 0x1c], 0
call fcn.10121230
add esp, 4
test al, al
je 0x1014851f
cmp dword [0x103204f0], 0xf
mov eax, 0x103204dc
push 0xa
cmova eax, dword [0x103204dc]
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [0x10255824]
movss xmm1, dword [ecx + 0x3788]
mov eax, dword [ecx + 0x3e58]
addss xmm1, xmm1
movss xmm0, dword [eax + 0x1c]
subss xmm0, xmm1
call fcn.100f9fa0
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10255374]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10320718]
cmp eax, dword [ecx + 4]
jle 0x10148591
push 0x10320718
call fcn.101987e8
add esp, 4
cmp dword [0x10320718], 0xffffffff
jne 0x10148591
push 0x101b5740
call fcn.10198721
add esp, 4
push 0x10320718
call fcn.10198797
add esp, 4
mov eax, dword [0x1024f0e8]
mov ecx, 0x1024f0d4
cmp eax, 0xf
mov dword [ebp - 0x38], 0x1024f0d4
mov dword [ebp - 0x34], 0
cmova ecx, dword [0x1024f0d4]
lea edx, [eax + 1]
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x38]
mov dword [ebp - 0x20], 0
push eax
push 0x10116440
push 0x40020
lea eax, [ebp - 0x20]
mov dword [ebp - 0x1c], 0
push eax
push edx
push ecx
mov edx, str.New_Material_name
mov ecx, str.MaterialName
call fcn.10128370
add esp, 0x18
test al, al
je 0x1014894d
mov ecx, dword [0x1024f0e4]
mov esi, 0x7fffffff
mov eax, esi
sub eax, ecx
cmp eax, 4
jb 0x10148afa
cmp dword [0x1024f0e8], 0xf
mov eax, 0x1024f0d4
push 4
cmova eax, dword [0x1024f0d4]
push str..vmt
push ecx
push eax
push ecx
push dword [ebp - 0x24]
lea ecx, [ebp - 0x50]
call fcn.10093420
lea eax, [ebp - 0x50]
mov dword [ebp - 4], 8
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.10147700
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x9c]
mov byte [ebp - 0x24], 0
mov edx, eax
push dword [ebp - 0x24]
call fcn.1009a490
add esp, 4
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 0xa
call fcn.10098bb0
lea ecx, [ebp - 0x9c]
mov byte [ebp - 0x11], al
call fcn.10074410
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x54]
cmp ecx, 0xf
jbe 0x101486b9
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x101486af
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101486f8
push ecx
push edx
call fcn.1019873b
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
cmp ecx, 0xf
jbe 0x10148708
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x101486fe
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x101486fe
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1019873b
add esp, 8
cmp byte [ebp - 0x11], 0
jne 0x1014894d
mov ecx, dword [0x10316e38]
push 0x20
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0xb
test eax, eax
je 0x1014874e
cmp dword [0x1024f0e8], 0xf
mov ecx, 0x1024f0d4
cmova ecx, dword [0x1024f0d4]
push ecx
mov ecx, eax
call fcn.10194af0
mov edi, eax
jmp 0x10148750
xor edi, edi
mov dword [ebp - 4], 0xffffffff
mov ecx, 0x102828e0
cmp dword [0x102828f4], 0xf
mov eax, 0x1024f0d4
cmova ecx, dword [0x102828e0]
cmp dword [0x1024f0e8], 0xf
cmova eax, dword [0x1024f0d4]
sub esp, 8
push ecx
push eax
push edi
call fcn.101949a0
mov ecx, dword [0x1024f0e4]
mov eax, esi
sub eax, ecx
cmp eax, 6
jb 0x10148aff
cmp dword [0x1024f0e8], 0xf
mov eax, 0x1024f0d4
push ecx
cmova eax, dword [0x1024f0d4]
push eax
push 6
push str.m_pmat
push ecx
push dword [ebp - 0x24]
lea ecx, [ebp - 0x50]
call fcn.10093420
mov dword [ebp - 4], 0xc
lea edx, [ebp - 0x50]
mov ecx, dword [0x103167e4]
cmp dword [ebp - 0x3c], 0xf
push edi
cmova edx, dword [ebp - 0x50]
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x120]
call eax
mov edi, eax
mov ecx, edi
mov dword [ebp - 0x24], edi
mov edx, dword [edi]
call dword [edx + 0x30]
mov ecx, dword [0x102535d8]
cmp ecx, dword [0x102535dc]
je 0x1014880c
mov dword [ecx], edi
add dword [0x102535d8], 4
jmp 0x1014881b
lea eax, [ebp - 0x24]
push eax
push ecx
mov ecx, 0x102535d4
call fcn.100c7be0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0xf
jbe 0x10148858
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1014884e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1014884e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1019873b
add esp, 8
mov ecx, dword [0x1024f0e4]
sub esi, ecx
cmp esi, 4
jb 0x10148b04
cmp dword [0x1024f0e8], 0xf
mov eax, 0x1024f0d4
push 4
cmova eax, dword [0x1024f0d4]
push str..vmt
push ecx
push eax
push ecx
push dword [ebp - 0x24]
lea ecx, [ebp - 0x84]
call fcn.10093420
mov dword [ebp - 0x6c], edi
push 0x102828e0
lea eax, [ebp - 0x84]
mov dword [ebp - 4], 0xd
push eax
call fcn.10147f40
push 0x1024f0d4
mov ecx, 0x10320514
call fcn.10148f50
mov esi, eax
lea eax, [ebp - 0x84]
cmp esi, eax
je 0x101488e2
cmp dword [ebp - 0x70], 0xf
mov ecx, eax
push dword [ebp - 0x74]
cmova ecx, dword [ebp - 0x84]
push ecx
mov ecx, esi
call fcn.100745c0
mov eax, dword [ebp - 0x6c]
mov dword [esi + 0x18], eax
call fcn.10147810
cmp dword [0x1024f0e8], 0xf
mov eax, 0x1024f0d4
mov dword [0x1024f0e4], 0
cmova eax, dword [0x1024f0d4]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x70]
mov byte [eax], 0
cmp ecx, 0xf
jbe 0x1014894d
mov edx, dword [ebp - 0x84]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10148943
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10148943
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1019873b
add esp, 8
mov ecx, dword [0x10255824]
push 0
push 0
mov dword [ebp - 0x28], 0
mov eax, dword [ecx + 0x3e58]
mov dword [ebp - 0x24], 0
mov byte [eax + 0xac], 1
lea eax, [ebp - 0x28]
mov ecx, dword [ecx + 0x3e58]
push eax
sub esp, 8
push str.ListChildMaterials
call fcn.100ec1b0
add esp, 4
mov edx, eax
mov ecx, str.ListChildMaterials
call fcn.100eff70
add esp, 0xc
test al, al
je 0x10148aca
mov eax, dword [0x10255824]
lea edx, [ebp - 0x20]
mov eax, dword [eax + 0x3e58]
movss xmm0, dword [eax + 0x1c]
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [eax + 0x20]
movss dword [ebp - 0x1c], xmm0
call fcn.10131a50
test al, al
je 0x10148aca
mov edi, dword [0x10320518]
mov esi, dword [edi]
cmp esi, edi
je 0x10148a94
cmp dword [esi + 0x18], 0
lea ecx, [esi + 8]
lea eax, [ecx + 0x18]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x30], eax
je 0x10148a8a
cmp dword [eax + 0x14], 0xf
mov edx, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
jbe 0x10148a10
mov edx, dword [eax]
push dword [eax + 0x10]
cmp dword [0x10320508], 0xf
mov ecx, 0x103204f4
push edx
cmova ecx, dword [0x103204f4]
mov edx, dword [0x10320504]
call fcn.1007ea30
mov dl, al
add esp, 8
mov eax, dword [ebp - 0x24]
cmp dword [eax + 0x14], 0xf
jbe 0x10148a42
mov eax, dword [eax]
lea ecx, [ebp - 0x20]
push ecx
push 0
mov ecx, eax
call fcn.101312c0
add esp, 8
test al, al
je 0x10148a8a
mov eax, dword [ebp - 0x30]
cmp eax, 0x103204f4
je 0x10148a7b
cmp dword [eax + 0x14], 0xf
mov ecx, eax
jbe 0x10148a6a
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, 0x103204f4
call fcn.100745c0
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x18]
mov dword [0x1032050c], eax
mov byte [0x103204d8], 0
mov esi, dword [esi]
cmp esi, edi
jne 0x101489e2
mov eax, dword [0x10255824]
mov eax, dword [eax + 0x3e58]
test dword [eax + 0xc], 0x1000000
jne 0x10148ac0
push 0x19e7
push str.D:_aFedorawareFedorawareFedorawareFedoraware_TF2includeImGuiimgui_widgets.cpp
push str._window__Flags__ImGuiWindowFlags_ChildWindow____Mismatched_BeginListBox_EndListBox_calls._Did_you_test_the_return_value_of_BeginListBox__
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
call fcn.100f01c0
call fcn.100fa480
call fcn.100f01c0
call fcn.100fa150
call fcn.100f53c0
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
lea eax, [ebp - 0x68]
mov ecx, str.remove
push eax
call fcn.10098940
call fcn.1006ff00
call fcn.1006ff00
call fcn.1006ff00
int3