Function at 0x10022bc0
Capabilities:
Link many functions at runtime

Disassembly:
jmp 0x1007a9b0
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x678
mov eax, dword [0x100edfa8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
movups xmm0, xmmword [str.python2X.dll]
movzx eax, word [0x100d5e88]
mov word [ebp - 0x18], ax
movzx eax, word [0x100d5eac]
movups xmmword [ebp - 0x30], xmm0
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x30]
movq xmm0, qword [0x100d5e80]
movq qword [ebp - 0x20], xmm0
movups xmm0, xmmword [str.libpython2.X.dll]
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x60]
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x7c]
movups xmmword [ebp - 0x60], xmm0
movups xmm0, xmmword [0x100d5e9c]
mov dword [ebp - 0x68], eax
movups xmmword [ebp - 0x50], xmm0
nop
mov edi, dword [eax]
push 0x58
push edi
mov dword [ebp - 0x6c], edi
call sub.msvcrt.dll_wcschr
add esp, 8
mov dword [ebp - 0x70], eax
xor esi, esi
lea ecx, [esi + 0x30]
push edi
mov word [eax], cx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
mov dword [ebp - 0x74], edi
test edi, edi
jne 0x1007aa99
mov edi, dword [ebp - 0x6c]
inc esi
mov eax, dword [ebp - 0x70]
cmp esi, 8
jle 0x1007aa45
mov eax, dword [ebp - 0x68]
lea ecx, [ebp - 0x74]
add eax, 4
mov dword [ebp - 0x68], eax
cmp eax, ecx
jne 0x1007aa30
push str.Renpy_failed:_failed_to_find_python2X.dll
call fcn.10005fc0
add esp, 4
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ada0d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.PyUnicodeUCS2_FromObject
push edi
call esi
push str.PyUnicodeUCS2_FromUnicode
push edi
mov dword [0x10c6b94c], eax
call esi
push 0x5f8
mov dword [0x10c6b950], eax
lea eax, [ebp - 0x678]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
push str.PyUnicodeUCS2_Format
push edi
call esi
mov dword [ebp - 0x678], eax
or eax, 0
mov dword [ebp - 0x674], 0
jne 0x1007aaf4
mov byte [ebp - 0x61], al
jmp 0x1007ab9d
cmp dword [0x10c6b950], 0
mov dword [ebp - 0x4d8], 0x1007a6f0
mov dword [ebp - 0x4f8], 0x203
mov dword [ebp - 0x4f4], 0
je 0x1007ab6c
push str.PyGILState_Ensure
push edi
mov dword [ebp - 0x4f8], 0x240203
mov dword [ebp - 0x4f4], 0
mov dword [ebp - 0x4c0], 0x1007a670
call esi
push str.PyGILState_Release
push edi
mov dword [0x10c6b954], eax
call esi
push str.PyRun_SimpleString
push edi
mov dword [0x10c6b958], eax
call esi
mov dword [0x10c6b95c], eax
mov ecx, 0x100f3134
mov eax, 0x1007a6a0
xchg dword [ecx], eax
push str.Renpy
sub esp, 0x5f8
lea esi, [ebp - 0x678]
mov ecx, 0x17e
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.10006250
mov edi, dword [ebp - 0x74]
add esp, 0x5fc
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov byte [ebp - 0x61], al
push 0x5f8
lea eax, [ebp - 0x678]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
push str.PyUnicodeUCS2_Concat
push edi
call esi
mov dword [ebp - 0x678], eax
or eax, 0
mov dword [ebp - 0x674], 0
jne 0x1007abd4
xor al, al
jmp 0x1007ac21
push str.Renpy
sub esp, 0x5f8
mov dword [ebp - 0x4d8], 0x1007a750
mov ecx, 0x17e
mov dword [ebp - 0x4d0], 0x1007a7a0
lea esi, [ebp - 0x678]
mov dword [ebp - 0x4f8], 3
mov edi, esp
mov dword [ebp - 0x4f4], 0
rep movsd dword es:[edi], dword [esi]
call fcn.10006250
add esp, 0x5fc
cmp byte [ebp - 0x61], 0
jne 0x1007ac2f
test al, al
je 0x1007aa84
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.100ada0d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret