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

Disassembly:
sub esp, 0x8c
push ebx
push ebp
mov eax, 0x100
push esi
mov esi, ecx
xor ebp, ebp
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov eax, dword [esi + 0xc]
cmp eax, ebp
push edi
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x90], ebp
jne 0x5edc0a
xor eax, eax
jmp 0x5edc20
mov ecx, dword [esi + 0x10]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [esp + 0x84]
push ecx
mov ecx, dword [0x781e94]
lea edx, [esp + 0x18]
push edx
shl eax, 2
push eax
call fcn.005e85b0
mov edi, eax
cmp edi, ebp
jl 0x5ee2a4
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], ebp
mov edi, edi
mov eax, dword [esi + 0xc]
cmp eax, ebp
lea ebx, [esi + 8]
je 0x5edf18
mov ecx, dword [ebx + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
mov ecx, dword [esp + 0x1c]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jae 0x5edf18
mov ecx, dword [esi + 0xc]
mov ebp, dword [esp + 0x18]
mov eax, dword [ecx + ebp]
mov ebx, dword [esp + 0xa4]
shl eax, 8
xor edx, edx
div ebx
add ecx, ebp
xor edx, edx
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0x3f800000
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0x3f800000
mov dword [ecx], eax
mov dword [esp + 0x10], eax
mov eax, dword [ecx + 4]
fild dword [esp + 0x10]
shl eax, 8
div dword [esp + 0xa8]
xor edx, edx
mov edi, eax
mov eax, dword [ecx + 8]
shl eax, 8
div ebx
xor edx, edx
mov dword [ecx + 4], edi
mov ebx, eax
mov eax, dword [ecx + 0xc]
shl eax, 8
div dword [esp + 0xa8]
mov dword [ecx + 8], ebx
mov ebp, eax
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x10], eax
mov eax, ebp
fisub dword [esp + 0x10]
cdq
sub eax, edx
sar eax, 1
sub edi, eax
mov dword [ecx + 0xc], ebp
mov edx, dword [esp + 0x14]
mov dword [esp + 0x10], edi
fsub dword [0x700484]
fstp dword [esp + 0x40]
mov eax, dword [esp + 0x40]
fild dword [esp + 0x10]
mov dword [edx], eax
fsub dword [0x700484]
fstp dword [esp + 0x44]
mov eax, dword [esp + 0x44]
mov dword [edx + 4], eax
mov eax, dword [esp + 0x48]
mov dword [edx + 8], eax
mov eax, dword [esp + 0x4c]
mov dword [edx + 0xc], eax
mov eax, dword [ecx + 8]
cdq
sub eax, edx
mov edx, dword [ecx]
sar eax, 1
sub edx, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], edx
add eax, 0x1c
fild dword [esp + 0x10]
fsub dword [0x700484]
fstp dword [esp + 0x54]
mov edx, dword [esp + 0x54]
fild dword [ecx + 0xc]
fadd dword [eax - 0x18]
mov dword [eax], edx
fstp dword [esp + 0x58]
mov edx, dword [esp + 0x58]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x5c]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x60]
mov dword [eax + 0xc], edx
mov eax, dword [ecx + 8]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 4]
fild dword [esp + 0x10]
mov dword [esp + 0x70], edx
add eax, 0x38
fiadd dword [ecx]
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0x3f800000
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0x3f800000
fsub dword [0x700484]
fstp dword [esp + 0x6c]
mov edx, dword [esp + 0x6c]
mov dword [eax], edx
mov edx, dword [esp + 0x70]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x74]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x78]
mov dword [eax + 0xc], edx
mov eax, dword [ecx + 8]
mov edi, dword [ecx]
cdq
sub eax, edx
sar eax, 1
add eax, edi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0x20]
fild dword [esp + 0x10]
mov dword [esp + 0x24], edx
add eax, 0x54
fsub dword [0x700484]
fstp dword [esp + 0x20]
mov edx, dword [esp + 0x20]
mov dword [eax], edx
mov edx, dword [esp + 0x24]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x28]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + 0xc], edx
mov edx, dword [esi + 0x38]
mov eax, dword [esi + 0x34]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x14]
mov dword [edx + 0x14], eax
mov edx, dword [esp + 0x14]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x34]
mov dword [edx + 0x18], eax
mov edx, dword [esi + 0x40]
mov eax, dword [esi + 0x34]
mov dword [esp + 0x80], edx
mov edx, dword [esp + 0x14]
mov dword [edx + 0x30], eax
mov edx, dword [esp + 0x14]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x80]
mov dword [edx + 0x34], eax
mov edx, dword [esi + 0x38]
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x14]
mov dword [edx + 0x4c], eax
mov edx, dword [esp + 0x14]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x68]
mov dword [edx + 0x50], eax
mov edx, dword [esi + 0x40]
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x38], eax
mov dword [edx + 0x68], eax
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x3c]
mov dword [edx + 0x6c], eax
mov eax, dword [ecx + 0x10]
mov edx, dword [esp + 0x14]
mov dword [edx + 0x10], eax
mov eax, dword [ecx + 0x10]
mov edx, dword [esp + 0x14]
mov dword [edx + 0x2c], eax
mov eax, dword [ecx + 0x10]
mov edx, dword [esp + 0x14]
mov dword [edx + 0x48], eax
mov eax, dword [ecx + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0x64], eax
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
add edx, 0x70
inc ecx
add eax, 0x18
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
xor ebp, ebp
jmp 0x5edc50
mov ecx, dword [0x781e94]
call fcn.005e7af0
mov edi, eax
cmp edi, ebp
jl 0x5ee2a4
mov eax, dword [ebx + 4]
cmp eax, ebp
jne 0x5edf38
xor eax, eax
jmp 0x5edf4e
mov ecx, dword [ebx + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [esp + 0x88]
push edx
lea ecx, [esp + 0x54]
lea edx, [eax + eax*2]
push ecx
mov ecx, dword [0x781e94]
shl edx, 1
push edx
call fcn.005e7a60
mov edi, eax
cmp edi, ebp
jl 0x5ee2a4
mov eax, dword [ebx + 4]
cmp eax, ebp
jne 0x5edf81
xor eax, eax
jmp 0x5edf97
mov ecx, dword [ebx + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
mov eax, dword [esp + 0x54]
push ebp
push 2
push eax
call fcn.005e6ca0
mov ecx, dword [0x781e94]
add esp, 0x10
call fcn.005e7b00
mov edi, eax
cmp edi, ebp
jl 0x5ee2a4
mov ecx, dword [0x781e94]
mov edx, dword [ecx]
call dword [edx + 0x40]
movzx edi, al
cmp edi, ebp
jl 0x5ee2a4
mov eax, dword [esp + 0xa0]
cmp eax, 0xff000000
lea edi, [esi + 0x24]
jne 0x5ee023
mov dword [esp + 0x20], 0
mov ecx, dword [esp + 0x20]
mov eax, edi
mov dword [eax], ecx
mov dword [esp + 0x24], 0
mov edx, dword [esp + 0x24]
mov dword [eax + 4], edx
mov dword [esp + 0x28], 0
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x2c], 0x3f800000
mov edx, dword [esp + 0x2c]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
jmp 0x5ee099
mov ecx, eax
shr ecx, 0x10
movzx edx, cl
mov ecx, eax
shr ecx, 8
mov dword [esp + 0x10], edx
movzx edx, cl
fild dword [esp + 0x10]
mov dword [esp + 0x10], edx
movzx ecx, al
fmul dword [0x7004d4]
fild dword [esp + 0x10]
mov dword [esp + 0x10], ecx
shr eax, 0x18
fmul dword [0x7004d4]
fild dword [esp + 0x10]
mov dword [esp + 0x10], eax
fmul dword [0x7004d4]
fstp dword [esp + 0x28]
fild dword [esp + 0x10]
fmul dword [0x7004d4]
fstp dword [esp + 0x2c]
fxch st(1)
fadd dword [edi]
fstp dword [edi]
fadd dword [edi + 4]
fstp dword [edi + 4]
fld dword [esp + 0x28]
fadd dword [edi + 8]
fstp dword [edi + 8]
fld dword [esp + 0x2c]
fadd dword [edi + 0xc]
fstp dword [edi + 0xc]
mov dword [esi + 0x30], 0x3f800000
fld dword [edi]
fcomp dword [0x700490]
fnstsw ax
test ah, 1
jne 0x5ee0b9
mov dword [esp + 0x18], 0xff
jmp 0x5ee0e5
fld dword [edi]
fcomp dword [0x70048c]
fnstsw ax
test ah, 0x41
jp 0x5ee0ce
mov dword [esp + 0x18], ebp
jmp 0x5ee0e5
fld dword [edi]
fmul dword [0x700488]
fadd dword [0x700484]
call fcn.0065ea1c
mov dword [esp + 0x18], eax
fld dword [edi + 4]
fcomp dword [0x700490]
fnstsw ax
test ah, 1
jne 0x5ee0ff
mov dword [esp + 0x1c], 0xff
jmp 0x5ee12d
fld dword [edi + 4]
fcomp dword [0x70048c]
fnstsw ax
test ah, 0x41
jp 0x5ee115
mov dword [esp + 0x1c], ebp
jmp 0x5ee12d
fld dword [edi + 4]
fmul dword [0x700488]
fadd dword [0x700484]
call fcn.0065ea1c
mov dword [esp + 0x1c], eax
fld dword [edi + 8]
fcomp dword [0x700490]
fnstsw ax
test ah, 1
jne 0x5ee144
mov ebp, 0xff
jmp 0x5ee16a
fld dword [edi + 8]
fcomp dword [0x70048c]
fnstsw ax
test ah, 0x41
jnp 0x5ee16a
fld dword [edi + 8]
fmul dword [0x700488]
fadd dword [0x700484]
call fcn.0065ea1c
mov ebp, eax
fld dword [edi + 0xc]
fcomp dword [0x700490]
fnstsw ax
test ah, 1
jne 0x5ee181
mov eax, 0xff
jmp 0x5ee1a9
fld dword [edi + 0xc]
fcomp dword [0x70048c]
fnstsw ax
test ah, 0x41
jp 0x5ee195
xor eax, eax
jmp 0x5ee1a9
fld dword [edi + 0xc]
fmul dword [0x700488]
fadd dword [0x700484]
call fcn.0065ea1c
mov edi, dword [esp + 0x18]
mov edx, dword [0x781e94]
mov ecx, dword [edx + 0x1dc]
mov edx, dword [ecx]
shl eax, 8
or eax, edi
mov edi, dword [esp + 0x1c]
shl eax, 8
push 0
or eax, edi
push 0x3f800000
shl eax, 8
or eax, ebp
push eax
push 1
lea eax, [esp + 0x9c]
push eax
push 1
push ecx
call dword [edx + 0x90]
mov ecx, dword [0x781e94]
mov edi, eax
test edi, edi
jge 0x5ee1ff
mov edx, dword [ecx]
call dword [edx + 0x44]
jmp 0x5ee2a4
mov eax, dword [0x71ff80]
push eax
push 0x1c
call fcn.005e7b10
mov ecx, dword [0x781e94]
mov eax, dword [ecx + 0x1dc]
mov edi, dword [esp + 0x84]
mov ecx, dword [ecx + 0x2c0]
mov edx, dword [eax]
push edi
push ecx
push eax
call dword [edx + 0x154]
mov edx, dword [0x781e94]
mov eax, dword [edx + 0x1dc]
mov edx, dword [esi + 0x18]
mov edx, dword [edx + 0x14]
mov ecx, dword [eax]
push edx
push 0
push eax
call dword [ecx + 0xf4]
mov ecx, dword [0x781e94]
push 0x10
push 1
call fcn.005e8550
mov eax, dword [0x781e94]
mov esi, dword [eax + 0x1dc]
mov edi, dword [esi]
mov ecx, ebx
call fcn.005eebf0
mov ecx, dword [esp + 0x88]
shl eax, 1
push eax
push ecx
mov ecx, ebx
call fcn.005eebf0
shl eax, 2
push eax
push 0
push 4
push esi
call dword [edi + 0x11c]
mov ecx, dword [0x781e94]
mov edx, dword [ecx]
call dword [edx + 0x44]
movzx edi, al
test edi, edi
jge 0x5ee2c6
push 0x13e
push str.._sourceD3DLightMap.cpp
push edi
call fcn.005a2fd0
add esp, 0xc
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x8c
ret 0xc
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x8c
ret 0xc