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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 8]
push ebx
push esi
push edi
push eax
push fcn.10003680
push 4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExA]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
js 0x100036b7
mov ecx, dword [ebp - 8]
lea eax, [ebp - 4]
push eax
push 0x40
mov eax, dword [ecx + 0x3c]
push dword [eax + ecx + 0x50]
push ecx
call esi
call fcn.10003550
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x5083b1
call esi
mov eax, 0x5083b1
push 0x100039f0
push dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov byte [eax], 0
call fcn.100010f0
push 0x10003b10
push dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x100dbf34], eax
call fcn.100010f0
push str.opengl32.dll
mov dword [0x100dbf30], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
jne 0x1000371a
push 0x40
push str.CoDExtended
push str.no_opengl
jmp 0x10003736
push str.wglSwapBuffers
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x10003740
push 0x40
push str.CoDExtended
push str.no_bindtex
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
push 0x10033ab0
push eax
call fcn.100010f0
mov dword [0x100dc8f8], eax
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push 0x528948
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov eax, 0x10034320
push 5
sub eax, 0x52894d
push 0x528948
mov dword [0x528949], eax
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
push eax
call edi
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 5
push 0x528948
call esi
lea eax, [ebp - 4]
mov dword [0x4639ba], 0x100341c0
push eax
push 0x40
push 5
push 0x437b4b
call esi
mov esi, 0x10002c00
push 5
push 0x437b4b
lea eax, [esi - 0x437b50]
mov dword [0x437b4c], eax
call ebx
push eax
call edi
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 5
push 0x437b4b
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push 0x438178
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 5
sub esi, 0x43817d
push 0x438178
mov dword [0x438179], esi
call ebx
push eax
call edi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 5
push 0x438178
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push 0x43822c
call esi
mov eax, 0x100029b0
push 5
sub eax, 0x438231
push 0x43822c
mov dword [0x43822d], eax
call ebx
push eax
call edi
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 5
push 0x43822c
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push 0x412a2c
call esi
mov eax, 0x10002350
push 5
sub eax, 0x412a31
push 0x412a2c
mov dword [0x412a2d], eax
call ebx
push eax
call edi
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 5
push 0x412a2c
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push 0x41269b
call esi
lea eax, [ebp - 4]
mov dword [0x41269c], 0x10002990
push eax
push 0x40
push 5
push 0x410316
call esi
mov esi, 0x10002910
push 5
push 0x410316
lea eax, [esi - 0x41031b]
mov dword [0x410317], eax
call ebx
push eax
call edi
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 5
push 0x410316
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push 0x410376
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 5
lea eax, [esi - 0x41037b]
push 0x410376
mov dword [0x410377], eax
call ebx
push eax
call edi
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 5
push 0x410376
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push 0x41656c
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esi, 0x416571
mov dword [0x41656d], esi
push 5
push 0x41656c
call ebx
push eax
call edi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 5
push 0x41656c
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push 0x40cb1e
call esi
mov eax, 0x10002320
mov byte [0x40cb1e], 0xe9
push 5
sub eax, 0x40cb23
push 0x40cb1e
mov dword [0x40cb1f], eax
call ebx
push eax
call edi
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 5
push 0x40cb1e
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push 0x46319b
call esi
mov eax, 0x10003630
push 5
sub eax, 0x4631a0
push 0x46319b
mov dword [0x46319c], eax
call ebx
push eax
call edi
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 5
push 0x46319b
call esi
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret