Function at 0x630c90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc4
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push str.D3D11.dll
mov dword [esp + 0x2c], 1
mov dword [esp + 0x30], 5
mov dword [esp + 0x34], 2
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
xor ebx, ebx
cmp eax, ebx
je 0x63127a
push str.D3D11CreateDevice
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
mov dword [esp + 0x24], eax
je 0x63127a
cmp dword [esi + 0xd3], ebx
je 0x630d07
mov eax, dword [esi + 0xd3]
cmp eax, ebx
je 0x630d07
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esi + 0xd3], ebx
mov edi, esi
lea esi, [edi + 0xc3]
mov dword [esp + 0x1c], ebx
add edi, 0xc7
lea esp, [esp]
mov eax, dword [edi]
cmp eax, ebx
je 0x630d30
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [edi], ebx
mov eax, dword [esi]
cmp eax, ebx
je 0x630d40
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esi], ebx
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + ecx*4 + 0x28]
push edi
lea eax, [esp + 0x9c]
push eax
push esi
push 7
push ebx
push ebx
push ebx
push ebx
push edx
push ebx
call dword [esp + 0x4c]
cmp dword [esi], ebx
je 0x630d6a
cmp dword [edi], ebx
je 0x630d6a
cmp eax, ebx
jge 0x630d82
mov ecx, dword [esp + 0x1c]
add ecx, 1
cmp ecx, 3
mov dword [esp + 0x1c], ecx
jb 0x630d20
cmp eax, ebx
jl 0x63127a
mov esi, dword [esi]
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x18], ebx
mov eax, dword [esi]
mov edx, dword [eax]
push 0x723434
push esi
mov dword [esp + 0x30], ebx
call edx
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
je 0x63127a
cmp eax, ebx
jl 0x631272
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x1c], ebx
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
push 0x71b178
push ecx
call eax
mov ecx, dword [esp + 0x18]
cmp ecx, ebx
je 0x631257
cmp eax, ebx
jl 0x63124f
mov edi, dword [ebp + 8]
add edi, 0xcb
mov dword [esp + 0x20], edi
call fcn.0068ac50
lea ecx, [ecx]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x24]
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x14], ebx
mov ecx, dword [eax]
push esi
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
je 0x630f79
cmp eax, ebx
jl 0x630f71
push 0x6c
call fcn.0069e704
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x630ee5
call fcn.004b05b0
xor esi, esi
mov edx, dword [esp + 0x24]
mov dword [esi + 0x68], edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esi + 0xc]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov dword [esi], ecx
mov dword [eax], esi
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x20], ebx
mov edx, dword [eax]
mov edx, dword [edx]
push 0x723544
push eax
call edx
mov edi, dword [esp + 0x1c]
cmp edi, ebx
je 0x630f5f
cmp eax, ebx
jl 0x630f53
mov eax, dword [esi + 4]
add esi, 4
cmp eax, ebx
je 0x630e9b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esi], ebx
mov eax, dword [ebp + 8]
mov ecx, dword [edi]
mov edx, dword [ecx + 0x58]
add eax, 0xc3
mov eax, dword [eax]
push esi
push eax
push edi
call edx
cmp dword [esi], ebx
je 0x630f04
cmp eax, ebx
jl 0x630f04
mov eax, dword [esp + 0x1c]
add dword [esp + 0x24], 1
cmp eax, ebx
je 0x630ecc
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x630df0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x630df0
push 0x5c
mov dword [esi], ebx
lea ecx, [esi + 0xc]
push ebx
mov dword [esi + 4], ebx
push ecx
mov dword [esi + 8], ebx
call fcn.006a1300
add esp, 0xc
mov dword [esi + 0x68], ebx
jmp 0x630e39
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x630f14
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x630f24
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x630f34
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x63127a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp edi, ebx
je 0x630f5f
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
call ecx
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x630f24
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x630f24
mov eax, dword [ecx]
push ecx
mov ecx, dword [eax + 8]
call ecx
push 0x50
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cmp eax, esi
je 0x630f97
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x630f34
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x630f34
push 0x2c
lea eax, [esp + 0x38]
push ebx
push eax
call fcn.006a1300
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 0xab]
mov edx, dword [edi + 0xaf]
sub ecx, dword [edi + 0xa3]
sub edx, dword [edi + 0xa7]
mov eax, 1
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x54], eax
mov eax, dword [edi + 0xc3]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x50], 0x57
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], 0x28
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov eax, dword [eax]
add eax, 0x14
add esp, 0xc
lea esi, [edi + 0xcf]
mov dword [esp + 0x20], eax
call fcn.00685df0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
push eax
push ebx
lea eax, [esp + 0x3c]
push eax
mov eax, dword [edx]
push ecx
call eax
cmp dword [esi], ebx
je 0x630f24
cmp eax, ebx
jl 0x630f24
mov eax, dword [edi + 0xc3]
mov dword [esp + 0x10], eax
mov eax, dword [eax]
add eax, 0x30
lea esi, [edi + 0xd7]
mov dword [esp + 0x20], eax
call fcn.00685df0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [edx]
push ebx
push 0x2a4
push 0x6bd108
push ecx
call eax
cmp dword [esi], ebx
je 0x630f24
cmp eax, ebx
jl 0x630f24
mov eax, dword [edi + 0xc3]
mov dword [esp + 0x60], str.POSITION
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], 6
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], str.TEXCOORD
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], 0x10
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], 0xc
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x20], eax
mov eax, dword [eax]
lea esi, [edi + 0xdf]
mov dword [esp + 0x1c], eax
call fcn.00685df0
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x2c]
push 0x2a4
push 0x6bd108
push 2
lea ecx, [esp + 0x70]
push ecx
push edx
call eax
mov ecx, dword [edi + 0xdf]
cmp ecx, ebx
je 0x630f24
cmp eax, ebx
jl 0x630f24
mov eax, dword [edi + 0xc7]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x44]
call eax
mov eax, dword [edi + 0xc3]
mov dword [esp + 0x20], eax
mov eax, dword [eax]
lea esi, [edi + 0xdb]
mov dword [esp + 0x1c], eax
call fcn.00685df0
mov ecx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x20]
mov edx, dword [eax + 0x3c]
push ebx
push 0x2bc
push str.DXBC
push ecx
call edx
cmp dword [edi + 0xdb], ebx
je 0x630f24
cmp eax, ebx
jl 0x630f24
push 0x34
lea eax, [esp + 0xa0]
push ebx
push eax
call fcn.006a1300
fldz
mov eax, 3
fstp dword [esp + 0xd4]
fld dword [0x723ab8]
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
fstp dword [esp + 0xd8]
mov dword [esp + 0xb4], eax
mov eax, dword [edi + 0xc3]
mov dword [esp + 0x1c], eax
mov dword [esp + 0xa8], 0x15
mov dword [esp + 0xc0], 1
mov eax, dword [eax]
add eax, 0x5c
add esp, 0xc
lea esi, [edi + 0xe3]
mov dword [esp + 0x20], eax
call fcn.00685df0
mov edx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0xa0]
push ecx
mov ecx, dword [eax]
push edx
call ecx
cmp dword [esi], ebx
je 0x630f24
cmp eax, ebx
jl 0x630f24
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x631234
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x631244
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ecx]
push ecx
mov ecx, dword [eax + 8]
call ecx
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x63127a
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push ecx
call eax
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4