Function at 0x9e2090
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Query environment variable
Terminate process

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x30c
push ebx
push ebp
push esi
push edi
mov dword [eax], 0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov esi, eax
push esi
call fcn.009e1150
add esp, 4
mov ebx, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
mov ebp, dword [esp + 0x320]
test ebx, ebx
je 0x9e20d9
cmp dword [ebp], 0
jne 0x9e20d9
mov dword [0xaf46a0], 1
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [esp + 0x14]
push 0x104
push ecx
push 0
call edi
push eax
call fcn.00a221b0
push str.os_debug.dll
lea edx, [esp + 0x18]
push 0x5c
push edx
call fcn.00a7e1b5
add esp, 8
push eax
call fcn.00a7e270
add esp, 8
lea eax, [esp + 0x14]
push eax
call fcn.00a1fd60
mov esi, eax
cmp esi, 0xffffffff
jne 0x9e2189
lea ecx, [esp + 0x14]
push 0xa9e548
push ecx
call fcn.00a7e270
add esp, 8
lea edx, [esp + 0x14]
push edx
call fcn.00a1fd60
mov esi, eax
cmp esi, 0xffffffff
jne 0x9e2189
lea eax, [esp + 0x14]
push 0x104
push eax
push 0xa9e534
call fcn.00a202c0
test eax, eax
je 0x9e2189
lea ecx, [esp + 0x14]
push 0x5c
push ecx
call fcn.00a7e1b5
add esp, 8
test eax, eax
je 0x9e217d
push str.os_debug.dll
push eax
call fcn.00a7e270
add esp, 8
lea edx, [esp + 0x14]
push edx
call fcn.00a1fd60
mov esi, eax
cmp dword [ebp], 0
jne 0x9e219f
push 0xa9e524
call edi
push eax
call fcn.009e2040
add esp, 4
test ebp, ebp
je 0x9e233c
cmp dword [ebp], 0
je 0x9e233c
test ebx, ebx
jne 0x9e21c0
cmp esi, 0xffffffff
je 0x9e233c
jmp 0x9e21df
cmp esi, 0xffffffff
jne 0x9e21df
lea eax, [esp + 0x14]
push 0x104
push eax
call fcn.009e1f40
add esp, 8
test al, al
je 0x9e233c
lea ecx, [esp + 0x14]
push ecx
call fcn.00a23cd0
mov edi, eax
test edi, edi
je 0x9e2320
mov edx, dword [edi + 0x3c]
lea ecx, [esp + 0x10]
push ecx
push 0x40
lea eax, [edx + edi + 0xf8]
mov edx, dword [edx + edi + 0x128]
mov eax, dword [eax + 0x34]
add eax, edi
push edx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.debug_version
push edi
call ebx
test eax, eax
je 0x9e2299
call eax
mov ebp, eax
mov esi, 0xa9e50c
mov ecx, ebp
mov al, byte [ecx]
mov dl, al
cmp al, byte [esi]
jne 0x9e2259
test dl, dl
je 0x9e2255
mov al, byte [ecx + 1]
mov dl, al
cmp al, byte [esi + 1]
jne 0x9e2259
add ecx, 2
add esi, 2
test dl, dl
jne 0x9e2235
xor ecx, ecx
jmp 0x9e225e
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
je 0x9e22ad
push ebp
push 0xa9e50c
push str.os_exe.exe__compiled_in_program_was_built_with_version__s_nos_debug.dll_was_compiled_with_version__s_nPlease_rebuild_EXE_to_permit_debugging
lea ecx, [esp + 0x228]
push 0x100
push ecx
call fcn.00a7e1f5
add esp, 0x14
lea edx, [esp + 0x21c]
push 0
push str.Cant_Debug
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x30c
ret
push str.debug_proc
push edi
call ebx
test eax, eax
mov dword [0xab4cc8], eax
je 0x9e2314
mov eax, dword [esp + 0x320]
mov ecx, dword [eax + 4]
mov dword [eax], 0
cmp ecx, 1
jne 0x9e22f2
push eax
call dword [0xab4cc8]
add esp, 4
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [esp + 0x324]
push eax
mov dword [ecx], 1
call dword [0xab4cc8]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30c
ret
push str.find_proc_failed
push 0x2bb
jmp 0x9e232a
push str.load_lib_failed
push 0x2bd
push str.C:gecode_rick_vos3_thinstallos_ts_stub.cpp
call fcn.009e3430
add esp, 8
call eax
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x30c
ret