Function at 0x1013b7b0
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 0x1019084a
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 [0x10306e88], 0
push edi
je 0x1013c1fc
mov eax, dword [0x10243f84]
mov edx, 0x10306e88
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.100e4cf0
add esp, 4
test al, al
je 0x1013c1fc
push 0
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
mov ecx, str.Refresh
mov dword [ebp - 0x18], 0
call fcn.10113ca0
add esp, 4
test al, al
je 0x1013b867
call fcn.1013afc0
movss xmm1, dword [0x1022ba08]
xorps xmm0, xmm0
call fcn.100ec120
push 0
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
mov ecx, str.Edit
mov dword [ebp - 0x18], 0
call fcn.10113ca0
add esp, 4
test al, al
je 0x1013bac5
push 0x10306e6c
lea eax, [ebp - 0x48]
push eax
call fcn.1013aea0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x60]
mov byte [ebp - 0x28], 0
mov edx, eax
push dword [ebp - 0x28]
call fcn.1008cdb0
add esp, 4
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 1
call fcn.1008b660
lea ecx, [ebp - 0x60]
mov byte [ebp - 0x11], al
call fcn.10066930
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x34]
cmp ecx, 0x10
jb 0x1013b91c
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1013b912
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1013b912
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10189b37
add esp, 8
cmp byte [ebp - 0x11], 0
je 0x1013bac5
push 0x10306e6c
lea eax, [ebp - 0x60]
push eax
call fcn.1013aea0
mov dword [ebp - 4], 2
cmp dword [eax + 0x14], 0x10
jb 0x1013b943
mov eax, dword [eax]
sub esp, 0xc
lea ecx, [ebp - 0x150]
push eax
call fcn.1008c490
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 0x1013b9b3
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1013b9a9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1013b9a9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10189b37
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 0x1013bab3
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.100d2960
test al, al
je 0x1013ba50
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
jmp 0x1013ba65
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x48]
push dword [ebp - 0x2c]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call fcn.1013cf70
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 5
push eax
call fcn.10131d00
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x34]
mov byte [0x10306e50], 1
cmp ecx, 0x10
jb 0x1013bab3
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1013baa9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1013baa9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10189b37
add esp, 8
lea ecx, [ebp - 0x150]
mov dword [ebp - 4], 0xffffffff
call fcn.10064ae0
movss xmm1, dword [0x1022ba08]
xorps xmm0, xmm0
call fcn.100ec120
push 0
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
mov ecx, str.Remove
mov dword [ebp - 0x18], 0
call fcn.10113ca0
add esp, 4
test al, al
je 0x1013bb17
push 0x10306e6c
lea eax, [ebp - 0x60]
push eax
call fcn.1013aea0
mov ecx, 1
cmp dword [eax + 0x10], 0
je 0x1013bb1a
mov byte [ebp - 0x11], cl
jmp 0x1013bb1e
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 0x11], 0
test cl, 1
je 0x1013bb59
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0x10
jb 0x1013bb59
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1013bb4f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1013bb4f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10189b37
add esp, 8
cmp byte [ebp - 0x11], 0
je 0x1013bbf6
push 0x10306e6c
lea eax, [ebp - 0x48]
push eax
call fcn.1013aea0
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x60]
mov byte [ebp - 0x20], 0
mov edx, eax
push dword [ebp - 0x20]
call fcn.1008cdb0
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.101895aa
mov dword [ebp - 0x1c], eax
test edx, edx
jne 0x1013c20f
lea ecx, [ebp - 0x60]
call fcn.10066930
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x34]
cmp ecx, 0x10
jb 0x1013bbf1
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1013bbe7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1013bbe7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10189b37
add esp, 8
call fcn.1013afc0
movss xmm1, dword [0x1022ba08]
xorps xmm0, xmm0
call fcn.100ec120
push 0
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
mov ecx, str.Open_Folder
mov dword [ebp - 0x18], 0
call fcn.10113ca0
add esp, 4
test al, al
je 0x1013bc51
cmp dword [0x10306e68], 0x10
mov eax, 0x10306e54
push 0xa
cmovae eax, dword [0x10306e54]
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [0x10243f84]
movss xmm1, dword [ecx + 0x3788]
mov eax, dword [ecx + 0x3e58]
addss xmm1, xmm1
movss xmm0, dword [eax + 0x1c]
subss xmm0, xmm1
call fcn.100ec1d0
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10243ad0]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10307090]
cmp eax, dword [ecx + 4]
jle 0x1013bcc3
push 0x10307090
call fcn.10189be4
add esp, 4
cmp dword [0x10307090], 0xffffffff
jne 0x1013bcc3
push 0x101a51a0
call fcn.10189b1d
add esp, 4
push 0x10307090
call fcn.10189b93
add esp, 4
mov eax, dword [0x1023d078]
mov ecx, 0x1023d064
cmp eax, 0x10
mov dword [ebp - 0x30], 0x1023d064
mov dword [ebp - 0x2c], 0
cmovae ecx, dword [0x1023d064]
lea edx, [eax + 1]
mov dword [ebp - 0x28], 0
lea eax, [ebp - 0x30]
mov dword [ebp - 0x1c], 0
push eax
push 0x10108cd0
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.1011abe0
add esp, 0x18
test al, al
je 0x1013c070
mov ecx, dword [0x1023d074]
mov esi, 0x7fffffff
mov eax, esi
sub eax, ecx
cmp eax, 4
jb 0x1013c21d
cmp dword [0x1023d078], 0x10
mov eax, 0x1023d064
push 4
cmovae eax, dword [0x1023d064]
push str..vmt
push ecx
push eax
push ecx
push dword [ebp - 0x20]
lea ecx, [ebp - 0x48]
call fcn.100861b0
lea eax, [ebp - 0x48]
mov dword [ebp - 4], 8
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.1013aea0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x94]
mov byte [ebp - 0x20], 0
mov edx, eax
push dword [ebp - 0x20]
call fcn.1008cdb0
add esp, 4
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 0xa
call fcn.1008b660
lea ecx, [ebp - 0x94]
mov byte [ebp - 0x11], al
call fcn.10066930
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0x10
jb 0x1013bdeb
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1013bde1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1013be2a
push ecx
push edx
call fcn.10189b37
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 0x1013be3a
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1013be30
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1013be30
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10189b37
add esp, 8
cmp byte [ebp - 0x11], 0
jne 0x1013c070
mov ecx, dword [0x102fdf1c]
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 0x1013be80
cmp dword [0x1023d078], 0x10
mov ecx, 0x1023d064
cmovae ecx, dword [0x1023d064]
push ecx
mov ecx, eax
call fcn.10185c10
mov edi, eax
jmp 0x1013be82
xor edi, edi
mov dword [ebp - 4], 0xffffffff
mov ecx, 0x1023d500
cmp dword [0x1023d514], 0x10
mov eax, 0x1023d064
cmovae ecx, dword [0x1023d500]
cmp dword [0x1023d078], 0x10
cmovae eax, dword [0x1023d064]
sub esp, 8
push ecx
push eax
push edi
call fcn.10185ac0
mov ecx, dword [0x1023d074]
mov eax, esi
sub eax, ecx
cmp eax, 6
jb 0x1013c222
cmp dword [0x1023d078], 0x10
mov eax, 0x1023d064
push ecx
cmovae eax, dword [0x1023d064]
push eax
push 6
push str.m_pmat
push ecx
push dword [ebp - 0x20]
lea ecx, [ebp - 0x48]
call fcn.100861b0
mov dword [ebp - 4], 0xc
lea edx, [ebp - 0x48]
mov ecx, dword [0x102fd918]
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 [0x10241654]
cmp ecx, dword [0x10241658]
je 0x1013bf3e
mov dword [ecx], edi
add dword [0x10241654], 4
jmp 0x1013bf4d
lea eax, [ebp - 0x20]
push eax
push ecx
mov ecx, 0x10241650
call fcn.1008a5b0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x34]
cmp ecx, 0x10
jb 0x1013bf8a
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1013bf80
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1013bf80
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10189b37
add esp, 8
mov ecx, dword [0x1023d074]
sub esi, ecx
cmp esi, 4
jb 0x1013c227
cmp dword [0x1023d078], 0x10
mov eax, 0x1023d064
push 4
cmovae eax, dword [0x1023d064]
push str..vmt
push ecx
push eax
push ecx
push dword [ebp - 0x20]
lea ecx, [ebp - 0x7c]
call fcn.100861b0
mov dword [ebp - 0x64], edi
push 0x1023d500
lea eax, [ebp - 0x7c]
mov dword [ebp - 4], 0xd
push eax
call fcn.1013b690
push 0x1023d064
mov ecx, 0x10306e8c
call fcn.1013c690
mov esi, eax
lea eax, [ebp - 0x7c]
cmp esi, eax
je 0x1013c008
cmp dword [ebp - 0x68], 0x10
mov ecx, eax
push dword [ebp - 0x6c]
cmovae ecx, dword [ebp - 0x7c]
push ecx
mov ecx, esi
call fcn.10066d50
mov eax, dword [ebp - 0x64]
mov dword [esi + 0x18], eax
call fcn.1013afc0
cmp dword [0x1023d078], 0x10
mov eax, 0x1023d064
mov dword [0x1023d074], 0
cmovae eax, dword [0x1023d064]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x68]
mov byte [eax], 0
cmp ecx, 0x10
jb 0x1013c070
mov edx, dword [ebp - 0x7c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1013c066
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1013c066
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10189b37
add esp, 8
mov ecx, dword [0x10243f84]
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.100de4a0
add esp, 4
mov edx, eax
mov ecx, str.ListChildMaterials
call fcn.100e20a0
add esp, 0xc
test al, al
je 0x1013c1ed
mov eax, dword [0x10243f84]
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.10124450
test al, al
je 0x1013c1ed
mov edi, dword [0x10306e90]
mov esi, dword [edi]
cmp esi, edi
je 0x1013c1b7
cmp dword [esi + 0x18], 0
lea ecx, [esi + 8]
lea eax, [ecx + 0x18]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x28], eax
je 0x1013c1ad
cmp dword [eax + 0x14], 0x10
mov edx, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
jb 0x1013c133
mov edx, dword [eax]
push dword [eax + 0x10]
cmp dword [0x10306e80], 0x10
mov ecx, 0x10306e6c
push edx
cmovae ecx, dword [0x10306e6c]
mov edx, dword [0x10306e7c]
call fcn.10070c30
mov dl, al
add esp, 8
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x14], 0x10
jb 0x1013c165
mov eax, dword [eax]
lea ecx, [ebp - 0x1c]
push ecx
push 0
mov ecx, eax
call fcn.10123d10
add esp, 8
test al, al
je 0x1013c1ad
mov eax, dword [ebp - 0x28]
cmp eax, 0x10306e6c
je 0x1013c19e
cmp dword [eax + 0x14], 0x10
mov ecx, eax
jb 0x1013c18d
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, 0x10306e6c
call fcn.10066d50
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x18]
mov dword [0x10306e84], eax
mov byte [0x10306e50], 0
mov esi, dword [esi]
cmp esi, edi
jne 0x1013c105
mov eax, dword [0x10243f84]
mov eax, dword [eax + 0x3e58]
test dword [eax + 0xc], 0x1000000
jne 0x1013c1e3
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.100e22f0
call fcn.100ec5a0
call fcn.100e22f0
call fcn.100ec270
call fcn.100e75a0
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.1008b450
call fcn.10060cd0
call fcn.10060cd0
call fcn.10060cd0
int3