Function at 0x10131750
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 0x1018491a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x140
push esi
mov dword [ebp - 0x20], 0
cmp byte [0x102f70f0], 0
push edi
je 0x1013219c
mov eax, dword [0x10237164]
mov edx, 0x102f70f0
push 0x20
mov ecx, str.Material_Manager
or dword [eax + 0x470c], 2
mov dword [eax + 0x472c], 0x43c80000
mov dword [eax + 0x4730], 0x43be0000
mov dword [eax + 0x4714], 2
call fcn.100dacd0
add esp, 4
test al, al
je 0x1013219c
push 0
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
mov ecx, str.Refresh
mov dword [ebp - 0x18], 0
call fcn.10109c70
add esp, 4
test al, al
je 0x10131807
call fcn.10130f60
movss xmm1, dword [0x1021ec28]
xorps xmm0, xmm0
call fcn.100e2100
push 0
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
mov ecx, str.Edit
mov dword [ebp - 0x18], 0
call fcn.10109c70
add esp, 4
test al, al
je 0x10131a65
push 0x102f70d4
lea eax, [ebp - 0x48]
push eax
call fcn.10130e40
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x60]
mov byte [ebp - 0x28], 0
mov edx, eax
push dword [ebp - 0x28]
call fcn.10085900
add esp, 4
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 1
call fcn.100841b0
lea ecx, [ebp - 0x60]
mov byte [ebp - 0x11], al
call fcn.10062530
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x34]
cmp ecx, 0x10
jb 0x101318bc
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x101318b2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x101318b2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1017dc57
add esp, 8
cmp byte [ebp - 0x11], 0
je 0x10131a65
push 0x102f70d4
lea eax, [ebp - 0x60]
push eax
call fcn.10130e40
mov dword [ebp - 4], 2
cmp dword [eax + 0x14], 0x10
jb 0x101318e3
mov eax, dword [eax]
sub esp, 0xc
lea ecx, [ebp - 0x150]
push eax
call fcn.10084fe0
mov eax, dword [ebp - 0x150]
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 - 0x150]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x154], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0x10
jb 0x10131953
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10131949
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10131949
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1017dc57
add esp, 8
mov eax, dword [ebp - 0x150]
lea ecx, [ebp - 0x150]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 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 0x10131a53
mov eax, dword [ebp - 0x150]
lea edx, [ebp - 0x2c]
mov byte [ebp - 0x17], 0
xorps xmm0, xmm0
mov word [ebp - 0x28], 1
mov dword [ebp - 0x2c], 0
mov eax, dword [eax + 4]
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov ecx, dword [ebp + eax - 0x118]
test ecx, ecx
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x1c]
sete byte [ebp - 0x18]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x28], eax
call fcn.100c8930
test al, al
je 0x101319f0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
jmp 0x10131a05
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x48]
push dword [ebp - 0x2c]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call fcn.10132f10
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 5
push eax
call fcn.10127ca0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x34]
mov byte [0x102f70b8], 1
cmp ecx, 0x10
jb 0x10131a53
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10131a49
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10131a49
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1017dc57
add esp, 8
lea ecx, [ebp - 0x150]
mov dword [ebp - 4], 0xffffffff
call fcn.10060680
movss xmm1, dword [0x1021ec28]
xorps xmm0, xmm0
call fcn.100e2100
push 0
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
mov ecx, str.Remove
mov dword [ebp - 0x18], 0
call fcn.10109c70
add esp, 4
test al, al
je 0x10131ab7
push 0x102f70d4
lea eax, [ebp - 0x60]
push eax
call fcn.10130e40
mov ecx, 1
cmp dword [eax + 0x10], 0
je 0x10131aba
mov byte [ebp - 0x11], cl
jmp 0x10131abe
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 0x11], 0
test cl, 1
je 0x10131af9
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0x10
jb 0x10131af9
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10131aef
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10131aef
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1017dc57
add esp, 8
cmp byte [ebp - 0x11], 0
je 0x10131b96
push 0x102f70d4
lea eax, [ebp - 0x48]
push eax
call fcn.10130e40
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x60]
mov byte [ebp - 0x20], 0
mov edx, eax
push dword [ebp - 0x20]
call fcn.10085900
add esp, 4
mov byte [ebp - 4], 7
lea eax, [ebp - 0x60]
cmp dword [ebp - 0x4c], 8
cmovae eax, dword [ebp - 0x60]
push eax
call fcn.1017d6ca
mov dword [ebp - 0x1c], eax
test edx, edx
jne 0x101321af
lea ecx, [ebp - 0x60]
call fcn.10062530
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x34]
cmp ecx, 0x10
jb 0x10131b91
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10131b87
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10131b87
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1017dc57
add esp, 8
call fcn.10130f60
movss xmm1, dword [0x1021ec28]
xorps xmm0, xmm0
call fcn.100e2100
push 0
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
mov ecx, str.Open_Folder
mov dword [ebp - 0x18], 0
call fcn.10109c70
add esp, 4
test al, al
je 0x10131bf1
cmp dword [0x102f70d0], 0x10
mov eax, 0x102f70bc
push 0xa
cmovae eax, dword [0x102f70bc]
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [0x10237164]
movss xmm1, dword [ecx + 0x3788]
mov eax, dword [ecx + 0x3e58]
addss xmm1, xmm1
movss xmm0, dword [eax + 0x1c]
subss xmm0, xmm1
call fcn.100e21b0
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10236a90]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x102f72e8]
cmp eax, dword [ecx + 4]
jle 0x10131c63
push 0x102f72e8
call fcn.1017dd04
add esp, 4
cmp dword [0x102f72e8], 0xffffffff
jne 0x10131c63
push 0x101985e0
call fcn.1017dc3d
add esp, 4
push 0x102f72e8
call fcn.1017dcb3
add esp, 4
mov eax, dword [0x10230078]
mov ecx, 0x10230064
cmp eax, 0x10
mov dword [ebp - 0x30], 0x10230064
mov dword [ebp - 0x2c], 0
cmovae ecx, dword [0x10230064]
lea edx, [eax + 1]
mov dword [ebp - 0x28], 0
lea eax, [ebp - 0x30]
mov dword [ebp - 0x1c], 0
push eax
push 0x100fec70
push 0x40020
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x18], 0
push eax
push edx
push ecx
mov edx, str.New_Material_name
mov ecx, str.MaterialName
call fcn.10110ba0
add esp, 0x18
test al, al
je 0x10132010
mov ecx, dword [0x10230074]
mov esi, 0x7fffffff
mov eax, esi
sub eax, ecx
cmp eax, 4
jb 0x101321bd
cmp dword [0x10230078], 0x10
mov eax, 0x10230064
push 4
cmovae eax, dword [0x10230064]
push str..vmt
push ecx
push eax
push ecx
push dword [ebp - 0x20]
lea ecx, [ebp - 0x48]
call fcn.1007e9b0
lea eax, [ebp - 0x48]
mov dword [ebp - 4], 8
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.10130e40
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x94]
mov byte [ebp - 0x20], 0
mov edx, eax
push dword [ebp - 0x20]
call fcn.10085900
add esp, 4
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 0xa
call fcn.100841b0
lea ecx, [ebp - 0x94]
mov byte [ebp - 0x11], al
call fcn.10062530
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0x10
jb 0x10131d8b
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10131d81
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10131dca
push ecx
push edx
call fcn.1017dc57
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
cmp ecx, 0x10
jb 0x10131dda
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10131dd0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10131dd0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1017dc57
add esp, 8
cmp byte [ebp - 0x11], 0
jne 0x10132010
mov ecx, dword [0x102ee78c]
push 0x20
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0xb
test eax, eax
je 0x10131e20
cmp dword [0x10230078], 0x10
mov ecx, 0x10230064
cmovae ecx, dword [0x10230064]
push ecx
mov ecx, eax
call fcn.10179f60
mov edi, eax
jmp 0x10131e22
xor edi, edi
mov dword [ebp - 4], 0xffffffff
mov ecx, 0x102304d8
cmp dword [0x102304ec], 0x10
mov eax, 0x10230064
cmovae ecx, dword [0x102304d8]
cmp dword [0x10230078], 0x10
cmovae eax, dword [0x10230064]
sub esp, 8
push ecx
push eax
push edi
call fcn.10179e10
mov ecx, dword [0x10230074]
mov eax, esi
sub eax, ecx
cmp eax, 6
jb 0x101321c2
cmp dword [0x10230078], 0x10
mov eax, 0x10230064
push ecx
cmovae eax, dword [0x10230064]
push eax
push 6
push str.m_pmat
push ecx
push dword [ebp - 0x20]
lea ecx, [ebp - 0x48]
call fcn.1007e9b0
mov dword [ebp - 4], 0xc
lea edx, [ebp - 0x48]
mov ecx, dword [0x10236fc0]
cmp dword [ebp - 0x34], 0x10
push edi
cmovae edx, dword [ebp - 0x48]
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x120]
call eax
mov edi, eax
mov ecx, edi
mov dword [ebp - 0x20], edi
mov edx, dword [edi]
call dword [edx + 0x30]
mov ecx, dword [0x1023464c]
cmp ecx, dword [0x10234650]
je 0x10131ede
mov dword [ecx], edi
add dword [0x1023464c], 4
jmp 0x10131eed
lea eax, [ebp - 0x20]
push eax
push ecx
mov ecx, 0x10234648
call fcn.10083100
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x34]
cmp ecx, 0x10
jb 0x10131f2a
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10131f20
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10131f20
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1017dc57
add esp, 8
mov ecx, dword [0x10230074]
sub esi, ecx
cmp esi, 4
jb 0x101321c7
cmp dword [0x10230078], 0x10
mov eax, 0x10230064
push 4
cmovae eax, dword [0x10230064]
push str..vmt
push ecx
push eax
push ecx
push dword [ebp - 0x20]
lea ecx, [ebp - 0x7c]
call fcn.1007e9b0
mov dword [ebp - 0x64], edi
push 0x102304d8
lea eax, [ebp - 0x7c]
mov dword [ebp - 4], 0xd
push eax
call fcn.10131630
push 0x10230064
mov ecx, 0x102f70f4
call fcn.10132630
mov esi, eax
lea eax, [ebp - 0x7c]
cmp esi, eax
je 0x10131fa8
cmp dword [ebp - 0x68], 0x10
mov ecx, eax
push dword [ebp - 0x6c]
cmovae ecx, dword [ebp - 0x7c]
push ecx
mov ecx, esi
call fcn.10062990
mov eax, dword [ebp - 0x64]
mov dword [esi + 0x18], eax
call fcn.10130f60
cmp dword [0x10230078], 0x10
mov eax, 0x10230064
mov dword [0x10230074], 0
cmovae eax, dword [0x10230064]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x68]
mov byte [eax], 0
cmp ecx, 0x10
jb 0x10132010
mov edx, dword [ebp - 0x7c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10132006
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10132006
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1017dc57
add esp, 8
mov ecx, dword [0x10237164]
push 0
push 0
mov dword [ebp - 0x24], 0
mov eax, dword [ecx + 0x3e58]
mov dword [ebp - 0x20], 0
mov byte [eax + 0xac], 1
lea eax, [ebp - 0x24]
mov ecx, dword [ecx + 0x3e58]
push eax
sub esp, 8
push str.ListChildMaterials
call fcn.100d4470
add esp, 4
mov edx, eax
mov ecx, str.ListChildMaterials
call fcn.100d8080
add esp, 0xc
test al, al
je 0x1013218d
mov eax, dword [0x10237164]
lea edx, [ebp - 0x1c]
mov eax, dword [eax + 0x3e58]
movss xmm0, dword [eax + 0x1c]
movss dword [ebp - 0x1c], xmm0
movss xmm0, dword [eax + 0x20]
movss dword [ebp - 0x18], xmm0
call fcn.1011a410
test al, al
je 0x1013218d
mov edi, dword [0x102f70f8]
mov esi, dword [edi]
cmp esi, edi
je 0x10132157
cmp dword [esi + 0x18], 0
lea ecx, [esi + 8]
lea eax, [ecx + 0x18]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x28], eax
je 0x1013214d
cmp dword [eax + 0x14], 0x10
mov edx, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
jb 0x101320d3
mov edx, dword [eax]
push dword [eax + 0x10]
cmp dword [0x102f70e8], 0x10
mov ecx, 0x102f70d4
push edx
cmovae ecx, dword [0x102f70d4]
mov edx, dword [0x102f70e4]
call fcn.1006c820
mov dl, al
add esp, 8
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x14], 0x10
jb 0x10132105
mov eax, dword [eax]
lea ecx, [ebp - 0x1c]
push ecx
push 0
mov ecx, eax
call fcn.10119cd0
add esp, 8
test al, al
je 0x1013214d
mov eax, dword [ebp - 0x28]
cmp eax, 0x102f70d4
je 0x1013213e
cmp dword [eax + 0x14], 0x10
mov ecx, eax
jb 0x1013212d
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, 0x102f70d4
call fcn.10062990
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x18]
mov dword [0x102f70ec], eax
mov byte [0x102f70b8], 0
mov esi, dword [esi]
cmp esi, edi
jne 0x101320a5
mov eax, dword [0x10237164]
mov eax, dword [eax + 0x3e58]
test dword [eax + 0xc], 0x1000000
jne 0x10132183
push 0x19e7
push str.C:Users_adamsDesktop_all_dllsFedoraware_mainFedorawareFedoraware_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.100d82d0
call fcn.100e2580
call fcn.100d82d0
call fcn.100e2250
call fcn.100dd580
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 - 0x60]
mov ecx, str.remove
push eax
call fcn.10083fa0
call fcn.1005c870
call fcn.1005c870
call fcn.1005c870
int3