Function at 0x1003f170
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push esi
push edi
mov ecx, 0x541df5
call fcn.10059f70
cmp byte [ebp + 8], 0
lea ecx, [ebp + 8]
mov dword [ebp + 8], eax
je 0x1003f372
lea eax, [ebp - 8]
push eax
call fcn.100403c0
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 0x1c], 5
mov esi, dword [eax]
lea eax, [ebp - 0x18]
push eax
push 0x40
push 5
push esi
mov dword [ebp - 0x20], esi
call edi
test eax, eax
setne byte [ebp - 0x14]
mov dword [esi], 0x90909090
mov byte [esi + 4], 0x90
cmp byte [ebp - 0x14], 0
je 0x1003f1e1
mov eax, dword [ebp - 0x18]
lea ecx, [ebp + 8]
push ecx
push eax
push dword [ebp - 0x1c]
mov dword [ebp + 8], eax
push dword [ebp - 0x20]
call edi
mov ecx, 0x53f417
call fcn.10059f70
mov dword [ebp + 8], eax
lea ecx, [ebp + 8]
lea eax, [ebp - 8]
push eax
call fcn.100403c0
mov dword [ebp - 0x1c], 5
mov esi, dword [eax]
lea eax, [ebp - 0x18]
push eax
push 0x40
push 5
push esi
mov dword [ebp - 0x20], esi
call edi
test eax, eax
setne byte [ebp - 0x14]
mov dword [esi], 0x90909090
mov byte [esi + 4], 0x90
cmp byte [ebp - 0x14], 0
je 0x1003f23a
mov eax, dword [ebp - 0x18]
lea ecx, [ebp + 8]
push ecx
push eax
push dword [ebp - 0x1c]
mov dword [ebp + 8], eax
push dword [ebp - 0x20]
call edi
mov ecx, 0x53f41f
call fcn.10059f70
mov dword [ebp + 8], eax
lea ecx, [ebp + 8]
lea eax, [ebp - 8]
push eax
call fcn.100403c0
mov dword [ebp - 0x1c], 4
mov esi, dword [eax]
lea eax, [ebp - 0x18]
push eax
push 0x40
push 4
push esi
mov dword [ebp - 0x20], esi
call edi
test eax, eax
setne byte [ebp - 0x14]
mov dword [esi], 0x840fc033
cmp byte [ebp - 0x14], 0
je 0x1003f28f
mov eax, dword [ebp - 0x18]
lea ecx, [ebp + 8]
push ecx
push eax
push dword [ebp - 0x1c]
mov dword [ebp + 8], eax
push dword [ebp - 0x20]
call edi
mov ecx, 0x53e9f1
call fcn.10059f70
mov dword [ebp + 8], eax
lea ecx, [ebp + 8]
lea eax, [ebp - 8]
push eax
call fcn.100403c0
mov dword [ebp - 0x1c], 5
mov esi, dword [eax]
lea eax, [ebp - 0x18]
push eax
push 0x40
push 5
push esi
mov dword [ebp - 0x20], esi
call edi
test eax, eax
setne byte [ebp - 0x14]
mov dword [esi], 0x90909090
mov byte [esi + 4], 0x90
cmp byte [ebp - 0x14], 0
je 0x1003f2e8
mov eax, dword [ebp - 0x18]
lea ecx, [ebp + 8]
push ecx
push eax
push dword [ebp - 0x1c]
mov dword [ebp + 8], eax
push dword [ebp - 0x20]
call edi
mov ecx, 0x748a1b
call fcn.10059f70
mov dword [ebp + 8], eax
lea ecx, [ebp + 8]
lea eax, [ebp - 0xc]
push eax
call fcn.100403c0
mov dword [ebp - 0x1c], 5
mov esi, dword [eax]
lea eax, [ebp - 0x18]
push eax
push 0x40
push 5
push esi
mov dword [ebp - 0x20], esi
call edi
test eax, eax
setne byte [ebp - 0x14]
mov dword [esi], 0x90909090
mov byte [esi + 4], 0x90
cmp byte [ebp - 0x14], 0
je 0x1003f341
mov eax, dword [ebp - 0x18]
lea ecx, [ebp + 8]
push ecx
push eax
push dword [ebp - 0x1c]
mov dword [ebp + 8], eax
push dword [ebp - 0x20]
call edi
mov eax, dword [0x100bb5a0]
test eax, eax
jne 0x1003f366
push 0xc65
push str.C:Users1_source_reposgamesnusSnusHack_RemasteredSnusHack_RemasteredImGuiimgui.cpp
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call fcn.1006e577
mov eax, dword [0x100bb5a0]
add esp, 0xc
mov byte [eax + 0xac], 1
jmp 0x1003f561
lea eax, [ebp - 0xc]
push eax
call fcn.100403c0
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 0x1c], 5
mov esi, dword [eax]
lea eax, [ebp - 0x18]
push eax
push 0x40
push 5
push esi
mov dword [ebp - 0x20], esi
call edi
test eax, eax
mov eax, dword [0x100aff04]
setne byte [ebp - 0x14]
mov dword [esi], eax
mov al, byte [0x100aff08]
mov byte [esi + 4], al
cmp byte [ebp - 0x14], 0
je 0x1003f3c6
mov eax, dword [ebp - 0x18]
lea ecx, [ebp + 8]
push ecx
push eax
push dword [ebp - 0x1c]
mov dword [ebp + 8], eax
push dword [ebp - 0x20]
call edi
mov ecx, 0x53f417
call fcn.10059f70
mov dword [ebp + 8], eax
lea ecx, [ebp + 8]
lea eax, [ebp - 0xc]
push eax
call fcn.100403c0
mov dword [ebp - 0x1c], 5
mov esi, dword [eax]
lea eax, [ebp - 0x18]
push eax
push 0x40
push 5
push esi
mov dword [ebp - 0x20], esi
call edi
test eax, eax
mov eax, dword [0x100afefc]
setne byte [ebp - 0x14]
mov dword [esi], eax
mov al, byte [0x100aff00]
mov byte [esi + 4], al
cmp byte [ebp - 0x14], 0
je 0x1003f424
mov eax, dword [ebp - 0x18]
lea ecx, [ebp + 8]
push ecx
push eax
push dword [ebp - 0x1c]
mov dword [ebp + 8], eax
push dword [ebp - 0x20]
call edi
mov ecx, 0x53f41f
call fcn.10059f70
mov dword [ebp + 8], eax
lea ecx, [ebp + 8]
lea eax, [ebp - 0xc]
push eax
call fcn.100403c0
mov dword [ebp - 0x1c], 4
mov esi, dword [eax]
lea eax, [ebp - 0x18]
push eax
push 0x40
push 4
push esi
mov dword [ebp - 0x20], esi
call edi
test eax, eax
setne byte [ebp - 0x14]
mov dword [esi], 0x8c0fc085
cmp byte [ebp - 0x14], 0
je 0x1003f479
mov eax, dword [ebp - 0x18]
lea ecx, [ebp + 8]
push ecx
push eax
push dword [ebp - 0x1c]
mov dword [ebp + 8], eax
push dword [ebp - 0x20]
call edi
mov ecx, 0x53e9f1
call fcn.10059f70
mov dword [ebp + 8], eax
lea ecx, [ebp + 8]
lea eax, [ebp - 0xc]
push eax
call fcn.100403c0
mov dword [ebp - 0x1c], 5
mov esi, dword [eax]
lea eax, [ebp - 0x18]
push eax
push 0x40
push 5
push esi
mov dword [ebp - 0x20], esi
call edi
test eax, eax
mov eax, dword [0x100aff0c]
setne byte [ebp - 0x14]
mov dword [esi], eax
mov al, byte [0x100aff10]
mov byte [esi + 4], al
cmp byte [ebp - 0x14], 0
je 0x1003f4d7
mov eax, dword [ebp - 0x18]
lea ecx, [ebp + 8]
push ecx
push eax
push dword [ebp - 0x1c]
mov dword [ebp + 8], eax
push dword [ebp - 0x20]
call edi
mov ecx, 0x748a1b
call fcn.10059f70
mov dword [ebp + 8], eax
lea ecx, [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.100403c0
mov dword [ebp - 0x2c], 5
mov esi, dword [eax]
lea eax, [ebp - 0x28]
push eax
push 0x40
push 5
push esi
mov dword [ebp - 0x30], esi
call edi
test eax, eax
mov eax, dword [0x100aff14]
setne byte [ebp - 0x24]
mov dword [esi], eax
mov al, byte [0x100aff18]
mov byte [esi + 4], al
cmp byte [ebp - 0x24], 0
je 0x1003f535
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 8]
push ecx
push eax
push dword [ebp - 0x2c]
mov dword [ebp - 8], eax
push dword [ebp - 0x30]
call edi
mov eax, dword [0x100bb5a0]
test eax, eax
jne 0x1003f55a
push 0xc65
push str.C:Users1_source_reposgamesnusSnusHack_RemasteredSnusHack_RemasteredImGuiimgui.cpp
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call fcn.1006e577
mov eax, dword [0x100bb5a0]
add esp, 0xc
mov byte [eax + 0xac], 0
mov eax, dword [0x100b8e14]
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov eax, 0x541bd0
call eax
mov eax, 0x541dd0
call eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4