Function at 0x100025a0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x10c], edx
push edi
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x110], 0
push ecx
mov eax, dword [esi]
xor ebx, ebx
push 0x10017b80
push esi
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0
call dword [eax + 0x1c]
test eax, eax
js 0x10002618
mov eax, dword [ebp - 0x114]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x94]
mov edi, eax
mov ebx, 0xb
mov eax, dword [ebp - 0x114]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x10002692
mov eax, dword [esi]
lea ecx, [ebp - 0x118]
push ecx
push 0x10017b70
push esi
call dword [eax + 0x1c]
test eax, eax
js 0x10002652
mov eax, dword [ebp - 0x118]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x190]
mov edi, eax
mov ebx, 0x65
mov eax, dword [ebp - 0x118]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x10002692
mov eax, dword [esi]
lea ecx, [ebp - 0x110]
push ecx
push 0x10017b60
push esi
call dword [eax + 0x1c]
test eax, eax
js 0x1000268c
mov eax, dword [ebp - 0x110]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push dword [ebp - 0x10c]
mov eax, dword [esi]
push 0x10017b60
push esi
call dword [eax + 0x1c]
mov ebx, 0xa
jmp 0x100026e2
mov edi, dword [ebp - 0x110]
cmp edi, 0xb000
ja 0x100026c4
je 0x100026cc
cmp edi, 0xa000
je 0x10002674
cmp edi, 0xa100
jne 0x100026e2
push dword [ebp - 0x10c]
mov eax, dword [esi]
push 0x10017b70
push esi
call dword [eax + 0x1c]
mov ebx, 0x65
jmp 0x100026e2
cmp edi, 0xb100
jne 0x100026e2
push dword [ebp - 0x10c]
mov eax, dword [esi]
push 0x10017b80
push esi
call dword [eax + 0x1c]
mov ebx, 0xb
mov ecx, ebx
sub ecx, 0xa
je 0x1000280b
dec ecx
je 0x10002783
sub ecx, 0x5a
jne 0x1000287c
cmp dword [0x1001b214], ecx
je 0x10002711
cmp dword [0x1001b210], ecx
jne 0x1000287c
push dword [0x1001b24c]
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.10003b9a
push str.CED3D10Hook.dll
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.10003bef
add esp, 0x18
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
push str.D3D10Hook_SwapChain_Present_imp
push edi
call esi
push str.D3D10Hook_SwapChain_ResizeBuffers_imp
push edi
mov dword [0x1001b214], eax
call esi
pop edi
mov dword [0x1001b210], eax
mov eax, ebx
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10003a46
mov esp, ebp
pop ebp
ret
cmp dword [0x1001b224], 0
je 0x10002799
cmp dword [0x1001b220], 0
jne 0x1000287c
push dword [0x1001b24c]
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.10003b9a
push str.CED3D11Hook.dll
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.10003bef
add esp, 0x18
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
push str.D3D11Hook_SwapChain_Present_imp
push edi
call esi
push str.D3D11Hook_SwapChain_ResizeBuffers_imp
push edi
mov dword [0x1001b224], eax
call esi
pop edi
mov dword [0x1001b220], eax
mov eax, ebx
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10003a46
mov esp, ebp
pop ebp
ret
cmp dword [0x1001b21c], 0
je 0x1000281d
cmp dword [0x1001b218], 0
jne 0x1000287c
push dword [0x1001b24c]
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.10003b9a
push str.CED3D10Hook.dll
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.10003bef
add esp, 0x18
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
push str.D3D10Hook_SwapChain_Present_imp
push edi
call esi
push str.D3D10Hook_SwapChain_ResizeBuffers_imp
push edi
mov dword [0x1001b21c], eax
call esi
mov dword [0x1001b218], eax
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10003a46
mov esp, ebp
pop ebp
ret