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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4bfd58
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x512000]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x64]
mov ecx, dword [0x53e960]
mov dword [esi + 0x74], 0xffffffff
add ecx, 0x104
push 0
mov eax, dword [eax + 0x3c]
push 0x26d
push 0x41d
push 0x62
mov dword [eax + 0x420], 0
mov dword [eax + 0x424], 0xffffffff
mov eax, dword [esi + 0x64]
push 0
mov eax, dword [eax + 0x3c]
mov dword [eax + 0x400], 0
mov dword [eax + 0x404], 0
mov eax, dword [ecx]
call dword [eax + 0xa4]
mov edi, 0xff
mov eax, dword [esi + 0xdc]
test eax, eax
je 0x436804
lea edx, [eax + 0x104]
jmp 0x436806
xor edx, edx
mov ecx, dword [0x53e964]
push 0
push 0
push edx
mov eax, dword [ecx + 0x104]
add ecx, 0x104
push 6
push 0x369
push edi
push 0xa0
call dword [eax + 0x78]
add edi, 0x9d
cmp edi, 0x2d6
jl 0x4367f2
xor edi, edi
lea ecx, [ecx]
push ecx
push 0
push edi
mov ecx, esi
call fcn.00436a50
inc edi
cmp edi, 4
jl 0x436840
xor edi, edi
mov edx, dword [esi]
mov eax, edi
push 0
push 0
or eax, 0xa00
mov ecx, esi
push eax
call dword [edx + 0xf0]
inc edi
cmp edi, 4
jl 0x436853
xor edi, edi
mov edx, dword [esi]
mov eax, edi
push 0
push 0
or eax, 0x200
mov ecx, esi
push eax
call dword [edx + 0xf0]
inc edi
cmp edi, 4
jl 0x436871
xor edi, edi
nop
mov edx, dword [esi]
mov eax, edi
push 0
push 0
or eax, 0x300
mov ecx, esi
push eax
call dword [edx + 0xf0]
inc edi
cmp edi, 4
jl 0x436890
mov eax, dword [esi]
mov ecx, esi
push 0
push 0
push 0x400
call dword [eax + 0xf0]
mov eax, dword [esi]
mov ecx, esi
push 0
push 0
push 0x500
call dword [eax + 0xf0]
mov eax, dword [esi]
mov ecx, esi
push 0
push 0
push 0x600
call dword [eax + 0xf0]
mov eax, dword [esi]
mov ecx, esi
push 0
push 0
push 0x601
call dword [eax + 0xf0]
mov eax, dword [esi]
mov ecx, esi
push 0
push 0
push 0x100
call dword [eax + 0xf0]
mov eax, dword [esi]
mov ecx, esi
push 0
push 0
push 0x101
call dword [eax + 0xf0]
mov ecx, dword [esi + 0x84]
mov edi, 0x267
mov eax, dword [esi + 0x7c]
test ecx, ecx
je 0x43693b
imul eax, eax, 0x1db
cdq
idiv ecx
sub edi, eax
mov ecx, dword [0x53e960]
add ecx, 0x104
push 0x219
push 0x2a
push 0x8c
mov eax, dword [ecx]
push 0x41d
call dword [eax + 0x94]
cmp dword [esi + 0x84], 0
je 0x4369b1
mov eax, dword [esi + 0xdc]
test eax, eax
je 0x43697b
lea ebx, [eax + 0x104]
jmp 0x43697d
xor ebx, ebx
mov edx, dword [ebp + 8]
mov ecx, dword [0x53e960]
shl edx, 5
add ecx, 0x104
sub edx, dword [ebp + 8]
push 1
mov esi, dword [ecx]
lea eax, [edx*2 + 6]
push eax
push 0x270
push ebx
push 0x3e
push 0x22
push edi
push 0x421
call dword [esi + 0x48]
cmp dword [ebp + 0xc], 0
je 0x436a34
mov eax, dword [0x53ea38]
test eax, eax
jne 0x436a29
push 0x53da70
push 0xe0
call fcn.004abfa1
add esp, 8
test eax, eax
je 0x4369df
mov ecx, eax
call fcn.0046c6c0
jmp 0x4369e1
xor eax, eax
mov dword [0x53ea38], eax
test eax, eax
jne 0x436a29
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], eax
mov byte [esp + 0x14], al
push 0x24
push str.Direct_3D_Class
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], 2
call fcn.0042add0
push 0x50ed00
lea eax, [esp + 0x18]
mov dword [esp + 0x3c], 0xffffffff
push eax
call fcn.004aee7c
cmp dword [eax + 0x68], 0
je 0x436a34
call fcn.004908d0
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8